Comment 3 for bug 2042854

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/900223
Committed: https://opendev.org/starlingx/tools/commit/1f7a760068a909c1f47cc75516ff022facc75da5
Submitter: "Zuul (22348)"
Branch: master

commit 1f7a760068a909c1f47cc75516ff022facc75da5
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:
    * 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

    Closes-Bug: 2042854

    Signed-off-by: Davlet Panech <email address hidden>
    Change-Id: I3ff011d747f2804ade0152ad0296b00ba2785ebf