git-package.mk is confusing me

Greg Troxel <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
I just made trac-plugins-MasterTickets use git (from svn) to follow
where the current code is.  I was confused by a few things.

1) GIT_TAG.repo seems not to have any effect.  My git checkout was of
master, but I wanted a particular sha1, so that the package is pinned to
the revision.  Looking at git-package.mk, I don't see how GIT_TAG is
honored.

2) The unqualified GIT_MODULE is used for the cache filename and also is
expected to match the name of the main directory checked out from git.
I don't understand why it isn't GIT_MODULE.foo instead.


Does anybody understand this better?  If so, I would appreciate comments
being added to git-package.mk to explain the above points, and also to
give a high-level design of the caching scheme.  It uses files named by
date, and I haven't figured out what is going on yet.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

_______________________________________________
pkgsrc-wip-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
signature.asc (application/pgp-signature, 194 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (NetBSD)

iEYEARECAAYFAk8E3H4ACgkQ+vesoDJhHiXHsACbBcW4WG6pqDuWV8YKeH1oASXc
AUQAniZeFAgSeacSKEYngUp+r5hO2eVP
=yWnR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.