[fossil-users] JSON Web Client not in fossil pages

2014-10-15 Thread Carlos Alberto Ruiz Uribe
Hi, I would like to create a simply Web Client that will work likes the desktop application Fuel-scm using the JSON-API, I have reviewed the JSON API Documentation, and i 'm wondering: How to add ( a file to the repo) with JSON API in HTML, i mean the equivalent to Fossil add , something l

Re: [fossil-users] SVN <--> Fossil & Chiselapp hosting

2014-10-15 Thread Ron W
On Wed, Oct 15, 2014 at 4:18 PM, Stephan Beal wrote: > On Wed, Oct 15, 2014 at 10:11 PM, Ron W wrote: > >> Or I could try using libfossil to create a Fossil repo directly. >> > > [stephan@host:~/tmp]$ f-new ron.fsl -m 'initial chicken.' > I mean that as my converter extracts files and metadata

Re: [fossil-users] SVN <--> Fossil & Chiselapp hosting

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 10:11 PM, Ron W wrote: > Or I could try using libfossil to create a Fossil repo directly. > [stephan@host:~/tmp]$ f-new ron.fsl -m 'initial chicken.' Created repository: ron.fsl server-code= f107b37d27e8ede74a65e9ec99350509cd77c3f5 project-code = 047e669521ea219bbc4

Re: [fossil-users] SVN <--> Fossil & Chiselapp hosting

2014-10-15 Thread Ron W
On Wed, Oct 15, 2014 at 2:51 PM, Gour wrote: > Well, I believe that Fossil could be interested for many SVN projects. > > The project which I converted has Git mirror which works with svn2git > and every project users can see how does it feel using new (D)VCS. In > that way, by not being able to

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Ron W
On Wed, Oct 15, 2014 at 2:36 PM, Stephan Beal wrote: > FYI: i committed one on top of that. The advantage is that it's > centralized, the disadvantage is that it hashes every manifest before > parsing (to get the UUID, since parsing modifies it). Might be considered > too expensive, considering h

Re: [fossil-users] SVN <--> Fossil & Chiselapp hosting

2014-10-15 Thread Gour
On Wed, 15 Oct 2014 13:30:05 -0400 Sean Woods wrote: > I experimented with SVN to Fossil via Git a little over a year ago. > It worked well for an initial export with no future imports, but for > incremental updates it didn't work very well. The diffs were messed > up. Here is the discussion fro

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Richard Hipp
On Wed, Oct 15, 2014 at 2:27 PM, Eric Rubin-Smith wrote: > Richard Hipp wrote: > > > Can you try compiling the tip of the "better-error-msgs" branch and put > > that on your server, then let us know what the new error message is? > > Here we go: > > $ fossil push > Push to https://eas@:10444/ > R

Re: [fossil-users] SVN <--> Fossil & Chiselapp hosting

