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

Add support for importing closed issues #12

Closed
IQAndreas opened this issue Oct 26, 2013 · 3 comments
Closed

Add support for importing closed issues #12

IQAndreas opened this issue Oct 26, 2013 · 3 comments
Assignees

Comments

@IQAndreas
Copy link
Owner

There have been several requests for supporting closed issues, I'm wondering how people's projects are set up, why they would want already resolved issues in the target repository?

Also, for the final product, should issues that are closed in the source repository also be closed in the target repository, or should there just be a little "notice" saying "This issue was closed 2013/10/26"?

@tskulbru
Copy link

I want to be able to "clone"/"complete backup" a repo, and as such I need to bring the closed issues over as well. This is basically only for historicial purposes, The "notice" idea you mention sounds good.

The only important things really are that the closed issues remain closed when copied over, and also that the issue numbering is correct (for comments linking to issues etc.)

@IQAndreas
Copy link
Owner Author

and also that the issue numbering is correct (for comments linking to issues etc.)

That is a really good point! We had a problem with that in one of my projects, and just ended up with a workaround of specifying things like "Fixes AdamAtomic/flixel#3, FlixelCommunity/flixel#65". I have put on my todo list that the script should warn the user if the numbering won't match once they import the issues (this may happen if they don't import all issues, or if the target repository already has issues in it).

The only important things really are that the closed issues remain closed when copied over

Alas, I couldn't find a way in the API to close issues from a script, however, I did add a change which makes these issues stand out more by starting with the title [CLOSED]. Luckily, GitHub allows you to close several issues at once "checklist style" (without even having to open each issue's page). You can also easily edit the title if you want to re-open the issue later.

However, I will try to find a better solution for this, as well as adding some more notices: #14

@IQAndreas
Copy link
Owner Author

Added in 3a400c7

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

No branches or pull requests

2 participants