Re: [fossil-users] Automating fossil source builds?
On Sun, Mar 23, 2014 at 8:51 PM, Jon jon.for...@gmail.com wrote: Pizza's still processing, but here you go; http://fossil-scm.org/index.html/info/7ba06f150c :) same for `src/zip.c:baseline_zip_page` please. Done! -- - 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
Re: [fossil-users] Automating fossil source builds?
Pizza's still processing, but here you go; http://fossil-scm.org/index.html/info/7ba06f150c :) same for `src/zip.c:baseline_zip_page` please. Done! Great, thank you. Initial buildlet impl fetching/building both 32 and 64bit fossils (release tagged) with mingw-w64 toolchains on Win8.1: https://github.com/jonforums/buildlets/blob/master/build_fossil.ps1 It was trivial given all the fabulous effort you folks have put into the fossil/sqlite3 multi-platform source and build tooling. Someday I'll tweak the buildlet to allow fetching/building arbitrary fossil dev versions. You know how toy projects are re: smoothing the sharp edges ;) ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Automating fossil source builds?
On Mon, Mar 24, 2014 at 6:08 PM, Jon jon.for...@gmail.com wrote: Great, thank you. problem == null Someday I'll tweak the buildlet to allow fetching/building arbitrary fossil dev versions. You know how toy projects are re: smoothing the sharp edges ;) Welcome to Fossil, and try not to cut yourself! If you come up with interesting automation bits, please share them with us. -- - 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
Re: [fossil-users] Automating fossil source builds?
On Sun, Mar 23, 2014 at 5:49 AM, Jon jon.for...@gmail.com wrote: but I haven't yet found a way to create a URL to download a tarball for a specific release tag of fossil. Ideally, I'd like to type `./build_fossil.ps1 1.28` and have it download the tarball from http://www.fossil-scm.org/fossil/info/3d49f04587 Other than maintaining some mapping between version numbers and sha1 snippets (do I also need to maintain a uuid mapping to generate the query string?) similar to https://github.com/jonforums/buildlets/blob/master/build_sqlite.ps1#L23-L25 I haven't found a maintainable way to automate fossil source downloads. Are there other URL schemes I haven't yet discovered that alias to source tarballs for specific tags? Replace the uuid with the tag, e.g.: http://www.fossil-scm.org/fossil/tarball/Fossil_1.28.tar.gz?uuid=version-1.28 -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Automating fossil source builds?
On Sun, Mar 23, 2014 at 8:21 AM, Baruch Burstein bmburst...@gmail.comwrote: Replace the uuid with the tag, e.g.: http://www.fossil-scm.org/fossil/tarball/Fossil_1.28.tar.gz?uuid=version-1.28 You might also be interested in the libfossil CLI tools, one of which can generate ZIP files: [stephan@host:~/cvs/fossil/libfossil]$ f-zip current my.zip Extracting repository version a58a45136b5c to file my.zip... 218 file(s) zipped to my.zip [stephan@host:~/cvs/fossil/libfossil]$ unzip -l my.zip | head Archive: my.zip Length DateTimeName - -- - 0 2014-03-22 16:30 libfossil-a58a45136b5c/ 0 2013-09-04 16:58 libfossil-a58a45136b5c/.fossil-settings/ 18 2013-09-04 16:58 libfossil-a58a45136b5c/.fossil-settings/binary-glob 0 2013-09-04 16:58 libfossil-a58a45136b5c/.fossil-settings/crnl-glob 339 2014-03-13 12:06 libfossil-a58a45136b5c/.fossil-settings/ignore-glob 249 2013-09-17 13:58 libfossil-a58a45136b5c/.project 0 2013-09-04 16:58 libfossil-a58a45136b5c/.settings/ [stephan@host:~/cvs/fossil/libfossil]$ f-zip current --root=mydir my.zip Extracting repository version a58a45136b5c to file my.zip... 218 file(s) zipped to my.zip [stephan@host:~/cvs/fossil/libfossil]$ unzip -l my.zip | head Archive: my.zip Length DateTimeName - -- - 0 2014-03-22 16:30 mydir/ 0 2013-09-04 16:58 mydir/.fossil-settings/ 18 2013-09-04 16:58 mydir/.fossil-settings/binary-glob 0 2013-09-04 16:58 mydir/.fossil-settings/crnl-glob 339 2014-03-13 12:06 mydir/.fossil-settings/ignore-glob 249 2013-09-17 13:58 mydir/.project 0 2013-09-04 16:58 mydir/.settings/ -- - 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
Re: [fossil-users] Automating fossil source builds?
Are there other URL schemes I haven't yet discovered that alias to source tarballs for specific tags? Replace the uuid with the tag, e.g.: http://www.fossil-scm.org/fossil/tarball/Fossil_1.28.tar.gz?uuid=version-1.28 Nice. I see `uuid` controls things so I can also do this http://www.fossil-scm.org/fossil/tarball/my_128_fossil.tar.gz?uuid=version-1.28 Fossil source noob questions: 1) Should the comments for `src/tar.c:tarball_page:L577` be updated to include query param doco similar to `src/browse.c:page_tree:L403`? The current the `URL: /tarball/RID.tar.gz` comment doesn't capture the current URL flexibility. 2) What (conceptually) does the `int rid` var in `tar.c:tarball_page` represent? (e.g - a row id representing a commit...generated via `name_to_typed_rid()` conversion func) ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Automating fossil source builds?
On Sun, Mar 23, 2014 at 6:05 PM, Jon jon.for...@gmail.com wrote: 1) Should the comments for `src/tar.c:tarball_page:L577` be updated to include query param doco similar to `src/browse.c:page_tree:L403`? The current the `URL: /tarball/RID.tar.gz` comment doesn't capture the current URL flexibility. i can't answer that one off hand, but will look at it after my pizza's done. But... 2) What (conceptually) does the `int rid` var in `tar.c:tarball_page` represent? (e.g - a row id representing a commit...generated via `name_to_typed_rid()` conversion func) rid is a record id. Concretely, they typically refer to the blob.rid field. Checkins, files, and all other raw content is stored in the blob table, so some RIDs refer to checkins and some don't. Internally we have a couple ways of figuring out what type of object an RID refers to (e.g. name_to_typed_rid(), which you mention). -- - 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