From: Alex Dunn <dunn.alex@gmail.com>
To: Phillip Lord <phillip.lord@russet.org.uk>, emacs-devel@gnu.org
Subject: Re: MELPA and rewriting history for the (git) repo
Date: Fri, 12 Feb 2016 18:46:01 -0800 [thread overview]
Message-ID: <m2io1tiaza.fsf@snow.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87twlec97k.fsf@russet.org.uk>
It does a fetch and then a hard reset, so there shouldn’t be problems
with history being rewritten: https://github.com/melpa/melpa/blob/master/package-build.el#L551-L561
There could be problems for MELPA Stable if the new history has tags
that are parsed as an earlier version; that currently requires manual
intervention (https://github.com/melpa/melpa/pull/3362#issuecomment-173058525).
Phillip Lord <phillip.lord@russet.org.uk> writes:
> For MELPA, I don't think it would make any difference -- I think, it
> just looks for changes in the hash and if it sees one generates the
> latest version. It might cause a problem if it uses git update, rather
> than a fresh clone for each checkout.
>
> There are many good reasons not to rebase master, though.
>
>
> Uwe Brauer <oub@mat.ucm.es> writes:
>> Matlab-emacs has moved to a git repo at SF and MELPA points now to that
>> repo.
>>
>>
>> The question is this: git allows to rewrite history but usually
>> for a public repo, it is strong advised in the documentation, not to do
>> so.
>>
>> What would happen with the corresponding MELPA packages, if one rewrote
>> the history?
>>
>> Thanks
>>
>> Uwe Brauer
prev parent reply other threads:[~2016-02-13 2:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-11 10:29 MELPA and rewriting history for the (git) repo Uwe Brauer
2016-02-12 14:08 ` Phillip Lord
2016-02-13 2:46 ` Alex Dunn [this message]
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=m2io1tiaza.fsf@snow.i-did-not-set--mail-host-address--so-tickle-me \
--to=dunn.alex@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=phillip.lord@russet.org.uk \
/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).