GNU bug report logs - #63916
30.0.50; use-package: changes do not propagate to elpa-devel

Previous Next

Package: emacs;

Reported by: Benjamin Orthen <benjamin <at> orthen.net>

Date: Mon, 5 Jun 2023 21:23:02 UTC

Severity: normal

Found in version 30.0.50

Full log


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

From: Benjamin Orthen <benjamin <at> orthen.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>, Philip Kaludercic
 <philipk <at> posteo.net>
Cc: 63916 <at> debbugs.gnu.org
Subject: Re: bug#63916: 30.0.50; use-package: changes do not propagate to
 elpa-devel
Date: Fri, 08 Sep 2023 12:55:38 +0200
[Message part 1 (text/plain, inline)]
Related to this,

I have a patch for elpa-admin.el (in the elpa repository) which would
improve devel versioning for core packages:

Instead of looking only at the git log of the main package file, we
look instead at the git log of all files of the core package.
This way, a new devel version is created when any other package file is
changed, not just the main file.

Is this the right mailing list to send the patch? If not, where could I
send it to?


Best,
Benjamin

On Sun, 2023-06-11 at 19:32 +0200, Benjamin Orthen wrote:
> Hi,
> 
> I think I figured out why elpa does not build a new version of use-
> package.
> 
> To determine the devel version, it looks only at the git log of
> `(elpa-
> -main-file pkg-spec)`, which in this case turns out to be use-
> package.el. However, use-package.el has not been changed since
> 20230115, I suppose this is why no new version is built.
> 
> Best, Benjamin
> 
> 
> On Sun, 2023-06-11 at 12:55 -0400, Stefan Monnier wrote:
> > > > I agree that these kinds of problems are annoying to debug.  It
> > > > would be
> > > > nice to offer a "debug mode" where the user can see what's
> > > > going
> > > > on
> > > > within the sandbox.  Maybe we could do that by opening an
> > > > interactive
> > > > shell with a message saying "this is the command that we want
> > > > to
> > > > run"
> > > > and then let the user run that command?
> > > Shouldn't just invoking bash do that?
> > 
> > Yes, it should be fairly easy to do.
> > 
> > > But returning to the initial issue (hoping I did not miss
> > > anything), if
> > > the issue is not what I mentioned, then why is use-package not
> > > building?
> > 
> > You did not miss anything: it's not building simply because the
> > process
> > run within the sandbox cannot read the target of the `use-
> > package.texi`
> > symlink because the sandbox does not expose this target.
> > 
> > 
> >         Stefan
> > 
> 

[Message part 2 (text/html, inline)]
[0001-Add-elpa-core-files-to-get-more-exact-devel-versions.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 265 days ago.

Previous Next


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