pixelgeek Posted May 8 Share Posted May 8 Probably just a question for @vitor but would we be able to use Codeberg to host Workflows as well as Github? Link to comment
vitor Posted May 8 Share Posted May 8 You can host workflows wherever you like. But for having them in the Gallery there has to be an easy and automatable way to check for updates. Dropbox, for example, is subpar for hosting because links don’t have etags and go through a bunch of redirects. GitHub auto-creates atom feeds for individual files and releases so works well. Pretty sure GitLab auto-creates feeds as well, though it’s been a good while since I last checked. No idea regarding Codeberg, I’d need a live example to check. I’d certainly try to make the system fit the hosting, but there’s only so much we can do if the platforms don’t make features available. Link to comment
pixelgeek Posted May 8 Author Share Posted May 8 (edited) This is my first repo there https://codeberg.org/lolbat/Victor It does have an RSS feed. I was going to use it for all future code and leave the existing code where it is. I don't want to complicate any existing posts Edited May 8 by pixelgeek Link to comment
pixelgeek Posted May 8 Author Share Posted May 8 4 hours ago, vitor said: That looks OK. Could you make a release? It would just be a test but I can 🙂 Link to comment
vitor Posted May 9 Share Posted May 9 Thank you. It’s great that they have the feed link right there and accessible, but unfortunately it does not support ETags. I’ll have a think about it but since Codeberg isn’t common at all, contorting the system to fit it isn’t a priority. Such platforms usually have a repo (or something else public) where features can be requested/discussed. Do you know if Codeberg has it and where it’s located? Link to comment
pixelgeek Posted May 9 Author Share Posted May 9 2 hours ago, vitor said: but unfortunately it does not support ETags What are ETags? 2 hours ago, vitor said: Such platforms usually have a repo (or something else public) where features can be requested/discussed. Do you know if Codeberg has it and where it’s located? I believe that it is here https://codeberg.org/Codeberg/Community/issues Link to comment
vitor Posted May 9 Share Posted May 9 (edited) 1 hour ago, pixelgeek said: What are ETags? Wikipedia has the longer explanation, but in essence they’re a short string that a server returns and allows one to identify if a resource has changed. They are particularly useful for feeds because it means you don’t need to download the whole thing every time (which is slower, consumes more energy and bandwidth, and may lead to rate limiting), just check if it had changes since last time and proceed accordingly. It seems they don’t yet have an issue for adding ETags to feed requests. If you open one please link it back here so everyone can follow the progress. If they add the support, Codeberg repos can be supported no problem, everything else seems to be in order. Edited May 9 by vitor Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now