Support updating label and origin domain of publish
Fixes #1007
Requirements
All new code should be covered with tests, documentation should be updated. CI should pass.
Description of the Change
Checklist
- [ ] unit-test added (if change is algorithm)
- [x] functional test added/updated (if change is functional)
- [ ] man page updated (if applicable)
- [ ] bash completion updated (if applicable)
- [ ] documentation updated
- [ ] author name in
AUTHORS
@neolynx Thanks for your kindly reminds. Updated the patch and make three test cases for it.
=== Support update "label" and "origin" of aptly publish on:
-
Command
aptly publish updateAdd new test case "t06_publish/PublishUpdate19Test" -
REST API:
api.POST("/publish/:prefix/:distribution/update", apiPublishUpdate)Modify test case "t12_api/PublishUpdateSourcesAPITestRepo" -
REST API:
api.PUT("/publish/:prefix/:distribution", apiPublishUpdateSwitch)Modify test case "t12_api/PublishSwitchAPITestRepo"
@neolynx Is there anything else supplementary I need to do? Additionally, is there any possibility of adding this patch to Debian:trixie? One of our projects is built on Debian:trixie, and it would be beneficial to our project if this patch could be added to Debian:trixie.