Live data from Hacker News

Moving from GitHub to Codeberg, for lazy people

unterwaditzer.net

71–80 of 385 posts

Re: Moving from GitHub to Codeberg, for lazy people

#71

Earlier quoted context omitted.

If you have a server, some cheap VPS will suffice, you can host a private git repo there without installing anything. Run this on your server: git init --bare foo.git and then on your PC you can do this: git clone user@yourserver.com:~/foo.git It's probably a good idea to make a separate user account on the server for it, though.

This is great, but you can also run foregjo (the server behind coderberg) on your VPS. It is a single binary and I think it is also very light on resources. At least compared to gitlab.

I've actually been meaning to set up a forgejo instance on pikapods. Apparently it's 2 USD/month to do it.

Re: Moving from GitHub to Codeberg, for lazy people

#72
I love the simple design of the page. This is a random observations, but I noticed the author has an interesting "likes" button that is served from an API on https://dddddddddzzzz.org, a curious and interesting looking domain. I'll have to go dig around his blog to see if he's written about this.

Re: Moving from GitHub to Codeberg, for lazy people

#73
post #28

Earlier quoted context omitted.

If you can rsync from the other system, and likely have an SSH connection between them, why don't you just add it as an additional remote and git pull from it directly?

I probably could. How does that work with uncommitted changes on the host? Would that be a problem?

You'd create a bare git repo (just the contents of .git) on the host with git init --bare, separate from your usual working tree, and set it as a remote for your working trees, to which you can push and pull using ssh or even a path from the same machine.

Re: Moving from GitHub to Codeberg, for lazy people

#75
post #67

Earlier quoted context omitted.

The whole point of git is to be decentralized so there is no reason for you to not have your current version available even when a remote is offline.

How do people even on hacker news of all places conflate git with a code hosting platform all the time? Codeberg, GitHub or whatever are for tracking issues, running CI, hosting builds, and much more. The idea that you shouldn't need a code hosting platform because git is decentralized is so out of place that it is genuinely puzzling how often it pops up.

OP didn't conflate them.

They said they want to be able to rely on their git remote.

The people responding are saying "nah, an unreliable remote is fine because you can use other remotes" which doesn't address their problem. If Codeberg is unreliable, then why use it at all? Especially for CI, issues, and collab?

Re: Moving from GitHub to Codeberg, for lazy people

#76
post #5

Lazy has nothing to do with it, codeberg simply doesn't work. Most of my friends who use codeberg are staunch cloudflare-opponents, but cloudflare is what keeps Gitlab alive. Fact of life is that they're being attacked non-stop, and need some sort of DDoS filter. Codeberg has that anubis thing now I guess? But they still have downtime, and the worst thing ever for me as a developer is having the urge to code and not…

> But they still have downtime

Thank God GitHub is... oh.

https://mrshu.github.io/github-statuses/

Re: Moving from GitHub to Codeberg, for lazy people

#78
Does any service offer hosted Forgejo Actions Runners? Or Forgejo compatible CI?

I want to pay for CI on my Codeberg projects, but I've been struggling to find something where I can just pay by the minute. I have projects that benefit from large CI runners but my usage is low enough that it makes no sense to host my own.

Re: Moving from GitHub to Codeberg, for lazy people

#79

I love the simple design of the page. This is a random observations, but I noticed the author has an interesting "likes" button that is served from an API on https://dddddddddzzzz.org , a curious and interesting looking domain. I'll have to go dig around his blog to see if he's written about this.

> This is a random observations, but I noticed the author has an interesting "likes" button that is served from an API on https://dddddddddzzzz.org, a curious and interesting looking domain. I'll have to go dig around his blog to see if he's written about this

Here you go: https://openheart.fyi

Re: Moving from GitHub to Codeberg, for lazy people

#80
post #5

Lazy has nothing to do with it, codeberg simply doesn't work. Most of my friends who use codeberg are staunch cloudflare-opponents, but cloudflare is what keeps Gitlab alive. Fact of life is that they're being attacked non-stop, and need some sort of DDoS filter. Codeberg has that anubis thing now I guess? But they still have downtime, and the worst thing ever for me as a developer is having the urge to code and not…

Probably has happened at some point, but personally, I have not been hit with/experienced downtime of Codeberg yet. The other day however GitHub was down again. I have not used Gitlab for a while, and when I used it, it worked fine, and its CI seems saner than Github's to me, but Gitlab is not the most snappy user experience either.

Well, Codeberg doesn't have all the features I did use of Gitlab, but for my own projects I don't really need them either.

Post reply on HN