Hi Thierry, this would be nice and exactly what I was looking for.
I ask myself if iceberg would be able to solve this/will it be able to solve it in a later version. Regards Sabine 2017-07-11 23:13 GMT+02:00 Thierry Goubier [via Smalltalk] < ml+s1294792n4954413...@n4.nabble.com>: > Hi Sabine, > > I have a slightly different script, a Makefile, which uses another > trick: put everything into a pharo/ subdirectory. Like that, just rm -rf > pharo/ erases everything before rebuilding. > > I think I would implement the support you need for you to simply be able > to write: > > Metacello new baseline: \'RKA24\'\; repository: > \'gitfiletree://192.168.1.61:30000/SPF/Spesenfuchs.gitspf: > 1.0?protocol=http\ > <http://192.168.1.61:30000/SPF/Spesenfuchs.gitspf:1.0?protocol=http%5C>'\;load > > > so that the clone + Metacello over filetree isn't necessary. > > (at the moment, I'm just pretty sure GitFileTree doesn't handle http and > the port number, but that wouldn't be hard to add) > > Regards, > > Thierry > > > Le 11/07/2017 à 12:43, Sabine Manaa a écrit : > > > 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 > > curl get.pharo.org/50 <http://get.pharo.org/50> | bash > > rm -rf spfClonedGitlabRepository > > git clone http://192.168.1.61:30000/SPF/Spesenfuchs.git > > <http://192.168.1.61:30000/SPF/Spesenfuchs.git> --branch 1.0 > > 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. > > > > 2017-07-08 18:31 GMT+02:00 Pierce Ng-3 [via Smalltalk] <[hidden email] > > </user/SendEmail.jtp?type=node&node=4954305&i=0>>: > > > > On Fri, Jul 07, 2017 at 06:48:50AM -0700, Sabine Manaa wrote: > > > > > 1) For loading my own code, I currently have a bad solution > > > 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 use 'http://127.0.0.1:20080/', where the http server serves > > my filetree > > repo directory. The easiest way (for me on Linux/Mac) to get the > > http server > > running is 'python3 -m http.server 20080'. > > > > This method works for a directory full of .mcz files too. > > > > Pierce > > > > > > > > ------------------------------------------------------------------------ > > > 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-tp4953877p4954007.html > > <http://forum.world.st/2-questions-around-gitlab- > gitfiletree-BaselineOf-tp4953877p4954007.html> > > > > To start a new topic under Pharo Smalltalk Users, email [hidden > > email] </user/SendEmail.jtp?type=node&node=4954305&i=1> > > To unsubscribe from Pharo Smalltalk Users, click here. > > NAML > > <http://forum.world.st/template/NamlServlet.jtp? > macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml& > base=nabble.naml.namespaces.BasicNamespace-nabble.view. > web.template.NabbleNamespace-nabble.view.web.template. > NodeNamespace&breadcrumbs=notify_subscribers%21nabble% > 3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_ > instant_email%21nabble%3Aemail.naml> > > > > > > > > > > ------------------------------------------------------------------------ > > > View this message in context: Re: 2 questions around gitlab, > > gitfiletree, BaselineOf > > <http://forum.world.st/2-questions-around-gitlab-gitfiletree-BaselineOf- > tp4953877p4954305.html> > > Sent from the Pharo Smalltalk Users mailing list archive > > <http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html> 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- > tp4953877p4954413.html > To start a new topic under Pharo Smalltalk Users, email > ml+s1294792n1310670...@n4.nabble.com > To unsubscribe from Pharo Smalltalk Users, click here > <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1310670&code=bWFuYWEuc2FiaW5lQGdtYWlsLmNvbXwxMzEwNjcwfC0xOTE3OTcxOTg5> > . > NAML > <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://forum.world.st/2-questions-around-gitlab-gitfiletree-BaselineOf-tp4953877p4954475.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.