You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried with latest aptly (version: 1.5.0+207+g372ce3c4) and using the REST api to switch the published snapshot (PUT /api/publish/:prefix/:distribution) with following body:
Browsing through other tickets, I noticed some mentions of gpg sign failing silently as also this is seen in aptly log
Signing file 'Release' with gpg, please enter your passphrase when prompted:
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
[GIN] 2024/08/23 - 10:43:29 | 200 | 3.844885601s | 10.10.10.10 | PUT "/api/publish/example/focal"
but putting gpg-agent log to max debug, it is all good, actually signs and completes.
Also, when try to use DELETE and POST (meaning to drop and create the publish), REST api succeeds and publish is successfully created and signed.
Additionally, using aptly cmd, as in i.e.:
aptly publish -passphrase-file="passgpg" switch focal example focal-merged-20240823
says "Publish for snapshot .. has been successfully switched to new snapshot" and truly action is successfully done.
I would like to hear out whether someone can confirm the issue is present, then I can also dig a little bit into debugging.
Context
This is probably just a small bug and would be beneficial to fix due full publish lifecycle is then possible to maintain via REST api.
Your Environment
Ubuntu 22 linux
The text was updated successfully, but these errors were encountered:
Detailed Description
Tried with latest aptly (version: 1.5.0+207+g372ce3c4) and using the REST api to switch the published snapshot (PUT /api/publish/:prefix/:distribution) with following body:
response is 200 OK, but it is telling that snapshot was not switched, as in i.e.
Browsing through other tickets, I noticed some mentions of gpg sign failing silently as also this is seen in aptly log
but putting gpg-agent log to max debug, it is all good, actually signs and completes.
Also, when try to use DELETE and POST (meaning to drop and create the publish), REST api succeeds and publish is successfully created and signed.
Additionally, using aptly cmd, as in i.e.:
says "Publish for snapshot .. has been successfully switched to new snapshot" and truly action is successfully done.
I would like to hear out whether someone can confirm the issue is present, then I can also dig a little bit into debugging.
Context
This is probably just a small bug and would be beneficial to fix due full publish lifecycle is then possible to maintain via REST api.
Your Environment
Ubuntu 22 linux
The text was updated successfully, but these errors were encountered: