On 18 January 2017 at 08:19, Attila Tajti <[email protected]> wrote:

> Thank you!
>
> I've added the hints I needed/used to the publisher readme, see
>
> https://camlistore-review.googlesource.com/9166
>

thanks!


> Btw, I believe publishRequest.serveHTTP for the root path (added in CL
> 8866) should perhaps respond with 403 instead of 404. The status code is
> 404 is technically correct according to the RFC, but 403 would have saved
> some time for me because I would have thought of "directory listing
> prohibited". But maybe that's only me.
>
> https://tools.ietf.org/html/rfc7231#section-6.5.3
>

SGTM. Do you want to send a CL for it?


>
>
> On Tuesday, January 17, 2017 at 6:28:58 PM UTC+1, Attila Tajti wrote:
>>
>> I tried publisher the first time today, and it worked fine after adding
>> just
>>
>>     "publish": {
>>         "/pics/": {
>>             "camliRoot": "mypics",
>>             "cacheRoot": "/home/ata/var/camlistore/blobs/cache",
>>             "goTemplate": "gallery.html"
>>         }
>>     }
>>
>> to the server-config, and I could access «camlihost:port»/pics/ just
>> fine. However after updating camlistore it is broken. The CL/issue
>>
>> https://camlistore-review.googlesource.com/#/c/8866/
>> https://github.com/camlistore/camlistore/issues/882
>>
>> seems to be the culprit, I can access «camlihost:port»/pics/ with
>> d864e3580281c26ff3507d1df60f8d2542ee1c2c but not with master
>> (abc6561c60c863589bb146784e70432806c14d4d).
>>
>> Since I have no experience with publisher, my question if one should
>> publish image permanodes or sets with children? I've checked the CL and the
>> issue, and the issue mentions how one should be able to access
>> "subdirectories" under /pics/. Should the URL ("foo" and "bar" in the
>> example in the issue) be set through camliPath, camliMember/title?
>>
>> Btw, the thumbnails in the publisher show up with an incorrect aspect
>> ratio (apparently the image is streched into a square shape) but standalone
>> images appear fine. Is there anything I can do about it?
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Camlistore" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Camlistore" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to