Re: [fossil-users] toc.tcl
On 29 August 2017 at 23:55, Andy Gothwrote: > I'm curious how the Markdown formatter would know what language rules to > use for syntax highlighting, so surely there's more to the syntax than > bracketing ("fencing") the code with lines consisting entirely of "```". > I searched online and found the answer to be: put the name of the syntax > highlight mode (i.e. the language) right after the first "```" on the > same line, for instance "```ruby". > Discord and github handle a keyword after the "```" on the first line. So: ```smalltalk foo: anObject ^ anObject + 5 ``` would format the 2 lines in Smalltalk. ../Dave ___ 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] Unversioned file replacement is broken?
I've seen it too, but it's sporadic. My crontab pull script now checks if the size is 0 and ignores the file if so. ../Dave ___ 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] toc.tcl
On Wed, Aug 30, 2017 at 7:05 AM,wrote: > > Date: Tue, 29 Aug 2017 22:55:56 -0500 > From: Andy Goth > To: fossil-users@lists.fossil-scm.org > Subject: Re: [fossil-users] toc.tcl > Message-ID: <56c8452e-5530-7c0d-c077-fa2b35375...@gmail.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > dewey.hylton says "```" imbues syntax highlighting whereas indented > lines are left plain. Fossil doesn't do any kind of syntax highlighting > at this point. Is there any interest in having this feature? I feel > syntax highlighting is both expected and bloat. We would have to decide > which we prefer: being simple or having me-too features. > > I'm curious how the Markdown formatter would know what language rules to > use for syntax highlighting, so surely there's more to the syntax than > bracketing ("fencing") the code with lines consisting entirely of "```". > I searched online and found the answer to be: put the name of the syntax > highlight mode (i.e. the language) right after the first "```" on the > same line, for instance "```ruby". > There are JavaScript scripts to do syntax highlighting in the browser, so anyone who wanted to do that could. Hopefully, there is one that looks for something like a element. then libdiscount could be enhanced to enclose code-fenced code in that element. I am neutral on whether to do it, but this seems like it could be done with a few small changes. ___ 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] Documentation on how to clone and how to download a tarball
On 8/30/17, Thomas Levine <_...@thomaslevine.com> wrote: > People often don't know how to clone or download a tarball from my > fossil server, so I wind up documenting it in the homepage of each > particular project. Is there a more convenient way of providing this > documentation, such as generic documentation page on this topic and a > skin that links to this documentation? There is not, at the moment. Perhaps you can suggest a good place to put that information? -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Documentation on how to clone and how to download a tarball
People often don't know how to clone or download a tarball from my fossil server, so I wind up documenting it in the homepage of each particular project. Is there a more convenient way of providing this documentation, such as generic documentation page on this topic and a skin that links to this documentation? ___ 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] New release?
On 8/30/17, Andy Gothwrote: > > Is there a compilation guide that says how exactly the official Windows > binaries are produced? I'd like to get that part right if I can. > I use this TCL script: cd c:/users/drh/fossil/m1 exec make -f win/makefile.mingw FOSSIL_ENABLE_SSL=1 OPENSSLDIR=../../openssl-1.0.1t >@stdout 2>@stdout exec ls -l c:/users/drh/fossil/m1/fossil.exe >@stdout So the procedure is to do "fossil up $VERSION" in /users/drh/fossil/m1, then run the script above. Then I package the resulting fossil.exe and push it as unversioned content. -- D. Richard Hipp d...@sqlite.org ___ 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] New release?
On 08/30/17 06:05, Richard Hipp wrote: On 8/29/17, Andy Gothwrote: At work I'm having some difficulty due to the most recent released version of Fossil not including my correction for /doc on read-only repository files. Would it be possible to make another release to include this and other recent changes? Can you not just download and compile the latest trunk? I tried that once, had trouble with my self-compiled Windows binary having the right icon and other such frou-frou. But yeah, that's probably the best solution regardless because I can do it immediately without having to wait for someone else's release schedule. Is there a compilation guide that says how exactly the official Windows binaries are produced? I'd like to get that part right if I can. On Linux I build Fossil myself all the time. It's just Windows that's a headache for me. -- Andy Goth | ___ 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] Unversioned file replacement is broken?
On 8/30/17, BohwaZwrote: > Hey, > > I'm trying to update an unversioned file in my repo, so I do: > > # first add > fossil uv add file.zip > fossil uv sync > > # updating the file > fossil uv add file.zip > fossil uv sync > > And now the file is 0 bytes? I'm having trouble reproducing the problem. When I followed the steps above it worked fine for me. Here is a copy/paste of my shell: drh@bella:~/fossil/m1/www$ echo one >test.txt drh@bella:~/fossil/m1/www$ fossil uv add test.txt drh@bella:~/fossil/m1/www$ fossil uv sync -v Bytes Cards Artifacts Deltas Sent: 127 1 0 0 Received:4842 72 0 0 Unversioned-file sent: test.txt Sent: 147 1 0 0 Received: 32 1 0 0 done, sent: 720 received: 1804 ip: 45.33.6.223 drh@bella:~/fossil/m1/www$ echo two >test.txt drh@bella:~/fossil/m1/www$ fossil uv add test.txt drh@bella:~/fossil/m1/www$ fossil uv sync -v Bytes Cards Artifacts Deltas Sent: 127 1 0 0 UV-PUSH: test.txt Received:4912 73 0 0 Unversioned-file sent: test.txt Sent: 147 1 0 0 Received: 32 1 0 0 done, sent: 719 received: 1842 ip: 45.33.6.223 And if you look at https://www.fossil-scm.org/fossil/uv/test.txt you can clearly see that it is the revised "test.txt" that got synced. Do you have any additional information on how to cause this problem? -- D. Richard Hipp d...@sqlite.org ___ 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] New release?
On 8/29/17, Andy Gothwrote: > At work I'm having some difficulty due to the most recent released > version of Fossil not including my correction for /doc on read-only > repository files. Would it be possible to make another release to > include this and other recent changes? Can you not just download and compile the latest trunk? -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users