Remove code that automagically changes debian archive URLs in stx.conf
to public WR mirror URLs. This upgrade was added last year and was only
relevant to un-upgraded development environments that existed at that
time (eg on developer desktops). It is no longer relevant. Removing it
because it breaks the ability of the user to explicitly set those URLs
to the real Debian archive repository under some circumstances.
How to reproduce:
* Remove existing stx.conf
* Copy stx.conf.example => stx.conf
* Replace the key:
stx config --add stx config --add project.debian_snapshot_base http://snapshot.debian.org/archive/debian
* Upgreade configuration:
stx config --upgrade
* ===> URL gets reset back to default (mirror) in stx.conf
TESTS
==================================
* Re-run above steps and make sure this doesn't happen
Reviewed: https:/ /review. opendev. org/c/starlingx /tools/ +/900223 /opendev. org/starlingx/ tools/commit/ 1f7a760068a909c 1f47cc75516ff02 2facc75da5
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1f7a760068a909c 1f47cc75516ff02 2facc75da5
Author: Davlet Panech <email address hidden>
Date: Mon Nov 6 12:27:11 2023 -0500
Remove obsolete stx.conf upgrade
Remove code that automagically changes debian archive URLs in stx.conf
to public WR mirror URLs. This upgrade was added last year and was only
relevant to un-upgraded development environments that existed at that
time (eg on developer desktops). It is no longer relevant. Removing it
because it breaks the ability of the user to explicitly set those URLs
to the real Debian archive repository under some circumstances.
How to reproduce: debian_ snapshot_ base http:// snapshot. debian. org/archive/ debian
* Remove existing stx.conf
* Copy stx.conf.example => stx.conf
* Replace the key:
stx config --add stx config --add project.
* Upgreade configuration:
stx config --upgrade
* ===> URL gets reset back to default (mirror) in stx.conf
TESTS ======= ======= ======= ======= ===
===
* Re-run above steps and make sure this doesn't happen
Closes-Bug: 2042854
Signed-off-by: Davlet Panech <email address hidden> 4ade0152ad0296b 00ba2785ebf
Change-Id: I3ff011d747f280