Closed
Bug 774518
Opened 14 years ago
Closed 14 years ago
versionbump.py should use the git readonly url for pulling
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Assigned: mattyrdaly)
Details
(Whiteboard: [good first bug][mentor=jhammel][lang=py])
Attachments
(1 file)
|
875 bytes,
patch
|
wlach
:
review+
|
Details | Diff | Splinter Review |
https://github.com/mozilla/mozbase/blob/master/versionbump.py#L172
Instead, this should use the read-only URL as there is no reason to
use ssh which can cause a password prompt:
git://github.com/mozilla/mozbase.git
| Reporter | ||
Updated•14 years ago
|
Whiteboard: [good first bug][mentor=jhammel][lang=py]
| Assignee | ||
Comment 1•14 years ago
|
||
(In reply to Jeff Hammel [:jhammel] from comment #0)
> https://github.com/mozilla/mozbase/blob/master/versionbump.py#L172
>
> Instead, this should use the read-only URL as there is no reason to
> use ssh which can cause a password prompt:
>
> git://github.com/mozilla/mozbase.git
Hi,
I would like to contribute to mozilla by trying to fix bugs. Is this a good place to start? Can this bug be assigned to me?
Comment 2•14 years ago
|
||
Jeff, under which conditions it should cause a password prompt?
(In reply to mattyrdaly from comment #1)
> I would like to contribute to mozilla by trying to fix bugs. Is this a good
> place to start? Can this bug be assigned to me?
Thanks for your interest in working on this bug. Before we can actually start lets figure out the necessity of it. Once it is clear you can start working on a fix.
Comment 3•14 years ago
|
||
Henrik, I think Jeff means that by cloning the ssh url, an unnecessary password prompt will be displayed which disrupts the automation.
Mattyr(?), this bug won't be much of a challenge, but it can at least get you familiarized with the general workflow of submitting a patch. We can find something a bit more interesting for you afterwards if you want. In the meantime feel free to stop into #ateam on irc.mozilla.org if you have any questions (or just want to say hi). Thanks for your interest!
Assignee: nobody → mattyrdaly
Status: NEW → ASSIGNED
Comment 4•14 years ago
|
||
Well, over on bug 774498 we already have changed that, so we make use of the git URL instead of HTTPS. So I'm not sure what's left here.
Comment 5•14 years ago
|
||
Wait, I got it now. So why do you want to use the read-only URL? Anyone who is working on a versionbump will push changes to the repository and needs write privileges in either way. So using the SSH URL (git@github.com:whimboo/mozbase.git) should be fine.
| Reporter | ||
Comment 6•14 years ago
|
||
(mozbase)│git pull git@github.com:mozilla/mozbase.git
Enter passphrase for key '/home/jhammel/.ssh/id_rsa':
I get this every time. I still have to type my password several times for this script, but there's no reason to type it this particular time.
| Assignee | ||
Comment 7•14 years ago
|
||
| Reporter | ||
Updated•14 years ago
|
Attachment #643569 -
Flags: review?(wlachance)
Comment 8•14 years ago
|
||
Comment on attachment 643569 [details] [diff] [review]
patch for bug-774518 that uses a read-only url for pulling
LGTM
Attachment #643569 -
Flags: review?(wlachance) → review+
| Reporter | ||
Comment 9•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•