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

Don't migrate the tickets multiple times #34

Open
Zlopez opened this issue Oct 13, 2023 · 2 comments
Open

Don't migrate the tickets multiple times #34

Zlopez opened this issue Oct 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Zlopez
Copy link

Zlopez commented Oct 13, 2023

When running the protop2g multiple times it creates the tickets every time (for example https://gitlab.com/testgroup519/protop2g_test/-/issues/?sort=created_date&state=opened&search=11393&first_page_size=20). It should just sync the existing ticket instead of creating a new one.

@gridhead gridhead added the enhancement New feature or request label Oct 13, 2023
@gridhead
Copy link
Member

@Zlopez, thanks for reporting the issue.

While this can be added as a feature to this project, I would recommend using one of the many options available to filter out and specifically choose the tickets that should be migrated from the source namespace to the destination namespace. Pull requests are welcome for additional options.

This can also be complemented with a helper script that probes into the existing set of issue tickets in the destination repository and provides a complement set (i.e. identities of the tickets that are not available on the destination namespace) to the program and then, exclusively those tickets would be moved.

@jwflory
Copy link
Member

jwflory commented Nov 19, 2023

I agree that this would be useful. Remembering where an in-progress migration left off would make the tool easier to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants