Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#52773 closed enhancement (fixed)

stgit

Reported by: umka-sev Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: raimue (Rainer Müller)
Port: stgit

Description

StGit port very outdated and don't support a gerrit integration. attached patch update a port to last available version and fix gerrit integration. please include it.

Attachments (1)

stg-up.diff (5.8 KB) - added by umka-sev 8 years ago.
stgit update

Download all attachments as: .zip

Change History (9)

comment:1 Changed 8 years ago by mkae (Marko Käning)

Milestone: MacPorts 2.3.5
Version: 2.3.4

comment:2 Changed 8 years ago by raimue (Rainer Müller)

Cc: raimue added
Keywords: git gerrit removed

The keywords should only be set according to TicketsKeywordGuidelines.

comment:3 Changed 8 years ago by raimue (Rainer Müller)

The revision line should be reset when increasing the version.

Is there a reason not to use stgit 0.17.1?

comment:4 Changed 8 years ago by umka-sev

Ah. looks i was lost it version. Let me update a patch and add fixes for long aged template dir bug. Current code expect to use a /opt/local/Library/Frameworks/Python.framework/Versions/2.7 as sys.prefix, but templates have installed into /opt/local/ prefix.

comment:5 Changed 8 years ago by raimue (Rainer Müller)

By resetting revision I meant you can delete the whole line to get the default revision 0.

You cannot hardcode /opt/local as prefix, as MacPorts can be installed to a different path. Please see PortfileRecipes.

Changed 8 years ago by umka-sev

Attachment: stg-up.diff added

stgit update

comment:6 Changed 8 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

In 4588cd7/macports-ports:

stgit: update to version 0.17

Remove patches fixed by upstream, add patch for Gerrit integration,
fix template paths.

Closes #52773

comment:7 Changed 8 years ago by raimue (Rainer Müller)

Additional changes:

  • Moved reinplace to post-patch
  • Renamed patchfiles for consistency

comment:8 Changed 8 years ago by umka-sev

Thanks for you work!

Note: See TracTickets for help on using tickets.