Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] using Gerrit Code Review was: exceptions when using https

Thanks, fetching a auto generated password was non-obvoius.

It is indicating that I need a change id. It is suggesting that I use the commit hash as the id. How would I know that prior to commit? What should be used as the change id.

https://git.eclipse.org/r/Documentation/user-changeid.html has still confused me.

-Jason

--
Jason Pyeron
202-741-9397
Systems Engineering & Architecture SME
Program Executive Office for Mission Assurance
Defense Information Systems Agency



-----Original Message-----
From: Alex Blewitt [mailto:alex.blewitt@xxxxxxxxx] 
Sent: Friday, September 07, 2012 3:52 PM
To: Pyeron, Jason J CTR (US)
Cc: jgit-dev@xxxxxxxxxxx
Subject: Re: [jgit-dev] using Gerrit Code Review was: exceptions when using https

If you're pushing with https, then you have to use an auto generated password which is shown here:

https://git.eclipse.org/r/#/settings/http-password

Sent from my iPhone 4S

On 7 Sep 2012, at 20:00, "Pyeron, Jason J CTR (US)" <jason.j.pyeron.ctr@xxxxxxxx> wrote:

> I keep getting a auth denied. Not sure if my push is right or something else.
> 
> jason.pyeron@LNDLE642FX7ZTR1 /home/jason.pyeron/desktop/git/jgit
> $ GIT_TRACE=true git push -v upstream.review
> trace: built-in: git 'push' '-v' 'upstream.review'
> Pushing to https://git.eclipse.org/r/p/jgit/jgit.git
> trace: run_command: 'git-remote-https' 'upstream.review' 'https://git.eclipse.org/r/p/jgit/jgit.git'
> Username for 'https://git.eclipse.org':
> Password for 'https://jpyeron@xxxxxxxxxxxxxxx':
> fatal: Authentication failed
> 
> jason.pyeron@LNDLE642FX7ZTR1 /home/jason.pyeron/desktop/git/jgit
> $ cat .git/config
> [core]
>        repositoryformatversion = 0
>        filemode = true
>        bare = false
>        logallrefupdates = true
>        ignorecase = true
> [remote "origin"]
>        fetch = +refs/heads/*:refs/remotes/origin/*
>        url = https://github.com/pdinc-oss/jgit.git
> [remote "upstream"]
>        fetch = +refs/heads/*:refs/remotes/upstream/*
>        url = https://git.eclipse.org/r/p/jgit/jgit.git
> #       url = http://git.eclipse.org/gitroot/jgit/jgit.git
> [remote "upstream.review"]
>        fetch = +refs/heads/*:refs/remotes/upstream/*
>        url = https://git.eclipse.org/r/p/jgit/jgit.git
>        push = HEAD:refs/for/master
> [branch "master"]
>        remote = origin
>        merge = refs/heads/master
> 
> 
> -----Original Message-----
> From: Alex Blewitt [mailto:alex.blewitt@xxxxxxxxx] 
> Sent: Friday, September 07, 2012 2:07 PM
> To: Pyeron, Jason J CTR (US)
> Cc: Roberto Tyley; jgit-dev@xxxxxxxxxxx
> Subject: Re: [jgit-dev] using Gerrit Code Review was: exceptions when using https
> 
> Once you have an account created, you should be able to add Gerrit as a git remote. You can then push with got push refs/for/master and it'll create a review based on your changes. 
> 
> Alex
> 
> Sent from my iPhone 4S
> 
> On 7 Sep 2012, at 17:20, "Pyeron, Jason J CTR (US)" <jason.j.pyeron.ctr@xxxxxxxx> wrote:
> 
>> Sorry, I am having trouble trying to figure out how and what to do with Gerrit.
>> 
>> I have read:
>> 
>> http://wiki.eclipse.org/EGit/Contributor_Guide#Contributing_Patches
>> http://wiki.eclipse.org/Gerrit#Doing_Code_Reviews_with_Gerrit
>> http://wiki.eclipse.org/Development_Resources/Handling_Git_Contributions#Gerrit
>> 
>> Any pointers?
>> 
>> -----Original Message-----
>> From: Roberto Tyley [mailto:roberto.tyley@xxxxxxxxx] 
>> Sent: Friday, September 07, 2012 9:11 AM
>> To: Pyeron, Jason J CTR (US)
>> Cc: jgit-dev@xxxxxxxxxxx
>> Subject: Re: [jgit-dev] exceptions when using https
>> 
>> It's the code review system used by JGit:
>> 
>> https://git.eclipse.org/r/#/q/status:open+project:jgit/jgit,n,z
>> 
>> You need an Eclipse account to contribute to it:
>> 
>> https://dev.eclipse.org/site_login/createaccount.php
>> 
>> See also http://wiki.eclipse.org/EGit/Contributor_Guide#Contributing_Patches
>> 
>> best regards,
>> Roberto
>> 
>> 
>> On 7 September 2012 14:05, Pyeron, Jason J CTR (US) <jason.j.pyeron.ctr@xxxxxxxx> wrote:
>> 
>> 
>>   What is Gerrit? I understand it is a code review, but where do I find out more (e.g. how and where)?
>> 
>>   Also I am subscribed to the list.
>> 
>> 
>>   --
>>   Jason Pyeron
>>   202-741-9397
>>   Systems Engineering & Architecture SME
>>   Program Executive Office for Mission Assurance
>>   Defense Information Systems Agency
>> 
>> 
>> 
>> 
>>   -----Original Message-----
>>   From: Alex Blewitt [mailto:alex.blewitt@xxxxxxxxx]
>>   Sent: Friday, September 07, 2012 2:40 AM
>>   To: Pyeron, Jason J CTR (US)
>>   Cc: jgit-dev@xxxxxxxxxxx
>>   Subject: Re: [jgit-dev] exceptions when using https
>> 
>>   Looks like a good change to me: can you push it to Gerrit so it can be be reviewed there and merged in?
>> 
>>   Thanks,
>> 
>>   Alex
>> 
>>   Sent from my iPhone 4S
>> 
>>   On 6 Sep 2012, at 23:09, "Pyeron, Jason J CTR (US)" <jason.j.pyeron.ctr@xxxxxxxx> wrote:
>> 
>>> Last week we noticed some issues with the cygwin git client on the network, so we tried the jgit client. It would fail with an exception in TransportHttp. Once I patched it as noted below, it functioned flawlessly.
>>> 
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=389003
>>> 
>>> https://github.com/pdinc-oss/jgit/commit/282ed8c41ead700d579d2745edf6a6f2f1c90a08
>>> 
>>> --
>>> Jason Pyeron
>>> 202-741-9397
>>> Systems Engineering & Architecture SME
>>> Program Executive Office for Mission Assurance
>>> Defense Information Systems Agency
>>> _______________________________________________
>>> jgit-dev mailing list
>>> jgit-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/jgit-dev
>> 
>> 
>>   _______________________________________________
>>   jgit-dev mailing list
>>   jgit-dev@xxxxxxxxxxx
>>   https://dev.eclipse.org/mailman/listinfo/jgit-dev
>> 
>> 
>> 
>> 
>> _______________________________________________
>> jgit-dev mailing list
>> jgit-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jgit-dev
> _______________________________________________
> jgit-dev mailing list
> jgit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jgit-dev

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top