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

Issue 6195049: Fix serving of files when the root dir is './'

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by Ilia Mirkin
Modified:
11 years, 10 months ago
Reviewers:
bolinfest, imirkin
Visibility:
Public.

Description

Fix serving of files when the root dir is './'

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M src/org/plovr/Manifest.java View 1 chunk +10 lines, -6 lines 2 comments Download

Messages

Total messages: 12
Ilia Mirkin
11 years, 11 months ago (2012-05-06 17:53:38 UTC) #1
imirkin_alum.mit.edu
Grrr... I never pushed the "message" thing up to upstream rietveld, so it ate my ...
11 years, 11 months ago (2012-05-06 18:01:26 UTC) #2
bolinfest
Is there an easy way you can add a test for this? Sent from my ...
11 years, 11 months ago (2012-05-07 02:52:10 UTC) #3
imirkin_alum.mit.edu
I'll look... maybe. This was just something I ran into while testing out the translations ...
11 years, 11 months ago (2012-05-07 02:58:45 UTC) #4
imirkin_alum.mit.edu
Another alternative all this hackery, btw, is to do the same thing you did for ...
11 years, 11 months ago (2012-05-07 05:27:48 UTC) #5
Ilia Mirkin
ping see plovr mailing list, apparently this affects more than just soy files in some ...
11 years, 11 months ago (2012-06-01 16:47:00 UTC) #6
bolinfest
http://codereview.appspot.com/6195049/diff/1/src/org/plovr/Manifest.java File src/org/plovr/Manifest.java (right): http://codereview.appspot.com/6195049/diff/1/src/org/plovr/Manifest.java#newcode424 src/org/plovr/Manifest.java:424: name = ""; So if I have: "inputs": "foo.js" ...
11 years, 10 months ago (2012-06-04 17:28:27 UTC) #7
imirkin_alum.mit.edu
Did you have any opinion on whether I should extend the hack (as I've done ...
11 years, 10 months ago (2012-06-04 17:29:28 UTC) #8
bolinfest
I would rather try to eliminate the . where appropriate. Using the $$ makes URLs ...
11 years, 10 months ago (2012-06-04 17:31:22 UTC) #9
bolinfest
Also, what is the subject of the message on this on the mailing list? On ...
11 years, 10 months ago (2012-06-04 17:33:01 UTC) #10
imirkin_alum.mit.edu
Something completely obscure... https://groups.google.com/forum/?fromgroups#!topic/plovr/LFIxO-gJaIQ On Mon, Jun 4, 2012 at 1:33 PM, Michael Bolin <bolinfest@gmail.com> ...
11 years, 10 months ago (2012-06-04 17:33:47 UTC) #11
Ilia Mirkin
11 years, 10 months ago (2012-06-22 18:54:26 UTC) #12
http://codereview.appspot.com/6195049/diff/1/src/org/plovr/Manifest.java
File src/org/plovr/Manifest.java (right):

http://codereview.appspot.com/6195049/diff/1/src/org/plovr/Manifest.java#newc...
src/org/plovr/Manifest.java:424: name = "";
On 2012/06/04 17:28:28, bolinfest wrote:
> So if I have:
> 
> "inputs": "foo.js"
> 
> will this condition be true? Shouldn't name be "foo.js" rather than ""?

Hmmmm.... perhaps. I will try to figure that out. Unfortunately last weekend was
shot, and this weekend isn't looking much better. Maybe tonight.

> 
> Also, I realize that files are hard to mock out, but is it possible to provide
a
> test case for this change?

Yeah, I looked around, unsuccessfully. However right now
testdata/example/test-raw.html breaks for me, and with this change it works.
(IIRC, I did all this a while ago.)
Sign in to reply to this message.

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