feat: poll apt repo to verify reprepro accepted upload #70
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
nagonag
nagonag/ignore
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
heiko/gogogo#70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After a successful dupload run, gogogo has no feedback on whether reprepro
accepted the uploaded packages. A validation/polling step would make the
publish phase self-verifying and enable safe staging-dir cleanup with
confirmed acceptance.
Proposed behaviour
Add an optional
verify_urlfield to eachpublish.destinationsentry oftype
dupload. When set, gogogo polls the given APT repo base URL afterupload until the expected package version appears (or a timeout is reached).
Example config:
Polling strategy:
Packages.gz/ReleaseURL fromverify_url+ distribution + archMotivation
Without reprepro feedback:
"everything worked"
(currently gogogo purges payload files after dupload exits 0, but
reprepro may still reject the upload asynchronously)
Related
Staging directory moved to XDG cache and sidecar-based dedup added in
the accompanying commit; this issue tracks the verification step.