From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Thien-Thi Nguyen <ttn@gnuvola.org>, emacs-devel@gnu.org
Subject: Re: `master` is now `main`
Date: Sun, 03 Jan 2021 11:23:40 -0500 [thread overview]
Message-ID: <jwvim8e6m58.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CADwFkm=Eo0mxsYKJO1rCN9h3oG-EqQx-ruh-5QyRyO2vNj7yuA@mail.gmail.com> (Stefan Kangas's message of "Sun, 3 Jan 2021 10:29:22 +0100")
>> Anyone else seeing a failed fresh clone? :-(
>>
>> $ git clone -o sv git+ssh://git.sv.gnu.org/srv/git/emacs/elpa
>> Clone in 'elpa' in corso...
>> remote: Counting objects: 335978, done.
>> remote: Compressing objects: 100% (94283/94283), done.
>> remote: Total 335978 (delta 238158), reused 335412 (delta 237677)
>> Ricezione degli oggetti: 100% (335978/335978), 227.92 MiB | 4.61 MiB/s, fatto.
>> Risoluzione dei delta: 100% (238158/238158), fatto.
>> fatal: non si è ricevuto l'oggetto atteso 1b04f0fcd58ea0c82e522bd6e49dc08a3c7912ec
>> fatal: index-pack non riuscito
>>
>> (Grumble, old computers, bad RAM, grumble.)
>
> I believe you need to use this:
>
> git -c fetch.fsckObjects=false clone .../elpa
I think the fsck failure leads to a different error message, so
I suspect that's not his problem.
I don't know what could be the cause of his problem, but I'll note that
you can do the following:
git --single-branch -b main git://git.sv.gnu.org/emacs/elpa.git
which will download very little info (only the `main` branch) so is more
likely to avoid the problem you're seeing (I think).
Of course, that won't get you all the GNU ELPA packages. But subsequent
make packages/[PKGNAME]
should then fetch the corresponding package's info. So if you're not
interested in downloading all the packages but only a handful of them,
it can be good option.
> The fetch.fsckObjects setting works around a glitch in the ELPA
> repository <https://debbugs.gnu.org/22690>.
> (IMO, we should just bite the bullet and recreate the repository with
> the correct settings, but that's me.)
Actually, the fsck failure is for an object that was in the old `master`
branch (now named `old/master-2020-dec-14`), which is not used any more.
We should purge it from the repository, but I think it's a bit too early
for that. Alternatively, we could setup another repository where could
keep this branch (maybe along with other old/deprecated branches).
Also if someone is interested in recreating the branch without the fsck
problem, please go ahead. I don't have the motivation to look into how
to do that (it's probably a small matter of rebasing or something like
that).
Stefan
next prev parent reply other threads:[~2021-01-03 16:23 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-19 5:33 `master` is now `main` Stefan Monnier
2020-12-19 7:17 ` Pankaj Jangid
2020-12-19 7:56 ` Teemu Likonen
2020-12-19 8:36 ` Pankaj Jangid
2020-12-19 10:04 ` Teemu Likonen
2020-12-19 8:21 ` Eli Zaretskii
2020-12-19 8:54 ` Eli Zaretskii
2020-12-19 15:44 ` Stefan Monnier
2020-12-19 16:33 ` Eli Zaretskii
2020-12-19 9:21 ` Andreas Schwab
2020-12-19 15:47 ` Stefan Monnier
2020-12-20 4:19 ` Stefan Monnier
2020-12-20 14:16 ` Arthur Miller
2020-12-19 19:30 ` John Wiegley
2020-12-21 19:54 ` Filipp Gunbin
2020-12-21 22:15 ` Stefan Monnier
2020-12-22 15:17 ` Filipp Gunbin
2021-01-03 1:52 ` Thien-Thi Nguyen
2021-01-03 9:29 ` Stefan Kangas
2021-01-03 13:25 ` Thien-Thi Nguyen
2021-01-03 16:23 ` Stefan Monnier [this message]
2021-01-03 17:07 ` Andreas Schwab
2021-02-14 19:03 ` Matt Armstrong
2021-02-14 19:17 ` Eli Zaretskii
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=jwvim8e6m58.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=stefankangas@gmail.com \
--cc=ttn@gnuvola.org \
/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).