With gitfiletree, version numbers are linked with the git history (they are extracted from the git log).
So, when you ask a read-only gitfiletree remote, it will clone with a depth of 1, and so version numbers are well ... all .1 :) When you see other version numbers, then it is either a normal clone, or a mistake of mine. In the AltBrowser configuration, you'll see that the development will do a full clone, and hence give you version numbers in the 200 range. Thierry ________________________________ De : Pharo-dev [[email protected]] de la part de Sebastian Sastre [[email protected]] Envoyé : mardi 4 mars 2014 18:53 À : Pharo Development List Objet : Re: [Pharo-dev] ConfigurationOf and github fantastic Thierry. gitfiletree did it. One thing I didn’t get straight yet is version numbers. The ConfigurationOfAltBrowser seems to be able to specify the package version and I always see/get SebastianSastre.1 sounds familiar? On Mar 4, 2014, at 12:28 PM, Goubier Thierry <[email protected]<mailto:[email protected]>> wrote: Le 04/03/2014 16:14, Sebastian Sastre a écrit : gitfiletree sounds great Thanks :) Question… The filetree code /has/ to be in the repo’s root or can I specify a subdir? No, you can put it anywhere you like. That's part of my professional requirements for using Pharo and git. I ask because I use to put some other stuff beside filetree and I use to put the filetree code in a src/ subdir For example now I’m working on the new ConfigurationOfOmniBase here: https://github.com/sebastianconcept/OmniBase/tree/Pharo3.0 There is a dir parameter in the url: Try: 'gitfiletree://github.com/sebastianconcept/OmniBase.git?protocol=git&readOnly=1&branch=Pharo3.0&dir=src'<UrlBlockedError.aspx> In short, your git ssh clone url, the branch, and the directory inside. Thierry I’ve tried with this but it doesn’t go: spec blessing: #release; author: 'sebastianconcept'; repository: 'gitfiletree://github.com/sebastianconcept/OmniBase.git/tree/Pharo3.0/src?protocol=git&readOnly=1&branch=Pharo3.0'<UrlBlockedError.aspx>; also this: spec blessing: #release; author: 'sebastianconcept'; repository: 'gitfiletree://github.com/sebastianconcept/OmniBase.git/src?protocol=git&readOnly=1&branch=Pharo3.0'<UrlBlockedError.aspx>; help? :) On Mar 3, 2014, at 12:43 PM, Goubier Thierry <[email protected]<mailto:[email protected]> <mailto:[email protected]>> wrote: There are two ways: Read-only, no dependencies, no registering to github, 3.0 only: spec repository: 'github://dalehenrich/MetacelloRepository:master/monticello/repos/itory/path'<UrlBlockedError.aspx> Not in use in any configuration that I know off. I intend to use it :) Perfect for stable stuff. Read-write, requires Monticello-GitFileTree, requires git ssh access to github, works with any git remote service, suppose git installed on the target, no windows support, works on 3.0 and 2.0 : spec repository: 'gitfiletree://github.com/ThierryGoubier/AltBrowser.git?protocol=git&branch=pharo3.0'<UrlBlockedError.aspx>; Two examples: ConfigurationOfAltBrowser, ConfigurationOfSmaCC Thierry Le 03/03/2014 16:23, Sebastian Sastre a écrit : Is it possible to make a ConfigurationOfXXXX that takes code from github? If so, is it there any example so I can take a look? thanks! sebastian <https://about.me/sebastianconcept> o/ -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95 -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
