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
Look into upgrading Redmine (or moving to GH?) #222
Comments
|
Travis Swicegood (tswicegood) posted: I've created a wiki page on my fork outlining pros and cons of each system: on 2010-09-16 at 06:06pm EDT |
|
Jeff Forcier (bitprophet) posted: Just a brief note in support of "my side" of the argument -- GitHub has had a number of outages of various types in the last week and change, including this morning :( so they're apparently not entirely out of the woods on that front. on 2010-09-28 at 10:59am EDT |
|
Jeff Forcier (bitprophet) posted: A) Yet more multi-hour GitHub outages over the last two months :( B) Just updated your wiki page with a few things I forgot to mention till now (mostly the tight integration between commit msgs and tickets) and other general cleanup (eg removed the "github wiki is a plus" line -- Redmine has a wiki too, I just didn't enable it because I wanted to try out the MoinMoin install at wiki.fabfile.org) on 2010-11-18 at 11:45pm EST |
|
Jeff Forcier (bitprophet) posted: Github Issues has just been upgraded. Have not played around with it a ton yet or updated Travis' wiki page, but that should be the next step: see how many of my "Redmine > Github" points are solved on GHI now. on 2011-04-09 at 09:58pm EDT |
|
Jeff Forcier (bitprophet) posted: Noted this on the wiki page, but I only now just noticed the new Issues has zero priority support or ability to sort tickets. This sucks and a lot of other people seem to be complaining too, but who knows if they will add it back in again. It's ironic because I could see Issues' labels being used for just about every Redmine-like field except Priority, which is primarily used for its sortability instead of searchability/human readable metadata. on 2011-04-12 at 10:33am EDT |
|
Jeff Forcier (bitprophet) posted: Add notes to desc re: pull requests. on 2011-07-07 at 03:42pm EDT |
|
Jeff Forcier (bitprophet) posted: Started developing this over at bitprophet/redmine2github, including a NOTES file with actual schema mappings and such. Will still keep some higher level meta discussion in here...such as what Ruby REST client to use (using Ruby for this will be easiest since Redmine is Rails; no point writing my own DB wrapper for their schema in eg Python...):
Thinking HTTParty is the way to go, will jump to RestClient if the former gives me problems. Have a second GH user which I created to test some angles on how GHI works; may fork Fabric with it and use that as the testbed. Or just make a new unrelated repo, for that matter. on 2011-07-14 at 02:51am EDT |
|
Jeff Forcier (bitprophet) posted: HTTParty seems to work fine. Need to set up a dev env on my old production server (no modern zsh, no rvm...cry) and get the Redmine Rails app loaded into the script, and then it's Iteration Time. on 2011-07-15 at 01:42am EDT |
|
Jeff Forcier (bitprophet) posted: Started (briefly) working on the actual logic/loop; realized RestClient probably is better documented/more featureful than HTTParty (which was actually sort of a pain to use outside the initial naive test) and switched to that. Next up is to apply on 2011-07-18 at 10:44am EDT |
|
Jeff Forcier (bitprophet) posted: Currently waiting to hear back from Github about whether it is even possible to delete existing issues/pull requests and to reset the ID counter. Submitted a support request a week or more ago, no response; Github-mailed Chris a few days after, no response; Twitter DM'd him yesterday, still waiting on that :( Morgan had a good idea, which is to see about "transforming" the existing issues into their Redmine data by editing the title/description/comments. I'm not sure the comments can be edited post-facto via the API, especially those left by other people. And it would still leave bizarre links to any referencing pull-request-related forks (i.e. the opposite problem of what will happen if we don't backfill issue numbers). But it's worth a look. Otherwise, I think a final fallback would be to recreate the lower-number Redmine issues (everything in Redmine > on 2011-08-01 at 05:26pm EDT |
|
Import: successful! Spinoff ticket time. |
Description
Decision made: we're moving to Github
Rationale
The improved Issues support in v2, plus the increasingly useful add-ons such as Pull Requests/commit comments/etc, means that on a feature level Github is in a much better place vs Redmine than it was a year or so ago. Redmine still has superior project management options, but none that are so essential as to outweigh the benefits of switching.
Another major reason is simply that we will not need to run our own Redmine instance any longer; this also has many pluses and minuses (see below + the link to the wiki page) but at this point in time it feels best to let somebody else deal with the hosting hassle. As long as we routinely back up the repository & extra data (issues, etc) the benefits of using a hosted service outweigh the downsides.
Means
I haven't found any existing Redmine => Github Issues v2 export scripts, but will search a bit more.
Otherwise, it seems we'll make our own using their reasonably fleshed out API. Probably a Ruby script which interfaces with Redmine's internals and makes API calls to Github.
Prior art:
Either way I will probably test against my personal fork now that the main fork is at fabric/fabric, and then delete everything from there and import again to fabric/fabric once I am satisfied.
Most of the Redmine metadata will likely be preserved as tags, at least the tracker and component. Not sure what to do with the comment/submitter usernames; probably just have it all be created by my user with the original username bolded at top of body text or something. Alternately, don't bother with any comments and just include links back to the Redmine instance, as it will be read-only for some time after.
Other notes
There is no way to turn off or delete pull requests on Github and they effectively take up Issue slots, at least re: commit messages and so on.
I have copied almost all non-duplicate pull requests from Github over here to Redmine and closed them on Github's end; I will need to email Github support asking them to nuke all PRs/issues just before I import.
The only exception is PR 22 which has actual commentary and should probably be preserved. Will need to copy Redmine #22 to be a new ticket, make sure PR 22 is not deleted, and ensure that the import script skips over it.
Everything below is historical info.
Re: potentially moving to Github Issues, see this wiki page on tswicegood's GH wiki. The below is background info, and/or useful reading for a future "GH issues won't cut it, let's upgrade Redmine after all" discussion.
Basics:
Features with branches in our fork (pretty sure all of these are represented in the version deployed at fabfile.org, some may only be internal at Jeff's job):
grouping2plugin that allows ticket groupingrobots.txtfileOther stuff to look out for:
Originally submitted by Jeff Forcier (bitprophet) on 2010-09-01 at 10:05pm EDT
Relations
The text was updated successfully, but these errors were encountered: