[Sugar-devel] Cannot sugar-jhbuild update

David Farning dfarning at sugarlabs.org
Sun Feb 8 07:47:43 EST 2009


Thanks for finding this.

Indeed, Gnome must have recently moved the location of jhbuild in
their git repo.  A couple of weeks ago there was a poll at Gnome about
changing their VCS to git.

The changes to the gnome git infrastructure have been fast and furious
since then.

david

On Mon, Feb 9, 2009 at 3:37 AM, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:
> On Sun, Feb 8, 2009 at 09:10, Ties Stuij <cjstuij at gmail.com> wrote:
>> On Sun, Feb 8, 2009 at 1:44 PM, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:
>>> 2009/2/8 Ties Stuij <cjstuij at gmail.com>:
>>>> On Sun, Feb 8, 2009 at 11:41 AM, Ties Stuij <cjstuij at gmail.com> wrote:
>>>>> On Fri, Feb 6, 2009 at 5:06 PM, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:
>>>>>> 2009/2/6 Alex Holkner <alex.holkner at gmail.com>:
>>>>>>>  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in <module>
>>>>>>>    import jhbuild.commands
>>>>>>> ImportError: No module named jhbuild.commands
>>>>>>
>>>>>> This happened to me some days ago, it was caused because the
>>>>>> sugar-jhbuild/jhbuild submodule was pointing to the old location.
>>>>>> Deleting that directory and updating sugar-jhbuild solved the issue.
>>>>>
>>>>> I think the problem here is that the path to the gnome git repo is
>>>>> wrong in the sugar-jhbuild script.
>>>>> It's git://git.gnome.org/preview/jhbuild, not git://git.gnome.org/jhbuild.
>>>>
>>>> s/think/know/, since I had the same problem with a clean checkout.
>>>
>>> But see
>>>
>>> http://git.sugarlabs.org/projects/sugar-jhbuild/repos/mainline/blobs/master/sugar-jhbuild#line39
>>>
>>> That code will git-pull an existing jhbuild dir or git-clone from
>>> git://git.gnome.org/jhbuild .
>>>
>>> So maybe the jhbuild dir needs to be deleted first, then git-pull in
>>> the sugar-jhbuild dir and then ./sugar-jhbuild update?
>>
>> On a clean sugar-jhbuild there isn't even a jhbuild dir. And indeed
>> then git tries to pull in jhbuild. As you can see from Alex's post,
>> git can't. Again, there is no git.gnome.org/jhbuild. The path is wrong
>> (changed perhaps recently?). See http://git.gnome.org/cgit/. The right
>> path is (now) git.gnome.org/preview/jhbuild. Worked for me in any
>> case.
>
> I see now, I understood the opposite.
>
> Will change accordingly.
>
> Thanks!
>
> Tomeu
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>


More information about the Sugar-devel mailing list