-
Notifications
You must be signed in to change notification settings - Fork 0
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
Preserve all trac ticket metadata in machine readable form #17
Comments
and if possible try to make it easy to search the metadata it via github UI. So maybe something like, to make the search input easier - https://github.com/chevah/trac-to-github/issues?q=is%3Aissue+is%3Aopen+key%3Dvalue key=value This is why Trying to avoid But it looks like this works https://github.com/chevah/trac-to-github/issues?q=is%3Aissue+is%3Aopen+key1%3Avalue1 Just make sure to not include spaces as the search will be a bit more complicated. https://github.com/chevah/trac-to-github/issues?q=is%3Aissue+is%3Aopen+%22milestone%3A+some-value%22 |
Looks like GH considers https://github.com/chevah/trac-to-github/issues?q=is%3Aissue+is%3Aopen+key2%3Avalue1 How about using double underscores?
Should I convert spaces in those values to underscores, to be treated as a single token by GitHub? For example, the |
Instead of underscore ... maybe use '-' ...to reduce the stress on the shift key :)
|
Looks like quotes do not work for I will use the underscores as ugly as they are :( For dashes, it looks like they also returns false positives: searching for However the quotes work on the dashes, and you might not want to type an entire milestone like |
Sadly quotes do not work on dashes either: https://github.com/chevah/trac-migration-staging/issues?q=is%3Aissue+is%3Aopen+%22value-unrelated%22 The word "unrelated" is far away from the word "value" in the ticket. But the result is still returned. I now believe there should be a completely-underscored
Every non That way, people can search for the exact milestone match, and also see the original data so no meaning is lost. This is what I will use pending feedback from Twisted contributors - feel free to point them to this ticket directly. |
Example of CPython migrated ticket: python/cpython#38807 |
Data is preserved. Too much even (allowed every label). |
We should make sure that all the ticket and comments metadata are kept inside the comments in an easy way to be parse by a machine.
We already migrate all the metadata ... and the original author is included in the comment.
but the author is in a human readable format
I like the current start line
But maybe we can also have something like this
From here:
The text was updated successfully, but these errors were encountered: