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

Re: Debian package available for OCaml-R.



Stéphane Glondu a écrit :
Guillaume Yziquel a écrit :
-5- git push origin master

"git push origin" makes sense only if the repository has been cloned
from somewhere else. Since you are creating it, "origin" doesn't exist.

Try instead:

-5- dom-new-git-repo ocaml-r

OK. I get

yziquel@seldon:~/sandbox/repo/debian/debian-ocaml/ocaml-r$ dh-ocaml/tools/dom-new-git-repo ocaml-r
I: initialize (empty) remote repository on alioth.d.o
Initialized empty shared Git repository in /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-r.git/
I: set up commit notification (mail and CIA)
chmod: cannot access `hooks/post-update': No such file or directory
I: all done. You can now checkout your new git repo with:

   git clone git+ssh://git.debian.org//git/pkg-ocaml-maint/packages/ocaml-r.git

I: or, for extra goodies (recommended):

   dom-git-checkout ocaml-r

So it seems to have worked out fine.

After, you can use git-remote to add the "origin" references. However,
the simplest way is probably to use dom-git-checkout elsewher to have
everything set up right (and to check that the remote repository is fine).

When I do dom-git-checkout, I get:

yziquel@seldon:~/sandbox/repo/debian/debian-ocaml/ocaml-r$ dom-git-checkout ocaml-r
I: cloning remote repository
Initialized empty Git repository in /home/yziquel/sandbox/repo/debian/debian-ocaml/ocaml-r/ocaml-r/.git/
warning: You appear to have cloned an empty repository.
I: setting up remote tracking
fatal: Not a valid object name: 'remotes/origin/upstream'.
yziquel@seldon:~/sandbox/repo/debian/debian-ocaml/ocaml-r$ fatal: The remote end hung up unexpectedly

What does that mean?

--
     Guillaume Yziquel
http://yziquel.homelinux.org/


Reply to: