Contributors mailing list archives

contributors@odoo-community.org

Re: Migration to version 9

by
dar@devco.co
- 07/09/2015 01:54:03
+1 one module = one repo.

Somewhere, there has been a suggestion to use submodules on another repository to get the actual grouping for compatibility reasons. (If need be)

like so:

El dom., 6 sept. 2015 a las 13:52, Maxime Chambreuil (<maxime.chambreuil@savoirfairelinux.com>) escribió:
@Guewen Can you update the wiki page with your git merge command ?

I thought we needed to use git filter to get the module history after the creation of the 9.0 branch.

Thanks!

--
Maxime Chambreuil
+1 (514) 276-5468 #126

----- Le 6 Sep 15, à 14:23, Guewen Baconnier <guewen.baconnier@camptocamp.com> a écrit :

On Sun, Sep 6, 2015 at 8:37 AM, Maxime Chambreuil
<maxime.chambreuil@savoirfairelinux.com> wrote:
> As far as I can understand, we have the same complexity (we have to use git
> filter) in all solutions if we want to keep the history before and after the
> creation of the new branch. This complexity can be solved by providing the
> right steps in the wiki.

Why would you need to use git-filter with option 2?
The question is in fact for Daniel who said:
> You can, using exactly the same method prescribed for option 2.
> I tested that, and found a troubling issue affecting coth option 2 and 3:
> Using `git checkout 8.0 -- module` command won't bring the change history after 9.0 was created.

Why did you need to use this git checkout instead of a git merge? I
used git merge successfully on several projects for the migration 7.0
to 8.0.

>
> Main differences are the side effects:
>
> Option 1 (empty branch)
>
> There is no outdated modules sitting there for 9.0 and later version. Every
> module you see works on version 9.0. No need to filter. No need to update
> our scripts and infrastructure. Metafiles can be easily created using the
> latest template from maintainer-quality-tools.
>
> Option 2 (installable = False)
>
> We have to check the installable flag when pushing to Transifex, when
> testing on Runbot, when packaging, etc. We basically have to filter
> everywhere (and maybe in some places where we don't have the control)

AFAIK it is already done at least on travis, and I presume on Runbot as well.

> because we can no longer assume that having a module in the 9.0 branch means
> it works on version 9.0. For 10.0 branch, we will end up with not-migrated
> modules from 8.0. Metafiles will need to be migrated manually.
>
> Option 3 (remove modules)
>
> Same as 1) but metafiles will need to be migrated manually.
>
>
> If I am missing any drawback to option 1, please let me know.
>
> https://github.com/OCA/maintainer-tools/wiki#wip
>
> Thanks.
> --
> Maxime Chambreuil
> +1 (514) 276-5468 #126
>
> ----- Le 31 Aoû 15, à 18:07, Daniel Reis <dgreis@sapo.pt> a écrit :
>
>
>
> And another one is that you cannot merge branch 8.0 against 9.0 for unported
> modules. If we solve the problem with Odoo loading some parts of uninstalled
> modules, I would prefer option 2 over 3. Option 1 is still my favourite, but
> has some drawbacks that we have solved also.
>
>
> You can, using exactly the same method prescribed for option 2.
> I tested that, and found a troubling issue affecting coth option 2 and 3:
> Using `git checkout 8.0 -- module` command won't bring the change history
> after 9.0 was created.
>
> Doing so will require some more sophisticated methods.
> Some sort of partial rebase.
> Probably that sends options 2 and 3 back to the git-filter path too.
>
> --DR
>
>
> _______________________________________________
> Mailing-List: http://odoo-community.org/groups/oca-contributors-15
> Post to: mailto:contributors@odoo-community.org
> Unsubscribe: http://odoo-community.org/groups?unsubscribe
>
>
> _______________________________________________
> Mailing-List: http://odoo-community.org/groups/oca-contributors-15
> Post to: mailto:contributors@odoo-community.org
> Unsubscribe: http://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: http://odoo-community.org/groups/oca-contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: http://odoo-community.org/groups/oca-contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe