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

Issue 89560044: code review 89560044: acme: add put file in acme root directory (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by rsc
Modified:
9 years, 12 months ago
Reviewers:
CC:
r
Visibility:
Public.

Description

acme: add log file in acme root directory Reading /mnt/acme/log reports a log of window create, put, and delete events, as they happen. It blocks until the next event is available. Example log output: 8 new /Users/rsc/foo.go 8 put /Users/rsc/foo.go 8 del /Users/rsc/foo.go This lets acme-aware programs react to file writes, for example compiling code, running a test, or updating an import block.

Patch Set 1 #

Patch Set 2 : diff -r 201eca998fc1 https://code.google.com/p/plan9port #

Patch Set 3 : diff -r 201eca998fc1 https://code.google.com/p/plan9port #

Total comments: 2

Patch Set 4 : diff -r 201eca998fc1 https://code.google.com/p/plan9port #

Total comments: 1

Patch Set 5 : diff -r 201eca998fc1 https://code.google.com/p/plan9port #

Patch Set 6 : diff -r 201eca998fc1 https://code.google.com/p/plan9port #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -8 lines) Patch
M man/man4/acme.4 View 1 2 3 2 chunks +26 lines, -2 lines 0 comments Download
M src/cmd/acme/acme.c View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/cmd/acme/dat.h View 1 2 3 4 chunks +6 lines, -1 line 0 comments Download
M src/cmd/acme/exec.c View 1 2 3 5 chunks +9 lines, -2 lines 0 comments Download
M src/cmd/acme/fsys.c View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A src/cmd/acme/logf.c View 1 2 3 4 1 chunk +197 lines, -0 lines 0 comments Download
M src/cmd/acme/look.c View 1 2 3 4 chunks +8 lines, -2 lines 0 comments Download
M src/cmd/acme/mkfile View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/acme/rows.c View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/acme/util.c View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/acme/wind.c View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M src/cmd/acme/xfid.c View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 9
rsc
Hello r, I'd like you to review this change to https://code.google.com/p/plan9port
10 years ago (2014-04-19 18:04:23 UTC) #1
rsc
I've been meaning to try something like this for a while. One idea is to ...
10 years ago (2014-04-19 18:09:56 UTC) #2
r
i think there's a great idea here but i'm not certain this is quite it. ...
10 years ago (2014-04-19 18:17:39 UTC) #3
rsc
https://codereview.appspot.com/89560044/diff/40001/src/cmd/acme/buff.c File src/cmd/acme/buff.c (right): https://codereview.appspot.com/89560044/diff/40001/src/cmd/acme/buff.c#newcode285 src/cmd/acme/buff.c:285: abort(); On 2014/04/19 18:17:39, r wrote: > undo this ...
10 years ago (2014-04-19 21:24:03 UTC) #4
rsc
PTAL Now there is a file named 'log' that reports window operations new, zerox, get, ...
10 years ago (2014-04-19 21:26:10 UTC) #5
r
please update CL description - it's from the previous round the one thing i thought ...
10 years ago (2014-04-19 23:56:24 UTC) #6
rsc
Hello r@golang.org, Please take another look.
10 years ago (2014-04-28 20:11:07 UTC) #7
r
the CL still talks about put not log, but otherwise this is ok. let's talk ...
10 years ago (2014-04-28 20:57:04 UTC) #8
rsc
9 years, 12 months ago (2014-04-30 16:14:33 UTC) #9
*** Submitted as
https://code.google.com/p/plan9port/source/detail?r=9e531f5eb3ab ***

acme: add log file in acme root directory

Reading /mnt/acme/log reports a log of window create,
put, and delete events, as they happen. It blocks until the
next event is available.

Example log output:

8 new /Users/rsc/foo.go
8 put /Users/rsc/foo.go
8 del /Users/rsc/foo.go

This lets acme-aware programs react to file writes, for example
compiling code, running a test, or updating an import block.

TBR=r
R=r
https://codereview.appspot.com/89560044
Sign in to reply to this message.

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