2014-10-15 Thread Gour
On Wed, 15 Oct 2014 13:23:56 -0400 Ron W wrote: > The easiest way I have found, so far, to convert SVN to Fossil is via > Git. OK, that's what I was assuming. > In theory, writing a SVN-dump to git-fast-export format converter > could be done. If you want to have a near real time mirror of the

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Eric Rubin-Smith
Stephan Beal wrote: > You mention custom changes with regards to push scripts, which make me > curious about that error message: i can find "push script failed" nowhere > in fossil. Where is it coming from (if you know)? The strings are escaped :) eric@dev:~/Fossil-5ff4e33617/src$ grep -r 'push\

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Eric Rubin-Smith
Eric Rubin-Smith wrote: > $ fossil push > Push to https://eas@:10444/ > Round-trips: 1 Artifacts sent: 2 received: 0 > Error: push script failed: syntax error in manifest > [449bc674c3fc9c036db0d4dc71281b7cb900fe7d] > Round-trips: 1 Artifacts sent: 2 received: 0 > Push finished with 818173

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 8:19 PM, Richard Hipp wrote: > On Wed, Oct 15, 2014 at 2:15 PM, Eric Rubin-Smith > wrote: > >> Richard Hipp wrote: >> >> > Are you sure that is the manifest that is causing the problem? Perhaps >> we >> > should enhance the error message to include the UUID of the proble

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 8:27 PM, Eric Rubin-Smith wrote: > Error: push script failed: syntax error in manifest > [449bc674c3fc9c036db0d4dc71281b7cb900fe7d] > You mention custom changes with regards to push scripts, which make me curious about that error message: i can find "push script failed" n

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Eric Rubin-Smith
Richard Hipp wrote: > Can you try compiling the tip of the "better-error-msgs" branch and put > that on your server, then let us know what the new error message is? Here we go: $ fossil push Push to https://eas@:10444/ Round-trips: 1 Artifacts sent: 2 received: 0 Error: push script failed: sy

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Eric Rubin-Smith
Richard Hipp wrote: > Can you try compiling the tip of the "better-error-msgs" branch and put > that on your server, then let us know what the new error message is? Our emails crossed paths. I'll do as you suggest and let you know what happens. -- Eric A. Rubin-Smith Aterlo Networks, Inc. http

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Eric Rubin-Smith
Stephan Beal wrote: > Working on a patch now. Sorry, I'm realizing that the Fossil version I mentioned (1.29) is tainted with my own private changes to the C code (to get my TH1 hooks working). I submitted them to this list, and Joe Mistachkin accepted them -- but with significant changes. It

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Richard Hipp
On Wed, Oct 15, 2014 at 2:15 PM, Eric Rubin-Smith wrote: > Richard Hipp wrote: > > > Are you sure that is the manifest that is causing the problem? Perhaps > we > > should enhance the error message to include the UUID of the problem > > manifest as part of the error message? > > In case you find

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Eric Rubin-Smith
Richard Hipp wrote: > Are you sure that is the manifest that is causing the problem? Perhaps we > should enhance the error message to include the UUID of the problem > manifest as part of the error message? In case you find it useful for your debugging, I have continued plodding along with my no

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 7:56 PM, Richard Hipp wrote: > Perhaps we should enhance the error message to include the UUID of the > problem manifest as part of the error message? > Working on a patch now. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Richard Hipp
On Wed, Oct 15, 2014 at 1:47 PM, Stephan Beal wrote: > >> >> Let me re-send you the manifest as a 'gz' file. Hopefully no code >> between me and you will be too clever for its own good this time. >> > > Good idea. Please send it to Richard, too. > > "fossil test-parse" runs without error on the

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 7:47 PM, Stephan Beal wrote: > On Wed, Oct 15, 2014 at 7:44 PM, Eric Rubin-Smith > wrote: > >> Let me re-send you the manifest as a 'gz' file. Hopefully no code >> > between me and you will be too clever for its own good this time. >> > No, that one looks good: [stephan

Re: [fossil-users] SVN <--> Fossil & Chiselapp hosting

2014-10-15 Thread Ron W
On Wed, Oct 15, 2014 at 1:30 PM, Sean Woods wrote: > I wish the > "gitmarks" feature was better supported in Fossil to have a true > incremental import without scripting multiple version control systems. > But, development efforts are probably better placed elsewhere. Fossil support for increme

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 7:44 PM, Eric Rubin-Smith wrote: > How dare you suggest it! :) I don't think that's what's happening. > Maybe that was your mail client when you saved my attachment, or mine > when I initially sent it (though I doubt it, since I am using a > Linux + mutt). > > Here's wh

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Eric Rubin-Smith
Stephan Beal wrote: > According my debugger, that uuid is 41 bytes long, including a > carriage-return character. How on earth that happend is a mystery to me, as > fossil does not use \r characters anywhere unless it's prescribed by a > standard (e.g. HTTP headers). > > The C-card also contains

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 7:31 PM, Stephan Beal wrote: > F .fossil-settings/allow-symlinks a09a968bf05a50058f3ad50132730b719bc39e76 > > That UUID is 40 bytes long, i.e. an SHA1 hash, which is syntactically > correct So i'm not sure what he's complaining about. Will need to run this > through the de

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Richard Hipp
Can somebody please forward the bad manifest to me too? On Wed, Oct 15, 2014 at 1:31 PM, Stephan Beal wrote: > On Wed, Oct 15, 2014 at 7:22 PM, Stephan Beal > wrote: > >> [stephan@host:~/cvs/fossil/cwal]$ f-mfparse ~/Downloads/manifest.txt >> Parsing this manifest: /home/stephan/Downloads/manif

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 7:22 PM, Stephan Beal wrote: > [stephan@host:~/cvs/fossil/cwal]$ f-mfparse ~/Downloads/manifest.txt > Parsing this manifest: /home/stephan/Downloads/manifest.txt > f-mfparse: ERROR #128 (FSL_RC_CA_SYNTAX): Malformed UUID in F-card > > Now i need to expand the error reporti

Re: [fossil-users] SVN <--> Fossil & Chiselapp hosting

