7 Commits

Author SHA1 Message Date
Doug Anderson
48849e2dea Added option for including priority/milestone to cros_changelog.
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
2010-10-29 14:50:15 -07:00
Scott Zawalski
e773e514bf Add in __init__.py files in both chromite and chromite/lib for importing 2010-09-28 09:46:52 -07:00
Tan Gao
e5ba918044 TBR: davidjames
Change-Id: I0b8d4277b142185e69abcd8e8bb2dce6395abc56
2010-09-22 09:34:27 -07:00
Tan Gao
cf4eb5b38c Issue 6600: RunCommand should return an object with various attributes
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
2010-09-10 14:50:47 -07:00
David James
2e79fe48ce Add shell parameter to allow running commands directly.
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
2010-09-09 10:49:11 -07:00
Scott Zawalski
57729c3615 Add ListFiles a function to recursively list files in a directory.
Add unittest for ListFiles to cover common use cases.

BUG=
TEST=

Review URL: http://codereview.chromium.org/3325017
2010-09-08 15:59:23 -07:00
Scott Zawalski
92097e69a6 Copy cros_build_lib.py to chromite/lib for chromite development
TBR=sosa
BUG=
TEST=

Review URL: http://codereview.chromium.org/3329015
2010-09-08 12:47:28 -07:00