Skip to content
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

repository 404 #279

Open
celevra opened this issue Sep 30, 2024 · 1 comment
Open

repository 404 #279

celevra opened this issue Sep 30, 2024 · 1 comment

Comments

@celevra
Copy link

celevra commented Sep 30, 2024

Hi,

in the install manual there should be an ubuntu repository:

https://a2o.github.io/snoopy-packages/repo/ubuntu

bit it gives an 404

regards

@bostjan
Copy link
Member

bostjan commented Oct 1, 2024

Hey @celevra,

This request isn't valid, because the Snoopy's Ubuntu repository is indeed there (see the manual for how to use it), it's just that the repo isn't directly browsable with a web browser, because... reasons*. So, for reading this repository, you have to use apt or directly request URLs that apt would request (i.e. https://a2o.github.io/snoopy-packages/repo/ubuntu/dists/jammy/Release).

*reasons: Github Pages service is being leveraged to host the Snoopy package repository. While it does offer static file hosting, and does it very well, it doesn't provide automatic directory indexing, hence you're seeing the 404 when requesting an URL that doesn't specifically exist. Directory indexing (= seeing directories/files within a repo directory with a browser) is not required for apt to work, but usually provided for users' convenience when repositories are hosted using other solutions (i.e. Apache web server).

However, you can still browse the Snoopy repository content with your browser, you just have to do it indirectly, in the Git repository that serves as a content source for the Snoopy Packages repository URL, here:
https://github.com/a2o/snoopy-packages/tree/master/repo

All clear? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants