Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Issue 760903004: Rewrite Google Code http URLs with https on git svn dcommit. (Closed)

Created:
6 years ago by kjellander_chromium
Modified:
6 years ago
CC:
chromium-reviews, cmp-cc_chromium.org, Dirk Pranke, iannucci+depot_tools_chromium.org
Project:
tools
Visibility:
Public.

Description

Rewrite Google Code http URLs with https on git svn dcommit. This fix is created to avoid having to rebuild all the WebRTC Git mirrors since they're configured to sync with the http URL instead of https (resulting in git-svn-id Git footers with the http URL in the commit messages). Without rewriting this, it is not possible to commit to SVN since Google code disallows committing to a http URL. BUG=412012 TEST=Created a CL using a Git repo like this (both before and after landing https://webrtc-codereview.appspot.com/32569004): git clone https://chromium.googlesource.com/external/webrtc.git cd webrtc git auto-svn git checkout master git checkout -b test (edit whitespace change) git commit -am "Whitespace edit git cl upload --bypass-hooks" git cl dcommit R=agable@chromium.org, machenbach@chromium.org, mmoss@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=293171

Patch Set 1 #

Total comments: 2

Patch Set 2 : Wired up codereview.settings FORCE_HTTPS_COMMIT_URL setting and test mock updates #

Total comments: 4

Patch Set 3 : Fixed style violation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -9 lines) Patch
M git_cl.py View 1 2 6 chunks +36 lines, -9 lines 0 comments Download
M tests/git_cl_test.py View 1 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
kjellander_chromium
As I now have reverted https://codereview.chromium.org/745473003/ (it doesn't do any good at all, actually), I ...
6 years ago (2014-11-29 17:08:54 UTC) #2
Michael Achenbach
Basically (non-owner) lgtm. How difficult is it to add this feature to a test? https://codereview.chromium.org/760903004/diff/1/git_cl.py ...
6 years ago (2014-11-30 14:32:29 UTC) #4
Michael Achenbach
Another idea: Instead of having an extra call to git svn info on every git ...
6 years ago (2014-11-30 14:36:55 UTC) #5
kjellander_chromium
> How difficult is it to add this feature to a test? I had a ...
6 years ago (2014-12-01 09:11:51 UTC) #6
Michael Achenbach
(still non-owner) lgtm with nits: https://codereview.chromium.org/760903004/diff/20001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/760903004/diff/20001/git_cl.py#newcode287 git_cl.py:287: self.forceHttpsCommitUrl = None nit: ...
6 years ago (2014-12-01 09:43:43 UTC) #7
kjellander_chromium
Fixed the style violation. https://codereview.chromium.org/760903004/diff/20001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/760903004/diff/20001/git_cl.py#newcode287 git_cl.py:287: self.forceHttpsCommitUrl = None On 2014/12/01 ...
6 years ago (2014-12-01 10:15:49 UTC) #8
Michael Moss
lgtm
6 years ago (2014-12-01 18:09:34 UTC) #10
agable
lgtm
6 years ago (2014-12-01 21:33:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/760903004/40001
6 years ago (2014-12-02 06:57:03 UTC) #13
commit-bot: I haz the power
Presubmit check for 760903004-40001 failed and returned exit status 1. Running presubmit commit checks ...
6 years ago (2014-12-02 06:59:03 UTC) #15
kjellander_chromium
6 years ago (2014-12-02 07:34:53 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 293171.

Powered by Google App Engine
This is Rietveld 408576698