Le mardi 26 avril 2016 à 09:42 +0200, Michaël Scherer a écrit : > Le lundi 25 avril 2016 à 13:19 -0400, Vijay Bellur a écrit : > > On Mon, Apr 25, 2016 at 4:31 AM, Niels de Vos <nde...@redhat.com> wrote: > > > On Mon, Apr 25, 2016 at 10:15:22AM +0200, Michael Scherer wrote: > > >> Le dimanche 24 avril 2016 à 16:08 +0200, Niels de Vos a écrit : > > >> > On Sat, Apr 23, 2016 at 08:05:50PM -0400, Vijay Bellur wrote: > > >> > > On Sat, Apr 23, 2016 at 12:48 AM, Kaushal M <kshlms...@gmail.com> > > >> > > wrote: > > >> > > > You need to use the ssh:// URIs to push. The https:// URIs just > > >> > > > allow git clone. > > >> > > > > > >> > > > The ssh:// URIs should be in the format > > >> > > > `ssh://<username>@review.gluster.org/glusterfs.git` > > >> > > > > > >> > > > > >> > > > > >> > > That used to be the case a while back. git supports pushing over http > > >> > > for a while now and so does gerrit [1]. We need to determine why it > > >> > > is > > >> > > failing so with r.g.o. > > >> > > > >> > I tried it, and pulling over https works just fine. When pushing > > >> > (./rfc.sh) over https, I get asked for a password (username in URL). > > >> > Pasting the generated password from > > >> > http://review.gluster.org/#/settings/http-password did not work, I got > > >> > this error: > > >> > > > >> > remote: Unauthorized > > >> > fatal: Authentication failed for > > >> > 'https://nde...@review.gluster.org/glusterfs/' > > >> > > > >> > It would be nice to have this working. Most of us should be able to use > > >> > ssh, but in some corperate environments firewalls can be pretty > > >> > restrictive. > > >> > > >> So here, I do get "not found". > > >> > > >> But unless there is a urgency and someone is currently blocked, I would > > >> rather push that to later for now. > > > > > > I don't think it is urgent. Not sure why Vijay was trying this. > > > > > > > A few developers in the community have the problem of not being able > > to push changes to gerrit because of ssh being blocked in their > > corporate firewalls. It would be nice to have this fixed sooner than > > later. > > So, do we have a idea of when it was working and when it broke, so I can > see if something was changed in the mean time ?
So I did check gerrit source code, that brought me to the doc, and I have added: gitBasicAuth = yes in the auth section of the config of gerrit. Are people ok with me restarting gerrit ? (I forgot the impact on build job, so better ask before this time) -- Michael Scherer Sysadmin, Community Infrastructure and Platform, OSAS
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Gluster-infra mailing list Gluster-infra@gluster.org http://www.gluster.org/mailman/listinfo/gluster-infra