-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Using Gickup as an all-org downloader and updater? #52
Comments
I just tested your case. |
Yeah, I think a fetch would be appropriate, with a pull if the working copy is clean. |
just pushed a new branch fetch_working_dir. You can test if that suits your needs. |
Will do, I'll probably check this out at work this week. |
does it work for you? I would push the changes into |
Sorry, I ended up taking off this week and am trying not to touch my work laptop. I'll try next week. |
No worries. |
A tool I've written and rewritten at seemingly every company I've been at is a tool that checks out all of the repos for a project. Oftentimes, this means "checkout all of the repos in an org".
I think Gickup could be the replacement for this, which I've usually written as a Ruby script but one time published this bash+jq script that handled the one-time clone operation.
It's pretty clear that a properly-configured Gickup could download all repos in a single org: I've not tested it, but simply set the
username
option to the org!Could Gickup also run in the background, on its cron schedule, and fetch updates so that a dev's copy of all of the org's source has the latest commits in the index so they always have the most up to date changes, even if their working directory is dirty? Put more simply, when Gickup updates, does it expect a clean working directory?
This could be a really cool use case for Gickup: keep your local copies up to date and you need only merge or rebase, e.g.
git merge origin/master
and you've already got the latest commits as of the last time Gickup ran.The text was updated successfully, but these errors were encountered: