News for hackers. Stuff that matters.
Re:Show HN: OneDev – A Lightweight GitLab Alternative by robinshen on Friday January 17, 2020 @08:51PM (#22081616)
I am dogfooding OneDev at: https://code.onedev.io/projects/onedev-server

The repository is mirrored to GitHub

Re:Show HN: OneDev – A Lightweight GitLab Alternative by nh2 on Friday January 17, 2020 @10:09PM (#22081965)
It even has code intelligence, for example in https://code.onedev.io/projects/onedev-server/blob/master/se...

Impressive!

Some questions:

* How long did it take you to build OneDev (e.g. in hours time invested)?

* Do you expect it to scale, e.g. to large repos, large histories, many issues?

* I see you have a "code comments" feature with which people can make comments in the actual code tree, as opposed to the commits (https://code.onedev.io/projects/onedev-server/codecomments). I implemented this for Google Code Search, nice to see it in more tools! Do your comments survive changes to the file?

And one feature I noticed missing: Pressing "Y" to get a commit-pinned permalink, like Github, Gitlab, and the other tools do.

Keep it up!

Re:Show HN: OneDev – A Lightweight GitLab Alternative by robinshen on Friday January 17, 2020 @10:23PM (#22082030)
I do this part time since 2012, see code line trends here: https://code.onedev.io/projects/onedev-server/stats/lines

I take a lot of time optimizing the performance, and it can easily handle large amount of issues, projects and large repositories at company scale. For large repository, please check the linux demo here: https://code.onedev.io/projects/linux/blob

The code comments can live through file changes, even file renames.

As to commit-pinned permalink, I tried to press Y on GitHub and it does not have any effect. Can you please shed more light on this?

Re:Show HN: OneDev – A Lightweight GitLab Alternative by toupeira on Saturday January 18, 2020 @05:18AM (#22083570)
You have to press Y while viewing a file, it will convert the URL to use the current SHA.
Re:Show HN: OneDev – A Lightweight GitLab Alternative by robinshen on Saturday January 18, 2020 @08:46AM (#22084397)
I see. Filed an issue for further improvement: https://github.com/theonedev/onedev/issues/22
Re:Show HN: OneDev – A Lightweight GitLab Alternative by ratata on Sunday January 19, 2020 @01:36AM (#22089836)
the performance of the 'blame' view is so much better than Gitlab. Great job!