-
Using CI/CD to sync mirrors has huge benefits, for instance to check logs, schedule syncs, retry/cancel syncs. With separate sync button, it means all these logic might need to be re-implemented.
As to import, OneDev already has this. Check the import action in projects page.
-
Unknown
changed fields 3 years ago
Name Previous Value Current Value Type
Improvement
Discussion
-
Unknown
changed fields 3 years ago
Name Previous Value Current Value Priority
Normal
Minor
-
https://docs.onedev.io/tutorials/code/repo-mirror/ I found the page
-
You may search docs from right top of the page. Docs are quite brief currently, and any contribution is welcomed.
-
Builds as defined in OneDev is execution result of job. You may configure build auto-clean up strategies to clean up old builds automatically. Check build preserve policy in project setting.
-
Previous Value Current Value Open
Closed
| Type |
Question
|
| Priority |
Minor
|
| Assignee |
Issue Votes (0)
So this is one of the main issues I find while using OneDev, is the lack of repository management, well this may not be the best thing to call it, but I will explain what I mean.
First up, as discussed in issue #1085, I have issues with keeping the forks syncronised, and using CI/CD or PR manually is quite honestly a horrible way to do this, adding a button to the repository "sync with parent" which simply pushes the parent changes to master/main into the fork, I do not believe this will be particularly difficult to implement, but it is really something which holds OneDev back.
This links onto my next point, the ability to mirror git repositories automatically to OneDev, this can be from other OneDev instances, gitea, a generic http git endpoint, github, gitlab etc
Adding a "import" feature to the new repository would allow for:
Part one is high priority as it will make contributing to OneDev 100x easier, second feature would be nice to have but is low priority.