Skip to content

Commit

Permalink
finish filling out the missing remoteName combos for cloneOrUpdatePro…
Browse files Browse the repository at this point in the history
…jectSet variants
  • Loading branch information
dalehenrich committed Sep 29, 2023
1 parent d941efb commit 072c3a6
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/cloneProjectsFromProjectSet.solo
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ doit
projectDir asFileReference ensureCreateDirectory.
Rowan projectTools trace startTracing.
self positionalArgs size = 0
ifTrue: [ projectSet cloneOrUpdateProjectSet: projectDir pull: self update]
ifTrue: [ projectSet cloneOrUpdateProjectSet: projectDir remoteName: self remote pull: self update]
ifFalse: [
self positionalArgs do: [:projectName |
projectSet cloneOrUpdateProject: projectName remoteName: self remote in: projectDir pull: self update] ].
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
installation
cloneOrUpdateProject: projectName remoteName: remoteName in: gitRootPath
"Clone the named project into the gitRootPath directory using the information in the load spec for project. If the project
has already been cloned, then checkout the revision specified in the load spec"

self cloneOrUpdateProject: projectName remoteName: remoteName in: gitRootPath pull: false
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
installation
cloneOrUpdateProjectSet: gitRootPath pull: pull
self loadSpecs
keysDo: [ :projectName | self cloneOrUpdateProject: projectName in: gitRootPath pull: pull ]

self cloneOrUpdateProjectSet: gitRootPath remoteName: 'origin' pull: pull

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
installation
cloneOrUpdateProjectSet: gitRootPath remoteName: remoteName
self cloneOrUpdateProjectSet: gitRootPath remoteName: remoteName pull: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
installation
cloneOrUpdateProjectSet: gitRootPath remoteName: remoteName pull: pull
self loadSpecs
keysDo: [ :projectName | self cloneOrUpdateProject: projectName remoteName: remoteName in: gitRootPath pull: pull ]

0 comments on commit 072c3a6

Please sign in to comment.