-
Notifications
You must be signed in to change notification settings - Fork 4
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
avahi.org/download has no file index #2
Comments
I think it should be possible for Debian to switch to GitHub by analogy with https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/debian/watch. @mbiebl I wonder if it would be possible to switch https://salsa.debian.org/utopia-team/avahi/-/blob/debian/master/debian/watch from avahi.org? |
Yeah they'd totally be up to switch I imagine, I guess we just need to decide if we want to do that or not. |
To judge from https://salsa.debian.org/utopia-team/avahi/-/commit/893a2769f18f4c444a186872a329bc5272e9598b Debian switched to GitHub and then switched back to avahi.org due to I assume that bug where GitHub messed up checksums. That change was reverted by GitHub so it should probably be safe to switch back. I think GitHub releases should be good enough. If someone really needs the download folder they can implement and maintain that action themselves. |
https://wiki.debian.org/debian/watch#GitHub has some background I.e. the download links being JS based and one approach is to use api.github.com. The problem is, that access to api.github.com is rate limited. |
That said, yes, we can adjust debian/watch to use github directly (whether it be releases or tags). Just curious: Is it still planned to release full |
Personally I'd switch to snapshots (and maybe signed tags eventually) because it's easier to maintain. That being said if I used tarballs I wouldn't be happy about this because I don't trust snapshots generated by GitHub :-) I guess it depends on avahi/avahi#449. |
Yeah, unfortunately the Debian repository is still tarball based and I'm aware of the shortcomings of git archive / github snapshots. |
Btw, nice to see the @avahi project being in place now! |
I staged those changes for now:
This assumes that there will still be releases going forward. |
I think publishing release tarballs is still fine, you can upload them to the GitHub release no problem. Is there a best practice other projects have moved towards to continue or avoid doing that? If we wanted to stop there'd be a bit of work to do I think since the make dist generates some outputs such as teh docs, autoconf, etc. |
I think it depends on the project. Some projects like systemd release git snapshots but it isn't exactly friendly to distros consuming tarballs (partly because those autogenerated snapshots can't be signed). FWIW I agree that it would be better to keep releasing "make dist" tarballs. (I don't think they should be kept in two different places though in the sense that I don't think the "download" folder at avahi.org is needed any more) |
Unlike the previous host, avahi.org/download has no index of files.
Some distributions such as Debian (using debian's debian/watch) file rely on this for their automatic checking of new releases.
We may need to fix this (it's possible to generate such an index with GitHub actions) and/or formalise a move to using GitHub releases or similar.
I know Debian does this, I am not sure who if anyone else does this.
The text was updated successfully, but these errors were encountered: