|
|
Created:
6 years, 3 months ago by Patrick Kettner Modified:
5 years, 11 months ago CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionFix string escaping on OS X paths
Currently, unless you install as root, "Application Support" exists in the path, and the space borks everything up.
Committed: https://crrev.com/8249145b13b4893f0de507cbe26de72dd7ffbd79
Cr-Commit-Position: refs/heads/master@{#310013}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix string escaping on OS X paths #Messages
Total messages: 20 (5 generated)
patrickkettner@gmail.com changed reviewers: + sergeyu@chromium.org
https://codereview.chromium.org/569083002/diff/1/chrome/common/extensions/doc... File chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.sh (right): https://codereview.chromium.org/569083002/diff/1/chrome/common/extensions/doc... chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.sh:14: $HOME/Library/Application Support/Google/Chrome/NativeMessagingHosts" This adds spaces in TARGET_DIR, do I don't think you need this change
https://codereview.chromium.org/569083002/diff/1/chrome/common/extensions/doc... File chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.sh (right): https://codereview.chromium.org/569083002/diff/1/chrome/common/extensions/doc... chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.sh:14: $HOME/Library/Application Support/Google/Chrome/NativeMessagingHosts" On 2014/09/20 17:50:04, Sergey Ulanov wrote: > This adds spaces in TARGET_DIR, do I don't think you need this change It does add a space, however that space doesn't change anything since all of the commands ignore multiple sequential spaces. The change was required because the newline followed by the leading spaces on the script cause the shell to try and execute the path. At least on my zsh (zsh 5.0.6 (x86_64-apple-darwin14.0.0)) and bash (GNU bash, version 4.3.24(1)-release (x86_64-apple-darwin14.0.0)) An alternative would be to scrunch line 14 against the far left with no leading spaces, but that seemed an uglier fix.
Ok, this change looks good. Can you please add yourself src/AUTHORS file in this CL?
On 2014/09/25 18:02:54, Sergey Ulanov wrote: > Ok, this change looks good. > Can you please add yourself src/AUTHORS file in this CL? Please excuse my ignorance, but since originally opening this PR, my laptop's harddrive died and I had to reclone. As a result, I am not sure how to modify this. Could you either let me know or point me to some kind of documentation? Thanks a lot, and sorry for the trouble.
On 2014/10/21 03:42:22, Patrick Kettner wrote: > On 2014/09/25 18:02:54, Sergey Ulanov wrote: > > Ok, this change looks good. > > Can you please add yourself src/AUTHORS file in this CL? > > Please excuse my ignorance, but since originally opening this PR, my laptop's > harddrive died and I had to reclone. As a result, I am not sure how to modify > this. Could you either let me know or point me to some kind of documentation? > > Thanks a lot, and sorry for the trouble. Sorry for the delay, I was away for the last 2 months. You can do "git cl patch 569083002" and then "git cl issue 569083002" to apply this patch and then associate that branch with this CL.
Thanks so much for the help! Updated the AUTHORS file On Wed, Dec 10, 2014 at 4:05 PM, <sergeyu@chromium.org> wrote: > On 2014/10/21 03:42:22, Patrick Kettner wrote: > >> On 2014/09/25 18:02:54, Sergey Ulanov wrote: >> > Ok, this change looks good. >> > Can you please add yourself src/AUTHORS file in this CL? >> > > Please excuse my ignorance, but since originally opening this PR, my >> laptop's >> harddrive died and I had to reclone. As a result, I am not sure how to >> modify >> this. Could you either let me know or point me to some kind of >> documentation? >> > > Thanks a lot, and sorry for the trouble. >> > > Sorry for the delay, I was away for the last 2 months. > You can do "git cl patch 569083002" and then "git cl issue 569083002" to > apply > this patch and then associate that branch with this CL. > > https://codereview.chromium.org/569083002/ > -- patrick To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
LGTM, Thanks!
The CQ bit was checked by sergeyu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/569083002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
I *believe* the failure is "Missing LGTM from an OWNER for these files: chrome/common/extensions/docs/examples/api/nativeMessaging/host/install_host.sh", right? Do I need to contact someone to get a sign off? On Mon, Jan 5, 2015 at 5:24 PM, <commit-bot@chromium.org> wrote: > Try jobs failed on following builders: > chromium_presubmit on tryserver.chromium.linux > (http://build.chromium.org/p/tryserver.chromium.linux/ > builders/chromium_presubmit/builds/33227) > > https://codereview.chromium.org/569083002/ > -- patrick To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
sergeyu@chromium.org changed reviewers: + scheib@chromium.org
+scheib@, can you please approve this fix?
lgtm
The CQ bit was checked by sergeyu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/569083002/20001
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/8249145b13b4893f0de507cbe26de72dd7ffbd79 Cr-Commit-Position: refs/heads/master@{#310013} |