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

To reply to this bug, email your comments to 75484 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#75484; Package emacs. (Sat, 11 Jan 2025 05:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Diekhans <markd <at> ucsc.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 11 Jan 2025 05:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mark Diekhans <markd <at> ucsc.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.4; Enhancement request: Support packages providing git commit id
Date: Fri, 10 Jan 2025 21:02:36 -0800
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!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75484; Package emacs. (Sun, 02 Mar 2025 04:08:04 GMT) Full text and rfc822 format available.

Message #8 received at 75484 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Mark Diekhans <markd <at> ucsc.edu>
Cc: 75484 <at> debbugs.gnu.org
Subject: Re: bug#75484: 29.4; Enhancement request: Support packages providing
 git commit id
Date: Sat, 1 Mar 2025 20:07:51 -0800
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.




Added tag(s) moreinfo. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 02 Mar 2025 04:09:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75484; Package emacs. (Mon, 17 Mar 2025 04:48:03 GMT) Full text and rfc822 format available.

Message #13 received at 75484 <at> debbugs.gnu.org (full text, mbox):

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: Re: 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 92 days ago.

Previous Next


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