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

Ensure installed git version is above 1.8.1 [Bug #5637] #6246

Merged
merged 1 commit into from Jun 1, 2015

Conversation

@frewsxcv
Copy link
Member

frewsxcv commented Jun 1, 2015

Versions of git before 1.8.1 do not support git submodule --recursive sync
This commit makes update_submodules() exit with an error message if the version is <1.8.1

#5637


This was originally written by @ringmaster101. The commit was cherry-picked by @frewsxcv and modified to address the comments brought up in #5648

Review on Reviewable

@hoppipolla-critic-bot
Copy link

hoppipolla-critic-bot commented Jun 1, 2015

Critic review: https://critic.hoppipolla.co.uk/r/5150

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@@ -21,7 +21,7 @@ def download(desc, src, dst):
print("Downloading %s..." % desc)
dumb = (os.environ.get("TERM") == "dumb") or (not sys.stdout.isatty())

try:
try:

This comment has been minimized.

@frewsxcv

frewsxcv Jun 1, 2015

Author Member

It wasn't my intention to include this, but whatever

@nox
Copy link
Member

nox commented Jun 1, 2015

I guess you are lucky it's not 1.8.2 and there are no 1.8.10. :)

@bors-servo: r+


Review status: :shipit: all files reviewed, all discussions resolved, all commit checks successful.
Reviewed files:

  • python/servo/bootstrap_commands.py @ r1

Comments from the review on Reviewable.io

@bors-servo
Copy link
Contributor

bors-servo commented Jun 1, 2015

📌 Commit fa6b8b9 has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented Jun 1, 2015

Testing commit fa6b8b9 with merge c6dc0bb...

bors-servo pushed a commit that referenced this pull request Jun 1, 2015
Versions of git before 1.8.1 do not support git submodule --recursive sync
This commit makes update_submodules() exit with an error message if the version is <1.8.1

#5637

--------------------

This was originally written by @ringmaster101. The commit was cherry-picked by @frewsxcv and modified to address the comments brought up in #5648

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6246)
<!-- Reviewable:end -->
@nox nox self-assigned this Jun 1, 2015
@frewsxcv
Copy link
Member Author

frewsxcv commented Jun 1, 2015

I guess you are lucky it's not 1.8.2 and there are no 1.8.10. :)

You're right, that was an oversight by me. I just learned about distutils.version so I can either change to use that now, open a new PR later, or just completely ignore it altogether

@nox
Copy link
Member

nox commented Jun 1, 2015

@frewsxcv: Go ahead, that change is so old it can still wait a bit more I guess.

@bors-servo: r-

@nox
Copy link
Member

nox commented Jun 1, 2015

@bors-servo: r- force

@bors-servo
Copy link
Contributor

bors-servo commented Jun 1, 2015

The build was interrupted to prioritize another pull request.

Versions of git before 1.8.1 do not support git submodule --recursive sync
This commit makes update_submodules() exit with an error message if the version is <1.8.1

#5637
@frewsxcv frewsxcv force-pushed the frewsxcv:git-version-check branch from fa6b8b9 to c4b73e7 Jun 1, 2015
@frewsxcv
Copy link
Member Author

frewsxcv commented Jun 1, 2015

@nox look alright?

@nox
Copy link
Member

nox commented Jun 1, 2015

Looks good. I was wary of it being an undocumented feature that might go away but it looks like Django uses it, so I guess it's safe to bet on it staying.

@bors-servo: r+


Review status: 0 of 1 files reviewed, all discussions resolved, all commit checks successful.


Comments from the review on Reviewable.io

@bors-servo
Copy link
Contributor

bors-servo commented Jun 1, 2015

📌 Commit c4b73e7 has been approved by nox

@frewsxcv
Copy link
Member Author

frewsxcv commented Jun 1, 2015

Cool, thanks @nox

@bors-servo
Copy link
Contributor

bors-servo commented Jun 1, 2015

Testing commit c4b73e7 with merge 2fb8d31...

bors-servo pushed a commit that referenced this pull request Jun 1, 2015
Versions of git before 1.8.1 do not support git submodule --recursive sync
This commit makes update_submodules() exit with an error message if the version is <1.8.1

#5637

--------------------

This was originally written by @ringmaster101. The commit was cherry-picked by @frewsxcv and modified to address the comments brought up in #5648

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6246)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jun 1, 2015

☀️ Test successful - android, gonk, linux1, linux2, mac1, mac2

@bors-servo bors-servo merged commit c4b73e7 into servo:master Jun 1, 2015
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request Jun 2, 2015
@frewsxcv frewsxcv deleted the frewsxcv:git-version-check branch Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.