Re: [fossil-users] RFC: what do we do with the JSON docs?

2012-03-29 Thread David Bovill
On 27 March 2012 17:35, Stephan Beal sgb...@googlemail.com wrote: The considerations which have come to mind so far: - i would prefer to keep it in wiki form, as opposed to embedded docs, because i often write docs from arbitrary locations. Yes - would prefer to not use fossil's wiki

[fossil-users] basic question: getting the checkin-name of a file on a different branch

2011-11-15 Thread David Bovill
How do I get the canonical name of a file in another (non-checked out) branch, given that I just know the file name and the tag / branch. In git you can refer to a particular file using: trunk:/path/to/file So if in Fossil if I wanted say the finfo of a given file on another branch I would

[fossil-users] Trying out fossil: two issues with branches and empty folders

2011-11-14 Thread David Bovill
Hello I've been trying out fossil, and cam across two things so far that don't seem quite right. Could anyone advise if I am doing something wrong? *Creating a branch* When I use: fossil commit --branch New Branch - m Creating a new branch a new branch is created without a prompt, but when I

Re: [fossil-users] Trying out fossil: two issues with branches and empty folders

2011-11-14 Thread David Bovill
? On 14 November 2011 11:32, Stephan Beal sgb...@googlemail.com wrote: On Mon, Nov 14, 2011 at 12:17 PM, David Bovill da...@vaudevillecourt.tvwrote: *Empty Folders* When switching between branches, files are removed but empty folders are left hanging around. Empty folders also do not show up

Re: [fossil-users] Trying out fossil: two issues with branches and empty folders

2011-11-14 Thread David Bovill
On 14 November 2011 12:05, Richard Hipp d...@sqlite.org wrote: fossil branch new simply creates a new check-in which is unchanged from the previous check-in. It is equivalent to doing: fossil commit -f --branch Minimal OK - thanks, the --force option will get me what I need.

[fossil-users] side-by-side diffs command line syntax

2011-11-14 Thread David Bovill
The side-by-side diffs are great, but I can't get the command line options (--side-by-side|-y side-by-side http://www.fossil-scm.org/fossil/help/diff) working. Both these fail: fossil diff --from previous --to current --side-by-side hello.txt fossil diff --from previous --to current -y hello.txt

Re: [fossil-users] [best practice] Including external dependencies

2011-11-14 Thread David Bovill
I'd like to know more about this as well. As I understand it you can nest fossil repositories, I haven't tried it yet, but AFAIK you can have a nested checkout within an existing checkout, and you can open it with the fossil open --nested command. 2011/11/14 Jacek Cała jacek.c...@gmail.com Hi

[fossil-users] Strange behavior: unable to open fossil projects

2011-10-18 Thread David Bovill
I had a problem yesterday where I was unable to opne any of my fossil projects. Fossil was complaining that I was calling fossil open on a repository file that did not exist - but also returning a (previous) value for the repository file and not the one entered on the command line in the error

Re: [fossil-users] Strange behavior: unable to open fossil projects

2011-10-18 Thread David Bovill
2011/10/18 Lluís Batlle i Rossell virik...@gmail.com On Tue, Oct 18, 2011 at 10:44:06AM +0100, David Bovill wrote: Has anyone else seen this before, and what is the safe way to delete a fossil repository without causing this behavior. At the moment I am just deleting the repository file

[fossil-users] Fossil Server: which repositories are being served?

2011-10-17 Thread David Bovill
As far as I know - there is no way for someone to find out the names of the fossil repositories being served by a server. Actually I am not sure how to do this even if you have fossil installed... on my public server I have a cgi script that return a list of fossil files in the directory being

Re: [fossil-users] Wanted: adventurous JSON fans to take a test spin

2011-09-29 Thread David Bovill
Thanks for this - I'm definitely going to need it, and will try to make time to do some tests next week :) On 27 September 2011 06:12, Stephan Beal sgb...@googlemail.com wrote: Hi, all! With almost 90kb of new functionality and 21 pages of draft spec docs[1], the JSON branch has reached a

[fossil-users] Importing a single file from GIT

2011-09-24 Thread David Bovill
I've a large GIT repository, that I'd like to break up into a number of smaller Fossil repositories. Does anyone know the git related syntax to export the history of single file (or even subfolder) and pipe that into a new fossil repo? ___ fossil-users

[fossil-users] fossil remote-url

2011-07-17 Thread David Bovill
From the help: Usage: fossil remote-url ?URL|off? Query and/or change the default server URL used by the pull, push, and sync commands. The remote-url is set automatically by a clone command or by any sync, push, or pull command that specifies an explicit URL. The default remote-url is

[fossil-users] Permissions and HTTP download of individual files

2011-07-12 Thread David Bovill
I'd like to give users the ability to download a single file from the repository. I have a program which needs to download this file, and I don't want to have the users manually download the file by going to the web site and logging in. When the checkout permission (*o* *Check-Out:* Check out

[fossil-users] Importing a file or folder from a large Git repository

2011-06-13 Thread David Bovill
At the moment all my components are in a single folder, and I'd like to import them into fossil as separate repositories. I guess this is more of a Git question - but has anyone done this before? ___ fossil-users mailing list

Re: [fossil-users] Multiple Repositories

2011-06-10 Thread David Bovill
Thanks for the replies - so it seems I won't have to worry about managing open connections (and I'll have to track down that bug a bit more - probably in my scripts :) On 10 June 2011 17:57, Tomek Kott tkott.s...@gmail.com wrote: However I'm just trying to get my head around what fossil open

Re: [fossil-users] Moving a local repository to a hosted repo

2011-03-15 Thread David Bovill
Thanks everyone for the input - I'll retry ftping the local repo... On 14 March 2011 21:06, Anthony Jefferson ac_jeffer...@yahoo.com wrote: I do the following for all our published repositories: 1. Create the repositories offline 2. Add users, Adjust Ticket Pull-downs, mark which files are

[fossil-users] Moving a local repository to a hosted repo

2011-03-14 Thread David Bovill
At the moment the way I start a shared repo, is to create it on the server and then clone the shared repo to a local copy. However, it is more useful to be able to do this the other way round, that is to start a repo locally (perhaps when you are offline) and later upload / sync this with a

Re: [fossil-users] Howto construct a download url for the latest file in a repository?

2011-03-13 Thread David Bovill
The zip file is for the entire checkout - any way to download the latest version of a single file without referring to a particular version with a sha1? If not how can I deduce the sha1 of the latest commit of a given file based on parsing the output of fossil shell commands? On 12 March 2011

[fossil-users] Howto construct a download url for the latest file in a repository?

2011-03-12 Thread David Bovill
Is there a syntax for constructing a url which would directly download a file from the repository? Looking at the way the web site is constructed it looks like there are only direct urls to a particular artifact - I want to use a url to link to the latest version of the file, not a particular

Re: [fossil-users] Howto construct a download url for the latest file in a repository?

2011-03-12 Thread David Bovill
On 12 March 2011 17:37, Richard Hipp d...@sqlite.org wrote: In the name=NAME part of the URL, the NAME does not have to be a SHA1 hash. It can be any of the forms described at http://www.fossil-scm.org/fossil/doc/trunk/www/checkin_names.wiki such as trunk. So perhaps you could use:

Re: [fossil-users] Basic question: how to create fossil web service using bash cgi

2011-03-08 Thread David Bovill
-scm.org Subject: Re: [fossil-users] Basic question: how to create fossil web service using bash cgi On Sun, 6 Mar 2011, David Bovill wrote: My bash scripting is very basic. I've been trying to create some cgi's on the server that will let me create new fossil repos. I've this test cgi

[fossil-users] Basic question: how to create fossil web service using bash cgi

2011-03-06 Thread David Bovill
My bash scripting is very basic. I've been trying to create some cgi's on the server that will let me create new fossil repos. I've this test cgi, and am unable to issue the commands to fossil that I am able to in the terminal. #!/bin/sh # disable filename globbing set -f echo Content-type:

Re: [fossil-users] How to deal with ,,submodules''?

2011-02-05 Thread David Bovill
I've a need to do this as well, and have been thinking about using git to store the overall project and using separate fossil repositories for each submodule. This would involve duplicating the repository data in a submodule as it would be stored both in fossil and in git - but I think this would

[fossil-users] Tag names: permitted characters

2011-01-26 Thread David Bovill
What are the permitted characters for a tag name? Are spaces or international characters allowed? ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

[fossil-users] Cross Platform GUI

2011-01-26 Thread David Bovill
Is there an existing project to create a cross-platform GUI for fossil? There is the web interface, and maybe that is all that is needed? Certainly a native interface would be more snappy - but what other features could a a graphical front end add? I'm asking as I'll be making a cross platform

[fossil-users] Which port is a repository being served on?

2011-01-26 Thread David Bovill
I know that the shell returns info about the url and process id that the web interface is being served on - but is there a way to query this given a repository name / path? Or do I have to track these in my app? ___ fossil-users mailing list

Re: [fossil-users] Tag names: permitted characters

2011-01-26 Thread David Bovill
On 26 January 2011 13:57, Richard Hipp d...@sqlite.org wrote: Perhaps I should add a restriction somewhere that disallows whitespace at the beginning or at the end of the tag name. Maybe, too, I should disallow CR and NL in tag names. What do you think? I think this would cause no harm -

Re: [fossil-users] Which port is a repository being served on?

2011-01-26 Thread David Bovill
: On Wed, Jan 26, 2011 at 9:04 AM, David Bovill da...@architex.tv wrote: I know that the shell returns info about the url and process id that the web interface is being served on - but is there a way to query this given a repository name / path? Or do I have to track these in my app? I don't

Re: [fossil-users] Cross Platform GUI

