that clarified all thanks Thierry! On Mar 4, 2014, at 3:54 PM, GOUBIER Thierry <thierry.goubier@cea.fr> wrote:
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 [pharo-dev-bounces@lists.pharo.org] de la part de Sebastian Sastre [sebastian@flowingconcept.com] 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 <thierry.goubier@cea.fr> 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:
There is a dir parameter in the url:
Try:
'gitfiletree://github.com/sebastianconcept/OmniBase.git?protocol=git&readOnly=1&branch=Pharo3.0&dir=src'
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';
also this:
spec blessing: #release; author: 'sebastianconcept'; repository: 'gitfiletree://github.com/sebastianconcept/OmniBase.git/src?protocol=git&readOnly=1&branch=Pharo3.0';
help? :)
On Mar 3, 2014, at 12:43 PM, Goubier Thierry <thierry.goubier@cea.fr <mailto:thierry.goubier@cea.fr>> 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'
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';
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