Ciao,
in the next days i work to organize my package with Metacello support, to streamline the process of development and porting form Pharo to Gemstone. I read the http://www.pharobyexample.org/drafts/Metacello.pdf Now i have doubt about use the Metacello with standard http repository, or integrate the git repository. Some advice and referrals about it ? Thanks, Dario _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Dario, If you are using http repositories you will need to use a ConfigurationOf for your project. For github repositories you will want to create a BaselineOf for your project.Metacello works fine with http, bitbucket and github repositories... do you have a more specific question? Dale On Thu, Oct 23, 2014 at 12:57 PM, Dario Trussardi via Glass <[hidden email]> wrote: Ciao, _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ciao, I'm trying to configure Monticello FileTree-based repository for share package into : Pharo 1 4 and GemTools Launcher - >=1.0-beta.8.7 [ConfigurationOfGemTools] A) In Pharo ( run on macbook ) i create monticello filetree repository on specific local directory and all work fine. ( A this point i can not configured a directory on another system into local network ). B) In GemTools ( run on mac but, with a glass session open on a gemstone run on another pc ) when with Monticello add a new filetree repository the system prompt a dialog with; " Enter full path to directory on server " Questions: How i can configured and share the directory on the Mac or in another system in a local network? Or i need to define a specific directory on the gemstone server, and update it with ftp transfer data from the mac filetree repository? ( but this required a ftp update at any change ) Thanks for any consideration, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ciao
The directory on the server is now configurable on Pharo filetree repository.
I need do to it with some specific command? Or i need to update GemTools client ? Thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ciao,
If in the relative server, where gemstone instance run, the system found the directory defined in the " Enter full path to directory on server " all work fine ( the system create the the specific filetree repository entry ) and i can see the package item on it. When i work on package istance from Gemtools Monticello ( browse or load command ) the system erase the error: a ArgumentError occurred (error 2718), string contents are ill-formed Utf8 at byte offset 38, - G/S[MonvisoGruppi3104 IP100 *******:3] The relative stack is: AbstractException >> _signalFromPrimitive: (envId 0)
String >> decodeFromUTF8 (envId 0) [] in MCFileTreeStCypressReader >> addMethodDefinitionsForClass:methodProperties:in: (envId 0) [] in FileDirectory >> readOnlyFileNamed:do: (envId 0) ExecBlock >> ensure: (envId 0) FileDirectory >> readOnlyFileNamed:do: (envId 0) DirectoryEntry >> readStreamDo: (envId 0) [] in MCFileTreeStCypressReader >> addMethodDefinitionsForClass:methodProperties:in: (envId 0) Collection >> do: (envId 0) [] in MCFileTreeStCypressReader >> addMethodDefinitionsForClass:methodProperties:in: (envId 0) Collection >> do: (envId 0) MCFileTreeStCypressReader >> addMethodDefinitionsForClass:methodProperties:in: (envId 0) MCFileTreeStCypressReader >> addClassAndMethodDefinitionsFromEntry: (envId 0) [] in MCFileTreeStCypressReader >> addClassAndMethodDefinitionsFromDirectory: (envId 0) Collection >> do: (envId 0) MCFileTreeStCypressReader >> addClassAndMethodDefinitionsFromDirectory: (envId 0) MCFileTreeStCypressReader >> loadDefinitions (envId 0) MCVersionReader >> definitions (envId 0) MCVersionReader >> snapshot (envId 0) MCFileTreeAbstractReader >> basicVersion (envId 0) MCFileTreeStCypressReader >> basicVersion (envId 0) MCVersionReader >> version (envId 0) [] in MCFileBasedRepository >> loadVersionFromFileNamed: (envId 0) [] in MCFileTreeRepository >> versionReaderForFileNamed:do: (envId 0) MCFileTreeRepository >> readStreamForFileNamed:do: (envId 0) MCFileTreeRepository >> versionReaderForFileNamed:do: (envId 0) MCFileBasedRepository >> loadVersionFromFileNamed: (envId 0) MCFileTreeRepository >> versionFromFileNamed: (envId 0) MCFileBasedVersionNode >> version (envId 0) MCCmdLoad >> execute (envId 0) [] in OBCommand >> clientExecute (envId 0) OBUpdateConcentrator >> recordUpdatesDuring: (envId 0) OBCommand >> clientExecute (envId 0) GsNMethod class >> _gsReturnToC (envId 0) Ciao, thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Ciao, i update the Pharo 1.4 and the Glass environment ( 3.1.0.4 ) to a stable version of ConfigurationOfFileTree (ConfigurationOfFileTree project version: #stable) load. Now both environment report: ( ConfigurationOfFileTree project currentVersion ) 1.0.6.1 I don't know if these are involved in the error reported, but the error is not resolved. Thanks, Dario
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
On Sat, Oct 25, 2014 at 4:07 AM, Dario Trussardi via Glass <[hidden email]> wrote:
I'm not familiar with the sharing setup for macs ... but any convenient file sharing can be used ... I personally prefer to use git to manage the contents of my FileTree directories and it is possible to pull and push between git repositories as well. I've shared git repos on linux, but I haven't done this on mac ... I think there are open source git servers available and we use one internally, but it is also possible to set up one of the git repos itself as the master and then pull and push from the other one ... the one caveat for using git this way is that it isn't conventinet to be working on the same branch in both repos ... If you are not working on Pharo and GemStone at same time, you can simply rsynch the git directories back and forth between Pharo and GemStone Another possibility is to use bitbucket ... bitbucket provides free private repositories and then you can use bitbucket as your git repository server for your project ...
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
On Sat, Oct 25, 2014 at 8:16 AM, Dario Trussardi via Glass <[hidden email]> wrote:
Dario, Okay ... this bug rings a bell and I think it is likely to be related to the version of FileTree that is loaded (I recall there being some utf8 encoding issues in the past but I don't quite recall the details ..) and I see that you have a follow-on email with Filetree version information in it so I'll respond to that email with more information... Dale _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
Ciao Dale,
I update Pharo1.4 ( based on Seaside 3.1.0-gemstone ) with [ 1 ] The system when i load ((Smalltalk at: #ConfigurationOfMetacello) project version: #'previewBootstrap') load. returns the error : Name not found Seaside-Tools-Core The following command work well in any case "Load the Preview version of Metacello from GitHub"
(Smalltalk at: #Metacello) new
configuration: 'MetacelloPreview';
version: #stable;
repository: '<a href="github://dalehenrich/metacello-work:configuration'">github://dalehenrich/metacello-work:configuration';
load.
"Now load latest version of Metacello"
Metacello new
baseline: 'Metacello';
repository: '<a href="github://dalehenrich/metacello-work:master/repository'">github://dalehenrich/metacello-work:master/repository';
get.
Metacello new
baseline: 'Metacello';
repository: '<a href="github://dalehenrich/metacello-work:master/repository'">github://dalehenrich/metacello-work:master/repository';
onConflict: [:ex | ex allow];
load After [ 2 ] the ( ConfigurationOfFileTree project currentVersion ) answer: >=1.0.6.2 [ConfigurationOfFileTree] Gofer new
package: 'GsUpgrader-Core';
url: 'http://ss3.gemtalksystems.com/ss/gsUpgrader';
load.
(Smalltalk at: #GsUpgrader) upgradeMetacello.
(Smalltalk at: #Metacello) new
baseline: 'FileTree';
repository: '<a href="github://dalehenrich/filetree:gemstone2.4/repository'">github://dalehenrich/filetree:gemstone2.4/repository';
load. After ( ConfigurationOfFileTree project currentVersion ) answer: >=1.0.6.1 [ConfigurationOfFileTree] IT IS NOT 1.0.6.2 Now after update the system returns the same error
The string decodeFromUTF8 begin with: ' Mac OS X |