Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove systematic fetch_all #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

remove systematic fetch_all #109

wants to merge 1 commit into from

Conversation

hparfr
Copy link
Member

@hparfr hparfr commented Jan 31, 2025

it was introduced in a time when we add a big depth in git clone and hope to find a common ancestor

now with recent git version and partial clones and stuff, it seems counter productive to put this fetch_all: slower, .git takes 7Gb instead of 2 and in some occasions it never finish.

If you really need it, you can put it in spec.yaml and it will continue to work. Again this commit, just stop to silently add the fetch_all in all cases.

it was introduced in a time when we add a big depth in  `git clone` and hope
to find a common ancestor

now with recent git version and partial clones and stuff, it seems counter productive
to put this fetch_all: slower, .git takes 7Gb instead of 2 and in some occasions
it never finish.

If you really need it, you can put it in spec.yaml and it will continue to work.
Again this commit, just stop to silently add the fetch_all in all cases.
@florian-dacosta
Copy link
Member

florian-dacosta commented Jan 31, 2025

Hum, but this fetch_all is necessary for this kind of stuff right ?

  remotes:                                                                                                                    
    oca: https://github.com/OCA/OCB                                                      
    ak: https://github.com/akretion/odoo                                                 
  merges:                                                                                
    - oca 83d243fd22fd8a4ccc1596ec4cb63e0926568a5f

It means that when we use a commit instead of a branch or a pull request, then we have to think about manually set this fetch_all, right ?
If so, I believe we will break some builds merging this.

Actually, isn't it necessary as soon as we use a frozen.yaml ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants