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 option to clone into the main project and add remotes #70

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

nkakouros
Copy link

This PR includes some additions that I needed for a project of mine. I was looking for a tool to manage dependencies. But I also needed to have some of these dependencies as git repos in order to have the ability to edit them, apply patches, etc. In these repos, I want to have the upstream project's repo as the upstream remote, my fork as origin and an internal github enterprise backup copy as the mirror remote.

I added gilt to add a devel key in gilt.yml items. If this key is present, then a repo is cloned directly into dst instead of ~/.gilt and then the remotes specified by devel are added one by one.

I thought I opened a PR in case there is some interest in this functionality. If so, I will go ahead with docs and tests. My python skills are rusty, keep that in mind.

@retr0h retr0h force-pushed the master branch 3 times, most recently from 7f69361 to 54f2a58 Compare March 14, 2020 18:49
@retr0h
Copy link
Owner

retr0h commented Mar 14, 2020

@nkakouros can you correct conflicts?

@nkakouros
Copy link
Author

Done. I am not familiar with writing test and currently lack the time to look into them.

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