Loading of Baselines from GitHub in Metacello using pattern matching not working on Windows
When trying to load a baseline using the Metacello API and version pattern matching, using the gituhb:// scheme produces an error because it's trying to create a directory with a question mark (?). To reproduce try in a Pharo4/5 image: Metacello new baseline: 'RenoirSt'; repository: 'github://gcotelli/RenoirSt:v1.?/source'; load. Dale, Is this supposed to work? Tomorrow I will give it a try on Linux. Thanks, Gabriel
Gabriel, Are you using the latest version of Metacello from github (these instructions work for versions 3.0 and newer[1])? The pattern matching feature is relatively new so unless you've loaded from github, you are likely not getting the needed support ... I think that Pharo5.0 should be built with the latest Metacello drop from github ... but it must not be happening yet .... Dale [1] https://github.com/dalehenrich/metacello-work#pharo30 On 10/26/2015 04:37 PM, Gabriel Cotelli wrote:
When trying to load a baseline using the Metacello API and version pattern matching, using the gituhb:// scheme produces an error because it's trying to create a directory with a question mark (?).
To reproduce try in a Pharo4/5 image:
Metacello new baseline: 'RenoirSt'; repository: 'github://gcotelli/RenoirSt:v1.?/source'; load.
Dale, Is this supposed to work? Tomorrow I will give it a try on Linux.
Thanks, Gabriel
I'm using the version that comes preloaded with Pharo. This also fails in Pharo 5. I will give it a try with the github version and if it works I can prepare a slice to merge this version in Pharo. Thanks On Oct 26, 2015 9:11 PM, "Dale Henrichs" <dale.henrichs@gemtalksystems.com> wrote:
Gabriel,
Are you using the latest version of Metacello from github (these instructions work for versions 3.0 and newer[1])?
The pattern matching feature is relatively new so unless you've loaded from github, you are likely not getting the needed support ...
I think that Pharo5.0 should be built with the latest Metacello drop from github ... but it must not be happening yet ....
Dale
[1] https://github.com/dalehenrich/metacello-work#pharo30
On 10/26/2015 04:37 PM, Gabriel Cotelli wrote:
When trying to load a baseline using the Metacello API and version pattern matching, using the gituhb:// scheme produces an error because it's trying to create a directory with a question mark (?).
To reproduce try in a Pharo4/5 image:
Metacello new baseline: 'RenoirSt'; repository: 'github://gcotelli/RenoirSt:v1.?/source'; load.
Dale, Is this supposed to work? Tomorrow I will give it a try on Linux.
Thanks, Gabriel
Thanks Dale, I can confirm that with the latest version in master this works in Pharo 5. On Mon, Oct 26, 2015 at 9:10 PM, Dale Henrichs < dale.henrichs@gemtalksystems.com> wrote:
Gabriel,
Are you using the latest version of Metacello from github (these instructions work for versions 3.0 and newer[1])?
The pattern matching feature is relatively new so unless you've loaded from github, you are likely not getting the needed support ...
I think that Pharo5.0 should be built with the latest Metacello drop from github ... but it must not be happening yet ....
Dale
[1] https://github.com/dalehenrich/metacello-work#pharo30
On 10/26/2015 04:37 PM, Gabriel Cotelli wrote:
When trying to load a baseline using the Metacello API and version pattern matching, using the gituhb:// scheme produces an error because it's trying to create a directory with a question mark (?).
To reproduce try in a Pharo4/5 image:
Metacello new baseline: 'RenoirSt'; repository: 'github://gcotelli/RenoirSt:v1.?/source'; load.
Dale, Is this supposed to work? Tomorrow I will give it a try on Linux.
Thanks, Gabriel
participants (2)
-
Dale Henrichs -
Gabriel Cotelli