Merge lp:~xnox/utah/fix-validation-on-release-day into lp:utah

Proposed by Dimitri John Ledkov
Status: Merged
Approved by: Joshua Powers
Approved revision: 1145
Merged at revision: 1145
Proposed branch: lp:~xnox/utah/fix-validation-on-release-day
Merge into: lp:utah
Diff against target: 13 lines (+1/-2)
1 file modified
utah/isotest/iso_static_validation.py (+1/-2)
To merge this branch: bzr merge lp:~xnox/utah/fix-validation-on-release-day
Reviewer Review Type Date Requested Status
Paride Legovini Pending
Canonical CI Engineering Pending
Review via email: mp+366263@code.launchpad.net

Commit message

We used to know the next codename ahead of time, such that we always knew what the devel series are.

However, not anymore.

In practice, however. When the new codename is not known yet it means that /daily points to stable() still, and we should continue to use "/daily" paths for the stable release whichever it might be, instead of the "/$codename/daily" paths.

This should unbreak testing LTS dailies, when there is no next-devel codename name SRUed in the distro-info-data.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'utah/isotest/iso_static_validation.py'
--- utah/isotest/iso_static_validation.py 2019-04-17 10:32:51 +0000
+++ utah/isotest/iso_static_validation.py 2019-04-18 12:08:45 +0000
@@ -173,8 +173,7 @@
173 try:173 try:
174 ubuntu_distro_devel = distro_info.UbuntuDistroInfo().devel()174 ubuntu_distro_devel = distro_info.UbuntuDistroInfo().devel()
175 except:175 except:
176 self.fail("Can not find distro info details. "176 ubuntu_distro_devel = distro_info.UbuntuDistroInfo().stable()
177 "Distro info data could be out of date")
178177
179 if self.st_release != ubuntu_distro_devel:178 if self.st_release != ubuntu_distro_devel:
180 self.url = os.path.join(DEFAULT_URL, self.st_release)179 self.url = os.path.join(DEFAULT_URL, self.st_release)

Subscribers

People subscribed via source and target branches