-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support publishing to local repositories/storage #30
Conversation
possibly my fix is bogus and the real problem is in the in any case, i think that using the default storage should give a working config ;-) |
at least with aptly_1.4.0+ds1-4+b4 (found in Debian) doing a simple "PUT /api/publish/local-repo" or "DELETE /api/publish/local-repo" will result in a 404. the proper way is to either use a storage specification ":." or leave it empty (but keep the slash intact) Closes: tcpcloud#29
5ba0185
to
a327bd1
Compare
force pushed to fix this (although this was legacy cruft and i originally only touched other parts of this line) |
I can confirm this fixes the issue for me running against Tested running the following command on Ubuntu 20.04, 22.04 on current master d9f07ca
On Ubuntu 18.04 the current master is broken resulting in a 404 error
On Ubuntu 18.04 the current release On Ubuntu 24.04 noble the command errors with the following message (both
I'll open an issue for Ubuntu 24.04 support. Should be related to the deprecation warning issued in Ubuntu 22.04 run:
|
the error about the unsafe YAML parser is unrelated to this PR (it's just that newer versions of Python's |
at least with aptly 1.4.0+ds1-4+b4 doing a simple
PUT /api/publish/local-repo
orDELETE /api/publish/local-repo
will result in a 404.the proper way is to either use a storage specification
:.
or leave itempty (but keep the slash intact)
Closes: #29