-
Notifications
You must be signed in to change notification settings - Fork 57
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
Master depth #7
Master depth #7
Conversation
@@ -20,17 +19,24 @@ def _parse_config(self, config_str): | |||
return conf.export('dict') | |||
|
|||
def test_load(self): | |||
config_yaml = """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yajo could you preserve the existing test untouched so we can have confidence the change preserves backward compatibility
Got it! WIP no more, please review 😊 |
@@ -22,6 +22,7 @@ install: | |||
|
|||
# command to run tests | |||
script: | |||
- git --version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yajo Is this line still required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, there was a problem with Travis' git version: it fails with git pull --depth 2 --no-edit remote ref
, but works with git pull --no-edit --depth 2 remote ref
. I had to add the line to see if that was the bug because local tests worked.
I guess it's good to keep that line as reference, just in case for future Travis vs localhost git version conflicts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yajo Nice advanced feature to use with caution. Thank you.
Yes, of course, you have to know what you are doing, but if you do... 🚀 |
Now acsone/git-aggregator#6 and acsone/git-aggregator#7 are merged. However, we still have to use a development version, so we hash-pin it.
This should be WIP until bots go ✔️ and you merge:
Adds support for shallow git repositories.
@Tecnativa