Re: [fossil-users] Command line access to technotes and attachments

2015-12-16 Thread Ron W
On Wed, Dec 16, 2015 at 4:38 AM, David Vines wrote: Run various subcommands to work with wiki entries or tech notes. > >Options: > -M|-mimetype TEXT-FORMAT The mime type of the update > defaulting to the type used

Re: [fossil-users] Command line access to technotes and attachments

2015-12-16 Thread Stephan Beal
Fossil internally treats single and double dashes the same (unless i'm sorely misremembering). - stephan beal, sgb...@googlemail.com Written on a keyboard attached to a telephone attached to a TV screen, via an app written for use on touchscreens. Please excuse brevity, typos, and whatnot. On

Re: [fossil-users] Command line access to technotes and attachments

2015-12-16 Thread David Vines
On 16/12/2015 15:50, Ron W wrote: Minor issue: While Fossil is inconsistent with this, the common convention for "long options" is --option with 2 dashes. I haven't used the "-mimetype" option so I don't know if it's a documentation error or implementation oversight. In other Fossil

Re: [fossil-users] Command line access to technotes and attachments

2015-12-16 Thread David Vines
On 15/12/2015 09:55, Stephan Beal wrote: Here's an encouraging anecdote for you: my first C work after 1995[1] was implementing the wiki CLI commands Richard mentioned :). i concur that the wiki commands would be the best starting point for adding Tech Note (formerly "event") CLI support.

Re: [fossil-users] Command line access to technotes and attachments

2015-12-16 Thread Stephan Beal
On Wed, Dec 16, 2015 at 10:38 AM, David Vines wrote: > It has indeed proved quite straightforward! :-D > Usage: ../fossil wiki (export|create|commit|list) WikiName > > Run various subcommands to work with wiki entries or tech notes. > i hadn't considered the

Re: [fossil-users] Command line access to technotes and attachments

2015-12-15 Thread David Vines
On 14/12/2015 15:20, Richard Hipp wrote: I don't recall anybody ever writing such commands. There is nothing technically difficult about doing so - I just don't think the need has come up before. The technote code is in the event.c source file. You can use the "wiki" command implement in

Re: [fossil-users] Command line access to technotes and attachments

2015-12-15 Thread Stephan Beal
On Tue, Dec 15, 2015 at 10:30 AM, David Vines wrote: > Okay, thanks for confirming that. > > I'll take a look at source code and see if I can modify it as suggested. > Despite my C knowledge being a little rusty (nearly two decades since I > last did serious work in C)

Re: [fossil-users] Command line access to technotes and attachments

2015-12-14 Thread Ron W
On Mon, Dec 14, 2015 at 10:20 AM, Richard Hipp wrote: > On 12/14/15, David Vines wrote: > > I've just started playing with fossil for my personal projects and I'm > > considering getting my some of my one-touch builds to create a technote > > with the

Re: [fossil-users] Command line access to technotes and attachments

2015-12-14 Thread Richard Hipp
On 12/14/15, David Vines wrote: > I've just started playing with fossil for my personal projects and I'm > considering getting my some of my one-touch builds to create a technote > with the build artifacts as attachments. However I don't see an easy > command line way to

[fossil-users] Command line access to technotes and attachments

2015-12-14 Thread David Vines
I've just started playing with fossil for my personal projects and I'm considering getting my some of my one-touch builds to create a technote with the build artifacts as attachments. However I don't see an easy command line way to create either technote's or attachments - Am I just missing