2014-10-15 Thread Sean Woods
On Wed, Oct 15, 2014, at 01:23 PM, Ron W wrote: > In theory, writing a SVN-dump to git-fast-export format converter could be > done. If you want to have a near real time mirror of the SVN repo, you might > have to create the Fossil repo that way because git-svn "maps" SVN branches > and tags in

Re: [fossil-users] SVN <--> Fossil & Chiselapp hosting

2014-10-15 Thread Ron W
On Wed, Oct 15, 2014 at 4:51 AM, Gour wrote: > As you know, migrating the project to new (D)VCS is never > straightforward procedure without opposition from other camps mixed with > politics. :-) > > However, natural step would be to provide Fossil mirror in order to show > its adavantages over t

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 7:11 PM, Stephan Beal wrote: > On Wed, Oct 15, 2014 at 7:03 PM, Eric Rubin-Smith > wrote: > >> Keep in mind that this 'master' repo doesn't have any sandboxes open >> against it. It just is there for syncing and the Transfer hooks. So >> there's no sandbox in which to t

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 7:03 PM, Eric Rubin-Smith wrote: > Keep in mind that this 'master' repo doesn't have any sandboxes open > against it. It just is there for syncing and the Transfer hooks. So > there's no sandbox in which to turn on the 'manifest' setting. > i suspect it's choking on the

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Eric Rubin-Smith
Stephan Beal wrote: > > and then the manifest should be dumped to "manifest.uuid". Please post the > > contents of that file for a checkin which fails this way, and i think that > > will show us what's wrong. And, just to add some fun, I just got a different error message while trying to run 'syn

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Eric Rubin-Smith
Stephan Beal wrote: > > and then the manifest should be dumped to "manifest.uuid". Please post the > > contents of that file for a checkin which fails this way, and i think that > > will show us what's wrong. Keep in mind that this 'master' repo doesn't have any sandboxes open against it. It jus

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 6:48 PM, Stephan Beal wrote: > fossil set manifest on > > (if it's not already) > > and then the manifest should be dumped to "manifest.uuid". Please post the > contents of that file for a checkin which fails this way, and i think that > will show us what's wrong. > My mi

Re: [fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 6:31 PM, Eric Rubin-Smith wrote: > I tried this, which doesn't give much useful info: > > $ fossil test-parse-manifest ./manifest > > I assume it's the remove fossil complaining, though -- not the local one. > That's my assumption, too, but can you paste that one for us?

[fossil-users] push fails with complaint about manifest syntax error

2014-10-15 Thread Eric Rubin-Smith
I haven't changed much recently about my repository topology. One central "master" repo that I push to from my "dev" repo. No one else is doing any pushing. The master repo has hooks set up for publishing my commits etc to a remote HTTP REST API. The only change I made recently is to open up my

Re: [fossil-users] http --enforce-remote-user

2014-10-15 Thread Ron W
On Wed, Oct 15, 2014 at 12:04 AM, Andy Bradford wrote: > Thus said David Mason on Tue, 14 Oct 2014 23:27:38 -0400: > > > If I had my ideal, it would be to have a setting like "ssh-clone-id" > > that could be set (in the remote repo) to "-local-", "-remote-", or > > anything else, and in the

Re: [fossil-users] Fossil used for coursework at Ryerson University, Toronto.

2014-10-15 Thread dave
... > Of David Mason > Sent: Tuesday, October 14, 2014 10:32 PM > To: Fossil SCM user's discussion > Subject: Re: [fossil-users] Fossil used for coursework at > Ryerson University,Toronto. > > > Thanks for noticing! > > I'm still wrestling with getting the windows ssh setup properly > described

Re: [fossil-users] SVN <--> Fossil & Chiselapp hosting

2014-10-15 Thread Stephan Beal
On Wed, Oct 15, 2014 at 10:51 AM, Gour wrote: > $ fossil dbstat > repository-size: 660814848 bytes (660.8MB) > artifact-count:248761 (stored as 36568 full text and 212193 delta > blobs) > artifact-sizes:221499 average, 40470493 max, 55100155703 bytes > (55.1GB) total > compression-ratio

[fossil-users] SVN <--> Fossil & Chiselapp hosting

2014-10-15 Thread Gour
Hello, I like Fossil and I'm using it for all my projects. However, I would be glad that it would be used for many (open-source) projects considering that it would be more suitable than Git(hub). Recently I've re-awakened contact with the leader of one big FLOSS project telling him more about Fo