-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also scan MCDirectoryRepositories for local repositories
- Loading branch information
Showing
12 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/Squot.package/GitMCRepositoryAssetLoader.class/instance/directory.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
accessing | ||
directory | ||
self directory: (self repository | ||
projectDirectoryFrom: self repository projectPath | ||
version: self repository projectVersion) asFSReference. | ||
self directory: (self repository squotDirectoryForProjectNamed: self name). | ||
^ super directory |
4 changes: 2 additions & 2 deletions
4
src/Squot.package/GitMCRepositoryAssetLoader.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"class" : { | ||
"newWithName:on:" : "mad 6/12/2024 15:49", | ||
"scanFor:ifAbsent:" : "mad 6/12/2024 15:49" }, | ||
"scanFor:ifAbsent:" : "mad 6/16/2024 21:58" }, | ||
"instance" : { | ||
"directory" : "mad 6/12/2024 16:03", | ||
"directory" : "mad 6/16/2024 21:58", | ||
"repository" : "mad 6/12/2024 15:53", | ||
"repository:" : "mad 6/12/2024 15:53" } } |
8 changes: 8 additions & 0 deletions
8
src/Squot.package/MCDirectoryRepository.extension/instance/squotDirectoryForProjectNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*Squot-Mapper-Assets | ||
squotDirectoryForProjectNamed: aString | ||
| reference | | ||
reference := SquotPathUtilities ancestorOf: self directory asFSReference that: [:ancestor | | ||
(SquotPathUtilities resolve: SquotMappersMapper path withRootAt: ancestor) exists]. | ||
^ (reference ifNil: [^ nil]) basename = aString | ||
ifTrue: [reference] | ||
ifFalse: [nil] |
5 changes: 5 additions & 0 deletions
5
src/Squot.package/MCDirectoryRepository.extension/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"squotDirectoryForProjectNamed:" : "mad 6/16/2024 22:00" } } |
2 changes: 2 additions & 0 deletions
2
src/Squot.package/MCDirectoryRepository.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
"name" : "MCDirectoryRepository" } |
6 changes: 6 additions & 0 deletions
6
...kage/MCFilesystemFetchOnlyRepository.extension/instance/squotDirectoryForProjectNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*Squot-Mapper-Assets | ||
squotDirectoryForProjectNamed: aString | ||
(self projectPath endsWith: '/', aString) ifFalse: [^ nil]. | ||
^ (self | ||
projectDirectoryFrom: self projectPath | ||
version: self projectVersion) asFSReference |
5 changes: 5 additions & 0 deletions
5
src/Squot.package/MCFilesystemFetchOnlyRepository.extension/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"squotDirectoryForProjectNamed:" : "mad 6/16/2024 21:57" } } |
2 changes: 2 additions & 0 deletions
2
src/Squot.package/MCFilesystemFetchOnlyRepository.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
"name" : "MCFilesystemFetchOnlyRepository" } |
3 changes: 3 additions & 0 deletions
3
src/Squot.package/MCRepository.extension/instance/squotDirectoryForProjectNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*Squot-Mapper-Assets | ||
squotDirectoryForProjectNamed: aString | ||
^ nil |
5 changes: 5 additions & 0 deletions
5
src/Squot.package/MCRepository.extension/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"squotDirectoryForProjectNamed:" : "mad 6/16/2024 21:43" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
"name" : "MCRepository" } |