Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Issue 10244044: Ignore Emacs auto-save files in lbox pre-checks (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by Danilo
Modified:
10 years, 10 months ago
Reviewers:
mp+169183, gz, fwereade
Visibility:
Public.

Description

Ignore Emacs auto-save files in lbox pre-checks Emacs auto-save files are named '.#...', so if you have a storage.go file open, Emacs will keep a '.#storage.go' file around for auto-saving. However, the way we pass arguments to gofmt means that '.#' will not be properly escaped and gofmt will not be able to open the file, thus stopping an lbox propose. This change removes any filenames beginning with '.#' with a simple grep. https://code.launchpad.net/~danilo/juju-core/lbox-check-emacs/+merge/169183 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Ignore Emacs auto-save files in lbox pre-checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M .lbox.check View 1 1 chunk +1 line, -1 line 0 comments Download
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5
Danilo
Please take a look.
10 years, 10 months ago (2013-06-13 12:40:28 UTC) #1
fwereade
LGTM trivial
10 years, 10 months ago (2013-06-13 16:02:57 UTC) #2
gz
LGTM though am disappointed you dindn't bundle it all into the find command. :)
10 years, 10 months ago (2013-06-14 12:27:32 UTC) #3
Danilo
Please take a look.
10 years, 10 months ago (2013-06-14 12:43:51 UTC) #4
gz
10 years, 10 months ago (2013-06-14 13:27:06 UTC) #5
Still LGTM, I'd go ahead and try out landing with the bot.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b