Re: 2 questions around gitlab, gitfiletree, BaselineOf
Posted by
Sabine M. on
Jul 11, 2017; 10:43am
URL: https://forum.world.st/2-questions-around-gitlab-gitfiletree-BaselineOf-tp4953877p4954305.html
After several questions and trials I ended with a script like this:
cd /Applications/Pharo5.0-7.app/Contents/Resources
rm Pharo.image
rm Pharo.changes
rm -rf spfClonedGitlabRepository
Pharo Pharo.image --no-default-preferences eval --save "(CatalogProvider projectNamed: 'GitFileTree') installVersion: #stable. Metacello new baseline: 'RKA24'; repository: 'filetree://spfClonedGitlabRepository';load."
It creates a local clone (of a certain version) of my gitlab repository (deleting old stuff before) and starts with a new image, loading the given branch.
With this, I can always start with a new image, loading exactly the version I want from gitlab.
For pushing into gitlab I use the MCFileTreeGitRepository browser and push.
Big thank you for all who helped me, here and in discord.