[pacman-dev] The great VCS packages overhaul of 2015

Matthew Monaco dgbaley27 at 0x01b.net
Tue Mar 13 11:49:31 EDT 2012

On 03/13/2012 06:15 AM, Allan McRae wrote:
> Hmm...  good idea using the fragment identifier for specifying the
> branch/tag/commit to checkout.  Being inspired by how pypi uses these to
> provide checksums, could I even suggest:
> <url>#branch=maint
> <url>#tag=v4.0.1
> <url>#commit=f42ad345
> This gives full clarity to what is being specified an allows for
> potential cases where branches and tags have the same name and we could
> provide multiple options, semicolon separated, if needed (obviously not
> for git, but maybe for another VSC system).

That makes tag/commit unable to move forward automatically unless you can always
specify a branch and then optionally a tag/commit. There are ways to get the
children of a commit though; makepkg could move to the tip of the branch if
there's only one child and complain if there's more.

More information about the pacman-dev mailing list