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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Assigned: mattyrdaly)

Details

(Whiteboard: [good first bug][mentor=jhammel][lang=py])

Attachments

(1 file)

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
Whiteboard: [good first bug][mentor=jhammel][lang=py]
(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?
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.
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
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.
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.
(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.
Attachment #643569 - Flags: review?(wlachance)
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+
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.

Attachment

General

Creator:
Created:
Updated:
Size: