On 10/3/12 7:33 AM, Vivien wrote:
> Hey folks,
>
> The new Github -> Bugzilla process is here and and many seems
> disapointed (like me)!
>
> I would like to amend a little bit Tim's proposal and here is my
> suggestion of workflow depending on your goals:
>
>
> *You want to open an issue and that's it?*
> - Never open an *issue* in github. Open *issues* in bugzilla.
>
https://bugzilla.mozilla.org/enter_bug.cgi?product=Boot2Gecko
> - If you think the bug should block the release, please ask for
> *blocking-basecamp ?* in the flags section
>
>
> *You want to attach a patch for review?*
> - Make a Pull Request to github that reference the bugzilla bug
> number in the commit message (e.g "Bug xxxxxx - commit message.")
> - Go to the bugzilla page and add an attachment (see [1]) and ask a
> review *r?* to someone on the attachment
>
This step seems like a baroque workaround to the fact that bugzilla
doesn't allow review requests without an attachment. If our reviewer is
a fellow gaia developer who is used to github, can we just handle the
review process through github? Otherwise the first steps for any review
request will be "1) find that email from Vivien 2) Copy his redirect
header tags..."
>
> *You want to review a patch?*
> - Go to github and do like usual.
>
>
> *Your patch is beeing reviewed and you have things to changed?*
> - Don't forget to squash (git rebase master -i) your commits into one.
>
Why is this squashing important? Is that so bad patches can be easily
backed out?
For those, like me, who are scared of git rebase, it is also possible to
do this with git diff; switch to new branch; patch or something like that.
>
> *You want to merge a reviewed patch?"
> - If the patch is blocking-basecamp+, then you can merge it
> - If the patch is not blocking-basecamp+ then you need an approval
> (Vivien Nicolas, Chris Jones) to land the patch. See
>
https://etherpad.mozilla.org/b2g-stabilization-plan
>
More about this approval process, please. Do we get your permission and
then land it ourselves? Or do we ask you to land it. What is the
equivalent of the checkin-needed flag for reviewed non-blocking patches?
Do we request approval in bugzilla or in github?
>
>
> I hope this helps.
>
It does help, particularly the task-oriented nature of it. Thanks.
But I do want to end with a plea to allow us to continue using github
for as much work as possible. I have worked at mozilla for 17 months.
During that time, I have used github daily. I've used bugzilla to file
bugs once or twice a week. I've attached patches to bugzilla bugs maybe
once a month. And I think I have reviewed a patch on bugzilla once.
I wasn't hired for B2G, but quite a few Gaia developers were, and I
assume that they are bugzilla newbies like me. We will learn to use
Bugzilla, but it is going to be a productivity hit at a time when we
really can't afford one. My understanding is that we need to be filing
bugs in bugzilla so that the managers who track how close we are to
release ready can do that important job.
But there's no reason the code review process has to happen in bugzilla
(as Tim suggested) or be split between bugzilla and github (as Vivien
suggests here) is there?
David
> Vivien.
>
>
> [1] bugzilla attachment to add. Replace XXX_PR_NUMBER by the Pull
> Request number on bugzilla.
> -----------------start patch.html----------------
> <html>
> <head>
> <meta http-equiv="Refresh" content="2;
> url=
https://github.com/mozilla-b2g/gaia/pull/XXX_PR_NUMBER">
> </head>
> <body>
> Redirect to pull request XXX_PR_NUMBER
> </body>
> </html>
> -----------------end patch.html------------------
> _______________________________________________
> dev-gaia mailing list
>
dev-...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-gaia