Commit Graph

8 Commits

Author SHA1 Message Date
Scott Zawalski
fe3805ac16 Update prebuilt to modify make.conf files for the board/host targets.
This changes the format that I was updating from 'key value' to 'key=value'.
I modified my unittests to test this.

BUG=NA
TEST=Branch runs without commit.

Review URL: http://codereview.chromium.org/3858003
2010-10-18 16:36:44 -07:00
Scott Zawalski
e69a464192 Add an absolute path to gsutil that we will be using.
Change the way uploads work so we error if one doesn't sync properly.
2010-10-07 12:53:32 -07:00
Scott Zawalski
8fcab50063 Fix doc string and use self.assertRaises 2010-10-05 10:39:51 -07:00
Scott Zawalski
fba0975883 Remove a line 2010-10-04 15:18:54 -07:00
Scott Zawalski
f5948251b6 Change prebuilt filters to use the private ebuilds to generate a
definitive list.
Add unittests to test an empty filter list, loading filters, and
filtering specific packages based off of mock filters.
2010-10-04 15:15:44 -07:00
Scott Zawalski
6332272fa7 A few more style changes and logic changes fro code review 2010-09-30 08:26:04 -07:00
Scott Zawalski
6f0584cd2d Update prebuilt and prebuilt_unittest to address comments in code
review.
2010-09-28 14:55:36 -07:00
Scott Zawalski
4f33955508 First submission of prebuilt upload script.
This introduces a way to upload prebuilts from the command line.

The following features are available

  * Multiprocess upload (cuts time down by a 1/5th for uploading)
  * Versioned uploading with git file commital
  * Host prebuilt uploading
  * Board prebuilt uploading

BUG=chromium-os:4843,chromium-os:5855

TEST=./prebuilt_unittest.py
{'/b/cbuild/build/chroot/build/x86-dogfood/packages/x11-misc/util-macros-1.5.0.tbz2':
'gs://chromeos-prebuilt/host/version/packages/x11-misc/util-macros-1.5.0.tbz2',
'/b/cbuild/build/chroot/build/x86-dogf}
.FILTERING /usr/local/package/oob
FILTERING /var/tmp/bibby.file
.....Updating stage 20100309/stage3-amd64-20100309.tar.bz2 to stage
test_update
.
----------------------------------------------------------------------
Ran 7 tests in 0.002s

OK
2010-09-28 09:38:03 -07:00