Skip to Content

Contributors

Re: Reviews

Such fw-port tool exists somehow, but in local, thanks to Sébastien Alix:


But theory is one thing, and the other is the reality: most of the fw-ports will fail due to pre-commit and black, different code due to version changes, refactorings... Automating the creation of the PR simply won't work, as if it's not satisfactory, or requires extra work, you won't be able to push to the fw-port created branch.

Instead of having a lot of tools, which is not bad, IMO you should instead involve more and more of your people in PSCs and as maintainers inside your organization, or spread the adopt a module campaign for more casual contributors, trying to involve them in this.

Regards.

by Pedro M. Baeza - 12:16 - 17 Sep 2021

Reference

  • Reviews
    Hi all,
    
    For years, OCA has a big problem with unmerged PR's.
    
    Also, even if there are 2 reviews then PSC's generally don't respond to 
    merge requests.
    
    The answer has always been "let's review more" or "Let's use 
    gitaggregator and so we can use unmerged PR's".
    
    But why don't we try something more radical:
    
    - Let's write a script to assign "maintainer" role for all modules to 
    the person who committed the oldest/original version of it
    
    - If maintainer does not respond to a ping longer than 1 month he loses 
    the maintainer role, which then changes to the default maintainer that 
    is set for the full repo.
    
    - Let's require only 1 positive review from now on. After that the 
    maintainer can merge.
    
    --> I don't think that having 2 reviewers is always necessary and it 
    also does not prevent bugs from being merged - this happens anyway. I 
    used to have high trust of merged OCA modules but after seeing some 
    quite ugly bugs and incomplete work being merged I am starting to think 
    that maybe the quality of the unmerged stuff is not that bad as compared 
    to what is actually merged. The maintainer can prevent really bad 
    changes from entering, by just closing the PR.
    
    Tom
    
    
    

    by Tom Blauwendraat - 01:51 - 16 Sep 2021