all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonas Bernoulli <jonas@bernoul.li>
To: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: elpa.git and `new-master`
Date: Tue, 15 Dec 2020 22:43:00 +0100	[thread overview]
Message-ID: <877dpi690b.fsf@bernoul.li> (raw)
In-Reply-To: <jwv5z53emaa.fsf-monnier+emacs@gnu.org>

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> As part of the effort to setup the NonGNU ELPA infrastructure, I've also
> overhauled the GNU ELPA part.

Thanks a lot for your work on this!

>   As a result, I decided to create a fresh `new-master` branch which
>   doesn't share its history with `master`.  This new branch will replace
>   `master` in the coming days.

Since you have to do this for this branch anyway, please also force-push
to 'externals/transient' in order to discard the last few commits, which
were only needed because the `:renames' property did not exist yet.  Now
that that is available, I plan to use transient's "master" branch and do
the edits using `:renames' et al.

>   So whoever is tracking `master` will be faced with a
>   "non-fast-forward" update.  This can be annoying and I apologize in
>   advance, but I think the long terms advantages largely make up for
>   the short term annoyance.

I noticed that non-fast-forward pushes are disallowed (when trying to
do the reset I just mentioned myself) and ended up wondering if there
are any other checks in place that prevent other potential push errors.

Most importantly what happens if someone has managed to merge the old
"master" into the new one and then pushes that?  That is a fast-forward,
though one that we very much want to prevent.  Is there some list with
disallowed hashes?

>   - It also know how to generate Info files from Org manuals.
>   - It can even run `make` as part of building the tarballs, making it
>     possible to perform various massaging.
>     This obviously can't just run "anything you like" since it depends
>     on what's available on `elpa.gnu.org`, so if you want to use this
>     feature, please get in touch with me so we can coordinate it.

I had some issues with this.  Some of them are due to my packages
needing some additional libraries to generate the *.texi files from the
*.org input and I will contact you about that privately.  But there was
also one issue that might affect others:

`org-texinfo-export-to-texinfo' may end up calling git (e.g. to get the
version number), which requires access to the git (control) directory
"ELPA/.git" (just "ELPA/.git/worktrees/<package>" probably won't do),
but currently bubblewrap is not given access to that.

> - Another advantage is that the new code makes it much easier to build
>   your own tarballs, for example to test them before pushing to code.
>   You can just do `make build/[PKGNAME]` and the resulting package will
>   be built in `archive/[PKGNAME]-[VERSION].tar.

That almost worked. "make build/<package>" (or `elpaa--make-one-package')
calls `elpaa--external-package-sync', which pulls.  That of course is not
desirable when one wants to test some other revision of the package than
what would end up being pulled.

     Jonas



  parent reply	other threads:[~2020-12-15 21:43 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-15  4:46 elpa.git and `new-master` Stefan Monnier
2020-12-15 16:09 ` Eli Zaretskii
2020-12-15 16:53   ` Stefan Monnier
2020-12-15 18:24     ` Eli Zaretskii
2020-12-15 19:02       ` Stephen Leake
2020-12-15 19:16         ` Eli Zaretskii
2020-12-15 21:09       ` Dmitry Gutov
2020-12-15 21:33       ` Stefan Monnier
2020-12-16 15:36         ` Eli Zaretskii
2020-12-15 18:57 ` Stephen Leake
2020-12-15 21:35   ` Stefan Monnier
2020-12-16  5:43   ` Richard Stallman
2020-12-16  8:33   ` Tim Cross
2020-12-17  5:55     ` Richard Stallman
2020-12-16  9:00   ` Alfred M. Szmidt
2020-12-15 19:03 ` Stephen Leake
2020-12-15 21:43 ` Jonas Bernoulli [this message]
2020-12-15 22:34   ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2020-12-16  6:47 Boruch Baum
2020-12-16  7:38 ` Jean Louis
2020-12-16  8:24   ` Andreas Schwab
2020-12-16  9:31     ` Jean Louis
2020-12-16  9:59       ` Andreas Schwab
2020-12-16  8:49   ` Pankaj Jangid
2020-12-16  9:34     ` Jean Louis
2020-12-16  9:01   ` Alfred M. Szmidt
2020-12-16 12:29   ` Joost Kremers
2020-12-16 13:48     ` Jean Louis
2020-12-16 14:04       ` Lars Ingebrigtsen
2020-12-16 14:40         ` Jean Louis
2020-12-16 14:26     ` Stefan Monnier
2020-12-16 20:08     ` Stephen Leake
2020-12-17  3:58     ` Tim Landscheidt
2020-12-17  5:54     ` Richard Stallman
2020-12-17  8:25       ` Joost Kremers
2020-12-17 16:22       ` Stephen Leake
2020-12-18  5:48         ` Richard Stallman
2020-12-16 17:03   ` Clément Pit-Claudel
2020-12-16  9:03 ` Lars Ingebrigtsen
2020-12-16 10:19   ` Pankaj Jangid
2020-12-16 14:15     ` Boruch Baum
2020-12-16 13:48   ` Gregory Heytings via Emacs development discussions.
2020-12-16 13:53     ` Lars Ingebrigtsen
2020-12-16 14:43       ` Gregory Heytings via Emacs development discussions.
2020-12-16 15:24         ` Pankaj Jangid
2020-12-16 15:37         ` Jean Louis
2020-12-16 17:54         ` Alfred M. Szmidt
2020-12-16 16:23       ` Eli Zaretskii
2020-12-16 16:16   ` Dmitry Gutov
2020-12-16 18:24     ` Stefan Monnier
2020-12-16 18:46       ` Dmitry Gutov
2020-12-16 19:03         ` Boruch Baum
2020-12-16 19:06           ` Stefan Monnier
2020-12-16 19:21             ` Boruch Baum
2020-12-16 19:55               ` Stefan Monnier
2020-12-16 19:22             ` Andreas Schwab
2020-12-16 19:56               ` Stefan Monnier
2020-12-16 20:06                 ` Andreas Schwab
2020-12-16 20:12                 ` Boruch Baum
2020-12-16 20:19                   ` Lars Ingebrigtsen
2020-12-16 21:16                     ` Boruch Baum
2020-12-16 21:38                       ` Stefan Monnier
2020-12-16 20:38                   ` Stefan Monnier
2020-12-16 20:46         ` Stefan Monnier
2020-12-16 20:53           ` Dmitry Gutov
2020-12-16 21:09           ` Lars Ingebrigtsen
2020-12-16 21:34             ` Stefan Monnier
2020-12-17  0:11           ` Caio Henrique
2020-12-17  3:37           ` Eli Zaretskii
2020-12-17  8:15             ` Joost Kremers
2020-12-17  8:39               ` Tim Cross
2020-12-17 15:14             ` Stefan Monnier
2020-12-16 20:41       ` Juri Linkov
2020-12-16 21:24         ` Boruch Baum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877dpi690b.fsf@bernoul.li \
    --to=jonas@bernoul.li \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.