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

Issue 151109: Add initial xdg-settings patch to xdg-utils. (Closed)

Created:
11 years, 5 months ago by Mike Mammarella [gmail]
Modified:
9 years, 7 months ago
Reviewers:
Michael Moss, dank
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add initial xdg-settings patch to xdg-utils. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19775

Patch Set 1 #

Total comments: 14

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1122 lines, -1 line) Patch
A third_party/xdg-utils/README.google View 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/xdg-utils/scripts/Makefile.in View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M third_party/xdg-utils/scripts/README View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/xdg-utils/scripts/desc/xdg-settings.xml View 1 chunk +166 lines, -0 lines 0 comments Download
A third_party/xdg-utils/scripts/xdg-settings View 1 2 3 4 1 chunk +620 lines, -0 lines 0 comments Download
A third_party/xdg-utils/scripts/xdg-settings.in View 1 2 3 4 1 chunk +319 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Mike Mammarella [gmail]
11 years, 5 months ago (2009-06-30 20:52:46 UTC) #1
Michael Moss
http://codereview.chromium.org/151109/diff/1/7 File third_party/xdg-utils/README.google (right): http://codereview.chromium.org/151109/diff/1/7#newcode1 Line 1: This directory contains a copy of xdg-utils obtained ...
11 years, 5 months ago (2009-06-30 22:44:02 UTC) #2
Mike Mammarella [gmail]
http://codereview.chromium.org/151109/diff/1/7 File third_party/xdg-utils/README.google (right): http://codereview.chromium.org/151109/diff/1/7#newcode1 Line 1: This directory contains a copy of xdg-utils obtained ...
11 years, 5 months ago (2009-06-30 23:42:09 UTC) #3
Michael Moss
http://codereview.chromium.org/151109/diff/1/3 File third_party/xdg-utils/scripts/xdg-settings (right): http://codereview.chromium.org/151109/diff/1/3#newcode370 Line 370: if (grep -v ^MimeType= "$apps/$1"; echo "MimeType=text/html;$MIME") > ...
11 years, 5 months ago (2009-06-30 23:51:16 UTC) #4
Mike Mammarella [gmail]
On 2009/06/30 23:51:16, mmoss wrote: > http://codereview.chromium.org/151109/diff/1/3 > File third_party/xdg-utils/scripts/xdg-settings (right): > > http://codereview.chromium.org/151109/diff/1/3#newcode370 > ...
11 years, 5 months ago (2009-07-01 00:14:04 UTC) #5
Michael Moss
LGTM with one last nit (no need to resend for review after that change). http://codereview.chromium.org/151109/diff/1023/1026 ...
11 years, 5 months ago (2009-07-01 18:36:43 UTC) #6
Mike Mammarella [gmail]
11 years, 5 months ago (2009-07-01 19:54:20 UTC) #7
http://codereview.chromium.org/151109/diff/1023/1026
File third_party/xdg-utils/scripts/xdg-settings.in (right):

http://codereview.chromium.org/151109/diff/1023/1026#newcode68
Line 68: temp="`mktemp $apps/$1.XXXXXXXX`" || return
On 2009/07/01 18:36:43, mmoss wrote:
> Sorry to be nitpicky still, but you might want to use just six placeholders
for
> the temp file name (XXXXXX). I ran into an issue once where some version of
> mktemp (on a recent distro) failed because I had tried to use fewer than six.
> I'm not sure if it will also fail with more than six, but I am pretty sure
that
> six is always safe.

Done.

Powered by Google App Engine
This is Rietveld 408576698