[lsst-dm-stack-users] issues with creating a new repository in the contrib space

James Chiang jchiang at slac.stanford.edu
Thu Oct 9 12:58:07 PDT 2014


Hi Mario,

Thanks,  it seemed to work this time:

$ git push --all -u
Initialized empty Git repository in /var/lib/git/contrib/eochar.git/
Counting objects: 3, done.
Writing objects: 100% (3/3), 223 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To git at git.lsstcorp.org:contrib/eochar.git
 * [new branch]      master -> master
Branch master set up to track remote branch master from origin.

-Jim


On Thu, Oct 9, 2014 at 12:52 PM, Mario Juric <majuric at gmail.com> wrote:

> On 10/9/14 12:21 , James Chiang wrote:
> > FWIW, I see exactly the same problem attempting to reproduce your issue,
> > even though I have done this successfully several times in the past.
> >
> > -Jim
> >
>
> Jim, Johann,
>         I have a hypothesis what may have been causing this -- could you
> try now?
>
> - M.
>
> > On Thu, Oct 9, 2014 at 12:13 PM, Johann Cohen-Tanugi
> > <johann.cohen-tanugi at univ-montp2.fr
> > <mailto:johann.cohen-tanugi at univ-montp2.fr>> wrote:
> >
> >     Hello,
> >     sorry for the dumb question, but I seem to be missing something to
> >     manage to create a new package in the contrib space. Following
> >
> https://dev.lsstcorp.org/trac/__wiki/GitDemoAndTutorial#__CreatingarepositoryinLSSThiera__rchyadminsonly
> >     <
> https://dev.lsstcorp.org/trac/wiki/GitDemoAndTutorial#CreatingarepositoryinLSSThierarchyadminsonly
> >
> >     I did :
> >     mkdir eochar
> >     cd eochar
> >     git init
> >     touch .gitignore
> >     git add .gitignore
> >     git commit -m "FIRST COMMIT ON NEW PKG" .gitignore
> >     [master (root-commit) 5397bc6] FIRST COMMIT ON NEW PKG
> >      1 file changed, 7 insertions(+)
> >      create mode 100644 .gitignore
> >     git remote add origin git at git.lsstcorp.org:contrib/__eochar.git
> >     git push --all -u
> >     Initialized empty Git repository in
> /var/lib/git/contrib/eochar.__git/
> >     Counting objects: 3, done.
> >     Writing objects: 100% (3/3), 282 bytes | 0 bytes/s, done.
> >     Total 3 (delta 0), reused 0 (delta 0)
> >     remote: C refs/heads/master contrib/eochar cohen DENIED by fallthru
> >     remote: error: hook declined to update refs/heads/master
> >
> >     At that point I can see the package in
> >     https://dev.lsstcorp.org/cgit/__contrib/
> >     <https://dev.lsstcorp.org/cgit/contrib/>  but it is empty.... Am I
> >     missing some permissions, am I doing something wrong?
> >
> >     best,
> >     Johann Cohen-Tanugi
> >
> >     P.S. Note that I ran  gitolite trash contrib/eochar.git to clean the
> >     slate.....
> >
> >     --
> >     Johann Cohen-Tanugi, Chargé de Recherche CNRS
> >     Laboratoire Univers et Particules de Montpellier (LUPM)
> >     UMR 5299 - Université Montpellier 2 - CNRS IN2P3
> >     Place Eugène Bataillon (CC 072)
> >     34095 Montpellier cedex 05
> >     Tél : x41 91
> >     Fax : x41 90
> >
> >
> >     _______________________________________________
> >     lsst-dm-stack-users mailing list
> >     lsst-dm-stack-users at listserv.lsstcorp.org
> >     <mailto:lsst-dm-stack-users at listserv.lsstcorp.org>
> >     https://listserv.lsstcorp.org/mailman/listinfo/lsst-dm-stack-users
> >
> >
> >
> >
> > --
> > James Chiang       SLAC, MS 29          home:   (650) 605-3346
> > Fermi ISOC         2575 Sand Hill Rd    office: (650) 926-2930
> >                    Menlo Park CA 94025  FAX:    (650) 926-5566
> >
> >
> > _______________________________________________
> > lsst-dm-stack-users mailing list
> > lsst-dm-stack-users at listserv.lsstcorp.org
> > https://listserv.lsstcorp.org/mailman/listinfo/lsst-dm-stack-users
> >
>
>
> --
> Mario Juric
> Web : http://research.majuric.org     Phone : +1 609 933 1033
> _______________________________________________
> lsst-dm-stack-users mailing list
> lsst-dm-stack-users at listserv.lsstcorp.org
> https://listserv.lsstcorp.org/mailman/listinfo/lsst-dm-stack-users
>
>


-- 
James Chiang       SLAC, MS 29          home:   (650) 605-3346
Fermi ISOC         2575 Sand Hill Rd    office: (650) 926-2930
                   Menlo Park CA 94025  FAX:    (650) 926-5566
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20141009/6b3309b6/attachment.html>


More information about the dm-users mailing list