This server requires that unsafe characters are quoted in URLs, so we do that
here.
Change-Id: I6b7c430671b02a8da11777029b0fdb59a87dcae1
BUG=chromium-os:9902
TEST=Ran unit tests. Ran example buildbot run and diff'd new version and old
version of Packages file.
Review URL: http://codereview.chromium.org/5542002
urlparse.urljoin('scheme:foo/bar/', 'baz') == 'baz', so it doesn't work the
way I expected. Instead, let's use regular string joins.
BUG=chromium-os:5311
TEST=Examine example Packages file.
Review URL: http://codereview.chromium.org/5414001
Change-Id: I1d81dd7a3a79ca6c1f0750993535d3b66696ec23
TBR=Needed to fix preflight build.
BUG=chromium-os:5311
TEST=Remove SHA1 from one of the packages in the Packages file, make sure
that prebuilt.py treats that as a duplicated package. Also run new
unit tests. Also ran buildbot.py
Change-Id: Ie35a7c818fd659bcc2296605ace850aee2a88448
Review URL: http://codereview.chromium.org/5370005
Preflight prebuilts reference the last full build, so they should always be complete as long as the last full build is still there.
Also add host prebuilts to the preflight prebuilts.
BUG=chromium-os:5311
TEST=Run unit tests for cbuildbot and prebuilt.py. Test runs of cbuildbot.py with --dryrun.
Review URL: http://codereview.chromium.org/5344002
Change-Id: Id95f94c02cc2f6cbd70a029d4f8b94617b7cc071
Most of this is from this code review:
http://codereview.chromium.org/4175007/diff/1/2
I also ran the code through gpylint and fixed some of the stuff,
like making quoting consistent.
Change-Id: Icb3896dbd4e975c7ea4687d58efd6372adfcc3c9
BUG=chromium-os:8205
TEST=Ran ./cros_changelog 0.7.48.0 and saw error; also ran ./cros_changelog 0.9.98.3
Review URL: http://codereview.chromium.org/4263001
You can access this by passing:
--tracker-user="user@chromium.org"
--tracker-passfile="fileContainingPassword"
...to access anonymously, just set --tracker-user=""
...if you don't include the --tracker-user option, we won't try to
fetch priority/milestone.
To use this feature, you need the GData library. Until we get that
put in hard-host-depends, the script will simply print instructions
for installing GData if it detects that you don't have it.
At the moment, I believe that logging in isn't giving you any extra
access. Therefore, any bugs that don't allow anonymous access will
not show their priority/milestone. I am working on figuring out what
the problem is there.
Change-Id: If388c20c43ee2fb0c1ab8f748ffea65e354eeb1e
BUG=chromium-os:8205
TEST=Ran ./cros_changelog 0.9.104.0 --tracker-user="" and verified that some bugs got priority/milestone.
Review URL: http://codereview.chromium.org/4102013
Other changes:
1. Clean up revision handling to be more forgiving if people want to use
things that don't start with "cros/". Instead, we only enforce that
people use tags if they want to use the one-argument version of
cros_changelog.
2. Tags are quoted in the command-line so that people can, for instance,
diff 'cros/master{2 days ago}' vs 'cros/master{1 day ago}'.
Change-Id: I28c7d77ae83256d4c28411ef589f3e726cc81d80
BUG=chromium-os:8205
TEST=Ran ( ./cros_changelog 0.9.104.0 cros/master > /tmp/test1.html &&
./cros_changelog --sort-by-date 0.9.104.0 cros/master > /tmp/test2.html )
Both commands print changes between 0.9.104.0 and master, but the second command prints results sorted by date.
Review URL: http://codereview.chromium.org/4130009
This is similar to gencl but supports more features and is written in Python.
BUG=chromium-os:8205
TEST=Ran ( ./cros_changelog 0.9.102.0 cros/master > /tmp/test1.html &&
./cros_changelog 0.9.102.0 > /tmp/test2.html )
First command prints changes between 0.9.102.0 and master. Second
command prints changes between 0.9.102.0 and previous release.
Review URL: http://codereview.chromium.org/4175007
Change-Id: I1a81f7d02e4164a4c61aeaad0c01903658571260
Change-Id: I95bb4518bbfa2931407a90180686845fd9e928e5
BUG=chromium-os:6574
TEST=manually run test script and verified all 4 test cases passed
Review URL: http://codereview.chromium.org/3341024
Change-Id: I6b9333fcf1325dbe141ad387f52d85781de96819
BUG=chromium-os:6600
TEST=added 8 test cases for RunCommand (up from zero :-) Ran all tests and
verified all passed. No regression either
Review URL: http://codereview.chromium.org/3307022
For chromite, we often want to run shell commands directly instead of using the
array syntax currently accepted by RunCommand. This makes it easier to run
piped commands, for example.
BUG=chromium-os:6573
TEST=I'm using it in cros_build.
Change-Id: Ic846e257fec4e423b0253d06641eac232545f6f6
Review URL: http://codereview.chromium.org/3323019