Project template (OD-2174)
crome696 opened 1 year ago

Might be already existing if yes i would love some guidance how to do.

GitHub has a feature called "template". A repository can be marked as template and being used as new project. I absolutly love this feature since i predefined templates for my Spring Boot, Vaadin, .NET Core or Angular projects.

At the moment i make a new project, then copy the files from my "template repository" manual onto it and push it.

To sum it up what could be super cool :

  •  Add new Checkbox onto projects to mark them as template
  •  On new Repositories allow to import code from same OneDev instance with a list of all repositories marked as template
  •  If imported allow to setup features like : Secrets, Build Pipeline etc. So User could import those as well within their own repository.

There might be use-cases where User, User-Groups or other Rights are relevant. I dont know what to handle there

  • Robin Shen changed title 1 year ago
    Previous Value Current Value
    Git Templates
    Project template
  • crome696 commented 1 year ago

    A small update: I can solve this kind of Task now when i import a new project and use my own project as url. It works basicly similar (aside from Secrets) but require that I insert my user credentials.

    So for now I can go this way until it might be solved in a more elegant way :)

issue 1/1
Type
New Feature
Priority
Normal
Assignee
Labels
No labels
Issue Votes (2)
Watchers (4)
Reference
OD-2174
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover