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

22: Put all repos in folder named after username (Ruby) #31

Closed
wants to merge 1 commit into from

Conversation

murjax
Copy link
Owner

@murjax murjax commented Sep 17, 2023

Issue #22 for Ruby.

@@ -33,7 +33,9 @@ def response_body
end

def clone_command
@clone_command ||= response_body&.map { |info| "git clone #{info['clone_url']}" }&.join(' & ')
@clone_command ||= response_body&.map do |info|
"git clone #{info['clone_url']} #{username}/#{info['name']}"
Copy link
Collaborator

@MichaelDimmitt MichaelDimmitt Sep 19, 2023

Choose a reason for hiding this comment

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

what I am understanding is that this

  1. creates containing the folder if it does not exist
  2. Is able to clone other repos to the same containing folder at the same time?

Maybe we need to confirm that these requests are happening in parallel.

Recently in the bash solution I switched the git clone from

git clone repo1.git repo2.git repo3.git repo4.git .. etc
^ I am pretty sure this is just shorthand for
git clone repo1.git; git clone repo2.git; git clone repo3.git; ... etc.
to

a bunch of jobs that run git clone independantly

@murjax
Copy link
Owner Author

murjax commented Sep 21, 2023

Consolidating into rewrite in #18.

@murjax murjax closed this Sep 21, 2023
@murjax murjax deleted the ruby-repos-in-folder-22 branch September 21, 2023 02:12
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