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?
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'
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