#3 Add a flag that enforces that issue numbers match between github and pagure.
Opened 8 years ago by ralph. Modified 7 years ago

It would be nice if, by default, the tool would fail and not do anything if it couldn't guarantee that issue #5 on github would be the same as issue #5 on pagure.

Then, optionally, it should provide a flag that allows the import to happen anyway even if the issues don't match.

The issues won't match if (for instance) the pagure repo already has an issue filed on it that github doesn't have. There won't be a way to get the issues to line up if that's the case.


The current situation is: if the project doesn't have a pull request or an issue and you use the importer tool, then the numbers would match. What can be done is, we can query the pagure api and check if there is any of PRs or Issues and then proceed further.

BTW, it stands for both github and fedorahosted

It might sound like work-around compared to original ticket purpose -- but consider adding
option simply starting the ticket/pull-request id from predefined value, originally reported
in pagure https://pagure.io/pagure/issue/1659

Login to comment on this ticket.

Metadata