[MacPorts] #26567: Updated yap-devel portfile
MacPorts
noreply at macports.org
Tue Sep 28 14:19:36 PDT 2010
#26567: Updated yap-devel portfile
---------------------------------+------------------------------------------
Reporter: pmoura@… | Owner: ryandesign@…
Type: update | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Resolution: | Keywords: haspatch maintainer
Port: yap-devel |
---------------------------------+------------------------------------------
Changes (by pmoura@…):
* status: closed => reopened
* resolution: fixed =>
Comment:
Replying to [comment:14 ryandesign@…]:
> Ports should be for specific versions, as Joshua said -- even -devel
ports. You're free to update the -devel port at any time to a newer
version, but users must be able to consistently install the same version
of software.
When no branch is specified (and thus a default branch is used), users
will always install the same *version*, but not necessarily the same
*revision* (of that version). Quoting from the MacPorts Guide:
git.branch
Optional tag for fetching with git, this specifies a branch (or other
commit-ish) that git should checkout. Note that any branch besides HEAD
should be prefixed by origin/.
Default: none
Example:
git.branch 72bf1c8
git.branch origin/next
The second example checks out the latest revision on the specified branch.
At least ten other ports do exactly the same: specifying a branch name and
not a specific revision. Branch names, however, often correspond to
versions. Therefore, by specifying a branch, users will always get the
same version but clearly not the same revision of that version (unless, of
course, not commits are being made on that branch). In this particular
case, the problem is fixed by simply updating the git.branch field to
"origin/master". Should I submit an update portfile or is possible for you
do the update manually?
--
Ticket URL: <https://trac.macports.org/ticket/26567#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list