elementary / houston

Debian-repository-based AppCenter Dashboard, the backend for elementary AppCenter on elementary OS 5.1 and earlier.
https://developer.elementary.io
MIT License
162 stars 32 forks source link

Support Codeberg repositories #797

Open cassidyjames opened 4 years ago

cassidyjames commented 4 years ago

We've gotten some people asking to support Codeberg as a source for repositories. While you can set up a mirror on GitHub (and that's my current recommendation), some are opposed to using GitHub at all.

4jNsY6fCVqZv commented 3 years ago

@cassidyjames Could you imagine adding this issue to the AppCenter For Everyone Sprint? https://github.com/orgs/elementary/projects/72

Exactly, I don't want to use GitHub for my own development for ethical reasons. This also prevents me from getting more and more involved.

4jNsY6fCVqZv commented 3 years ago

Codeberg is based on https://en.wikipedia.org/wiki/Gitea. So a Codeberg integration also means Gitea support, right? Gitea is self-hostable.

jalcine commented 3 years ago

This is something I'm adamant about supporting mainly because it would be the in-road to allowing elementary to interact with the broader open source community that attempts to reduce their engagement with organizations like ICE. I'm familiar with the API exposed by Gitea and from what I can gather about Houston's use of GitHub, it can definitely be compatible with it.

jalcine commented 3 years ago

I'd ask if elementary, as a team, is open to this because it's not a small undertaking (I can imagine a lot of bits about GitHub being hard-coded into Houston) at all.

jalcine commented 3 years ago

Looking at the code in https://github.com/elementary/houston/blob/v2/src/lib/service/github.ts, it doesn't look too impossible!

btkostner commented 3 years ago

Sorry about the delay (I get way too many notifications on GitHub). I appreciate the work, and this is something we definitely want to support. But the next iteration of houston (with flatpak support) will most likely be a rewrite of this code base in a different language with some core differences to support other source controls besides GitHub.

jalcine commented 3 years ago

Hey @btkostner,

Sorry about the delay (I get way too many notifications on GitHub).

Heh, I declare bankruptcy on them once a month!

I appreciate the work, and this is something we definitely want to support. But the next iteration of houston (with flatpak support) will most likely be a rewrite of this code base in a different language with some core differences to support other source controls besides GitHub.

Is it possible for the community to contribute to this? I have a vested interest in this and would have no problem contributing time.

btkostner commented 3 years ago

@jalcine The server side of the project will be here https://github.com/elementary/houston-server. We were planning on figuring everything out at the AppCenter for Everyone sprint, but that was sadly postponed. Luckily Dan, Cassidy, and I are planning a mini sprint all next week to figure out what we need to do for the next iteration of houston. I should have more details for you after that week and hopefully a pretty good place for you to start building out Gitea support.

jalcine commented 3 years ago

Excellent, super-excited to hear about that - thank you!

On Thu, May 6, 2021 at 10:08 AM, Blake Kostner @.***> wrote:

@jalcine The server side of the project will be here https://github.com/elementary/houston-server. We were planning on figuring everything out at the AppCenter for Everyone sprint, but that was sadly postponed. Luckily Dan, Cassidy, and I are planning a mini sprint all next week to figure out what we need to do for the next iteration of houston. I should have more details for you after that week and hopefully a pretty good place for you to start building out Gitea support.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

jalcine commented 3 years ago

Oh nice, it's in Elixir too! I've enjoyed that language a lot (as well as Rust).

On Thu, May 6, 2021 at 10:08 AM, Blake Kostner @.***> wrote:

@jalcine The server side of the project will be here https://github.com/elementary/houston-server. We were planning on figuring everything out at the AppCenter for Everyone sprint, but that was sadly postponed. Luckily Dan, Cassidy, and I are planning a mini sprint all next week to figure out what we need to do for the next iteration of houston. I should have more details for you after that week and hopefully a pretty good place for you to start building out Gitea support.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

btkostner commented 3 years ago

Yep! I use it a lot at work at System76 and have fallen in love with it. I'd rather have the backend and web interface use that instead of node. Especially with how fast node moves. Most of the code in this houston repo is super out of date because it was written years ago. Ain't nobody have time for that maintenance work

4jNsY6fCVqZv commented 2 years ago

Should this issue be transferred to https://github.com/elementary/appcenter-dashboard?

4jNsY6fCVqZv commented 2 years ago

@jalcine Could you imagine continuing your work on this now that AppCenter Dashboard exists?