[go: up one dir, main page]

Skip to content
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

Merged
merged 6 commits into from
Sep 6, 2019
Merged

Conversation

smira
Copy link
Contributor
@smira smira commented Sep 6, 2019

Description of the Change

A -suite parameter is added for publishing. If it's not provided, then distribution is used (current default).

Why this change is important?

Starting from Ubuntu bionic, apt checks that the Label, Origin and Suite of a repo remains the same. If they change, it requires manual confirmation from the user. Hence, administrators migrating to aptly 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

  • unit-test added (if change is algorithm)
  • functional test added/updated (if change is functional)
  • man page updated (if applicable)
  • bash completion updated (if applicable)
  • documentation updated
  • author name in 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.

@smira
Copy link
Contributor Author
smira commented Sep 6, 2019

This is PR #831 rebased against master

@smira smira added this to the 1.5.0 milestone Sep 6, 2019
@smira smira mentioned this pull request Sep 6, 2019
6 tasks
@codecov
Copy link
codecov bot commented Sep 6, 2019

Codecov Report

Merging #874 into master will decrease coverage by 0.01%.
The diff coverage is 55.55%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
deb/publish.go 63.08% <55.55%> (-0.16%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bde6e6b...37f4312. Read the comment docs.

1 similar comment
@codecov
Copy link
codecov bot commented Sep 6, 2019

Codecov Report

Merging #874 into master will decrease coverage by 0.01%.
The diff coverage is 55.55%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
deb/publish.go 63.08% <55.55%> (-0.16%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bde6e6b...37f4312. Read the comment docs.

@smira smira merged commit d80c2b6 into aptly-dev:master Sep 6, 2019
@jbayfield jbayfield mentioned this pull request Aug 18, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants