Re: pkgsrc NetBSD 6.0/x86_64 2013-06-05 09:18

Greg Troxel <[email protected]> Mon, 10 Jun 2013 07:25:03 -0400
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
Lloyd Parkes <[email protected]> writes:

> On 10/06/2013, at 3:12 PM, OBATA Akio <[email protected]> wrote:

>> Packages should have {CVS,SVN,GIT,HG}_TAG, or such packages are not
>> for regular usage.
>> Another solution is `set CHECKOUT_DATE at the date of starting bulk build'.

> So I read the code in git-package.mk and maybe I can make a useful
> suggestion this time.
>
> Surely the build of a package from Git should remember it's
> _GIT_TAG_FLAG.${repo} or similar? After all, you always want to
> install the version of the package you've just built and you always
> want to build the version of the package that you've just
> extracted. Nobody should have to remember when midnight occurs in
> someone else's timezone, which is the current situation. If this
> information is cached in ${WRKDIR} then it'll be erased with
> everything else by "make clean".

I'll make a stronger suggestion: every package using ${vcs}-package.mk
should bind to a particlur source version, via a svn revision, git tag
or sha1, or cvs -D, or something like that.

But I realize there are probably a few packages that want to get the
latest every day, and for those I agree with Lloyd,  Plus, they should
have the date in the binary package version.

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j

_______________________________________________
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.13 (NetBSD)

iEYEARECAAYFAlG1t48ACgkQ+vesoDJhHiWbngCfVteBY17WaFhM6Ghd/8UdmAW3
QUQAnR+2TxwSmOauuR2X9RfX5pWMeJ/T
=w4/y
-----END PGP SIGNATURE-----