unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Jonas Bernoulli <jonas@bernoul.li>
Cc: emacs-devel@gnu.org
Subject: Re: elpa.git and `new-master`
Date: Tue, 15 Dec 2020 17:34:41 -0500	[thread overview]
Message-ID: <jwv7dpiaejm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <877dpi690b.fsf@bernoul.li> (Jonas Bernoulli's message of "Tue, 15 Dec 2020 22:43:00 +0100")

[ I task-switched to something else, so this will have to wait a bit,
  but in the mean time: ]

> 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.

Indeed.  You can still delete a branch, so you can non-fast-forward by
deleting and then pushing something else.  We discourage doing it, tho,
so please don't abuse it.

> 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.

Yes, that'd be a problem.  But no, there's no protection against that.

> Is there some list with disallowed hashes?

No.

> `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.

> 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.

Could you make bug reports for those (and put me in the X-Debbugs-Cc) so
I don't forget?


        Stefan




  reply	other threads:[~2020-12-15 22:34 UTC|newest]

Thread overview: 72+ 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
2020-12-15 22:34   ` Stefan Monnier [this message]
  -- 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: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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwv7dpiaejm.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=jonas@bernoul.li \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).