Re: Not able ti push/pull



2010/3/22 Kolbjørn Stuestøl <kolbjoern stuestoel no>:
> Simos Xenitellis skreiv:
>>
>> 2010/3/22 Kolbjørn Stuestøl <kolbjoern stuestoel no>:
>>
>>>
>>> Wrong remote host?
>>>
>>> I am working on GIMP documentation as a translator and have just got my
>>> account to git.gnome.org.
>>> When I am trying to pull or push I am not getting through. Message:
>>>
>>>  $ git pull {with and without
>>>  ssh://USERNAME git gnome org/git/gimp-help-2}
>>>  The authenticity of host 'gnome.org (209.132.180.167)' can't be
>>>  established.
>>>  RSA key fingerprint is 8e:f8:80:3e:08:7e:6b:a3:5d:4e:6a:64:e2:54:0f:46.
>>>  Are you sure you want to continue connecting (yes/no)? no
>>>
>>
>> At this question you answer 'no', which means that git will terminate
>> the connection,
>> which it does. Here you need to answer 'yes'.
>>
>
> I just downloaded my n^_th_ clone to a new folder using
>
> $ git clone ssh://USERNAME git gnome org/git/gimp-help-2
>
> And mysteriously wonder, I got "Already up-to-date." when running "git
> pull".
> No I am going to change some of my po files, running some git commands on
> them and try "git pull". Hoping it works :-)

'git pull --rebase' is used to retrieve any updates that have been
added to git.gnome.org,
since you last cloned/pulled.
It is recommended to use the 'git up' alias instead of 'git pull --rebase'.
There is an issue when you just use 'git pull' instead of 'git pull
--rebase', so
we advise against using the plain 'git pull'.

With 'git commit ...' you add your changes to your local clone.
One you run 'git push', all your additional commits in your local
clone will be sent to git.gnome.org.
Until you do 'git push', you do not affect in any way git.gnome.org.

Once you 'git push', have a look at your addition at
http://git.gnome.org/browse/gimp-help-2/

A common issue when you 'git push' is that the repository at
'git.gnome.org' may have changed;
for example, another translator may have just added their translation.
You can verify at
http://git.gnome.org/  In this case, what you do is 'git up' to update
your local clone and then 'git push'.

> Perhaps the problem is solved, but I do not know what caused it and how to
> cure it manually.
>>
>> Since you can 'git clone' as it is shown below, it is a bit strange
>> that you are asked
>> to verify the host again. I believe it's a simple configuration issue
>> that you need to
>> verify both 'git.gnome.org' and 'gnome.org'. You also mention this below.
>> Once you do this once for each, it should work just fine.
>>
>>
>>>
>>>  Host key verification failed.
>>>  fatal: The remote end hung up unexpectedly
>>>
>>>
>>> My account is accepted:
>>>
>>>  $ ssh USERNAME git gnome org
>>>  PTY allocation request failed on channel 0
>>>  SSH authentication succeeded. Interactive login is not allowed.
>>>  Connection to git.gnome.org closed.
>>>
>>>
>>> and "git clone" works:
>>>
>>>  $ git clone ssh://USERNAME git gnome org/git/gimp-help-2
>>>  Initialized empty Git repository in /bin/test/gimp-help-2/.git/
>>>  remote: Counting objects: 76817, done.
>>>  remote: Compressing objects: 100% (22331/22331), done.
>>>  Receiving objects: ...
>>>
>>>
>>> I am an unskilled programmer in Linux/Unix, but to me it looks like the
>>> program has changed remote host from "git.gnome.org" to "gnome.org" when
>>> pull/push. Something to do with the fact that I had an anonymous version
>>> of
>>> gimp-help-2 on my computer in another folder?
>>>
>>
>> If you already have an anonymous clone, you can convert to a 'eponymous'
>> clone
>> with
>> http://live.gnome.org/TranslationProject/GitHowTo#Convert_an_anonymous_clone_into_an_eponymous_one
>>
>
> Yes, I did.
>>
>>
>>>
>>> Some suggestions on how to fix this?
>>> I am using Cygwin on Windows XP Home with all updates, but think this
>>> doesn't matter in this case.
>>>
>>
>> Simos
>>
>
> Thank you for helping me so rapidly.
> I have asked on other forum without any response. This was my first attempt
> in this forum. Wonderful.
>
> I'll be back if the git push do not works. I have a slow internet connection
> (via satellite), so it will take some time.

The workflow with git is that you establish your local clones of the
repositories
you are interested in, and then you 'git up' to update those you need in order
to submit translations. All of GNOME 2.30 is about 3GB, while GIMP is
about 300MB.

I am not sure what speeds you get when you 'git clone'. If you get
slow-ish speeds
compared to what you get when you download files with Firefox (HTTP protocol),
it might be easier to have the 'git clone' performed on some Internet
server and
then compress it to a ZIP file. Then, you use a download manager (or Firefox)
to download this single ZIP file and finally extract the repositories.

If cloning speed is an issue to you, ask me for more details on this.

Simos


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]