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

Randomly cloning default branch instead of inherited branch from parent repo #114

Open
seb-elico opened this issue Feb 24, 2018 · 0 comments

Comments

@seb-elico
Copy link
Contributor

By default, if no branch is specified for a repo in oca_dependencies.txt, the branch of the parent repo should be used (or the default branch of the repo if there's no parent repo).

For instance, when cloning account-financial-reporting 10.0, the following repos will be cloned:

  • account-financial-reporting 10.0
  • account-financial-tools 10.0
  • connector 10.0
  • queue 10.0
  • reporting-engine 10.0
  • server-tools 10.0
  • web 10.0

However, it can happen that the default branch of a child repo would be cloned, for instance reporting-engine 11.0.

It seems like the root cause was a network issue during cloning, which has triggered a "retry" of the clone. Below is the log of when that happenned for reference:

Cloning: account-financial-reporting 10.0
Cloning into '/opt/odoo/additional_addons/account-financial-reporting'...
Cloning: account-financial-tools
Cloning into '/opt/odoo/additional_addons/account-financial-tools'...
Cloning: reporting-engine
Cloning into '/opt/odoo/additional_addons/reporting-engine'...
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Cloning: reporting-engine
Cloning into '/opt/odoo/additional_addons/reporting-engine'...
Cloning: connector
Cloning into '/opt/odoo/additional_addons/connector'...
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Cloning: connector
Cloning into '/opt/odoo/additional_addons/connector'...
Cloning: queue
Cloning into '/opt/odoo/additional_addons/queue'...
Cloning: server-tools
Cloning into '/opt/odoo/additional_addons/server-tools'...
Cloning: web
Cloning into '/opt/odoo/additional_addons/web'...
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

No branches or pull requests

1 participant