Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Issue 4425004: Adding a script to generate au-geneate.zip file

Created:
10 years, 1 month ago by Raja Aluri
Modified:
10 years, 1 month ago
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Adding a script to generate au-geneate.zip file Change-Id: Ifc47ed28dc3efc0e7ebd018f6703b36913ffd39c BUG=8716 TEST=Ran the script inside the chroot to makesure it is generating the package.

Patch Set 1 #

Total comments: 76

Patch Set 2 : "Adding a script to generate au-geneate.zip file" #

Total comments: 44

Patch Set 3 : Fixing code review comments #

Total comments: 43

Patch Set 4 : Fixing code review comments #

Patch Set 5 : "Fixing code review comments" #

Patch Set 6 : "Fixing code review comments" #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -1 line) Patch
M common.sh View 1 chunk +3 lines, -1 line 0 comments Download
A generate_au_zip.py View 1 2 3 4 5 1 chunk +263 lines, -0 lines 2 comments Download

Messages

Total messages: 14 (0 generated)
Raja Aluri
10 years, 1 month ago (2010-11-04 19:24:23 UTC) #1
David McMahon
LGTM
10 years, 1 month ago (2010-11-04 19:26:28 UTC) #2
scottz-goog
initial pass. http://codereview.chromium.org/4425004/diff/1/3 File generate_au_zip.py (right): http://codereview.chromium.org/4425004/diff/1/3#newcode28 generate_au_zip.py:28: args: None If there are no arguments ...
10 years, 1 month ago (2010-11-05 01:22:45 UTC) #3
Raja Aluri
PTAL http://codereview.chromium.org/4425004/diff/1/3 File generate_au_zip.py (right): http://codereview.chromium.org/4425004/diff/1/3#newcode28 generate_au_zip.py:28: args: None On 2010/11/05 01:22:46, scottz-goog wrote: > ...
10 years, 1 month ago (2010-11-05 18:58:00 UTC) #4
sosa
Not to gate this, but could you either add unit tests or file a high-priority ...
10 years, 1 month ago (2010-11-05 20:42:50 UTC) #5
sosa
Mostly nits. However, one big issue you might wanna address is that you check your ...
10 years, 1 month ago (2010-11-05 21:40:38 UTC) #6
Raja Aluri
PTAL. http://codereview.chromium.org/4425004/diff/1/3 File generate_au_zip.py (right): http://codereview.chromium.org/4425004/diff/1/3#newcode185 generate_au_zip.py:185: if not library_list: On 2010/11/05 01:22:46, scottz-goog wrote: ...
10 years, 1 month ago (2010-11-08 17:57:17 UTC) #7
sosa
Few more comments http://codereview.chromium.org/4425004/diff/12001/13002 File generate_au_zip.py (right): http://codereview.chromium.org/4425004/diff/12001/13002#newcode2 generate_au_zip.py:2: # -*- coding: utf-8 -*- Still ...
10 years, 1 month ago (2010-11-08 23:57:56 UTC) #8
adlr
My only nits: - unittest! - since this is a new file, let's try to ...
10 years, 1 month ago (2010-11-09 00:07:07 UTC) #9
sosa
Adlr: watch out for python. Chromium follows (from http://dev.chromium.org/chromium-os): Python code follows PEP-8, except: 2-space ...
10 years, 1 month ago (2010-11-09 00:30:45 UTC) #10
adlr
Ah, good to know. sorry. -andrew On Mon, Nov 8, 2010 at 4:30 PM, Chris ...
10 years, 1 month ago (2010-11-09 00:35:55 UTC) #11
scottz-goog
Almost there :) http://codereview.chromium.org/4425004/diff/1/3 File generate_au_zip.py (right): http://codereview.chromium.org/4425004/diff/1/3#newcode131 generate_au_zip.py:131: if stdout_data: On 2010/11/05 18:58:01, Raja ...
10 years, 1 month ago (2010-11-09 03:52:49 UTC) #12
Raja Aluri
PTAL http://codereview.chromium.org/4425004/diff/1/generate_au_zip.py File generate_au_zip.py (right): http://codereview.chromium.org/4425004/diff/1/generate_au_zip.py#newcode136 generate_au_zip.py:136: if library_list: On 2010/11/09 03:52:50, scottz-goog wrote: > ...
10 years, 1 month ago (2010-11-09 22:59:44 UTC) #13
scottz-goog
10 years, 1 month ago (2010-11-11 20:55:18 UTC) #14
One question though is that you realize if I provide no arguments this script
will run right? Is that the intended operation? 

After you fix the below ones go ahead and submit the script.

LGTM

http://codereview.chromium.org/4425004/diff/26001/generate_au_zip.py
File generate_au_zip.py (right):

http://codereview.chromium.org/4425004/diff/26001/generate_au_zip.py#newcode137
generate_au_zip.py:137: logging.debug('Given files that need to be copied = %s'
.join(all_files))
% ' '.join(all_files)

http://codereview.chromium.org/4425004/diff/26001/generate_au_zip.py#newcode177
generate_au_zip.py:177: stdout=subprocess.PIPE).communicate()[0]
align stdout with ['z..

Powered by Google App Engine
This is Rietveld 408576698