Hi Rostislav,

On Wed, Apr 16, 2014 at 12:34 PM, Rostislav Khlebnikov <
[email protected]> wrote:

>
> I think that after I give a good run for my setup - I could write a
> simple guide for GitHub-based development with MITK which would include:
>   - Forking MITK repo with a stable release tag
>   - Setting up major branches, e.g. "stable" and "development", where
> stable would contain the MITK code guaranteed to work with "MyApp" and
> "development" is for syncing changes between multiple developers of
> "MyApp" and/or pulling from original MITK repository for testing a new
> release or particular features needed before the next release
>   - Branching the "development" branch to introduce changes - that can
> be directly related to the bug in MITK or later renamed after testing a
> solution and filing a bug.
>   - Contributing to MITK - creating pull request based on branches from
> "development" branch
>
> So the question is: are the users of MITK at all interested in such a
> guide and would the developers like to include this to the original MITK
> docs/website?
>

Yes, I'd be interested in such a guide. I'm guessing you've found the
existing documentation[1] and just want to extend it?

I'd be even more interested in script that helps automate a common workflow
I use:

1) Fix an MITK bug my MITK branch. Commit it. (e.g. commit 1234567)
2) Create a bug report at bugs.mitk.org [2]
3) `git fetch upstream`
4) `git checkout -b bug-XXXXX-foo-bar upstream/master`
5) `git cherry-pick --signoff 1234567`
6) `git push origin bug-XXXXX-foo-bar`
7) Create a pull request from github.com [3]
8) Add the pull request URL to the bugzilla bug report

Where the usage would look something like:

$ mitk-contribute-commits [--summary <msg>] <commit>...
Full bug description report read from stdin
<ctrl-d>
MITK bug report:     http://bugs.mitk.org/show_bug.cgi?id=XXXXX
GitHub pull request: https://github.com/MITK/MITK/pull/YYY


[1] http://mitk.org/How_to_contribute
[2]
http://www.bugzilla.org/docs/tip/en/html/api/contrib/bz_webservice_demo.html
[3] https://developer.github.com/v3/
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to