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

feature request: resume #49

Open
aggieben opened this issue Apr 29, 2016 · 2 comments
Open

feature request: resume #49

aggieben opened this issue Apr 29, 2016 · 2 comments

Comments

@aggieben
Copy link

Related to #48. When a failure occurs, there doesn't seem to be a good way to resume an import. My guess is that I would wind up with all the successfully imported issues duplicated if I tried to run it again, and I also don't have a straightforward way to figure out which issues were imported successfully.

Maybe, at a minimum, the script could output a progress log so that it would be easier to determine which IDs are left that need to be imported? Even better would be support for some kind of --resume arg.

@IQAndreas
Copy link
Owner

My guess is that I would wind up with all the successfully imported issues duplicated if I tried to run it again, and I also don't have a straightforward way to figure out which issues were imported successfully.

For this reason I added the --issues 25 26 29 option, so you can hand-pick which issues are imported.

But as you say, it's not very helpful if you still have to sand through the target repository making a list of which issues were successfully added.

Maybe, at a minimum, the script could output a progress log so that it would be easier to determine which IDs are left that need to be imported?

I thought it did. The script should output "Successfully created issue 'Made some changes'" and "Successfully created 4 comments" for every issue it creates (make sure you run the script in the terminal, and not just double-clicking the Python script).

@IQAndreas
Copy link
Owner

Even better would be support for some kind of --resume arg.

I considered it while writing the script, but the reason I didn't implement any sort of --resume feature is because the script would need to physically store data on the computer. At the moment, everything gets stored in RAM, and doesn't affect the user's computer in any way. It's "clean" that way.

Adding this feature would require a large re-write of the code.

However, the script is due for a re-write as there are a few features that need fixing at the same time.

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

No branches or pull requests

2 participants