On Tue, Jul 1, 2014 at 3:53 AM, Ross Berteig <r...@cheshireeng.com> wrote:

> <big snip>



> However, the documentation at http://www.fossil-scm.org/
> fossil/help?cmd=/tarball is somewhat confusing. It reads in full:
>
>  URL: /tarball/RID.tar.gz
>>
>> Generate a compressed tarball for a checkin.
>> Return that tarball as the HTTP reply content.
>>
>> Optional URL Parameters:
>>
>> - name=base name of the output file. Defaults to
>> something project/version-specific.
>>
>> - uuid=the version to tar (may be a tag/branch name).
>> Defaults to trunk.
>>
>
i recognize two of the devs' writing styles there ;).

 I think editing the help text to be more like this would bring it more in
> line with what appears to be implemented.
>

Thank you very much for this. i will get the docs updated (@Shal: yours,
too) within the next couple days.

Naturally, the descriptions of the /zip URL as well as the fossil tarball
> and fossil zip commands should be aligned as well.
>

Will do.

Some trivia for you:

/tarball/foo ===> /tarball?name=foo

that is a deep-seated internal convention/translation within the library,
originally used for wiki pages (/wiki/foo ==> /wiki?name=foo) but it's done
at a level far lower than the wiki API, so it happens to all APIs _except_
when running in JSON mode (where i disabled it out because it interferes
with JSON-side argument collection).


Although BitBake won't proceed past a download without the checksums
> matching, don't worry too hard about getting the MD5 and SHA256 in advance.
> BitBake's error message happens to include text you can copy and paste to
> the recipe.
>

If you parse the RSS feed or timeline, it would be possible to get the sha1
in advance if you need it.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to