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

Add basepath option #9

Merged
merged 3 commits into from
Oct 23, 2015
Merged

Add basepath option #9

merged 3 commits into from
Oct 23, 2015

Conversation

christiangriset
Copy link

In v1.0.0, when generating a temp file the prefix is simply /. Here we add flexibility to prepend with a provided base_path. This is crucial for certain types of repo changes. For example, if your changes involve a go get, you'll get an error if you're not operating within your gopath. With this new option you can add something like the following to your gitbot.yml

base_path: "/home/vagrant/go/src"

This was motivated by work porting repos to go1.5 vendoring.

Tested changes by running with local builds.

@rgarcia

@dfuentes
Copy link
Contributor

👍

@dfuentes dfuentes assigned christiangriset and unassigned dfuentes Oct 23, 2015
christiangriset pushed a commit that referenced this pull request Oct 23, 2015
@christiangriset christiangriset merged commit 1085b15 into master Oct 23, 2015
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