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

Master depth #7

Merged
merged 1 commit into from
Jan 24, 2017
Merged

Master depth #7

merged 1 commit into from
Jan 24, 2017

Conversation

yajo
Copy link
Contributor

@yajo yajo commented Jan 3, 2017

This should be WIP until bots go ✔️ and you merge:

Adds support for shallow git repositories.

@Tecnativa

@@ -20,17 +19,24 @@ def _parse_config(self, config_str):
return conf.export('dict')

def test_load(self):
config_yaml = """
Copy link
Member

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

@coveralls
Copy link

coveralls commented Jan 3, 2017

Coverage Status

Coverage increased (+0.6%) to 89.632% when pulling b371f83 on Tecnativa:master-depth into 115f7e9 on acsone:master.

@yajo
Copy link
Contributor Author

yajo commented Jan 3, 2017

Got it! WIP no more, please review 😊

@@ -22,6 +22,7 @@ install:

# command to run tests
script:
- git --version
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

@lmignon lmignon left a 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.

@yajo
Copy link
Contributor Author

yajo commented Jan 4, 2017

Yes, of course, you have to know what you are doing, but if you do... 🚀

@lmignon lmignon merged commit bdfdf05 into acsone:master Jan 24, 2017
@yajo yajo deleted the master-depth branch January 24, 2017 09:41
yajo added a commit to Tecnativa/doodba that referenced this pull request Jan 24, 2017
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.
@yajo yajo mentioned this pull request Feb 1, 2017
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.

4 participants