Shortcut for installing suggested repositories.
This commit is contained in:
parent
e75f3f66e8
commit
49e98461a3
@ -22,6 +22,29 @@ ExoRepo class >> index [
|
|||||||
^ reposIndex
|
^ reposIndex
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
ExoRepo class >> install: shortNameString [
|
||||||
|
| repo |
|
||||||
|
repo := self index
|
||||||
|
detect: [:current | current repositoryName = shortNameString ]
|
||||||
|
ifNone: [
|
||||||
|
^ 'ERROR!:
|
||||||
|
|
||||||
|
No repository named "', shortNameString, '".
|
||||||
|
Please run
|
||||||
|
|
||||||
|
ExoRepo index
|
||||||
|
|
||||||
|
to list know repositories or load your own repository with:
|
||||||
|
|
||||||
|
ExoRepo new
|
||||||
|
repository: {repositoryAddres};
|
||||||
|
load.
|
||||||
|
|
||||||
|
replacing "{repositoryAddres}" with a Git public repository' ].
|
||||||
|
^ repo load
|
||||||
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
ExoRepo >> load [
|
ExoRepo >> load [
|
||||||
"I load the configuration of this package using a external Gitea repository."
|
"I load the configuration of this package using a external Gitea repository."
|
||||||
|
Loading…
Reference in New Issue
Block a user