-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow a custom Suite when publishing #874
Conversation
This is PR #831 rebased against |
Codecov Report
@@ Coverage Diff @@
## master #874 +/- ##
==========================================
- Coverage 63.81% 63.79% -0.02%
==========================================
Files 54 54
Lines 6665 6673 +8
==========================================
+ Hits 4253 4257 +4
- Misses 1887 1890 +3
- Partials 525 526 +1
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #874 +/- ##
==========================================
- Coverage 63.81% 63.79% -0.02%
==========================================
Files 54 54
Lines 6665 6673 +8
==========================================
+ Hits 4253 4257 +4
- Misses 1887 1890 +3
- Partials 525 526 +1
Continue to review full report at Codecov.
|
Description of the Change
A
-suite
parameter is added for publishing. If it's not provided, thendistribution
is used (current default).Why this change is important?
Starting from Ubuntu bionic,
apt
checks that theLabel
,Origin
andSuite
of a repo remains the same. If they change, it requires manual confirmation from the user. Hence, administrators migrating toaptly
need to have the flexibility to set a custom Suite field.This change is also important because distributions use the Suite for tagging the release in different ways. For example, Debian uses the suites for tagging
stable
,oldstable
,oldoldstable
, etc.Checklist
AUTHORS
About tests
At the moment, not all the tests are passing. I think this might be related to the recent archival of wheezy. I added tests related to this change, but didn't fix the ones that were already broken.