Hacker Newsnew | past | comments | ask | show | jobs | submit | robinshen's commentslogin

Tod is a command line tool to test/debug OneDev CI/CD jobs against local changes to avoid the modify/commit/push/run/check cycles.

Under the hood, tod stashes local changes to a commit and pushes to server under a temporal ref to run specified job. Log of running job is streamed back to tod so that you can check job progress and status without leaving terminal.

Since job runs on server, it does not have many quirks and limitations of other tools (gitlab-runner exec or nektos/act for instance), such as requiring you to set up job environments, unable to handle job dependencies, etc. And you can still get fast feedback via shallow clone and cache.

For details, please check tod project at https://github.com/theonedev/tod


Hi, OneDev author here. Thanks for mentioning it. For any questions, please visit https://code.onedev.io/onedev/server/~issues to get support.


Thank you for your great work! I will surely reach out in the issue tracker in the future if need be.


Thanks for the comment. What area of OneDev UI you feel is unpolished?


The UI internally generates a yaml file to store in the repository. For instance OneDev uses this yaml to build itself:

https://code.onedev.io/projects/160/files/main/.onedev-build...

The advantage is that you can get things working quickly while still be able to diff changes, or generate the file with some other tool.


Disclaimer I am the author (not OP). I guess the user re-posted by simply copying my original one...


My main gripe was that it was postet by OP as a "Show HN" ;)

Nice work btw always astounded how you keep developing it for so long nearly solo. I was many times intrigued enough to try to switch to OneDev just to try it, but my personal git setup is working too well right now. Never switch a running system runs too deep in me.

Anyway there seem to be discussions taking place so I will cut the noise and stop whining.


Besides git, OneDev only has one JVM process which actually saves resources compared to other products packaging dozens of processes.

In future, I will explore graalvm (or Jave native) to further reduce resources.


Docs definitely needs to be improved. Currently I am writing all docs in OneDev itself, which may not be appropriate.


It is running on a single 2 core medium class EC2 server. I am starting a powerful machine hoping to get things better during this HN traffic.


Thank you for seconding OneDev!


We are dogfooding here: https://code.onedev.io/

All development happens here, and GitHub serves as a mirror


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: