libreddit / libreddit

Private front-end for Reddit
https://github.com/libreddit/libreddit/issues/840
GNU Affero General Public License v3.0
5.05k stars 267 forks source link

💡 Feature request: Consider mirroring this to codeberg. #635

Open Midou36O opened 2 years ago

Midou36O commented 2 years ago

Is your feature request related to a problem? Please describe.

No.

Describe the feature you would like to be implemented

Hosting a mirror on Codeberg will allow those who do not wish to use github to contribute (or at the very least, look at the repo). Without having to use github.

Describe alternatives you've considered

n/a

Additional context / screenshot

n/a

ghost commented 2 years ago

Fix for this issue is just to just use github to contribute

Midou36O commented 2 years ago

Some people may not wish to create an account on github specifically and contribute, however, they could very well create patch files and send them via mail or to the matrix room. Mirroring on Codeberg is more like a convenience than anything else to be fair.

ghost commented 2 years ago

Ppl who are afraid to "create an account on GitHub" is their own problem, and should probably see some therapy idk. GitHub is good enough

Midou36O commented 2 years ago

I could say the same thing to people who wish to use libreddit/ferrit instead of reddit. Make an account to be able to look at NSFW content. But I feel like this discussion won't lead anywhere so I'll stop it here.

erinarbleizez commented 2 years ago

in fact in Europe since Github is owned by Microsoft, it's availability is questioned. Even big company in europe (for example a big bank with a green logo which is a client of my webagency) forbid the use of anything coming from Github only because it is on Github and GAFAM are not so well perceived after all the antitrust law here...

throwaway-d commented 1 year ago

Look like the original suggestor's writing (@Midou36O) isn't convincing enough. Here is a more convincing suggestion:

I believe you should mirror your repo to Codeberg because:

  1. Codeberg is libre, free, open-source, privacy-friendly, non-profit
  2. GitHub is privacy-invasive, proprietary
  3. People on Codeberg like me can contribute to the project
  4. GitHub can take down your repos

Here are some sources for you:

  1. sfconservancy.org/GiveUpGitHub
  2. https://github.com/humanetech-community/awesome-humane-tech/issues/33
  3. https://github.com/ungoogled-software/ungoogled-chromium/discussions/1894
  4. https://github.com/andersju/webbkoll/issues/35
  5. cadence.moe/blog/2022-07-03-git-forge-opinions-github-gitlab-gitea-sourcehut
  6. https://docs.codeberg.org/advanced/migrating-repos/

FAQ

  1. Q: - GitHub Actions -- this is a huge time saver for me

    • Forcing all contributors to modify their current setup and move to another hosting -- we may just lose contributors in the end

    A: As I said, we only just mirror. The repo will be available and contributable on both sites.

  2. Q: - Transferring issues -- is this possible? Issues here represent a technical knowledge base we can't live without

    • Transferring wiki and all edit history -- possible?

    A: Yes, it is possible. a. Example for issues:

b. Example for commits:

c. Example for wiki:

  1. Q: Despite having mirror/s, the project will still continue to be operated from GitHub for development, so having yet another mirror doesn't solve anything.

    A: You can create issues, contribute, view the repos on there without going to GitHub! Example:

  2. Q: How does Codeberg mirror comments from GitHub?

    A: It uses Access Token. image

  3. Q: My repos are very bandwidth-intensive projects, and I have my doubts as to whether the owner(s) of Codeberg would be prepared for such a massive bandwidth rate increase. I've also had individual projects be disabled on small sites before due to taking too much bandwidth.

    A: Oh.. I think you should directly ask https://docs.codeberg.org/contact/ about if they are ready for massive bandwidth rate increase.

throwaway-d commented 1 year ago

@libreddit

Midou36O commented 1 year ago

Bumping is not necessary, you could bump if it takes a week or so. But this is too short. I recommend you to go to the matrix room and raise youe concern there too, you will probably get a more reactive response.

Daniel-Valentine commented 1 year ago

@spikecodes, @sigaloid and I have talked about this and we are certainly amenable. I'll leave it to Spike to render a final decision. I personally like Codeberg a lot so I would have no reservations having this project mirrored there.

We also maintain a Gitlab mirror if you would prefer not interfacing with Github for the time being.

spikecodes commented 1 year ago

I appreciate the suggestion @Midou36O and the detailed write-up @throwawayaccountfor. I haven't worked with Codeberg before but I'm also open to a read-only mirror being established.

throwaway-d commented 1 year ago

read-only mirror

We should have a mirror that’s contributable as I’ve written above. Thank you for your participation! Here is another front-end that mirrored to Codeberg (I convinced the owner successfully): https://github.com/nesaku/BiblioReads You can look at it as an example of how to mirror to Codeberg

sigaloid commented 1 year ago

Managing contributions from both remotes may get complicated. I am not sure that we will gain a lot of value from having three separate remotes. You can already contribute via GitLab if you are opposed to using GitHub.

Can you provide details on how contributions from Codeberg would work? Say we get a PR there - accepting it won't automatically move the commit onto GitHub nor GitLab. We would need to pull + push to all remotes after, correct?

throwaway-d commented 1 year ago

BTW, I've written a seperate repo about mirroring to Codeberg: https://codeberg.org/HexagonCDN/Mirror_to_Codeberg

throwaway-d commented 1 year ago

Can you provide details on how contributions from Codeberg would work? Say we get a PR there - accepting it won't automatically move the commit onto GitHub nor GitLab. We would need to pull + push to all remotes after, correct?

Read the tutorial here: https://codeberg.org/Recommendations/Mirror_to_Codeberg#setting-up-github-codeberg-mirroring

throwaway-d commented 1 year ago

How is the tutoriel?