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

fix: Don't fail if a to-be archived publish has missing snapshots #117

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Melkor333
Copy link
Contributor

@Melkor333 Melkor333 commented Jun 27, 2024

There was just an ugly stack trace and pyaptly aborted. Now it just says that it wanted to archive a snapshot for a publish which wasn't there.
I also added a comment in preparation for an additional feature I'm planning to be able to run pyaptly update CONFIG --create. Also, something we ran into several times.
It currently requires a bash script that runs the proper snapshot create; snapshot update; publish create; publish update sequence which is a bit of an annoyance.

@Melkor333 Melkor333 changed the title fix: Don't fail if a to-be archived publish has wrong snapshots fix: Don't fail if a to-be archived publish has missing snapshots Jun 27, 2024
@Melkor333 Melkor333 requested a review from winged June 27, 2024 13:17
pyaptly/publish.py Outdated Show resolved Hide resolved
pyaptly/publish.py Show resolved Hide resolved
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