https://forum.world.st/2-questions-around-gitlab-gitfiletree-BaselineOf-tp4953877p4953879.html
Hi Sabine,
I have makefiles to do the sort of thing you describe automatically (build an image from local, git managed repositories) and a baseline: I write stuff like
./pharo-cli pharo/Pharo.image --no-default-preferences eval --save Metacello new baseline: \'MyProject\'\; repository:\'gitfiletree://`pwd`/../src/\'\; load
(works once gitfiletree has been loaded)
notice the `pwd` embedded in there which allows you to put your local git clone anywhere you like.
One thing I can't do, however, is having a dependency in BaselineOfMyProject to a locally hosted project (say BaselineOfANiceLib stored in ~/Project2017/ClientX/) because when I write the baseline, I can't be sure where it will be on-disk.
If you're ok with gitfiletree doing the clone from gitlab on its own, one could still write a direct access to your internal gitlab server, in the baseline of MyProject, like that:
The oldest such scripts I have are for Pharo3.
Does that answer your questions ?
Thierry