a2o / snoopy

Snoopy Command Logger is a small library that logs all program executions on your Linux/BSD system.
GNU General Public License v2.0
1.21k stars 155 forks source link

repository 404 #279

Closed celevra closed 1 month ago

celevra commented 1 month ago

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 commented 1 month ago

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? :)

celevra commented 1 month ago

sorry for the late answer

a 404 normally means that it is not existend. Here is my ubuntu error message, the repo is not usable:

image

bostjan commented 1 month ago

That's because Noble is not yet supported, which you can see if you browse the repo content here: https://github.com/a2o/snoopy-packages/tree/master/repo/ubuntu

Noble will be supported with the next Snoopy release (soon-ish).

celevra commented 1 month ago

Ok than the documentation is a little bit ahead ;-) https://github.com/a2o/snoopy/blob/master/doc/install-from-repo.md#ubuntu

Thanks

bostjan commented 1 month ago

@celevra, crap, you're right! :)))

I'll reopen this issue and close it once Noble package is out.

bostjan commented 1 month ago

@celevra, Snoopy Logger package for Ubuntu 24.04 is now available.