Repository navigation
Migrate Piwik issues from Trac to Github issues! #5273
Description
Activity
About redirects from http://dev.piwik.org/trac/ticket/X to https://github.com/piwik/piwik/issues/X: IMHO we do not need a "transition period" where we leave Trac tickets as read only.
About: http://dev.piwik.org/ - I would leave the trac wiki page up for a few weeks, or we can redirect it to a page on http://piwik.org
Didn't find any existing tool to mirror Github issues. Probably has to be developed if REALLY necessary
We need to copy all the attachments upfront and have it available under the same or similar URL before closing Trac and before migrating to Github
Blog post should be published in advance (1-2 weeks upfront) notifying users about this migration. As users are identified by their email address on Github they should also be able to send us a veto in case they do not want to have their Github user linked depending on their email address.
Mirror is really important for few reasons: SEO purposes and "Data ownership" of this knowledge. Github services do not really go down ever, they are very reliable... but technically they could go down for few hours or days, and we wouldn't want this to stop our work :-)
Attachments can be uploaded to new site: http://issues.piwik.org (which will host the github issues mirror)
The goal would be to show each issue, with its comments, at a URL such as: http://issues.piwik.org/472 mirrors: #472
@tsteur How much effort would it be to make the simplest mirror of Github issues, synched eg. once a day? (no need to sync attachments, only text...).
I'd say 3-6 days
I've created separate ticket for creating a Github issues mirror: #5299
Feedback:
remove "Migrated-From: $URL"doneremove "Original comment by author: " -> this could cause some privacy issue if some users didn't want their Github profile associated with their previous username on tracwill also remove original reporter and owner of tickets and the author of attachments- plus I think it looks noisy to display in each ticket
rename "Attachment from Trac: <BR> $attachmentTitle" to "Attachment: $attachmentTitle" (ie. no line break, no mention of Trac)donecan you replace all URLS like: http://dev.piwik.org/trac/ticket/XXXX to: #XXXX instead? see this exampleI don't know if it's possible, but here is an idea: some of the changes done on trac were "bulk changes" such as: trac and github or this one -> in case you know they were bulk changes, then skip it from migration (ie. do not migrate trac comments that are bulk changes)there is no such flag... I'll check whether there were more than 50 changes made at the same time and skip those...would it be possible also create a zip of the device detector issues, so we can import them in: https://github.com/piwik/device-detector/issues ? they are currently in the Device Detector Projectthis is already possible as the same needs to happen for piwik-mobile
Bugs
some markdown is not applied, eg. [https://github.com/piwik/piwik-trac-issues-test2/issues/3163 here]I remove possible whitespace after leading * and before ending * but this could cause maybe other issues...** Other tickets **should be bold instead (also here)remove[[BR]]and[substrings (or map it to line break) - see https://github.com/piwik/piwik-trac-issues-test2/issues/3163#issuecomment-45868768 example herethis comment here is not converted properly on github (the replies appears within the quote; fyi: i've seen this in other ticket too)the quote is on Trac as well!- in changesets like here
remove the extra @ signdoneput the commit message on the same line as "In $hash:" rather than after a line breaklinks to other tickets don't work in some comments eg. this onewe talked about this already... github renders issues created before 2009-04-20T19:00:00Z as textthe Closed date of milestones is not set to correct closed date--> I can only set the due date which is done, I cannot set the close date...
see also: #5380 Changelog generator for Piwik that will credit people who participated in the release
see also #5381 Create a CONTRIBUTING.md file to let users know how to contribute to Piwik
@tsteur maybe we could release our script as open source (even if not perfect / tuned to our needs) ? I think it would help some people out there :)
ANNOUNCEMENT: to have all your trac comments and tickets use your Github username, please opt-in in this gist:
Nice work @tsteur ! This is done. Welcome to Github issues!
This is a big and important ticket. After 6 years of using Trac, the Piwik project and community have expressed much interest in moving to another ticket system.
We've looked into other self hosted ticket systems, but our conclusion has been to simply use Github issues. They are fast, easy, practical, and many users are already familiar with Github. We moved our code from SVN to Git and Github 16 months ago.
Project description:
After this ticket:
Hopefully using Github issues will see more participation in tickets and feature requests, more users joining discussions.
This will help make Piwik the best open analytics platform, built by the community for the community!