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

Do a shallow clone of everypolitician-data repo #71

Merged
merged 1 commit into from
Feb 10, 2017
Merged

Conversation

chrismytton
Copy link
Contributor

@chrismytton chrismytton commented Feb 10, 2017

A large proportion of the build time is currently spent cloning the
everypolitician-data repo, which is now at least 1GB in size on the
wire. To reduce the amount of unnecessary data that is being moved
around this change switches to a shallow clone of the repo.

Because we're using a shallow clone I've also had to disable the
countries.json build step, because that relies on git history to work
currently. We'll need to either remove the dependency on git history, or
have it happen at a different stage.

Fixes #69

Notes to merger

Don't merge this pull request until the following have been completed:

A large proportion of the build time is currently spent cloning the
everypolitician-data repo, which is now at least 1GB in size on the
wire. To reduce the amount of unnecessary data that is being moved
around this change switches to a shallow clone of the repo.

Because we're using a shallow clone I've also had to disable the
countries.json build step, because that relies on git history to work
currently. We'll need to either remove the dependency on git history, or
have it happen at a different stage.
@chrismytton chrismytton mentioned this pull request Feb 10, 2017
1 task
@chrismytton chrismytton requested a review from tmtmtmtm February 10, 2017 13:52
@tmtmtmtm tmtmtmtm changed the base branch from 67-move-build-to-shell-script to master February 10, 2017 14:21
Copy link
Contributor

@tmtmtmtm tmtmtmtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keen to see how this goes!

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.

2 participants