GNU bug report logs - #75484
29.4; Enhancement request: Support packages providing git commit id

Previous Next

Package: emacs;

Reported by: Mark Diekhans <markd <at> ucsc.edu>

Date: Sat, 11 Jan 2025 05:03:01 UTC

Severity: wishlist

Tags: moreinfo

Found in version 29.4

Full log


View this message in rfc822 format

From: Mark Diekhans <markd <at> ucsc.edu>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: Mark Diekhans <markd <at> ucsc.edu>, Stefan Monnier <monnier <at> iro.umontreal.ca>, 75484 <at> debbugs.gnu.org
Subject: bug#75484: 29.4; Enhancement request: Support packages providing git commit id
Date: Sun, 16 Mar 2025 21:47:21 -0700
Hi Stefan,

Apologies for not being clear.

package.el provides (package-get-version), which allows a package
to get its own version.

The package system does know the commit:
     Status: Installed in ‘bbdb-20231122.1326/’ (unsigned).
    Version: 20231122.1326
     Commit: 53e8ba04c47b3542db75b68f9663941daf2e6ca4

It would be useful for packages that want to provide the
comment to be able to obtain the commit in a similar manner,
such as (package-get-commit).

thanks
Mark

Stefan Kangas <stefankangas <at> gmail.com> writes:
> Mark Diekhans <markd <at> ucsc.edu> writes:
> 
> > It would be highly useful for to have support for packages to providing the git commit id corresponding to the code.  Something akin to package-get-version.
> >
> > thanks!
> 
> Sorry, I don't think I understand what you're asking for here.
> 
> Could you please elaborate or try to explain this in a different way?
> 
> Thanks.




This bug report was last modified 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.