v3ss0n / rietveld

Automatically exported from code.google.com/p/rietveld
Apache License 2.0
0 stars 0 forks source link

upload.py needs config file or ... #371

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It is very tedious to enter the same values for upload.py every time in command 
line like cc list or reviewers. There should be an easier way to handle that. 
Either by .codereview config file or upload.py can request info from server.

Original issue reported on code.google.com by techtonik@gmail.com on 18 Feb 2012 at 8:33

GoogleCodeExporter commented 9 years ago
Or you can write a 2-line wrapper shell script.

Original comment by gvanrossum@gmail.com on 18 Feb 2012 at 5:58

GoogleCodeExporter commented 9 years ago
I do checkouts more often than patches, so the shell script won't automate much 
unless it is checked from the repository.

Gerrit has its own config file for some reason, and Rietveld can.

Original comment by techtonik@gmail.com on 18 Feb 2012 at 8:49

GoogleCodeExporter commented 9 years ago
Sure, I'm not objecting, but I'm not volunteering either. :-)

Should the config file be per directory or global (in the user's home 
directory)? Should its name start with a dot or not?

Original comment by gvanrossum@gmail.com on 18 Feb 2012 at 9:29

GoogleCodeExporter commented 9 years ago
Or should it use the configuration system provided by the VCS? I prefer not to 
have yet another hidden file in my project dirs. Therefore I'm currently using 
git/hg config and a small wrapper ATM.

Original comment by albrecht.andi on 18 Feb 2012 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by albrecht.andi on 5 Feb 2013 at 2:26