On 03/02/10 12:51, James Carlson wrote:
Garrett D'Amore wrote:
Those tags were originally expanded by teamware/SCCS.  With mercurial,
they are useless as they contain the original patterns rather than the
expanded forms.  We've been removing them from source code as we update it.

To answer the next question: we haven't looked for a replacement because
the version of the binary is more naturally reported (along with other
important attributes) by the packaging system, assuming you don't have
vandals on your system.

This issue has been discussed several times.  I think the most recent
discussion may have been over on on-discuss.

As for versions of header files used to compile a given binary, I can't
say I've ever found much use in this, but if we did have to record
something there, I'd prefer to have some clear indication of which
package versions were installed on the system at the time of compilation
rather than which per-file versions were there.  The package version
information tells me more, and makes figuring out dependencies easier.

Of course, that leaves folks doing weird things with system header files
and libraries from an alien version of the OS using -I and -L out in the
cold, as well as the aforementioned vandals wielding "cp" across
separately managed systems, but they probably have other problems as well.


Future versions of packages will include mercurial changeset IDs as part of package metadata; this makes things much simpler. In addition, remember that any hash can be searched for using pkg(5):
: ba...@cyber[5]; digest -a sha1 /usr/bin/gimp
98944b413813d8b4089abd121666d9dc801ed454
: ba...@cyber[6]; pkg search 98944b413813d8b4089abd121666d9dc801ed454
INDEX                                    ACTION VALUE            PACKAGE
98944b413813d8b4089abd121666d9dc801ed454 file usr/bin/gimp-2.6 pkg:/image/editor/g...@0.5.11-0.133
: ba...@cyber[7];

- Bart



- Bart

--
Bart Smaalders                  Solaris Kernel Performance
ba...@cyber.eng.sun.com         http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to