aptly icon indicating copy to clipboard operation
aptly copied to clipboard

Support updating label and origin domain of publish

Open xzhang1 opened this issue 4 months ago • 2 comments

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

xzhang1 avatar Aug 21 '25 12:08 xzhang1

@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:

  1. Command aptly publish update Add new test case "t06_publish/PublishUpdate19Test"

  2. REST API: api.POST("/publish/:prefix/:distribution/update", apiPublishUpdate) Modify test case "t12_api/PublishUpdateSourcesAPITestRepo"

  3. REST API: api.PUT("/publish/:prefix/:distribution", apiPublishUpdateSwitch) Modify test case "t12_api/PublishSwitchAPITestRepo"

xzhang1 avatar Sep 02 '25 07:09 xzhang1

@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.

xzhang1 avatar Oct 27 '25 01:10 xzhang1