Monticello to Git

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Monticello to Git

Tim Felgentreff
Hi
I am very interested in gnu smalltalk, but I've done all my smalltalk  
development in squeak so far. I thought it might be interesting to  
create a project to translate from monticello packages to gst packages  
in git to help with porting or maintaining ports for both gnu  
smalltalk and squeak. The project works in one direction right now and  
lacks a few automizations I will add as soon as I have time, but right  
now it can be used to file out a squeak package, keep the monticello  
commit messages for git and end up with a folder structure that  
includes st files for the classes as well as a package.xml based on  
the monticello package.

If anybody is interested, the code is at github.com/timfel/gitocello.  
It's written in squeak and I'm using itself for keeping the git  
repoisotry up-to-date. I'm planning to work on automation of the setup  
process and on a gst syntax to squeak converter, so the project can be  
used the other way around.

--
Regards,
Tim


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Monticello to Git

Paolo Bonzini-2
On 09/10/2009 08:46 AM, Tim Felgentreff wrote:
> If anybody is interested, the code is at github.com/timfel/gitocello.
> It's written in squeak and I'm using itself for keeping the git
> repoisotry up-to-date. I'm planning to work on automation of the setup
> process and on a gst syntax to squeak converter, so the project can be
> used the other way around.

That's great.

The gst syntax to squeak converter is available in GNU Smalltalk's git
version.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Monticello to Git

Tim Felgentreff
In reply to this post by Tim Felgentreff
On Thursday 10 September 2009 09:26:20 am Paolo Bonzini wrote:

> On 09/10/2009 08:46 AM, Tim Felgentreff wrote:
> > If anybody is interested, the code is at github.com/timfel/gitocello.
> > It's written in squeak and I'm using itself for keeping the git
> > repoisotry up-to-date. I'm planning to work on automation of the setup
> > process and on a gst syntax to squeak converter, so the project can be
> > used the other way around.
>
> That's great.
>
> The gst syntax to squeak converter is available in GNU Smalltalk's git
> version.
>
> Paolo
>

Great!
I compiled the current git version just now and 'gst-convert -f gst -F
squeak'
gives me "did not understand #fileOutHeader".
Am I doing something wrong?

--
Regards,
Tim


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Monticello to Git

Paolo Bonzini-2
> I compiled the current git version just now and 'gst-convert -f gst -F
> squeak'
> gives me "did not understand #fileOutHeader".
> Am I doing something wrong?

No, I'll fix it soon.  I'm a bit busy and do not test things as much
as I should. :-)

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Monticello to Git

Paolo Bonzini-2
On 09/10/2009 05:32 PM, Paolo Bonzini wrote:
>> I compiled the current git version just now and 'gst-convert -f gst -F
>> squeak'
>> gives me "did not understand #fileOutHeader".
>> Am I doing something wrong?
>
> No, I'll fix it soon.  I'm a bit busy and do not test things as much
> as I should. :-)

Try now.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Monticello to Git

Tim Felgentreff

On 10 Sep 2009, at 22:52, Paolo Bonzini wrote:

> On 09/10/2009 05:32 PM, Paolo Bonzini wrote:
>>> I compiled the current git version just now and 'gst-convert -f  
>>> gst -F
>>> squeak'
>>> gives me "did not understand #fileOutHeader".
>>> Am I doing something wrong?
>>
>> No, I'll fix it soon.  I'm a bit busy and do not test things as much
>> as I should. :-)
>
> Try now.
>
> Paolo
>

Works pretty good on most sources, thanks!

I tested on the output of "gst-convert -f squeak" for Gitocello and
it works on all but on source file, the failing one is  
GCGitWrapper.st, and it fails because it has a "<comment: nil>" for  
the class-comment.
If I set this line to read "<comment: ''>" (the empty string) it works  
fine.

Another thing: Squeak uses carriage-return for linebreaks, the  
linefeeds used in the converted source break the formatting when  
filing into Squeak. Can this be fixed from within gst-convert?

Anyway, don't worry about it now if you don't have the time, works  
perfectly fine for my purposes right now!

--
Regards,
Tim


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Monticello to Git

Paolo Bonzini-2
On 09/11/2009 12:02 AM, Tim Felgentreff wrote:
>
> Another thing: Squeak uses carriage-return for linebreaks, the linefeeds
> used in the converted source break the formatting when filing into
> Squeak. Can this be fixed from within gst-convert?

Yes, it could.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk