Add option to change settings of publish without dropping?
Hi,
Currently when you need to change certain parameters of a published repo (from snapshot) then you need to drop the entire published repo (meaning during that time it won't be available) and then republish it with the new data.
For example if you need to just enable support for acquire-by-hash you cannot do it via switch. Or change Origin/Label etc.
Is there any technical limitation behind this?
Thanks
I have the same issue, I just wanted to set the Label via PUT but that exists only for the initial creation.
no technical limitation, just implemented differently... currently there is always a publish involved, some logic would be needed to detect when this is not needed..
@spaceone A small patch can make it, you can make a try: https://github.com/xzhang1/aptly/commit/65c1e83ec40d24b0e13bf8d72a7a544d6e5f91d5
@spaceone A small patch can make it, you can make a try: xzhang1@65c1e83
Thank you for providing the patch. Unfortunately I don't have permissions in our domain to compile it and deploy it there.