2011-01-26 Thread David Bovill
Found these links: 1. http://stackoverflow.com/questions/2135779/gui-for-fossil-scm On 26 January 2011 13:45, David Bovill da...@architex.tv wrote: Is there an existing project to create a cross-platform GUI for fossil? There is the web interface, and maybe that is all that is needed

[fossil-users] fossil tag add TAGNAME CHECK-IN

2011-01-26 Thread David Bovill
Basic question - is CHECK-IN a valid value rather than using the sha1 of the checkin? I'd like to simply add a tag to the most recent checkin - but leaving the CHECK-IN parameter out does not work? ___ fossil-users mailing list

Re: [fossil-users] fossil tag add TAGNAME CHECK-IN

2011-01-26 Thread David Bovill
On 26 January 2011 16:17, Dmitry Chestnykh dmi...@codingrobots.com wrote: On Jan 26, 2011, at 3:54 PM, David Bovill wrote: Basic question - is CHECK-IN a valid value rather than using the sha1 of the checkin? I'd like to simply add a tag to the most recent checkin - but leaving the CHECK

Re: [fossil-users] fossil tag add TAGNAME CHECK-IN

2011-01-26 Thread David Bovill
OK - so we have tip, current, ckout, next and previous! On 26 January 2011 17:17, Richard Hipp d...@sqlite.org wrote: Tip refers to the most recent check-in in your repository, which is not necessarily the check-in you most recently did yourself, or which you currently have checked out.

Re: [fossil-users] Automatic creation of file to wiki or embedded docs

2011-01-18 Thread David Bovill
Very useful Rene! Thanks :) And Richard do please add Th_Store(parameters, g.zExtra) :) On 18 January 2011 13:14, Rene renew...@xs4all.nl wrote: On Tue, 18 Jan 2011 09:25:09 +, David Bovill wrote: Thanks for the comments Rene... On 17 January 2011 23:50, Rene wrote: You can

Re: [fossil-users] Automatic creation of file to wiki or embedded docs

2011-01-17 Thread David Bovill
On 17 January 2011 01:29, Ron Wilson ronw.m...@gmail.com wrote: On Sun, Jan 16, 2011 at 5:24 AM, David Bovill da...@architex.tv wrote: Do you mean only in Fossil's file display, Yes - this is the main need. Simply put you have to be able to move back and forth between source code

[fossil-users] Automatic creation of file to wiki or embedded docs

2011-01-16 Thread David Bovill
One think I'm missing in terms of usability is the ability to intimately link a particular source code file with a wiki page. AFAIK this is not part of the structure or interface at the moment - so no wiki-tags for linking to / embedding the source code from the wiki. It seems that this may be

Re: [fossil-users] Versioning without files

2011-01-15 Thread David Bovill
On 15 January 2011 05:00, Stephan Beal sgb...@googlemail.com wrote: If there is an outcry of support for exporting certain fossil data as JSON, i would ask the group to propose JSON schemas for the relevant areas. (i'm thinking: timeline, maybe wiki pages... what else?). In terms of schemas

Re: [fossil-users] DB Schema

2011-01-14 Thread David Bovill
On 14 January 2011 02:44, Richard Hipp d...@sqlite.org wrote: On the homepage http://www.fossil-scm.org/ on the right-hand column is an link for Doc Index which takes you to http://www.fossil-scm.org/fossil/doc/trunk/www/permutedindex.wiki which is a good place to go to look for information

[fossil-users] Fossil skins: how to create your own?

2011-01-14 Thread David Bovill
I'm up and playing with Fossil - looking great so far. I'm going to experiment with how far I can hack the look and feel of the wiki / server output. - it looks like you can set up your won skins - but are fixed to the 3 defaults. Can you add your own via the db? - with the header and

[fossil-users] DB Schema

2011-01-13 Thread David Bovill
Quick question - is there a schema, or some description of the db structure on the wiki I can take a look at? ___ 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] DB Schema

2011-01-13 Thread David Bovill
, Jan 13, 2011 at 2:16 PM, David Bovill da...@architex.tv wrote: Quick question - is there a schema, or some description of the db structure on the wiki I can take a look at? http://www.fossil-scm.org/fossil/doc/trunk/www/tech_overview.wiki http://www.fossil-scm.org/fossil/doc/trunk/www

Re: [fossil-users] Versioning without files

2011-01-11 Thread David Bovill
On 11 January 2011 17:45, Stephan Beal sgb...@googlemail.com wrote: On Tue, Jan 11, 2011 at 1:44 PM, David Bovill da...@architex.tv wrote: In my case I'd like to be able to keep track of script elements, handlers, functions, methods, classes etc and not the files they happen

[fossil-users] Creating a graphical front end and some sqlite questions

2011-01-10 Thread David Bovill
Hello - I'm new to the list and Fossil - I'm coming from GIT :) I've just read, pretty well the whole web site - but not got my hands dirty yet. I've got a few questions regarding how I can create / integrate a front end with Fossil. I'm basically checking to see how appropriate Fossil is going