In https://github.com/trofi/nix-guix-gentoo/issues/35 changed the link in repos.conf entry and did not observe overlay update. Reproducible: Always Steps to Reproduce: User had the following sequence of events: 1. Set the overlay to point to the mirror: nix-guix location: /var/db/repos/nix-guix sync-type: git sync-uri: https://github.com/gentoo-mirror/nix-guix.git masters: gentoo volatile: False 2. emerge --sync 3. switch repos.conf entry to https://github.com/trofi/nix-guix-gentoo.git 4. emerge --sync Actual Results: /var/db/repos/nix-guix still points to the stale https://github.com/gentoo-mirror/nix-guix.git Expected Results: /var/db/repos/nix-guix points to the new https://github.com/trofi/nix-guix-gentoo.git
We can make it adjust it for volatile repos, sure. We can't really otherwise though.
If the data loss is a concern at least making the sync to fail might be more intuitive than silently succeeding.
*** Bug 915991 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=3b8442d6683cad9debe9fce554e2bd958188ab7c commit 3b8442d6683cad9debe9fce554e2bd958188ab7c Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2023-10-19 08:48:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-22 18:58:57 +0000 sync/git: update git remote url with sync-uri when necessary If the repo is not volatile, update the URL of the git remote if it is not equal to the configured sync-uri. Closes: https://bugs.gentoo.org/905869 Signed-off-by: Florian Schmaus <flow@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> NEWS | 3 +++ lib/portage/sync/modules/git/git.py | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b9128b401def05cac46f9e6d66048e5a0d888b8 commit 2b9128b401def05cac46f9e6d66048e5a0d888b8 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-25 05:48:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-25 05:48:40 +0000 sys-apps/portage: add 3.0.54 Closes: https://bugs.gentoo.org/905869 Closes: https://bugs.gentoo.org/915551 Closes: https://bugs.gentoo.org/915896 Closes: https://bugs.gentoo.org/916106 Closes: https://bugs.gentoo.org/916108 Closes: https://bugs.gentoo.org/916112 Closes: https://bugs.gentoo.org/916116 Closes: https://bugs.gentoo.org/916139 Closes: https://bugs.gentoo.org/916141 Closes: https://bugs.gentoo.org/916142 Closes: https://bugs.gentoo.org/916149 Closes: https://bugs.gentoo.org/916182 Closes: https://bugs.gentoo.org/916231 Closes: https://bugs.gentoo.org/916235 Closes: https://bugs.gentoo.org/916240 Closes: https://bugs.gentoo.org/916242 Closes: https://bugs.gentoo.org/916245 Closes: https://bugs.gentoo.org/916248 Closes: https://bugs.gentoo.org/899898 Closes: https://bugs.gentoo.org/906129 Closes: https://bugs.gentoo.org/906156 Closes: https://bugs.gentoo.org/916031 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.54.ebuild | 238 +++++++++++++++++++++++++++++++++ 2 files changed, 239 insertions(+)
*** Bug 679040 has been marked as a duplicate of this bug. ***