[MacPorts] #16373: svn git and hg fetch type should maintain a persistent working copy

MacPorts noreply at macports.org
Tue Mar 18 10:21:40 PDT 2014


#16373: svn git and hg fetch type should maintain a persistent working copy
---------------------------+--------------------------------
  Reporter:  ryandesign@…  |      Owner:  macports-tickets@…
      Type:  enhancement   |     Status:  new
  Priority:  Normal        |  Milestone:  MacPorts Future
 Component:  base          |    Version:  1.7.0
Resolution:                |   Keywords:  performance fetch
      Port:                |
---------------------------+--------------------------------

Comment (by mojca@…):

 Replying to [comment:21 cal@…]:
 > I'm also not sure how to implement a SHA sum of a complete source tree.

 One option is to generate a `.tar` or a `.tar.[gz|bz2|xz]` and calculate
 the checksum of that. There are other options for sure.

 > As for the version string, try `git describe`, it might generate what
 you want.

 I meant something that would easily be accessible in Tcl, so that I could
 specify something like
 {{{
     git.branch ...sha...
     version "3.14-beta-${git.commitdate}-${git.shortsha}"
 }}}
 I would need to learn how to interface git and Tcl first to implement
 that.

-- 
Ticket URL: <https://trac.macports.org/ticket/16373#comment:23>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list