coala / corobo

A bot to help newcomers onboard OS projects! It's awesome!
MIT License
65 stars 103 forks source link

Add new command: Migrate issue to different repository #518

Open Makman2 opened 6 years ago

Makman2 commented 6 years ago

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 commented 6 years ago

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

aabhaas-vaish commented 6 years ago

@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?

Makman2 commented 6 years ago

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?