On 01/28/2010 01:07 PM, Benjamin Podszun wrote:
On Thu, Jan 28, 2010 at 5:52 AM, Abhishek Singh<[email protected]> wrote:
On 01/27/2010 02:43 PM, Marius Mårnes Mathiesen wrote:
On Wed, Jan 27, 2010 at 4:43 AM, Abhishek Singh<[email protected]>
wrote:
Thanks Christian and Maurius. Now i'm able to log in. After logging in, I
added my ssh key, create a project and a repository within the project. The
creation of repository is taking a long time and it doesn't give me a
failure or error message. Also that i tried creating a local repo, do some
commit, add the remote head, and then push, which fails as saying:
Did you start the poller script? This needs to be running for the
repositories to be created on disk.
Regards,
- Marius
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
yeah, the problem was with the poller script. When i restarted the script,
the repo was created properly in no time. But now I'm facing another
problem.
Now I'm unable to push change to a repo. Cloning the repo works well without
any problem, but has problems with push. This is what I did:
git clone git://git.local/mumbo-jumbo/mainline.git
touch test
echo hello>> test
git add test
git commit -m "Initial Commit"
Till this step there was no problem. Now I tried to push in two ways:
$ git push
fatal: protocol error: expected sha/ref, got '
----------------------------------------------
The git:// url is read-only. Please see
http://git.local/mumbo-jumbo/mainline for the push url, if you're a
committer.
----------------------------------------------'
When I tried to push by defining the full path as below, I got an error:
fatal: 'mumbo-jumbo/mainline.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
You need to use the push url to push. Not the git:// protocol, but the
ssh based one. It should start with g...@yourhost.
Btw: You can clone from the ssh url as well.
Benjamin,
In gitorious.yml, I've set repository_base_path:
"/var/git/repositories". So this means all the repositories should be
created in /var/git/repositories/ in the filesystem.
When I browse the repository, it displays the push url as
"|[email protected]:mumbo-jumbo/mainline.git". |I assume this is the one
(SSH based push url) that you're talking of. This path scheme (to me)
means that there is a directory called mumbo-jumbo in the home directory
of the user git, which further contains a subdirectory called
mainline.git. As you can clearly see that I've tried to push using this
push url, it fails telling that the repo i'm trying to push to is not a
valid repository at all. Also that
git clone [email protected]:mumbo-jumbo/mainline.git
fails with the same error. I'm unable to debug of what can be the error.
Thanks for your help.
--
Abhishek Singh
FOSS Nepal Community
http://wiki.fossnepal.org
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]