git clone git@SPF_GITLAB:SPF/Spesenfuchs.git
There is a config file which defines my host:
spec repository: 'gitfiletree://SPF_GITLAB:SPF/Spesenfuchs.git'.
GabrielRegards,Also you can have local copies of your dependencies in case you don't want to use an internet connection for dowloading, just use the lock command of Metacello to "overwrite" the repository definitions. For example take a look at:Metacello newHi Sabine,for your own baseline you don't need to specify a repository. Just load it with something like:baseline: 'RLA24';repository: 'filetree://disklocation/repository'; load: 'Group To Load'
https://gist.github.com/gcotelli/ d4521656358786ae2aca12a7047898 0f On Fri, Jul 7, 2017 at 10:48 AM, Sabine Manaa <[hidden email]> wrote:--Hi,
we have our own gitlab running now and I succeeded to move our code from
sthub to it.
I can push my new code into it from Pharo. All fine.
I also created a Baseline (based on my former configurationOf).
Loading the code from others (e.g. seaside) with this baseline is also fine.
There are 2 Points where I am sure it could be better (it is worse)
1) For loading my own code, I currently have a bad solution
It is in the postLoadBaseline and does this:
| gitRepository |
gitRepository := MCFileTreeRepository new
directory:
'/Applications/Pharo5.0-7.app/Contents/Resources/spf-gitlab/ repository'
asFileReference.
{'RKA24-Model' . 'RKA24-System' . 'RKA24-Translator' . 'RKA24-View' .
'RKA24-Test' . 'RKA24-Report' . 'RKA24-Overwrites'}
do: [ :each |
Gofer it
repository: gitRepository;
package: each;
load ].
I would like to load it within my baseline like this below but I dont know
what to write in the fileTreeRepository method...
baseline: spec
<baseline>
spec
for: #common
do: [ spec blessing: #baseline.
spec repository: ##self fileTreeRepository##.
"here I load all the the oher stuff"
spec
package: 'RKA24-Model';
package: 'RKA24-System';
package: 'RKA24-Translator';
package: 'RKA24-View';
package: 'RKA24-Test';
package: 'RKA24-Report';
package: 'RKA24-Overwrites' ]
2) Also, when I take a new Image, I have to do several steps
load gitfiletree from catalog
add/open my gitfiletree repository from Monticello
load BaselineOfRKA24 manually with
(BaselineOfRKA24 project map at: 'baseline') load
I think this is not the best way, I would like to make it right.
Can anyone give me some hints how to improve this two steps?
I use Pharo 5 and I don't want to go to Pharo 6 right now.
I develop on mac and production server is on windows.
Regards
Sabine
View this message in context: http://forum.world.st/2-questions-around-gitlab-gitfiletree- BaselineOf-tp4953877.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
If you reply to this email, your message will be added to the discussion below:http://forum.world.st/2-questions-around-gitlab- gitfiletree-BaselineOf- tp4953877p4953880.html To start a new topic under Pharo Smalltalk Users, email [hidden email]
To unsubscribe from Pharo Smalltalk Users, click here.
NAML
Free forum by Nabble | Edit this page |