orange-cloudfoundry / pivotaltrackermirror

Mirror a pivotal tracker project to an another tracker
Apache License 2.0
1 stars 2 forks source link

Should detect and close mirrors of deleted stories #24

Open o-orand opened 8 years ago

o-orand commented 8 years ago

To avoid "issue pollution", when a story is deleted in pivotal tracker, it should be removed in mirrored tracker.

Cf https://github.com/cf-trackermirror-bot/buildpacks-tracker-mirror/issues/220

Check could be run once a day, only on open issue without any update since 1 month (or more).

gberche-orange commented 8 years ago

@o-orand I believe GH does not offer ability to delete an individual issue, see https://developer.github.com/v3/issues/

Suggesting in 1st step to rather close them, assigning a special "deleted" label, hence reducing the pollution.

In a 2nd step, to cover the case where a story is deleted for security/confidentiality reasons, similar to #11 then mirrors of deleted stories would also have their comments be deleted, and the story description and title redacted.