Live data from Hacker News

OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

onedev.io

21–30 of 67 posts

Re: OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

#21
post #6

Why do people self-host things like this instead of Github or Gitlab? I don't want to maintain more services for my services. Who has time for that.

One answer might be to avoid LLMs training off the intellectual property that your humans typed out for you. But as LLM code generation tools take off, it's a losing battle for most orgs to prevent staff from using LLMs to generate the code in the first place, so this particular advantage is being subverted.

This probably only matters for 1-2 years tops. LLMs are taking off pretty fast.

Re: OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

#22

Code discussion anywhere anytime Select any code or diff to start discussion. Suggest and apply changes. Discussions stay with code to help code understanding. How do the discussions stay with the code? Git notes?

From their docs, apparently it just modifies the source code, although their LOC didn't change when they hit save in their video demo, so I'm not sure.

https://docs.onedev.io/tutorials/code/code-review#free-style...

Re: OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

#23
post #19

Earlier quoted context omitted.

I've been hosting a git service for quite a while now and it's maybe around half an hour per year of maintenance work. It's totally worth it in my opinion, it's so much better on almost every way ... One big reason is decentralization. Full control of data, change what you want, then things like the current npmjs attack show the downsides of having everyone using the same thing, and so much more

Backups, OS upgrades, version upgrades, firewall management, DDoS management. I just find self-hosting to be excessive to do right.

tinkering with services and networks and the whole self-hosting concept is pretty fun for many people.

Re: OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

#24
post #8

Earlier quoted context omitted.

Especially as self-hosting means loosing the community aspect of GitHub. Every potential contributor already has an account. Every new team member already knows how to use it.

You’re assuming people are self-hosting open source projects on their gut servers. That’s often not the case. Even if it were, GitHub irked a lot of people using their code to train Copilot. I self-host gitea. It took maybe 5 minutes to set up on TrueNAS and even that was only because I wanted to set up different datasets so I could snapshot independently. I love it. I have privacy. Integrating into a backup strategy…

Microsoft/GitHub has no model training. How do you think Copilot works? Also if you provide open source, people and companies are gonna use it.

Re: OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

#25
post #19

Earlier quoted context omitted.

I've been hosting a git service for quite a while now and it's maybe around half an hour per year of maintenance work. It's totally worth it in my opinion, it's so much better on almost every way ... One big reason is decentralization. Full control of data, change what you want, then things like the current npmjs attack show the downsides of having everyone using the same thing, and so much more

Backups, OS upgrades, version upgrades, firewall management, DDoS management. I just find self-hosting to be excessive to do right.

its not that hard though, and to be honest I trust myself more than a large org like microsoft to get that right

Re: OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

#26
post #8
post #6

Why do people self-host things like this instead of Github or Gitlab? I don't want to maintain more services for my services. Who has time for that.

Especially as self-hosting means loosing the community aspect of GitHub. Every potential contributor already has an account. Every new team member already knows how to use it.

I mean git was exactly designed to be decentralized

Re: OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

#27
post #24

Earlier quoted context omitted.

You’re assuming people are self-hosting open source projects on their gut servers. That’s often not the case. Even if it were, GitHub irked a lot of people using their code to train Copilot. I self-host gitea. It took maybe 5 minutes to set up on TrueNAS and even that was only because I wanted to set up different datasets so I could snapshot independently. I love it. I have privacy. Integrating into a backup strategy…

Microsoft/GitHub has no model training. How do you think Copilot works? Also if you provide open source, people and companies are gonna use it.

When I publish open source code, I don't mind if people or companies use it, or maybe even learn from it. What I don't like is feeding it into a giant plagiarism machine that is perpetuating the centralization of power on the internet.

Re: OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

#28
The docker quickstart asks me to mount the docker socket, an incredibly dangerous act that fundamentally breaks the isolation that containers are supposed to provide. I see no attempt to explain why this level of access is necessary.

I can guess why you think you need it, but whatever the reason it's not good enough. If you need job workers or some other kind of container, tell me how to run those with docker compose.

Re: OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

#29
post #10

I recall looking at it maybe 2-3 years ago and deciding against it. And it never seemed to get traction in the selfhosted community either. ...but I can't for the life of me recall why. Definitely wasn't a radioactive red flag issue...but some aspect around CI wasn't for me. In general though with things like this that carry an open license and have a docker image you're better off trying it yourself than listening t…

For me the bus factor was a bit of a red flag, plus I prefer the layout in forgejo/gitea. Also didn't like that there wasn't really any obvious way to link in an external CI, and of course it's written in java so had that to factor in too.

Re: OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

#30

Fossil is that you?

Fossil started as "not invented here", but it has grown into something I like a lot more than Git. Knowing how to use a version control system should be an incidental skill (akin to simple shell commands like "cp" and "ln"), not something that needs to be mentioned in a job posting's role description. I also appreciate that the default workflow for undoing bad merges is a whiteout rather than a true "delete". To each…

I was turned off by the necessity of using users and permissions; it feels unnecessary for local development and kind of a PITA if you have many repos.

It works exactly as advertised though; my gripes aren't technical.

Post reply on HN