[fossil-users] Extending Fossil with Lua?
Hi, This is just kind of a next semester project, but I would like to start exploring the options. I'm using Fossil mainly to store documentation (using the superb embedded documentation feature) for my Grafoscopio[1] project. I think that SQLite and Fossil are good examples of what I call pocket infrastructures (simple, self-contained and working well on-line and off-line) that can help to democratize fields like data visualization and storytelling[2]. But, despite its advantages, Fossil is starting to feel limited, particularly with the Yaml metadata blocks that the Pandoc Markdown variant uses[3]. So I would like to explore the possibility to use Lua (which is already integrated in Pandoc and easily integrable in other programs) to read such metadata y show it in a proper way. I also think that the support for Lua should open a lot of scriptability options and ecosystem, far beyond TH1 and Tcl, by using a more wide spread scripting language with a bigger ecosystem. [1] http://mutabit.com/grafoscopio/index.en.html [2] http://mutabit.com/offray/blog/en/entry/panama-papers-1 [3] https://pandoc.org/MANUAL.html#extension-yaml_metadata_block What should be done to explore such Lua extensions to Fossil? Where can I start? Thanks, Offray ___ 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] Any way to cleanup global _fossil or .fossil?
On 3/19/2018 3:45 PM, Richard Hipp wrote: But it seems like a relatively harmless issue. How bit is your _fossil file? It's only 50K so yes, it's harmless. I was just wondering if there was an easy way to clean it up. ___ 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] Any way to cleanup global _fossil or .fossil?
On 3/19/18, The Tickwrote: > > That did not seem to do much (if anything). There are still records for > repositories that no longer exist. In addition -- this is windows: > fossil is recording repository path names where only the alphabetic case > differs (my lazy typing) but, of course, they all refer to the same file. Well, it is suppose to clean up automatically. I'm sorry it is not working for you. Also, it is suppose to do case-insensitive comparisons on Windows. Maybe one of the windows developers can track this down and fix it for you. But it seems like a relatively harmless issue. How bit is your _fossil file? -- 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] Any way to cleanup global _fossil or .fossil?
On 3/19/2018 3:29 PM, Richard Hipp wrote: On 3/19/18, The Tickwrote: I noticed that my AppData/Local/_fossil file is growing. Using sqlite3 on that file shows a bunch of items that are no longer valid. I think the "fossil all list" command will automatically remove entries that are no longer valid. That did not seem to do much (if anything). There are still records for repositories that no longer exist. In addition -- this is windows: fossil is recording repository path names where only the alphabetic case differs (my lazy typing) but, of course, they all refer to the same file. ___ 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] Any way to cleanup global _fossil or .fossil?
On 3/19/18, The Tickwrote: > > I noticed that my AppData/Local/_fossil file is growing. Using sqlite3 > on that file shows a bunch of items that are no longer valid. I think the "fossil all list" command will automatically remove entries that are no longer valid. -- 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] Any way to cleanup global _fossil or .fossil?
I noticed that my AppData/Local/_fossil file is growing. Using sqlite3 on that file shows a bunch of items that are no longer valid. I assume this is because I've deleted a lot of temp repository checkouts without remembering to do a 'fossil close'. The sqlite3 'select * from global_config' list also shows what appear to be a bunch of duplicates. It also shows the certificate from chiselapp.com which I guess I want to keep. So is there a way to cleanup obsolete entries but leave valid ones? ___ 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] Web interface: "ls -l" list of files?
On 3/19/2018 2:44 PM, Stephan Beal wrote: On Mon, Mar 19, 2018 at 7:30 PM, The Tick> wrote: Is there a was to get a "ls -l" style list of the files in a repository from the web interface? I see "Tree-View" or "File Ages" but the listing of "ages" seems to be relative to the last commit time. A related sidebar: fossil doesn't actually store the creation- or modification times of files. The only timestamps it remembers are when changes are made to the repository (a checkin, wiki/ticket edit, new tag applied to a commit, etc.). When fossil tells you the age of a file, it's really showing you the timestamp of the commit which most recently modified that file. I see. I was mistakenly under the impression that fossil would preserve the timestamps on a checkout so that 'make' would work correctly. I didn't think about the fact that one does not store the intermediate or targets of a build in the repository -- one builds from scratch and when a product is shelved for a while, one just does a final commit, closes the repository and deletes the checkout. That clears things up. Thanks. ___ 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] Web interface: "ls -l" list of files?
On Mon, Mar 19, 2018 at 7:30 PM, The Tickwrote: > Is there a was to get a "ls -l" style list of the files in a repository > from the web interface? I see "Tree-View" or "File Ages" but the listing of > "ages" seems to be relative to the last commit time. A related sidebar: fossil doesn't actually store the creation- or modification times of files. The only timestamps it remembers are when changes are made to the repository (a checkin, wiki/ticket edit, new tag applied to a commit, etc.). When fossil tells you the age of a file, it's really showing you the timestamp of the commit which most recently modified that file. -- - stephan beal http://wanderinghorse.net/home/stephan/ "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] Web interface: "ls -l" list of files?
On 3/19/2018 1:33 PM, Richard Hipp wrote: On 3/19/18, The Tickwrote: Is there a was to get a "ls -l" style list of the files in a repository from the web interface? I see "Tree-View" or "File Ages" but the listing of "ages" seems to be relative to the last commit time. For instance, a "Tree-View" on a repository that I have not touched for several months shows file ages in minutes rather than months. Not at the moment. Easy enough to add, though. Do you have a patch? ;-) I took a look and it is far beyond my ability to add. Thanks for your answer though. ___ 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] Web interface: "ls -l" list of files?
On 3/19/18, The Tickwrote: > Is there a was to get a "ls -l" style list of the files in a repository > from the web interface? I see "Tree-View" or "File Ages" but the listing > of "ages" seems to be relative to the last commit time. For instance, a > "Tree-View" on a repository that I have not touched for several months > shows file ages in minutes rather than months. Not at the moment. Easy enough to add, though. Do you have a patch? ;-) -- 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] Web interface: "ls -l" list of files?
Is there a was to get a "ls -l" style list of the files in a repository from the web interface? I see "Tree-View" or "File Ages" but the listing of "ages" seems to be relative to the last commit time. For instance, a "Tree-View" on a repository that I have not touched for several months shows file ages in minutes rather than months. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Transcluding document fragments in the wiki?
Is there a way to transclude wiki fragments, whole wiki pages, or repository artifacts inside other wiki documents? Something like the following imaginary syntax: *Make sure your config file looks like this* [include_file:src/config_sample.ini] and make sure to [include_wiki:Setup Instructions] where it would bring in a file or wiki page into the current wiki document? Thanks! -tkc ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users