From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Migrate from rsync to git for emerge --sync?
Date: Tue, 12 Oct 2021 21:35:56 -0400 [thread overview]
Message-ID: <CAGfcS_mvQ9xwxEazSQjhi3EP62frMa_ucFspYeeHOnVLc_+qVQ@mail.gmail.com> (raw)
In-Reply-To: <sk5cdi$e8c$1@ciao.gmane.io>
On Tue, Oct 12, 2021 at 9:22 PM Grant Edwards <grant.b.edwards@gmail.com> wrote:
>
> On 2021-10-13, Rich Freeman <rich0@gentoo.org> wrote:
> >
> > Profile selection is implemented as a symlink from
> > /etc/portage/make.profile. If you move your repository, then you need
> > to re-select the profile since the symlink will be broken.
>
> Indeed. And the failure that produces is not at all graceful.
>
> I spent a little time trying to figure out where in the Wiki or docs
> that the rsync -> git migration steps should be documented, but I
> didn't find anyplace that looked like the right home for that info.
>
Moving from rsync to git probably doesn't require re-selecting the
profile. However, if you move the path of the repository itself then
that would require re-selecting the profile regardless of whether the
method of syncing is changed.
I got the impression from your email that you moved the repository
when you switched. If you ONLY renamed the old one but kept the same
exact path, then after it pulled the new repo the profile should have
remained working as far as I am aware. If I'm understanding the
situation, then the correct place to put this in the wiki is in any
section pertaining to moving the repository (such as to /var/db or
whatever). It wouldn't hurt to make a note in any instructions for
switching to git to be aware of the requirement if the opportunity is
taken to move the repository at the same time. It is a pretty logical
time to do this.
The error messages may very well have been misleading though. Portage
is a bit infamous for misleading error messages.
--
Rich
next prev parent reply other threads:[~2021-10-13 1:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-12 20:02 [gentoo-user] Migrate from rsync to git for emerge --sync? Grant Edwards
2021-10-12 20:09 ` Rich Freeman
2021-10-12 21:14 ` [gentoo-user] " Grant Edwards
2021-10-13 1:01 ` Matt Connell
2021-10-13 1:18 ` Rich Freeman
2021-10-13 1:22 ` Grant Edwards
2021-10-13 1:35 ` Rich Freeman [this message]
2021-10-13 13:30 ` Grant Edwards
2021-10-13 1:25 ` Matt Connell
2021-10-13 1:19 ` Grant Edwards
2021-10-13 18:06 ` Neil Bothwick
2021-10-13 18:26 ` Grant Edwards
2021-10-13 18:36 ` Neil Bothwick
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=CAGfcS_mvQ9xwxEazSQjhi3EP62frMa_ucFspYeeHOnVLc_+qVQ@mail.gmail.com \
--to=rich0@gentoo.org \
--cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox