Problem with FS Git

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

Problem with FS Git

simondenier
I'm playing with FS-Git, see how we can use it to browse/extract information from a Git repository. Difficult to get started without a bit of information, but after a while it's ok

I have one minor remark and a potential bug:
1) it would be cool to have the timestamp of the commit

2) when trying to recursively browse parents the commit tree, I stumble upon a DNU in GitPackedObject>>unpackRefDeltaContent

unpackRefDeltaContent
        | s delta base |
        s := (GitObjectSignature loadFrom: file) resolve. "---> (GitObjectSignature loadFrom: file) returns an Integer, which can't answer to #resolve "
        delta := self readDelta.
        base := pack packedObjectAt: s.
        self applyDelta: delta to: base.

Is this a known bug?

I just tried this morning with the latest version of Camillo as well as with the previous version.

--
Simon Denier




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem with FS Git

abergel
You should ask the pharo mailing list.
This may increase your chance to have an answer.

Alexandre


On 21 Jun 2011, at 03:22, Simon Denier wrote:

> I'm playing with FS-Git, see how we can use it to browse/extract information from a Git repository. Difficult to get started without a bit of information, but after a while it's ok
>
> I have one minor remark and a potential bug:
> 1) it would be cool to have the timestamp of the commit
>
> 2) when trying to recursively browse parents the commit tree, I stumble upon a DNU in GitPackedObject>>unpackRefDeltaContent
>
> unpackRefDeltaContent
> | s delta base |
> s := (GitObjectSignature loadFrom: file) resolve. "---> (GitObjectSignature loadFrom: file) returns an Integer, which can't answer to #resolve "
> delta := self readDelta.
> base := pack packedObjectAt: s.
> self applyDelta: delta to: base.
>
> Is this a known bug?
>
> I just tried this morning with the latest version of Camillo as well as with the previous version.
>
> --
> Simon Denier
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev