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 new command: Migrate issue to different repository #518

Open
Makman2 opened this issue Apr 2, 2018 · 3 comments · May be fixed by #521
Open

Add new command: Migrate issue to different repository #518

Makman2 opened this issue Apr 2, 2018 · 3 comments · May be fixed by #521

Comments

@Makman2
Copy link
Member

Makman2 commented Apr 2, 2018

A new command like

corobo migrate coala/coala#1234 to coala/coala-bears

should be supported. It would

  1. copy discussions (as citations, mentioning who commented that (and maybe when))
  2. reference the original issue (saying Migrated issue from ... (by <author>).)
  3. Write in the original issue Migrated to ... (by <author>).
  4. apply labels from the original issue
  5. mark the original issue as invalid
  6. and finally close the original issue.

Only maintainers should be able to perform this command.

@gitmate-bot
Copy link

GitMate.io thinks possibly related issues are #36 (Add pitchfork command), #321 (Migrate answers service to a new repo), #2 (Invite command to invite users to different teams), #344 (Add option to cobot to close an issue), and #108 (Add GitCommitBear).

@aabhaas-vaish
Copy link
Contributor

@Makman2 , how should the citations look like? As in, should corobo copy the comments in the old issue and create comments in the new issue with the same text as the old issues? Or should these comments be included in the new issue message?

aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 3, 2018
@Makman2
Copy link
Member Author

Makman2 commented Apr 3, 2018

I would recommend

As in, should corobo copy the comments in the old issue and create comments in the new issue with the same text as the old issues?

aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily

New
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily

New
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily

New
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily

New

New
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily

New

New
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily

New

New
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily

New

New

New
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily

New

New

New
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily

New

New

New
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily

New

New

New
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily.
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 4, 2018
Closes coala#518

Test added for migrate_issue

Suspended coala testing temporarily.
@aabhaas-vaish aabhaas-vaish linked a pull request Apr 7, 2018 that will close this issue
6 tasks
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 7, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 11, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 11, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 11, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 11, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 11, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 11, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 11, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 13, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 15, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 15, 2018
Includes a migrate issue plugin that migrates an issue
from one repo to another subject to conditions on the
command like only maintainers can perform migration,
issue must exist and issue must not be closed already.

The plugin copies the issue title, issue description but
appends the URL of the old issue and handle of the user
that migrated the issue, to the description of the new
issue. All comments are copied and written along with other
details like author, date/time and URL of the old comment.

Also includes tests to check functionality.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 17, 2018
Introduce migrate_issue plugin that adds ability
to migrate an issue from a source repo to target
repo, both owned by the org.

Issue title, issue  description and all comments
are copied with a few additional details appended to
the the description and comments. Source issue is
referenced in the target issue and is closed after
the migration is complete.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 17, 2018
Introduce migrate_issue plugin that adds ability
to migrate an issue from a source repo to target
repo, both owned by the org.

Issue title, issue  description and all comments
are copied with a few additional details appended to
the the description and comments. Source issue is
referenced in the target issue and is closed after
the migration is complete.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue Apr 17, 2018
Introduce migrate_issue plugin that adds ability
to migrate an issue from a source repo to target
repo, both owned by the org.

Issue title, issue  description and all comments
are copied with a few additional details appended to
the the description and comments. Source issue is
referenced in the target issue and is closed after
the migration is complete.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue May 16, 2018
migrate_issue plugin that adds ability to
migrate an issue from a source repo to
target repo, both owned by the org.

Issue title, issue description and all comments
are copied with a few additional details appended
to the description and comments. Source issue is
referenced in the target issue and closed after
the migration is completed.

Closes coala#518
aabhaas-vaish added a commit to aabhaas-vaish/corobo that referenced this issue May 16, 2018
migrate_issue plugin that adds ability to
migrate an issue from a source repo to
target repo, both owned by the org.

Issue title, issue description and all comments
are copied with a few additional details appended
to the description and comments. Source issue is
referenced in the target issue and closed after
the migration is completed.

Closes coala#518
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants