Skip to content

Master depth - #7

Merged
lmignon merged 1 commit into
acsone:masterfrom
Tecnativa:master-depth
Jan 24, 2017
Merged

Master depth#7
lmignon merged 1 commit into
acsone:masterfrom
Tecnativa:master-depth

Conversation

@yajo

@yajo yajo commented Jan 3, 2017

Copy link
Copy Markdown
Contributor

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

Adds support for shallow git repositories.

@Tecnativa

Comment thread tests/test_config.py
return conf.export('dict')

def test_load(self):
config_yaml = """

Copy link
Copy Markdown
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

coveralls commented Jan 3, 2017

Copy link
Copy Markdown

Coverage Status

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

@yajo

yajo commented Jan 3, 2017

Copy link
Copy Markdown
Contributor Author

Got it! WIP no more, please review 😊

Comment thread .travis.yml

# command to run tests
script:
- git --version

Copy link
Copy Markdown
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
Copy Markdown
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.

@lmignon lmignon left a comment

Copy link
Copy Markdown
Member

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

yajo commented Jan 4, 2017

Copy link
Copy Markdown
Contributor Author

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