aptly-api-client icon indicating copy to clipboard operation
aptly-api-client copied to clipboard

Added api/ready command

Open GregoryLand opened this issue 1 year ago • 2 comments

  • Added api/ready
  • Added tests for api/ready
  • Added fix for BaseApiClient.do_get. 503 status codes were getting turned into ApltyAPIExceptions. The new api/ready uses 503 as its status code when aptly is not ready.

GregoryLand avatar Jul 27 '24 18:07 GregoryLand

@GregoryLand Not sure if relevant for you but suggested changes are related to functionalities that are not part of a released version of Aptly Server.

xaoc7 avatar Aug 02 '24 09:08 xaoc7

Yes but I needed it. So commiting it to upstream where it could be pulled in one day seemed prudent. It also fails with an exception if the endpoint doesn't exist.

GregoryLand avatar Aug 02 '24 13:08 GregoryLand