Git history problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
65 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Git history problem

Mathieu Lirzin
Hello,

The history of OFBiz trunk with the adoption of the Pull Request based
contribution process is getting less and less readable. Here is a
snippet of `git log --oneline --graph` demonstrating that:

--8<---------------cut here---------------start------------->8---
a3bcdc4cc3 * | Improved: Removes getSubContentWithPermCheck and getSubSub
           |/                                                            
8ec3886d7f * Fixed: Code refactoring to support groovy syntax (OFBIZ-1023
604a3bfa02 * Improved: Convert PartyInvitationService.xml from minilang t
5b8c89906c *   Merge pull request #36 from danwatford/ofbiz-11428-checkst
           |\                                                            
e665f9dc68 | * Improved: Set checkstyle to use LF line endings          
e9ec4181ec * |   Merge pull request #17 from PierreSmits/Label-Cleanup  
           |\ \                                                          
974b85f4ec | * | Improved: Cleanup HumanRes labels                      
c71a7ae06d | * | Improved: UI labels                                    
c121ad6b9d * | |   Merge pull request #15 from PierreSmits/OFBIZ-10551  
           |\ \ \                                                        
           | |_|/                                                        
           |/| |                                                        
58b0da26f5 | * | Improved: Remove unused labels from ProductUiLabels.xml
66aa76d7f7 * | |   Merge pull request #35 from danwatford/ofbiz-11418-doc
           |\ \ \                                                        
0ece441228 | * | | Fixed: Fixed line lengths in ModelFormFieldTest to adh
cfad407c48 * | | |   Merge pull request #34 from danwatford/ofbiz-11418-d
           |\ \ \ \                                                      
           | |/ / /                                                      
5640de4eba | * | | Documented: Documented use of field attribute paramete
--8<---------------cut here---------------end--------------->8---

I personnally think this is a huge issue because it makes analysing
history and chasing previously introduced bugs unecessary hard.

I would strongly recommend configuring OFBiz Github to require a linear
commit history when merging PR [1].

Thanks.

[1] https://help.github.com/en/github/administering-a-repository/requiring-a-linear-commit-history

PS: Even if I try to be polite, I am profoundly angry regarding the way
the PR contribution process has been adopted without any formal
community approval or listening to people having stated important
requirements that needed to be addressed before moving towards that new
contribution process.

--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Michael Brohl-3
+1

It is easy to prevent this by using rebase merging but committers have to care about it. If Github can be configured to prevent merge commits we should do so.

Thanks,
Michael

> Am 09.03.2020 um 17:58 schrieb Mathieu Lirzin <[hidden email]>:
>
> Hello,
>
> The history of OFBiz trunk with the adoption of the Pull Request based
> contribution process is getting less and less readable. Here is a
> snippet of `git log --oneline --graph` demonstrating that:
>
> --8<---------------cut here---------------start------------->8---
> a3bcdc4cc3 * | Improved: Removes getSubContentWithPermCheck and getSubSub
>           |/                                                            
> 8ec3886d7f * Fixed: Code refactoring to support groovy syntax (OFBIZ-1023
> 604a3bfa02 * Improved: Convert PartyInvitationService.xml from minilang t
> 5b8c89906c *   Merge pull request #36 from danwatford/ofbiz-11428-checkst
>           |\                                                            
> e665f9dc68 | * Improved: Set checkstyle to use LF line endings          
> e9ec4181ec * |   Merge pull request #17 from PierreSmits/Label-Cleanup  
>           |\ \                                                          
> 974b85f4ec | * | Improved: Cleanup HumanRes labels                      
> c71a7ae06d | * | Improved: UI labels                                    
> c121ad6b9d * | |   Merge pull request #15 from PierreSmits/OFBIZ-10551  
>           |\ \ \                                                        
>           | |_|/                                                        
>           |/| |                                                        
> 58b0da26f5 | * | Improved: Remove unused labels from ProductUiLabels.xml
> 66aa76d7f7 * | |   Merge pull request #35 from danwatford/ofbiz-11418-doc
>           |\ \ \                                                        
> 0ece441228 | * | | Fixed: Fixed line lengths in ModelFormFieldTest to adh
> cfad407c48 * | | |   Merge pull request #34 from danwatford/ofbiz-11418-d
>           |\ \ \ \                                                      
>           | |/ / /                                                      
> 5640de4eba | * | | Documented: Documented use of field attribute paramete
> --8<---------------cut here---------------end--------------->8---
>
> I personnally think this is a huge issue because it makes analysing
> history and chasing previously introduced bugs unecessary hard.
>
> I would strongly recommend configuring OFBiz Github to require a linear
> commit history when merging PR [1].
>
> Thanks.
>
> [1] https://help.github.com/en/github/administering-a-repository/requiring-a-linear-commit-history
>
> PS: Even if I try to be polite, I am profoundly angry regarding the way
> the PR contribution process has been adopted without any formal
> community approval or listening to people having stated important
> requirements that needed to be addressed before moving towards that new
> contribution process.
>
> --
> Mathieu Lirzin
> GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Michael Brohl-3
I tried to follow the instructions found behind the link Mathieu
provided and see that I cannot change the project settings.

Who has access to the project settings and can grant me permission to
change settings?

Thanks,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 09.03.20 um 22:39 schrieb Michael Brohl:

> +1
>
> It is easy to prevent this by using rebase merging but committers have to care about it. If Github can be configured to prevent merge commits we should do so.
>
> Thanks,
> Michael
>
>> Am 09.03.2020 um 17:58 schrieb Mathieu Lirzin <[hidden email]>:
>>
>> Hello,
>>
>> The history of OFBiz trunk with the adoption of the Pull Request based
>> contribution process is getting less and less readable. Here is a
>> snippet of `git log --oneline --graph` demonstrating that:
>>
>> --8<---------------cut here---------------start------------->8---
>> a3bcdc4cc3 * | Improved: Removes getSubContentWithPermCheck and getSubSub
>>            |/
>> 8ec3886d7f * Fixed: Code refactoring to support groovy syntax (OFBIZ-1023
>> 604a3bfa02 * Improved: Convert PartyInvitationService.xml from minilang t
>> 5b8c89906c *   Merge pull request #36 from danwatford/ofbiz-11428-checkst
>>            |\
>> e665f9dc68 | * Improved: Set checkstyle to use LF line endings
>> e9ec4181ec * |   Merge pull request #17 from PierreSmits/Label-Cleanup
>>            |\ \
>> 974b85f4ec | * | Improved: Cleanup HumanRes labels
>> c71a7ae06d | * | Improved: UI labels
>> c121ad6b9d * | |   Merge pull request #15 from PierreSmits/OFBIZ-10551
>>            |\ \ \
>>            | |_|/
>>            |/| |
>> 58b0da26f5 | * | Improved: Remove unused labels from ProductUiLabels.xml
>> 66aa76d7f7 * | |   Merge pull request #35 from danwatford/ofbiz-11418-doc
>>            |\ \ \
>> 0ece441228 | * | | Fixed: Fixed line lengths in ModelFormFieldTest to adh
>> cfad407c48 * | | |   Merge pull request #34 from danwatford/ofbiz-11418-d
>>            |\ \ \ \
>>            | |/ / /
>> 5640de4eba | * | | Documented: Documented use of field attribute paramete
>> --8<---------------cut here---------------end--------------->8---
>>
>> I personnally think this is a huge issue because it makes analysing
>> history and chasing previously introduced bugs unecessary hard.
>>
>> I would strongly recommend configuring OFBiz Github to require a linear
>> commit history when merging PR [1].
>>
>> Thanks.
>>
>> [1] https://help.github.com/en/github/administering-a-repository/requiring-a-linear-commit-history
>>
>> PS: Even if I try to be polite, I am profoundly angry regarding the way
>> the PR contribution process has been adopted without any formal
>> community approval or listening to people having stated important
>> requirements that needed to be addressed before moving towards that new
>> contribution process.
>>
>> --
>> Mathieu Lirzin
>> GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Mathieu Lirzin
Michael Brohl <[hidden email]> writes:

> I tried to follow the instructions found behind the link Mathieu
> provided and see that I cannot change the project settings.
>
> Who has access to the project settings and can grant me permission to
> change settings?

Thanks Michael for this attempt.

--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Jacopo Cappellato-3
In reply to this post by Michael Brohl-3
I think that the ASF Infra will have to take care of this configuration
change.
I have noticed that Jacques already filed a request a few minutes ago [*]
so let's wait and see.

Jacopo

[*] https://issues.apache.org/jira/browse/INFRA-19950

On Tue, Mar 10, 2020 at 7:25 AM Michael Brohl <[hidden email]>
wrote:

> I tried to follow the instructions found behind the link Mathieu
> provided and see that I cannot change the project settings.
>
> Who has access to the project settings and can grant me permission to
> change settings?
>
> Thanks,
>
> Michael Brohl
>
> ecomify GmbH - www.ecomify.de
>
>
> Am 09.03.20 um 22:39 schrieb Michael Brohl:
> > +1
> >
> > It is easy to prevent this by using rebase merging but committers have
> to care about it. If Github can be configured to prevent merge commits we
> should do so.
> >
> > Thanks,
> > Michael
> >
> >> Am 09.03.2020 um 17:58 schrieb Mathieu Lirzin <
> [hidden email]>:
> >>
> >> Hello,
> >>
> >> The history of OFBiz trunk with the adoption of the Pull Request based
> >> contribution process is getting less and less readable. Here is a
> >> snippet of `git log --oneline --graph` demonstrating that:
> >>
> >> --8<---------------cut here---------------start------------->8---
> >> a3bcdc4cc3 * | Improved: Removes getSubContentWithPermCheck and
> getSubSub
> >>            |/
> >> 8ec3886d7f * Fixed: Code refactoring to support groovy syntax
> (OFBIZ-1023
> >> 604a3bfa02 * Improved: Convert PartyInvitationService.xml from minilang
> t
> >> 5b8c89906c *   Merge pull request #36 from
> danwatford/ofbiz-11428-checkst
> >>            |\
> >> e665f9dc68 | * Improved: Set checkstyle to use LF line endings
> >> e9ec4181ec * |   Merge pull request #17 from PierreSmits/Label-Cleanup
> >>            |\ \
> >> 974b85f4ec | * | Improved: Cleanup HumanRes labels
> >> c71a7ae06d | * | Improved: UI labels
> >> c121ad6b9d * | |   Merge pull request #15 from PierreSmits/OFBIZ-10551
> >>            |\ \ \
> >>            | |_|/
> >>            |/| |
> >> 58b0da26f5 | * | Improved: Remove unused labels from ProductUiLabels.xml
> >> 66aa76d7f7 * | |   Merge pull request #35 from
> danwatford/ofbiz-11418-doc
> >>            |\ \ \
> >> 0ece441228 | * | | Fixed: Fixed line lengths in ModelFormFieldTest to
> adh
> >> cfad407c48 * | | |   Merge pull request #34 from
> danwatford/ofbiz-11418-d
> >>            |\ \ \ \
> >>            | |/ / /
> >> 5640de4eba | * | | Documented: Documented use of field attribute
> paramete
> >> --8<---------------cut here---------------end--------------->8---
> >>
> >> I personnally think this is a huge issue because it makes analysing
> >> history and chasing previously introduced bugs unecessary hard.
> >>
> >> I would strongly recommend configuring OFBiz Github to require a linear
> >> commit history when merging PR [1].
> >>
> >> Thanks.
> >>
> >> [1]
> https://help.github.com/en/github/administering-a-repository/requiring-a-linear-commit-history
> >>
> >> PS: Even if I try to be polite, I am profoundly angry regarding the way
> >> the PR contribution process has been adopted without any formal
> >> community approval or listening to people having stated important
> >> requirements that needed to be addressed before moving towards that new
> >> contribution process.
> >>
> >> --
> >> Mathieu Lirzin
> >> GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Jacques Le Roux
Administrator
In reply to this post by Mathieu Lirzin
Le 09/03/2020 à 17:58, Mathieu Lirzin a écrit :

> Hello,
>
> The history of OFBiz trunk with the adoption of the Pull Request based
> contribution process is getting less and less readable. Here is a
> snippet of `git log --oneline --graph` demonstrating that:
>
> --8<---------------cut here---------------start------------->8---
> a3bcdc4cc3 * | Improved: Removes getSubContentWithPermCheck and getSubSub
>             |/
> 8ec3886d7f * Fixed: Code refactoring to support groovy syntax (OFBIZ-1023
> 604a3bfa02 * Improved: Convert PartyInvitationService.xml from minilang t
> 5b8c89906c *   Merge pull request #36 from danwatford/ofbiz-11428-checkst
>             |\
> e665f9dc68 | * Improved: Set checkstyle to use LF line endings
> e9ec4181ec * |   Merge pull request #17 from PierreSmits/Label-Cleanup
>             |\ \
> 974b85f4ec | * | Improved: Cleanup HumanRes labels
> c71a7ae06d | * | Improved: UI labels
> c121ad6b9d * | |   Merge pull request #15 from PierreSmits/OFBIZ-10551
>             |\ \ \
>             | |_|/
>             |/| |
> 58b0da26f5 | * | Improved: Remove unused labels from ProductUiLabels.xml
> 66aa76d7f7 * | |   Merge pull request #35 from danwatford/ofbiz-11418-doc
>             |\ \ \
> 0ece441228 | * | | Fixed: Fixed line lengths in ModelFormFieldTest to adh
> cfad407c48 * | | |   Merge pull request #34 from danwatford/ofbiz-11418-d
>             |\ \ \ \
>             | |/ / /
> 5640de4eba | * | | Documented: Documented use of field attribute paramete
> --8<---------------cut here---------------end--------------->8---
>
> I personnally think this is a huge issue because it makes analysing
> history and chasing previously introduced bugs unecessary hard.
>
> I would strongly recommend configuring OFBiz Github to require a linear
> commit history when merging PR [1].
>
> Thanks.
>
> [1] https://help.github.com/en/github/administering-a-repository/requiring-a-linear-commit-history
>
> PS: Even if I try to be polite, I am profoundly angry regarding the way
> the PR contribution process has been adopted without any formal
> community approval or listening to people having stated important
> requirements that needed to be addressed before moving towards that new
> contribution process.

Hi Mathieu,

If my opinion is worth telling, I was initially reluctant to use the PR process instead of the patch process. Because in general I prefer to control
things, it's even sometimes a problem for me in real life. I must say it was more laziness which inclined me to PR.

I noticed that sometimes strange things happen when you use a PR. Consider this recent email for instance: https://markmail.org/message/amq5fj2dfma7pcbb.

There is only the files names, nothing about the changes. You have to get there to have the information
https://github.com/apache/ofbiz-plugins/commit/4afe603/ not very convenient :/

Moreover if you look at the commit comment in related Jira (OFBIZ-10948), it says:

    <<Merge pull request #7 from priyasharma1/OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>

    Improved: Convert DimensionServices.xml minilang to groovy (OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>)>>

When I supposed it would be only the title and comment at https://github.com/apache/ofbiz-plugins/pull/7. Why is "Merge pull request #7 from
priyasharma1/OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>" added, mystery!

For a reason I ignore (must be a reason, but I'll not try to understand) we did not get that.

Sorry for the digression, now about your point, I agree. I find strange that the default value of the GH (GitHub) merge button is not merge and
rebase. I guess it's history and legacy... Using the squash value is also a good option when the merge passes and there are several commits, it
simplifies things when reading emails.

Like Michael I had a look about the settings. The settings button is available on my fork but not on the official mirror Github repo.

This said you certainly saw this thread started by Pierre Smits: https://markmail.org/message/so7ljoqxzuq7jplz and the related wiki document
https://cwiki.apache.org/confluence/display/OFBIZ/Contributing+via+Git+and+Github

The discussion ended with Michael's disagreement, as somehow yours, but nothing happened. So I think we should move ahead with your proposition and
note the change in the wiki page. I have created https://issues.apache.org/jira/browse/INFRA-19950 for that. If somebody disagrees please speak now,
even if it will always possible to revert the change.

We have also to maintain the related stuff which are also still WIP:

https://cwiki.apache.org/confluence/display/OFBIZ/Migration+from+Subversion+%28SVN%29+to+Git
https://issues.apache.org/jira/browse/OFBIZ-11268

Nothing happens magically, but it seems we are near the end about the migration from Subversion to Git process.

BTW, a question for you: do you think not having a linear commit history would have an impact on Bisect. I don't think so, just asking in case you
have an experience with that.

Please don't be angry, it's not good for health. Just listen few minutes to https://www.youtube.com/watch?v=d-diB65scQU it generally helps ;)

Thanks for your proposition!

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Jacques Le Roux
Administrator
The infra team requires a PMC decision for this change, see https://issues.apache.org/jira/browse/INFRA-19950

Jacques

Le 10/03/2020 à 10:57, Jacques Le Roux a écrit :

> Le 09/03/2020 à 17:58, Mathieu Lirzin a écrit :
>> Hello,
>>
>> The history of OFBiz trunk with the adoption of the Pull Request based
>> contribution process is getting less and less readable. Here is a
>> snippet of `git log --oneline --graph` demonstrating that:
>>
>> --8<---------------cut here---------------start------------->8---
>> a3bcdc4cc3 * | Improved: Removes getSubContentWithPermCheck and getSubSub
>>             |/
>> 8ec3886d7f * Fixed: Code refactoring to support groovy syntax (OFBIZ-1023
>> 604a3bfa02 * Improved: Convert PartyInvitationService.xml from minilang t
>> 5b8c89906c *   Merge pull request #36 from danwatford/ofbiz-11428-checkst
>>             |\
>> e665f9dc68 | * Improved: Set checkstyle to use LF line endings
>> e9ec4181ec * |   Merge pull request #17 from PierreSmits/Label-Cleanup
>>             |\ \
>> 974b85f4ec | * | Improved: Cleanup HumanRes labels
>> c71a7ae06d | * | Improved: UI labels
>> c121ad6b9d * | |   Merge pull request #15 from PierreSmits/OFBIZ-10551
>>             |\ \ \
>>             | |_|/
>>             |/| |
>> 58b0da26f5 | * | Improved: Remove unused labels from ProductUiLabels.xml
>> 66aa76d7f7 * | |   Merge pull request #35 from danwatford/ofbiz-11418-doc
>>             |\ \ \
>> 0ece441228 | * | | Fixed: Fixed line lengths in ModelFormFieldTest to adh
>> cfad407c48 * | | |   Merge pull request #34 from danwatford/ofbiz-11418-d
>>             |\ \ \ \
>>             | |/ / /
>> 5640de4eba | * | | Documented: Documented use of field attribute paramete
>> --8<---------------cut here---------------end--------------->8---
>>
>> I personnally think this is a huge issue because it makes analysing
>> history and chasing previously introduced bugs unecessary hard.
>>
>> I would strongly recommend configuring OFBiz Github to require a linear
>> commit history when merging PR [1].
>>
>> Thanks.
>>
>> [1] https://help.github.com/en/github/administering-a-repository/requiring-a-linear-commit-history
>>
>> PS: Even if I try to be polite, I am profoundly angry regarding the way
>> the PR contribution process has been adopted without any formal
>> community approval or listening to people having stated important
>> requirements that needed to be addressed before moving towards that new
>> contribution process.
>
> Hi Mathieu,
>
> If my opinion is worth telling, I was initially reluctant to use the PR process instead of the patch process. Because in general I prefer to control
> things, it's even sometimes a problem for me in real life. I must say it was more laziness which inclined me to PR.
>
> I noticed that sometimes strange things happen when you use a PR. Consider this recent email for instance:
> https://markmail.org/message/amq5fj2dfma7pcbb.
>
> There is only the files names, nothing about the changes. You have to get there to have the information
> https://github.com/apache/ofbiz-plugins/commit/4afe603/ not very convenient :/
>
> Moreover if you look at the commit comment in related Jira (OFBIZ-10948), it says:
>
>    <<Merge pull request #7 from priyasharma1/OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>
>
>    Improved: Convert DimensionServices.xml minilang to groovy (OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>)>>
>
> When I supposed it would be only the title and comment at https://github.com/apache/ofbiz-plugins/pull/7. Why is "Merge pull request #7 from
> priyasharma1/OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>" added, mystery!
>
> For a reason I ignore (must be a reason, but I'll not try to understand) we did not get that.
>
> Sorry for the digression, now about your point, I agree. I find strange that the default value of the GH (GitHub) merge button is not merge and
> rebase. I guess it's history and legacy... Using the squash value is also a good option when the merge passes and there are several commits, it
> simplifies things when reading emails.
>
> Like Michael I had a look about the settings. The settings button is available on my fork but not on the official mirror Github repo.
>
> This said you certainly saw this thread started by Pierre Smits: https://markmail.org/message/so7ljoqxzuq7jplz and the related wiki document
> https://cwiki.apache.org/confluence/display/OFBIZ/Contributing+via+Git+and+Github
>
> The discussion ended with Michael's disagreement, as somehow yours, but nothing happened. So I think we should move ahead with your proposition and
> note the change in the wiki page. I have created https://issues.apache.org/jira/browse/INFRA-19950 for that. If somebody disagrees please speak now,
> even if it will always possible to revert the change.
>
> We have also to maintain the related stuff which are also still WIP:
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Migration+from+Subversion+%28SVN%29+to+Git
> https://issues.apache.org/jira/browse/OFBIZ-11268
>
> Nothing happens magically, but it seems we are near the end about the migration from Subversion to Git process.
>
> BTW, a question for you: do you think not having a linear commit history would have an impact on Bisect. I don't think so, just asking in case you
> have an experience with that.
>
> Please don't be angry, it's not good for health. Just listen few minutes to https://www.youtube.com/watch?v=d-diB65scQU it generally helps ;)
>
> Thanks for your proposition!
>
> Jacques
>
Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Michael Brohl-3
In reply to this post by Jacques Le Roux
This is why I was advocating to leave the wiki page in WIP state until
the command line process is described also.

We should rework the wiki page to also show the command line process to
merge PR's on the local sandbox which permits ultimate control about
what is going to be pushed to the official repositories. I think
committers should get used to the process of handling the PRs on their
local sandbox and avoid doing it directly against the official repo.

I've set the wiki status to WIP again with the reference link to the
RocketMQ process which is a good example for the command line processes
as well.

Thanks,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 10.03.20 um 10:57 schrieb Jacques Le Roux:

> Le 09/03/2020 à 17:58, Mathieu Lirzin a écrit :
>> Hello,
>>
>> The history of OFBiz trunk with the adoption of the Pull Request based
>> contribution process is getting less and less readable. Here is a
>> snippet of `git log --oneline --graph` demonstrating that:
>>
>> --8<---------------cut here---------------start------------->8---
>> a3bcdc4cc3 * | Improved: Removes getSubContentWithPermCheck and
>> getSubSub
>>             |/
>> 8ec3886d7f * Fixed: Code refactoring to support groovy syntax
>> (OFBIZ-1023
>> 604a3bfa02 * Improved: Convert PartyInvitationService.xml from
>> minilang t
>> 5b8c89906c *   Merge pull request #36 from
>> danwatford/ofbiz-11428-checkst
>>             |\
>> e665f9dc68 | * Improved: Set checkstyle to use LF line endings
>> e9ec4181ec * |   Merge pull request #17 from PierreSmits/Label-Cleanup
>>             |\ \
>> 974b85f4ec | * | Improved: Cleanup HumanRes labels
>> c71a7ae06d | * | Improved: UI labels
>> c121ad6b9d * | |   Merge pull request #15 from PierreSmits/OFBIZ-10551
>>             |\ \ \
>>             | |_|/
>>             |/| |
>> 58b0da26f5 | * | Improved: Remove unused labels from ProductUiLabels.xml
>> 66aa76d7f7 * | |   Merge pull request #35 from
>> danwatford/ofbiz-11418-doc
>>             |\ \ \
>> 0ece441228 | * | | Fixed: Fixed line lengths in ModelFormFieldTest to
>> adh
>> cfad407c48 * | | |   Merge pull request #34 from
>> danwatford/ofbiz-11418-d
>>             |\ \ \ \
>>             | |/ / /
>> 5640de4eba | * | | Documented: Documented use of field attribute
>> paramete
>> --8<---------------cut here---------------end--------------->8---
>>
>> I personnally think this is a huge issue because it makes analysing
>> history and chasing previously introduced bugs unecessary hard.
>>
>> I would strongly recommend configuring OFBiz Github to require a linear
>> commit history when merging PR [1].
>>
>> Thanks.
>>
>> [1]
>> https://help.github.com/en/github/administering-a-repository/requiring-a-linear-commit-history
>>
>> PS: Even if I try to be polite, I am profoundly angry regarding the way
>> the PR contribution process has been adopted without any formal
>> community approval or listening to people having stated important
>> requirements that needed to be addressed before moving towards that new
>> contribution process.
>
> Hi Mathieu,
>
> If my opinion is worth telling, I was initially reluctant to use the
> PR process instead of the patch process. Because in general I prefer
> to control things, it's even sometimes a problem for me in real life.
> I must say it was more laziness which inclined me to PR.
>
> I noticed that sometimes strange things happen when you use a PR.
> Consider this recent email for instance:
> https://markmail.org/message/amq5fj2dfma7pcbb.
>
> There is only the files names, nothing about the changes. You have to
> get there to have the information
> https://github.com/apache/ofbiz-plugins/commit/4afe603/ not very
> convenient :/
>
> Moreover if you look at the commit comment in related Jira
> (OFBIZ-10948), it says:
>
>    <<Merge pull request #7 from priyasharma1/OFBIZ-10948
> <https://issues.apache.org/jira/browse/OFBIZ-10948>
>
>    Improved: Convert DimensionServices.xml minilang to groovy
> (OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>)>>
>
> When I supposed it would be only the title and comment at
> https://github.com/apache/ofbiz-plugins/pull/7. Why is "Merge pull
> request #7 from priyasharma1/OFBIZ-10948
> <https://issues.apache.org/jira/browse/OFBIZ-10948>" added, mystery!
>
> For a reason I ignore (must be a reason, but I'll not try to
> understand) we did not get that.
>
> Sorry for the digression, now about your point, I agree. I find
> strange that the default value of the GH (GitHub) merge button is not
> merge and rebase. I guess it's history and legacy... Using the squash
> value is also a good option when the merge passes and there are
> several commits, it simplifies things when reading emails.
>
> Like Michael I had a look about the settings. The settings button is
> available on my fork but not on the official mirror Github repo.
>
> This said you certainly saw this thread started by Pierre Smits:
> https://markmail.org/message/so7ljoqxzuq7jplz and the related wiki
> document
> https://cwiki.apache.org/confluence/display/OFBIZ/Contributing+via+Git+and+Github
>
> The discussion ended with Michael's disagreement, as somehow yours,
> but nothing happened. So I think we should move ahead with your
> proposition and note the change in the wiki page. I have created
> https://issues.apache.org/jira/browse/INFRA-19950 for that. If
> somebody disagrees please speak now, even if it will always possible
> to revert the change.
>
> We have also to maintain the related stuff which are also still WIP:
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Migration+from+Subversion+%28SVN%29+to+Git 
>
> https://issues.apache.org/jira/browse/OFBIZ-11268
>
> Nothing happens magically, but it seems we are near the end about the
> migration from Subversion to Git process.
>
> BTW, a question for you: do you think not having a linear commit
> history would have an impact on Bisect. I don't think so, just asking
> in case you have an experience with that.
>
> Please don't be angry, it's not good for health. Just listen few
> minutes to https://www.youtube.com/watch?v=d-diB65scQU it generally
> helps ;)
>
> Thanks for your proposition!
>
> Jacques
>
>


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Git commits email notification problem (was: Git history problem)

Mathieu Lirzin
In reply to this post by Jacques Le Roux
Hello Jacques,

Here is a first answer on the specific point of the commit notification
issue.

Jacques Le Roux <[hidden email]> writes:

> I noticed that sometimes strange things happen when you use a
> PR. Consider this recent email for instance:
> https://markmail.org/message/amq5fj2dfma7pcbb.
>
> There is only the files names, nothing about the changes. You have to
> get there to have the information
> https://github.com/apache/ofbiz-plugins/commit/4afe603/ not very
> convenient :/
>
> Moreover if you look at the commit comment in related Jira (OFBIZ-10948), it says:
>
>    <<Merge pull request #7 from priyasharma1/OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>
>
>    Improved: Convert DimensionServices.xml minilang to groovy (OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>)>>
>
> When I supposed it would be only the title and comment at
> https://github.com/apache/ofbiz-plugins/pull/7. Why is "Merge pull
> request #7 from priyasharma1/OFBIZ-10948
> <https://issues.apache.org/jira/browse/OFBIZ-10948>" added, mystery!
>
> For a reason I ignore (must be a reason, but I'll not try to understand) we did not get that.

I guess this is related to the synchronization between Gitbox and
Github.  because that email says that 4087 revisions have been added
which correspond to the total number of commits in the ofbiz-plugins
repository.

--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Mathieu Lirzin
In reply to this post by Jacques Le Roux
Hello Jacques,

Jacques Le Roux <[hidden email]> writes:

> If my opinion is worth telling, I was initially reluctant to use the
> PR process instead of the patch process. Because in general I prefer
> to control things, it's even sometimes a problem for me in real
> life. I must say it was more laziness which inclined me to PR.

Your opinion is always worth telling on this topic since to my knowledge
you are the most active reviewer which really valuable.

> Like Michael I had a look about the settings. The settings button is
> available on my fork but not on the official mirror Github repo.

Thanks for double checking.

>> This said you certainly saw this thread started by Pierre Smits:
> https://markmail.org/message/so7ljoqxzuq7jplz and the related wiki
> document
> https://cwiki.apache.org/confluence/display/OFBIZ/Contributing+via+Git+and+Github

AIUI this page is only collection of Git/Github tips and fuzzy
"maybe"/"you can" rules.  Moreover it does not propose to
replace/deprecate/simplify existing contribution procedures/tools.

So it misses the point that adopting Github workflow only makes sense if
it simplifies the contribution process for both contributors and
reviewers.

> The discussion ended with Michael's disagreement, as somehow yours,
> but nothing happened. So I think we should move ahead with your
> proposition and note the change in the wiki page. I have created
> https://issues.apache.org/jira/browse/INFRA-19950 for that. If
> somebody disagrees please speak now, even if it will always possible
> to revert the change.
>
> We have also to maintain the related stuff which are also still WIP:
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Migration+from+Subversion+%28SVN%29+to+Git
> https://issues.apache.org/jira/browse/OFBIZ-11268
>
> Nothing happens magically, but it seems we are near the end about the
> migration from Subversion to Git process.

Yes things seems to happen not magically but by putting earplugs on and
going ahead, which is certainly more effective but IMO not acceptable
when working within a community.

> BTW, a question for you: do you think not having a linear commit
> history would have an impact on Bisect. I don't think so, just asking
> in case you have an experience with that.

‘git bisect’ handles non-linear history nicely but it achieves this with
a more complex algorithm than basic binary search [1][2].

The difficulty is when a commit identified as introducing the regression
is a merge commit because it requires analysing each branch up to their
common ancestor.

The major issue is more social, because once people adopts the practice
of merging branches without rebasing and cleaning that branch first,
since contributors often branch from another development branch, this
will eventually lead to have the same commit present multiple times but
with different hashes.

The simple solution to prevent this is to get into the habit of
linearizing history, meaning always rebasing and clean history before
merging into trunk.

> Please don't be angry, it's not good for health. Just listen few
> minutes to https://www.youtube.com/watch?v=d-diB65scQU it generally
> helps ;)

:-)

[1] https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-bisect-lk2009.html#_git_bisect_details
[2] https://www.wikipedia.org/wiki/Binary_search_algorithm

--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
Reply | Threaded
Open this post in threaded view
|

Re: Git commits email notification problem

Jacques Le Roux
Administrator
In reply to this post by Mathieu Lirzin
Le 11/03/2020 à 11:46, Mathieu Lirzin a écrit :

> Hello Jacques,
>
> Here is a first answer on the specific point of the commit notification
> issue.
>
> Jacques Le Roux <[hidden email]> writes:
>
>> I noticed that sometimes strange things happen when you use a
>> PR. Consider this recent email for instance:
>> https://markmail.org/message/amq5fj2dfma7pcbb.
>>
>> There is only the files names, nothing about the changes. You have to
>> get there to have the information
>> https://github.com/apache/ofbiz-plugins/commit/4afe603/ not very
>> convenient :/
>>
>> Moreover if you look at the commit comment in related Jira (OFBIZ-10948), it says:
>>
>>     <<Merge pull request #7 from priyasharma1/OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>
>>
>>     Improved: Convert DimensionServices.xml minilang to groovy (OFBIZ-10948 <https://issues.apache.org/jira/browse/OFBIZ-10948>)>>
>>
>> When I supposed it would be only the title and comment at
>> https://github.com/apache/ofbiz-plugins/pull/7. Why is "Merge pull
>> request #7 from priyasharma1/OFBIZ-10948
>> <https://issues.apache.org/jira/browse/OFBIZ-10948>" added, mystery!
>>
>> For a reason I ignore (must be a reason, but I'll not try to understand) we did not get that.
> I guess this is related to the synchronization between Gitbox and
> Github.  because that email says that 4087 revisions have been added
> which correspond to the total number of commits in the ofbiz-plugins
> repository.

Thanks Mathieu,

I think you are right, it must take some time indeed to sync the dual-host stuff. Anyway it's not a big deal, just annoying.

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Pierre Smits-3
In reply to this post by Mathieu Lirzin
The remark about 'not acceptable when working within a community' reminds
me of the the joke about 'How many community members does it take to get
four wheel nuts loosened'.
It takes 4: 1 loosening the nuts and 3 others discussing....

JFDI (putting on the earplugs, and doing it) is part of the Apache Way. It
applies to contributing code changes and to people having the need to
discuss stuff.

But in this project some need to have discussions on everything. In tickets
with statements like 'we should discuss this' or in specific threads on a
side tracking remark, without taking that 'need' forward to a new thread
(maybe hoping the other community member does that). Some have even brought
forward that issues (whether they be bugs or improvements) need to be
discussed before they are registered as issues. A result of this
side-tracking (bike shedding??) of JFDI, is not going for accepting 'good
enough' in many cases and an almost unclimbable mountain of open tickets.

That is not the way to go in an Apache project, as it alienates
contributors (leading to drastic measures taken - as seen again recently).
Going down that road - all/most of the time - is not beneficial to the
project, as seems to bring moving forward to a halt.

Paraphrasing Alec Steele here: at a certain moment in time it is time to
stop yacking and start whacking.

Met vriendelijke groet,

Pierre Smits
*Proud* *contributor** of* Apache OFBiz <https://ofbiz.apache.org/> since
2008 (without privileges)

*Apache Trafodion <https://trafodion.apache.org>, Vice President*
*Apache Directory <https://directory.apache.org>, PMC Member*
Apache Incubator <https://incubator.apache.org>, committer
Apache Steve <https://steve.apache.org>, committer


On Wed, Mar 11, 2020 at 12:33 PM Mathieu Lirzin <[hidden email]>
wrote:

> Hello Jacques,
>
> Jacques Le Roux <[hidden email]> writes:
>
> > If my opinion is worth telling, I was initially reluctant to use the
> > PR process instead of the patch process. Because in general I prefer
> > to control things, it's even sometimes a problem for me in real
> > life. I must say it was more laziness which inclined me to PR.
>
> Your opinion is always worth telling on this topic since to my knowledge
> you are the most active reviewer which really valuable.
>
> > Like Michael I had a look about the settings. The settings button is
> > available on my fork but not on the official mirror Github repo.
>
> Thanks for double checking.
>
> >> This said you certainly saw this thread started by Pierre Smits:
> > https://markmail.org/message/so7ljoqxzuq7jplz and the related wiki
> > document
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/Contributing+via+Git+and+Github
>
> AIUI this page is only collection of Git/Github tips and fuzzy
> "maybe"/"you can" rules.  Moreover it does not propose to
> replace/deprecate/simplify existing contribution procedures/tools.
>
> So it misses the point that adopting Github workflow only makes sense if
> it simplifies the contribution process for both contributors and
> reviewers.
>
> > The discussion ended with Michael's disagreement, as somehow yours,
> > but nothing happened. So I think we should move ahead with your
> > proposition and note the change in the wiki page. I have created
> > https://issues.apache.org/jira/browse/INFRA-19950 for that. If
> > somebody disagrees please speak now, even if it will always possible
> > to revert the change.
> >
> > We have also to maintain the related stuff which are also still WIP:
> >
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/Migration+from+Subversion+%28SVN%29+to+Git
> > https://issues.apache.org/jira/browse/OFBIZ-11268
> >
> > Nothing happens magically, but it seems we are near the end about the
> > migration from Subversion to Git process.
>
> Yes things seems to happen not magically but by putting earplugs on and
> going ahead, which is certainly more effective but IMO not acceptable
> when working within a community.
>
> > BTW, a question for you: do you think not having a linear commit
> > history would have an impact on Bisect. I don't think so, just asking
> > in case you have an experience with that.
>
> ‘git bisect’ handles non-linear history nicely but it achieves this with
> a more complex algorithm than basic binary search [1][2].
>
> The difficulty is when a commit identified as introducing the regression
> is a merge commit because it requires analysing each branch up to their
> common ancestor.
>
> The major issue is more social, because once people adopts the practice
> of merging branches without rebasing and cleaning that branch first,
> since contributors often branch from another development branch, this
> will eventually lead to have the same commit present multiple times but
> with different hashes.
>
> The simple solution to prevent this is to get into the habit of
> linearizing history, meaning always rebasing and clean history before
> merging into trunk.
>
> > Please don't be angry, it's not good for health. Just listen few
> > minutes to https://www.youtube.com/watch?v=d-diB65scQU it generally
> > helps ;)
>
> :-)
>
> [1]
> https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-bisect-lk2009.html#_git_bisect_details
> [2] https://www.wikipedia.org/wiki/Binary_search_algorithm
>
> --
> Mathieu Lirzin
> GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
>
Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Jacques Le Roux
Administrator
In reply to this post by Mathieu Lirzin

Le 11/03/2020 à 12:33, Mathieu Lirzin a écrit :
>>> This said you certainly saw this thread started by Pierre Smits:
>> https://markmail.org/message/so7ljoqxzuq7jplz  and the related wiki
>> document
>> https://cwiki.apache.org/confluence/display/OFBIZ/Contributing+via+Git+and+Github
> AIUI this page is only collection of Git/Github tips and fuzzy
> "maybe"/"you can" rules.  Moreover it does not propose to
> replace/deprecate/simplify existing contribution procedures/tools.

Yes, that's really missing, I agree. I once created OFBIZ-1129 (Tools to backport), but finally closed it for 2 reasons:

 1. Not enough interest (most important reason by far)
 2. Spent some time, did not find easy way to replace scripts, I don't think fits.

I think Pierre's effort is a try for the procedure aspect. Why not joining there and improve?

> So it misses the point that adopting Github workflow only makes sense if
> it simplifies the contribution process for both contributors and
> reviewers.

At 1st glance it simplifies committers work: just a button to click \o/

But reviewing in the GH env. is not easy. Eclipse and other tools used locally make things much easier. And reviewing is of course the most important
thing, everybody can click a button ;)

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Jacques Le Roux
Administrator
In reply to this post by Mathieu Lirzin
Le 11/03/2020 à 12:33, Mathieu Lirzin a écrit :
> Yes things seems to happen not magically but by putting earplugs on and
> going ahead, which is certainly more effective but IMO not acceptable
> when working within a community.

I'm not sure to who it's destined, so I'll not take it for me :)


>
>> BTW, a question for you: do you think not having a linear commit
>> history would have an impact on Bisect. I don't think so, just asking
>> in case you have an experience with that.
> ‘git bisect’ handles non-linear history nicely but it achieves this with
> a more complex algorithm than basic binary search [1][2].
>
> The difficulty is when a commit identified as introducing the regression
> is a merge commit because it requires analysing each branch up to their
> common ancestor.

Thanks, did not think about that.


> The major issue is more social, because once people adopts the practice
> of merging branches without rebasing and cleaning that branch first,
> since contributors often branch from another development branch, this
> will eventually lead to have the same commit present multiple times but
> with different hashes.

Mmm, that's bad indeed.


> The simple solution to prevent this is to get into the habit of
> linearizing history, meaning always rebasing and clean history before
> merging into trunk.
I guess the GH merge button option "Rebase and merge" is what we are looking to enforce with the request to Infra, right?
--

Jacques Le Roux
400E Chemin de la Mouline
34560 Poussan
04 67 51 19 38
06 11 79 50 28

Reply | Threaded
Open this post in threaded view
|

Adopting Github Workflow (was: Git history problem)

Mathieu Lirzin
In reply to this post by Jacques Le Roux
Jacques Le Roux <[hidden email]> writes:

> Le 11/03/2020 à 12:33, Mathieu Lirzin a écrit :
>>>> This said you certainly saw this thread started by Pierre Smits:
>>> https://markmail.org/message/so7ljoqxzuq7jplz  and the related wiki
>>> document
>>> https://cwiki.apache.org/confluence/display/OFBIZ/Contributing+via+Git+and+Github
>> AIUI this page is only collection of Git/Github tips and fuzzy
>> "maybe"/"you can" rules.  Moreover it does not propose to
>> replace/deprecate/simplify existing contribution procedures/tools.
>
> Yes, that's really missing, I agree. I once created OFBIZ-1129 (Tools to backport), but finally closed it for 2 reasons:
>
> 1. Not enough interest (most important reason by far)
> 2. Spent some time, did not find easy way to replace scripts, I don't think fits.
>
> I think Pierre's effort is a try for the procedure aspect. Why not
> joining there and improve?

You are right. I should be more constructive than just acknowledging
that the requirements I expressed were not properly considered.

Let me try joining Pierre's effort by providing a simple but radical
proposal for our contribution procedure :

- Adopt Github Pull Request (PR) as the unique channel for code contribution
- Require tickets only for bug reports
- Replace JIRA with Github issues
- Use Github API to get the stats for OFBiz monthly reports

@Pierre: What do you think ?

--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
Reply | Threaded
Open this post in threaded view
|

Re: Adopting Github Workflow (was: Git history problem)

Jacopo Cappellato-3
On Wed, Mar 11, 2020 at 4:30 PM Mathieu Lirzin <[hidden email]>
wrote:

> [...]
> - Adopt Github Pull Request (PR) as the unique channel for code
> contribution
>

+1


> - Require tickets only for bug reports
>

+1


> - Replace JIRA with Github issues
>

I am not sure about this: we have a huge backlog of existing Jira tickets
and we may have to verify if, as an Apache project, we can rely on a non
ASF resource as the primary source of information about bug/enhancement
reports.

- Use Github API to get the stats for OFBiz monthly reports
>

+1

Jacopo
Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Mathieu Lirzin
In reply to this post by Jacques Le Roux
Jacques Le Roux <[hidden email]> writes:

> Le 11/03/2020 à 12:33, Mathieu Lirzin a écrit :
>> Yes things seems to happen not magically but by putting earplugs on and
>> going ahead, which is certainly more effective but IMO not acceptable
>> when working within a community.
>
> I'm not sure to who it's destined, so I'll not take it for me :)

This was destined to no-one, it was just general remark regarding
handling community input on a proposal. So you do not have to feel
targeted.

By the way the expression “not acceptable” was probably too strong and
should have been “not a good thing” because as Pierre said this is
eventually necessary to get things done.

>> The simple solution to prevent this is to get into the habit of
>> linearizing history, meaning always rebasing and clean history before
>> merging into trunk.
>
> I guess the GH merge button option "Rebase and merge" is what we are
> looking to enforce with the request to Infra, right?

I personnally think we should have *no button* because the committers
should cleanup the commits (reword, squash, ...) before merging to
trunk, but "rebase and merge" is an improvement compared to basic
"merge".

--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
Reply | Threaded
Open this post in threaded view
|

Re: Adopting Github Workflow

Michael Brohl-3
In reply to this post by Mathieu Lirzin
Hi Mathieu,

inline...

Am 11.03.20 um 16:29 schrieb Mathieu Lirzin:
> You are right. I should be more constructive than just acknowledging
> that the requirements I expressed were not properly considered.
>
> Let me try joining Pierre's effort by providing a simple but radical
> proposal for our contribution procedure :
>
> - Adopt Github Pull Request (PR) as the unique channel for code contribution

-1

I don't see a reason why we should not allow patches also. It will make
it easier for people to contribute who are not able (or willing) to run
their own GitHub repository.

We should encourage people to use PR's but not force it (at least, not
immediately...).


> - Require tickets only for bug reports

-1

Jira tickets for improvements/new features are extremely helpful to have
everything in one place (with the addition to a link to the mailing list
discussion), track the efforts, watch issues etc.

How would you manage the work then?


> - Replace JIRA with Github issues

-1

Why should we have two different issue management systems when we can
have everything in one place? What advantages do you see for doing so?

I also would not rely too heavily on GitHub because it is not an
official ASF resource and IMO Jira is a huge knowledge base of the project.


> - Use Github API to get the stats for OFBiz monthly reports

Can you elaborate what you mean/ how you would do it?


Thanks,

Michael Brohl

ecomify GmbH - www.ecomify.de




smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Git history problem

Gil Portenseigne
In reply to this post by Mathieu Lirzin
+1

IMO i prefer to rebase and check the commit i push in my local repo.

Thanks


Le 11 mars 2020 16:52:36 GMT+01:00, Mathieu Lirzin <[hidden email]> a écrit :

>>> The simple solution to prevent this is to get into the habit of
>>> linearizing history, meaning always rebasing and clean history
>before
>>> merging into trunk.
>>
>> I guess the GH merge button option "Rebase and merge" is what we are
>> looking to enforce with the request to Infra, right?
>
>I personnally think we should have *no button* because the committers
>should cleanup the commits (reword, squash, ...) before merging to
>trunk, but "rebase and merge" is an improvement compared to basic
>"merge".

--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
Reply | Threaded
Open this post in threaded view
|

Re: Adopting Github Workflow

Jacques Le Roux
Administrator
In reply to this post by Michael Brohl-3
Le 11/03/2020 à 17:08, Michael Brohl a écrit :
> Hi Mathieu,
>
> inline...

Inline too...


>
> Am 11.03.20 um 16:29 schrieb Mathieu Lirzin:
>> - Adopt Github Pull Request (PR) as the unique channel for code contribution
>
> -1
>
> I don't see a reason why we should not allow patches also. It will make it easier for people to contribute who are not able (or willing) to run
> their own GitHub repository.
>
> We should encourage people to use PR's but not force it (at least, not immediately...).

I agree with Michael, using only GitHub (GH) is too radical,  IMO even in the future.

Also the Jacopo's remark about using (only?) a 3rd party tool should be checked if ever we get this way. Jira is also a 3rd party tool but it's
donated by Atlassian to the ASF and handled/customised/maintained by the Infra team. Also it uses a customised version of the OFBiz Entity Engine, own
dog food? :)


>
>> - Require tickets only for bug reports
>
> -1
>
> Jira tickets for improvements/new features are extremely helpful to have everything in one place (with the addition to a link to the mailing list
> discussion), track the efforts, watch issues etc.
>
> How would you manage the work then?

+1 with Michael's comment, Jira is very handy when it comes to details like uploading info, etc. Not sure GH provides the same


>
>> - Replace JIRA with Github issues
>
> -1
>
> Why should we have two different issue management systems when we can have everything in one place? What advantages do you see for doing so?
>
> I also would not rely too heavily on GitHub because it is not an official ASF resource and IMO Jira is a huge knowledge base of the project.

I agree with Michael, I believe GH is there to stay (as a Microsoft product now), but you never know with 3rd party tool. Sometimes they don't even
provide way to migrate (yes, you Google!)

Jacques

1234