Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(268)

Issue 2635043: Add perforce support to upload.py. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
1 year, 6 months ago by Alex McC
Modified:
1 year, 1 month ago
CC:
codereview-discuss_googlegroups.com
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 26

Patch Set 2 : Add perforce support to upload.py. #

Total comments: 1

Patch Set 3 : auto-detect p4 based on options, and add print_diffs option #

Patch Set 4 : fix invalid diff headers and binary file detection #

Total comments: 4

Patch Set 5 : remove debug text #

Total comments: 19

Patch Set 6 : Support changing file types, diff base files on move, refactor GenerateDiff #

Total comments: 9

Patch Set 7 : Disallow --rev for p4, style fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M upload.py View 1 2 3 4 5 6 12 chunks +356 lines, -3 lines 0 comments Download

Messages

Total messages: 38
Alex McC
1 year, 6 months ago #1
Alex McC
On 2010/10/23 23:00:21, Alex McC wrote: I'm not too familiar with Python (I'm no Guido), ...
1 year, 6 months ago #2
Alex McC
Hi Guido, I know of a few game development companies that are currently evaluating code ...
1 year, 6 months ago #3
Alex McC
Reviewers: GvR, Please review this at http://codereview.appspot.com/2635043/ Affected files: M upload.py
1 year, 6 months ago #4
Alex McC
I'm not too familiar with Python (I'm no Guido), so feel free to rip into ...
1 year, 6 months ago #5
Alex McC
Hi Guido, I know of a few game development companies that are currently evaluating code ...
1 year, 6 months ago #6
Andi Albrecht
[adding Evan] Looks good in general, just some style nits. But I don't know P4 ...
1 year, 6 months ago #7
Alex McC
http://codereview.appspot.com/2635043/diff/1/upload.py File upload.py (right): http://codereview.appspot.com/2635043/diff/1/upload.py#newcode537 upload.py:537: "already guesses the right VCS).")) On 2010/10/27 08:21:31, Andi ...
1 year, 6 months ago #8
Andi Albrecht
Looks good to me, but it would be good to get some feedback from a ...
1 year, 6 months ago #9
techtonik
On 2010/11/03 12:44:03, Andi Albrecht wrote: > Looks good to me, but it would be ...
1 year, 6 months ago #10
Alex McC
On 2010/11/03 13:15:34, techtonik wrote: > On 2010/11/03 12:44:03, Andi Albrecht wrote: > > Looks ...
1 year, 6 months ago #11
Andi Albrecht
alex.mccarthy@gmail.com writes: > On 2010/11/03 13:15:34, techtonik wrote: >> On 2010/11/03 12:44:03, Andi Albrecht wrote: ...
1 year, 6 months ago #12
gvrpython
So, I happen to be a P4 user. :-) I patched your change into my ...
1 year, 6 months ago #13
Alex McC
On 2010/11/05 18:42:41, guido_python.org wrote: > So, I happen to be a P4 user. :-) ...
1 year, 6 months ago #14
Alex McC
http://codereview.appspot.com/2635043/diff/23001/upload.py File upload.py (right): http://codereview.appspot.com/2635043/diff/23001/upload.py#newcode1424 upload.py:1424: ErrorExit("Got error status from %s:\n%s" % (extra_args, data)) Missed ...
1 year, 6 months ago #15
Ilia Mirkin
http://codereview.appspot.com/2635043/diff/26001/upload.py File upload.py (right): http://codereview.appspot.com/2635043/diff/26001/upload.py#newcode543 upload.py:543: # Perforce-specific Why are these needed? IIRC p4 will ...
1 year, 5 months ago #16
Ilia Mirkin
http://codereview.appspot.com/2635043/diff/26001/upload.py File upload.py (right): http://codereview.appspot.com/2635043/diff/26001/upload.py#newcode543 upload.py:543: # Perforce-specific On 2010/12/05 16:28:44, Ilia Mirkin wrote: > ...
1 year, 5 months ago #17
Alex McC
Thanks for your comments, Ilia! You pointed out some great corner cases. I'll get some ...
1 year, 5 months ago #18
Ilia Mirkin
http://codereview.appspot.com/2635043/diff/26001/upload.py File upload.py (right): http://codereview.appspot.com/2635043/diff/26001/upload.py#newcode543 upload.py:543: # Perforce-specific On 2010/12/06 01:21:27, Alex McC wrote: > ...
1 year, 5 months ago #19
Alex McC
I'll upload my changes as soon as I'm done with the branching base file support ...
1 year, 5 months ago #20
Alex McC
Sorry for the big diff. It looks like diffing a branched file against its base ...
1 year, 5 months ago #21
Alex McC
Ilia, Andi, Technonik, or Guido, do you have any other recommendations for this change? On ...
1 year, 4 months ago #22
Ilia Mirkin
Sorry, slipped off my radar. I didn't think that fstat had all the necessary information ...
1 year, 4 months ago #23
Alex McC
To be clear: fstat helped me get the (probably) right base for moves (renames), but ...
1 year, 4 months ago #24
imirkin_alum.mit.edu
On Mon, Dec 20, 2010 at 1:58 PM, <alex.mccarthy@gmail.com> wrote: > To be clear: fstat ...
1 year, 4 months ago #25
Alex McC
On Mon, Dec 20, 2010 at 7:04 PM, Ilia Mirkin <imirkin@alum.mit.edu> wrote: > On Mon, ...
1 year, 4 months ago #26
imirkin_alum.mit.edu
On Mon, Dec 20, 2010 at 4:28 PM, Alex McCarthy <alex.mccarthy@gmail.com> wrote: > On Mon, ...
1 year, 4 months ago #27
Alex McC
> > Great. This all looks good to me. I'll let it sit until ~tonight ...
1 year, 4 months ago #28
Alex McC
Ilia, do you want to give rietveld perforce support for Christmas? ;) On Mon, Dec ...
1 year, 4 months ago #29
imirkin_alum.mit.edu
I actually _just_ committed... wow, what timing :) On Thu, Dec 23, 2010 at 5:12 ...
1 year, 4 months ago #30
Alex McC
Great, thanks Ilia! I'll update the docs in the next few days to explain how ...
1 year, 4 months ago #31
Alex McC
I've added a comment to http://code.google.com/p/rietveld/wiki/UploadPyUsage documenting the new p4 options, and explaining how to ...
1 year, 4 months ago #32
Alex McC
Andi, Evan, Guido, Ilia, or Techtonik: would one of you be able to update the ...
1 year, 4 months ago #33
imirkin_alum.mit.edu
On Sun, Jan 9, 2011 at 5:58 PM, Alex McCarthy <alex.mccarthy@gmail.com> wrote: > Andi, Evan, ...
1 year, 4 months ago #34
Alex McC
Looks perfect, thanks! -Alex On Mon, Jan 10, 2011 at 4:23 AM, Ilia Mirkin <imirkin@alum.mit.edu> ...
1 year, 4 months ago #35
techtonik
Can we close this issue? It was committed as http://code.google.com/p/rietveld/source/detail?r=640
1 year, 1 month ago #36
gvrpython
Yes; only Alex can close it. On Tue, Mar 29, 2011 at 11:44 AM, <techtonik@gmail.com> ...
1 year, 1 month ago #37
Alex McC
1 year, 1 month ago #38
Closed!
-Alex


On Tue, Mar 29, 2011 at 7:50 PM, Guido van Rossum <guido@python.org> wrote:

> Yes; only Alex can close it.
>
> On Tue, Mar 29, 2011 at 11:44 AM,  <techtonik@gmail.com> wrote:
> > Can we close this issue?
> >
> > It was committed as
> > http://code.google.com/p/rietveld/source/detail?r=640
> >
> >
> >
> > http://codereview.appspot.com/2635043/
> >
>
>
>
> --
> --Guido van Rossum (python.org/~guido)
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 855:fffdfa546f68