How to use git with gitfiletree

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

How to use git with gitfiletree

Stephane Ducasse-3
Hi

I would like to use git without iceberg.
It is possible to use gitfiletree with tonel?

I want to commit in tonel format
from Pharo 6.1 and not using Iceberg because it does not work
on my code.

I'm looking for a small tutorial.

Stef

Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

abergel
That would be fantastic to have!

Alexandre

> On Mar 1, 2018, at 2:23 PM, Stephane Ducasse <[hidden email]> wrote:
>
> Hi
>
> I would like to use git without iceberg.
> It is possible to use gitfiletree with tonel?
>
> I want to commit in tonel format
> from Pharo 6.1 and not using Iceberg because it does not work
> on my code.
>
> I'm looking for a small tutorial.
>
> Stef
>


Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

Stephane Ducasse-3
I read
https://www.peteruhnak.com/blog/2016/07/25/how-to-use-git-and-github-with-pharo/
and I have the impression that I cannot use tonel and gitfiletree.

So I will wait for the next version of iceberg and focus on my
vacation during that period.

Stef

On Thu, Mar 1, 2018 at 9:46 PM, Alexandre Bergel
<[hidden email]> wrote:

> That would be fantastic to have!
>
> Alexandre
>
>> On Mar 1, 2018, at 2:23 PM, Stephane Ducasse <[hidden email]> wrote:
>>
>> Hi
>>
>> I would like to use git without iceberg.
>> It is possible to use gitfiletree with tonel?
>>
>> I want to commit in tonel format
>> from Pharo 6.1 and not using Iceberg because it does not work
>> on my code.
>>
>> I'm looking for a small tutorial.
>>
>> Stef
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

Stephane Ducasse-3
Alex

Now I was thinking that it should be easy to introduce a tonel fileout
menu on a package. We should pay attention to extensions differently.
Then for loading I would just support load and no merge since the
merge will be done by git on the command-line.
If you give a try, I would like to try because right now I'm stuck
with my book code.
I do not have the time to try to hack this now. But may be saturday on
the highway if I do not drive.

Stef

On Thu, Mar 1, 2018 at 10:04 PM, Stephane Ducasse
<[hidden email]> wrote:

> I read
> https://www.peteruhnak.com/blog/2016/07/25/how-to-use-git-and-github-with-pharo/
> and I have the impression that I cannot use tonel and gitfiletree.
>
> So I will wait for the next version of iceberg and focus on my
> vacation during that period.
>
> Stef
>
> On Thu, Mar 1, 2018 at 9:46 PM, Alexandre Bergel
> <[hidden email]> wrote:
>> That would be fantastic to have!
>>
>> Alexandre
>>
>>> On Mar 1, 2018, at 2:23 PM, Stephane Ducasse <[hidden email]> wrote:
>>>
>>> Hi
>>>
>>> I would like to use git without iceberg.
>>> It is possible to use gitfiletree with tonel?
>>>
>>> I want to commit in tonel format
>>> from Pharo 6.1 and not using Iceberg because it does not work
>>> on my code.
>>>
>>> I'm looking for a small tutorial.
>>>
>>> Stef
>>>
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

abergel
I will not be able to try soon. Semester is starting here, with its load of things…

Alexandre


> On Mar 1, 2018, at 4:36 PM, Stephane Ducasse <[hidden email]> wrote:
>
> Alex
>
> Now I was thinking that it should be easy to introduce a tonel fileout
> menu on a package. We should pay attention to extensions differently.
> Then for loading I would just support load and no merge since the
> merge will be done by git on the command-line.
> If you give a try, I would like to try because right now I'm stuck
> with my book code.
> I do not have the time to try to hack this now. But may be saturday on
> the highway if I do not drive.
>
> Stef
>
> On Thu, Mar 1, 2018 at 10:04 PM, Stephane Ducasse
> <[hidden email]> wrote:
>> I read
>> https://www.peteruhnak.com/blog/2016/07/25/how-to-use-git-and-github-with-pharo/
>> and I have the impression that I cannot use tonel and gitfiletree.
>>
>> So I will wait for the next version of iceberg and focus on my
>> vacation during that period.
>>
>> Stef
>>
>> On Thu, Mar 1, 2018 at 9:46 PM, Alexandre Bergel
>> <[hidden email]> wrote:
>>> That would be fantastic to have!
>>>
>>> Alexandre
>>>
>>>> On Mar 1, 2018, at 2:23 PM, Stephane Ducasse <[hidden email]> wrote:
>>>>
>>>> Hi
>>>>
>>>> I would like to use git without iceberg.
>>>> It is possible to use gitfiletree with tonel?
>>>>
>>>> I want to commit in tonel format
>>>> from Pharo 6.1 and not using Iceberg because it does not work
>>>> on my code.
>>>>
>>>> I'm looking for a small tutorial.
>>>>
>>>> Stef
>>>>
>>>
>>>
>


Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

Peter Uhnak
you would need something like gittonel://, which doesn't exist

but you could still use tonel://, commit in pharo using metacello, and then in command line using git... annoying but if you want to use tonel+git without iceberg, then you have no other choice (unless you actually create gittonel://)

On Thu, Mar 1, 2018 at 10:48 PM, Alexandre Bergel <[hidden email]> wrote:
I will not be able to try soon. Semester is starting here, with its load of things…

Alexandre


> On Mar 1, 2018, at 4:36 PM, Stephane Ducasse <[hidden email]> wrote:
>
> Alex
>
> Now I was thinking that it should be easy to introduce a tonel fileout
> menu on a package. We should pay attention to extensions differently.
> Then for loading I would just support load and no merge since the
> merge will be done by git on the command-line.
> If you give a try, I would like to try because right now I'm stuck
> with my book code.
> I do not have the time to try to hack this now. But may be saturday on
> the highway if I do not drive.
>
> Stef
>
> On Thu, Mar 1, 2018 at 10:04 PM, Stephane Ducasse
> <[hidden email]> wrote:
>> I read
>> https://www.peteruhnak.com/blog/2016/07/25/how-to-use-git-and-github-with-pharo/
>> and I have the impression that I cannot use tonel and gitfiletree.
>>
>> So I will wait for the next version of iceberg and focus on my
>> vacation during that period.
>>
>> Stef
>>
>> On Thu, Mar 1, 2018 at 9:46 PM, Alexandre Bergel
>> <[hidden email]> wrote:
>>> That would be fantastic to have!
>>>
>>> Alexandre
>>>
>>>> On Mar 1, 2018, at 2:23 PM, Stephane Ducasse <[hidden email]> wrote:
>>>>
>>>> Hi
>>>>
>>>> I would like to use git without iceberg.
>>>> It is possible to use gitfiletree with tonel?
>>>>
>>>> I want to commit in tonel format
>>>> from Pharo 6.1 and not using Iceberg because it does not work
>>>> on my code.
>>>>
>>>> I'm looking for a small tutorial.
>>>>
>>>> Stef
>>>>
>>>
>>>
>



Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

Stephane Ducasse-3
So I found my problem

- old version in my way
- src missing and adding it did not change

So after trying retrying and retrying and the help of esteban showing
me that it works on his machine
I got it debugged. Now I can work.

Stef

On Thu, Mar 1, 2018 at 11:34 PM, Peter Uhnák <[hidden email]> wrote:

> you would need something like gittonel://, which doesn't exist
>
> but you could still use tonel://, commit in pharo using metacello, and then
> in command line using git... annoying but if you want to use tonel+git
> without iceberg, then you have no other choice (unless you actually create
> gittonel://)
>
> On Thu, Mar 1, 2018 at 10:48 PM, Alexandre Bergel <[hidden email]>
> wrote:
>>
>> I will not be able to try soon. Semester is starting here, with its load
>> of things…
>>
>> Alexandre
>>
>>
>> > On Mar 1, 2018, at 4:36 PM, Stephane Ducasse <[hidden email]>
>> > wrote:
>> >
>> > Alex
>> >
>> > Now I was thinking that it should be easy to introduce a tonel fileout
>> > menu on a package. We should pay attention to extensions differently.
>> > Then for loading I would just support load and no merge since the
>> > merge will be done by git on the command-line.
>> > If you give a try, I would like to try because right now I'm stuck
>> > with my book code.
>> > I do not have the time to try to hack this now. But may be saturday on
>> > the highway if I do not drive.
>> >
>> > Stef
>> >
>> > On Thu, Mar 1, 2018 at 10:04 PM, Stephane Ducasse
>> > <[hidden email]> wrote:
>> >> I read
>> >>
>> >> https://www.peteruhnak.com/blog/2016/07/25/how-to-use-git-and-github-with-pharo/
>> >> and I have the impression that I cannot use tonel and gitfiletree.
>> >>
>> >> So I will wait for the next version of iceberg and focus on my
>> >> vacation during that period.
>> >>
>> >> Stef
>> >>
>> >> On Thu, Mar 1, 2018 at 9:46 PM, Alexandre Bergel
>> >> <[hidden email]> wrote:
>> >>> That would be fantastic to have!
>> >>>
>> >>> Alexandre
>> >>>
>> >>>> On Mar 1, 2018, at 2:23 PM, Stephane Ducasse
>> >>>> <[hidden email]> wrote:
>> >>>>
>> >>>> Hi
>> >>>>
>> >>>> I would like to use git without iceberg.
>> >>>> It is possible to use gitfiletree with tonel?
>> >>>>
>> >>>> I want to commit in tonel format
>> >>>> from Pharo 6.1 and not using Iceberg because it does not work
>> >>>> on my code.
>> >>>>
>> >>>> I'm looking for a small tutorial.
>> >>>>
>> >>>> Stef
>> >>>>
>> >>>
>> >>>
>> >
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

Sean P. DeNigris
Administrator
In reply to this post by Peter Uhnak
Peter Uhnák wrote
> you would need something like gittonel://, which doesn't exist

Shouldn't this be done via configuration (e.g. .filetree) to cover cases
like `github://` where tonel/FT cannot be embedded in the URL?



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

Peter Uhnak
you mean that gitFILETREE:// would somehow use TONEL? That hardly seems like a good idea.

However there's gitlocal:// ... (which iirc handles both) but I think that's iceberg specific.


Peter

On Fri, Mar 2, 2018 at 3:08 PM, Sean P. DeNigris <[hidden email]> wrote:
Peter Uhnák wrote
> you would need something like gittonel://, which doesn't exist

Shouldn't this be done via configuration (e.g. .filetree) to cover cases
like `github://` where tonel/FT cannot be embedded in the URL?



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html


Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

Esteban A. Maringolo
2018-03-02 11:12 GMT-03:00 Peter Uhnák <[hidden email]>:
> you mean that gitFILETREE:// would somehow use TONEL? That hardly seems like
> a good idea.
>
> However there's gitlocal:// ... (which iirc handles both) but I think that's
> iceberg specific.

Sometimes I feel I need something like "The ultimate guide to SCM with
Pharo" to cover all options in between of the good'ol Monticello to
the automagical Iceberg with Github (and maybe others like Gitlab,
etc.).

Regards,

Esteban A. Maringolo

Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

Dale Henrichs-3
In reply to this post by Peter Uhnak

Esteban and I have agreed on some new url patterns (and changes to Tonel)  that should make things easier, however, neither of us has had the time to implement the features ... so I guess I can only say that you need to be patient (and use whatever workarounds that apply) until these new features make it into production

Dale


On 03/02/2018 06:12 AM, Peter Uhnák wrote:
you mean that gitFILETREE:// would somehow use TONEL? That hardly seems like a good idea.

However there's gitlocal:// ... (which iirc handles both) but I think that's iceberg specific.


Peter

On Fri, Mar 2, 2018 at 3:08 PM, Sean P. DeNigris <[hidden email]> wrote:
Peter Uhnák wrote
> you would need something like gittonel://, which doesn't exist

Shouldn't this be done via configuration (e.g. .filetree) to cover cases
like `github://` where tonel/FT cannot be embedded in the URL?



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html



Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

Sean P. DeNigris
Administrator
In reply to this post by Peter Uhnak
Peter Uhnák wrote
> you mean that gitFILETREE:// would somehow use TONEL?

No, I mean a configuration file specifying tonel, like we currently have
.filetree files in every directory with filetree things in it. Embedding the
serialization format in a domain spec seems like a really bad idea.



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: How to use git with gitfiletree

Dale Henrichs-3


On 03/02/2018 10:14 AM, Sean P. DeNigris wrote:
> Peter Uhnák wrote
>> you mean that gitFILETREE:// would somehow use TONEL?
> No, I mean a configuration file specifying tonel, like we currently have
> .filetree files in every directory with filetree things in it. Embedding the
> serialization format in a domain spec seems like a really bad idea.
>
Sean,

You are right ... the plan is to have a file in the root of the tonel
repository that specifies (at a minimum) the format of the repository
... similar to the .filetree file in FileTree repositories ... then we
will have a format neutral url that can be used for tonel or filetree
format repositories on disk and we will have an url inspired by
gitfiletree:// that will be used to replace github:// in Metacello specs
(github:// will continue to be supported) bu can be used with github,
bitbucket, etc.

So this is the plan, and now Esteban and I have to find the time to
execute the plan:)

Dale