Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate all user projects #10

Open
noplanman opened this issue Jan 15, 2022 · 3 comments
Open

Migrate all user projects #10

noplanman opened this issue Jan 15, 2022 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@noplanman
Copy link

Hi, is it possible to migrate all projects of a user, instead of only a group?

If so, what do i need to change in the code or what parameters do I need to pass?

@noplanman
Copy link
Author

noplanman commented Jan 15, 2022

What has worked for me, is to update the very bottom of the script:

- migrateGroup "${SOURCE_PATH}"
+ migrateProjects "noplanman/proj1" "noplanman/proj2"

It's not fully automated, but works more than well enough for my needs 😇
Thanks so much for the script!

(Leaving open in case somebody wants to integrate this nicely. Feel free to close off if you want.)

@albuch
Copy link
Contributor

albuch commented Jan 17, 2022

Hi @noplanman,
great that you found a way to get this done with small alterations to the script. To understand your use case better: what exactly do you mean by "projects of a user":

  • All projects a users has access to
  • All personal projects that are located under your personal user namespace

From your code example I assume the latter but wanted to make sure

@noplanman
Copy link
Author

Hi @albuch, you're right, I mean the personal user namespace projects 👍

@albuch albuch added enhancement New feature or request good first issue Good for newcomers labels Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants