#314  Import project from GitHub or GitLab
Closed
Artur opened 3 years ago

If I wanted to implement creating a new project by importing it from GitLab or GitHub, what would be the best way to implement it?

Robin Shen commented 3 years ago

There is no direct project import from GitHub/GitLab yet. Some manual work has to be done:

  1. Create empty project in OneDev
  2. Clone repositories from GitHub/GitLab
  3. Push cloned repositories into empty project created in OneDev
Artur commented 3 years ago

Yes, I know, this is what I have done so far.

But, if I wanted to contribute and add full import, including issues. What would be the best way to implement it?

Would it be possible to do it as a plugin? Internal or external?

Robin Shen commented 3 years ago

There is no such plugin extension point yet. I will investigate to add one so that project importing is easier.

Robin Shen changed state to 'Closed' 3 years ago
Previous Value Current Value
Open
Closed
Robin Shen commented 3 years ago

Duplicates with issue #4

issue 1 of 1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (3)
Reference
onedev/server#314
Please wait...
Page is in error, reload to recover