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

Issue 2812012: Add symbol uploader (Closed)

Created:
10 years, 6 months ago by kmixter1
Modified:
9 years, 7 months ago
Reviewers:
petkov
CC:
chromium-os-reviews_chromium.org
Base URL:
ssh://git@chromiumos-git//crosutils.git
Visibility:
Public.

Description

Add symbol uploader

Patch Set 1 #

Patch Set 2 : Better diagnostics #

Patch Set 3 : Remove old code #

Total comments: 22

Patch Set 4 : Respond to review #

Patch Set 5 : Refactor upload function #

Total comments: 14

Patch Set 6 : Use the chroot version of breakpad binaries #

Patch Set 7 : Respond to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -51 lines) Patch
D upload_debug_syms.py View 1 chunk +0 lines, -51 lines 0 comments Download
A upload_symbols View 1 2 3 4 5 6 1 chunk +242 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kmixter1
10 years, 6 months ago (2010-06-21 16:50:04 UTC) #1
petkov
A few comments that you might want to address... http://codereview.chromium.org/2812012/diff/4001/5002 File upload_symbols (right): http://codereview.chromium.org/2812012/diff/4001/5002#newcode6 upload_symbols:6: ...
10 years, 6 months ago (2010-06-21 18:01:55 UTC) #2
kmixter1
PTAL http://codereview.chromium.org/2812012/diff/4001/5002 File upload_symbols (right): http://codereview.chromium.org/2812012/diff/4001/5002#newcode6 upload_symbols:6: # Script to build the set of binary ...
10 years, 6 months ago (2010-06-21 21:34:55 UTC) #3
petkov
A few more nits, typos, etc. One bu with the info/fi order. LGTM otherwise. http://codereview.chromium.org/2812012/diff/10001/11002 ...
10 years, 6 months ago (2010-06-21 22:05:36 UTC) #4
kmixter1
10 years, 6 months ago (2010-06-21 23:11:56 UTC) #5
Pushing...

http://codereview.chromium.org/2812012/diff/10001/11002
File upload_symbols (right):

http://codereview.chromium.org/2812012/diff/10001/11002#newcode6
upload_symbols:6: # Script to run upload all debug symbols required for crash
reporting
On 2010/06/21 22:05:36, petkov wrote:
> "run upload"

Done.

http://codereview.chromium.org/2812012/diff/10001/11002#newcode26
upload_symbols:26: DEFINE_boolean yes ${FLAGS_FALSE} "Answer yes to all
prompts."
On 2010/06/21 22:05:36, petkov wrote:
> Keep flags sorted?
> 

Done.

http://codereview.chromium.org/2812012/diff/10001/11002#newcode27
upload_symbols:27: DEFINE_boolean verbose ${FLAGS_FALSE} "Be verbose"
On 2010/06/21 22:05:36, petkov wrote:
> Period at the end for consistency.
> 

Done.

http://codereview.chromium.org/2812012/diff/10001/11002#newcode72
upload_symbols:72: echo "develoer debugging purposes, consider instead passing
specific files "
On 2010/06/21 22:05:36, petkov wrote:
> typo: developer

Done.

http://codereview.chromium.org/2812012/diff/10001/11002#newcode77
upload_symbols:77: then
On 2010/06/21 22:05:36, petkov wrote:
> Move then up on the same line as if
> 

Done.

http://codereview.chromium.org/2812012/diff/10001/11002#newcode194
upload_symbols:194: info "Uploading symbols to ${upload_url} from ${SYSROOT}."
On 2010/06/21 22:05:36, petkov wrote:
> This "info" should be after "fi" ? Or indentation is wrong?
> 

Done.

http://codereview.chromium.org/2812012/diff/10001/11002#newcode207
upload_symbols:207: if ! really_upload; then
On 2010/06/21 22:05:36, petkov wrote:
> I get easily lost in shell scripts and prefer short hands:
> 
> really_upload || exit 1
> 
> This could be done in a few other places (basically, all ifs with a
single-line
> body).
> 
> But it's up to you.
> 

I did a few though honestly I find the full if more easily readable.  I'll
switch it in a few cases though where I feel like the silly overhead of writing
a shell if block outweighs the extra readability.

Powered by Google App Engine
This is Rietveld 408576698