[fossil-users] Fwd: Patch for simple searching

2012-06-19 Thread Baruch Burstein
Forwarding to list

-- Forwarded message --
From: Baruch Burstein bmburst...@gmail.com
Date: Tue, Jun 19, 2012 at 11:08 AM
Subject: Re: [fossil-users] Patch for simple searching
To: Weber, Martin S martin.we...@nist.gov


I tested my search on the pcgsrc repository you mentioned. The first search
took over 2 minutes, subsequent searches on the same check-in were 5
seconds or so. Searching on different check-ins again took anywhere from
almost a minute to almost 3. I assume this is due to the caching of the
undeltafied content. It was pretty obvious this crude search wouldn't scale
well, but thank you for the much bigger test cases I can now use for trying
again.


On Mon, Jun 18, 2012 at 11:35 PM, Weber, Martin S martin.we...@nist.govwrote:

 They're _big_. I don't know about the netbsd source repo, but joerg once
 wrote it's taking him like 90 minutes to clone, ugh. The pkgsrc one is
 available via FTP, too:

 http://ftp.netbsd.org/pub/NetBSD/misc/repositories/fossil/

 Regards,
 -Martin

 On 2012-06-18 16:03 , Baruch Burstein bmburst...@gmail.com wrote:

 
 
 On Mon, Jun 18, 2012 at 10:53 PM, Weber, Martin S martin.we...@nist.gov
 wrote:
 
 
 
 On 2012-06-18 15:15 , Baruch Burstein bmburst...@gmail.com wrote:
 
 I wrote a patch to do simple searching on the source tree at a given
 check-in.
 Note: This is very minimalistic and has much room for improvement:
 1) It just does a straight glob on the files. It does not differentiate
 between whole or partial words, and is always case sensitive.
 
 2) Opening a file in the list does not mark the search terms.
 3) The search box itself is not formatted in any way (CSS)
 4) I experimented with creating a search index, and doing so would help
 solve problems 12, but this seems to work well enough for a start. I
 tested it on the Tcl repository (which is the largest fossil repository I
 am aware of)
 
 
 I hereby make you aware of two violently bigger repositories: The fossil
 mirror of the netbsd source repository and the pkgsrc repository, both
 hosted by joerg sonnenberger:
 
 http://netbsd.sonnenberger.org
 http://pkgsrc.sonnenberger.org
 
 :)
 
 -Martin
 
 
 
 I am cloning them now. Thank you for the information. Just how big are
 they (=how long will the clone run for)?
 
 
 
 
 
 --
 ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
 
 




-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı




-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Anonimous can't create tickets on fossil-scm.org?

2012-06-19 Thread Александр Орефков
subj.
Earler I can create tickets on fossil-scm.org, but now I can not.
I found some errors in sources, wheare I can pos it?

WBR, Alexander Orefkov.
___
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] Anonimous can't create tickets on fossil-scm.org?

2012-06-19 Thread Remigiusz Modrzejewski

On Jun 19, 2012, at 11:17 , Александр Орефков wrote:

 subj.
 Earler I can create tickets on fossil-scm.org, but now I can not.
 I found some errors in sources, wheare I can pos it?

Here, to the list. The ticket system at http://fossil-scm.org was swamped by 
testing tickets and had to be turned off. 


Kind regards,
Remigiusz Modrzejewski



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Build error in VS 2008 with JSON enabled

2012-06-19 Thread Александр Орефков
Hi.
I was tryed build fossil in VS2008 with JSON enabled, and found some
errors in sources.
In attach diff file with fixed errors.

Also in win\Makefile.msc no cson_amalgamation.c

WBR, Alexander Orefkov.


diff.diff
Description: Binary data
___
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] Build error in VS 2008 with JSON enabled

2012-06-19 Thread Stephan Beal
Hi!

Thanks for the details. I will take a look at this asap,  but...

During the week i only have access to my tablet and netbook, so i can't do
any significant coding. I also don't have windows, so cannot test windows
fixes.

I will post back when i cam take a look (probably friday evening).

- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
On Jun 19, 2012 11:42 AM, Александр Орефков oref...@gmail.com wrote:

 Hi.
 I was tryed build fossil in VS2008 with JSON enabled, and found some
 errors in sources.
 In attach diff file with fixed errors.

 Also in win\Makefile.msc no cson_amalgamation.c

 WBR, Alexander Orefkov.

 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


___
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] Anonimous can't create tickets on fossil-scm.org?

2012-06-19 Thread Richard Hipp
On Tue, Jun 19, 2012 at 5:35 AM, Remigiusz Modrzejewski
l...@maxnet.org.plwrote:


 On Jun 19, 2012, at 11:17 , Александр Орефков wrote:

  subj.
  Earler I can create tickets on fossil-scm.org, but now I can not.
  I found some errors in sources, wheare I can pos it?

 Here, to the list. The ticket system at http://fossil-scm.org was swamped
 by testing tickets and had to be turned off.


An idea on the table is to enhance Fossil so that new tickets are embargoed
and then approved by authorized users and are not actually entered into the
system until approved.  This is one of the items on the To-Do list.  If
people show up and are interested, we can work on this at the Fossil code
sprint in Munich, two weeks from today.




 Kind regards,
 Remigiusz Modrzejewski



 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users




-- 
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] [OT] Anonimous can't create tickets on fossil-scm.org?

2012-06-19 Thread Remigiusz Modrzejewski

On Jun 19, 2012, at 16:26 , Richard Hipp wrote:

 If
 people show up and are interested, we can work on this at the Fossil code
 sprint in Munich, two weeks from today.

BTW: any chances for a sprint in the French Riviera in any foreseeable future? 
;)


Kind regards,
Remigiusz Modrzejewski



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Fossil on Android or compiling with tcc?

2012-06-19 Thread Stephan Beal
Hi, all,

Yesterday i got a tcc-based compiler for my tablet and i am curious if any
of you have gotten fossil to compile (perhaps cross-compiling?) on (or for)
Android?
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] fossil problem

2012-06-19 Thread Benedikt Ahrens
Dear all,

since today I am experiencing problems with my fossil repositories:
I can clone and update from the fossil repo on my server, but not write
to it:

$ fossil ci -m added test textfile
Autosync:  http://user@server/r.cgi/ba
Bytes  Cards  Artifacts Deltas
Sent: 130  1  0  0
Received:3206 69  0  0
Total network traffic: 336 bytes sent, 992 bytes received
New_Version: 265359316d615b3be18eecaef671f5028962b0b5
Autosync:  http://user@server/r.cgi/ba
Bytes  Cards  Artifacts Deltas
Sent:4250 74  1  2
Error: Database error: unable to open database file
INSERT INTO rcvfrom(uid, mtime, nonce, ipaddr)VALUES(1,
julianday('now'), '36747a7a30d63512b7bcf90f290631c838dbfb43',
'abc.def.hij.klm')
Received: 201  1  0  0
Total network traffic: 2490 bytes sent, 55 bytes received
fossil: Autosync failed

$ fossil version
This is fossil version [6502627a3e] 2011-02-08 12:52:37 UTC

Fossil versions are the same locally and on the server.

The problem concerns all fossil repos on that server.

Do you know how to fix this?

Please put me in CC, since I am not subscribed to the list.
Thanks a lot.
Best,
Benedikt



___
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] fossil problem

2012-06-19 Thread Kevin Martin
Just an idea, check the permissions of of the database files on the server. 
Make sure the user accessing them has read and write access. I get a similar 
error when I've accidentally set it to 640 instead of 660.

Thanks,
Kevin

Sent from my iPhone

On 19 Jun 2012, at 18:59, Benedikt Ahrens benedikt.ahr...@gmx.net wrote:

 Dear all,
 
 since today I am experiencing problems with my fossil repositories:
 I can clone and update from the fossil repo on my server, but not write
 to it:
 
 $ fossil ci -m added test textfile
 Autosync:  http://user@server/r.cgi/ba
Bytes  Cards  Artifacts Deltas
 Sent: 130  1  0  0
 Received:3206 69  0  0
 Total network traffic: 336 bytes sent, 992 bytes received
 New_Version: 265359316d615b3be18eecaef671f5028962b0b5
 Autosync:  http://user@server/r.cgi/ba
Bytes  Cards  Artifacts Deltas
 Sent:4250 74  1  2
 Error: Database error: unable to open database file
 INSERT INTO rcvfrom(uid, mtime, nonce, ipaddr)VALUES(1,
 julianday('now'), '36747a7a30d63512b7bcf90f290631c838dbfb43',
 'abc.def.hij.klm')
 Received: 201  1  0  0
 Total network traffic: 2490 bytes sent, 55 bytes received
 fossil: Autosync failed
 
 $ fossil version
 This is fossil version [6502627a3e] 2011-02-08 12:52:37 UTC
 
 Fossil versions are the same locally and on the server.
 
 The problem concerns all fossil repos on that server.
 
 Do you know how to fix this?
 
 Please put me in CC, since I am not subscribed to the list.
 Thanks a lot.
 Best,
 Benedikt
 
 
 
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 
___
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] fossil problem

2012-06-19 Thread Benedikt Ahrens

That was indeed the problem.
Thanks a lot for your help.

All the best,
Benedikt

On 06/19/2012 08:21 PM, Kevin Martin wrote:
 Just an idea, check the permissions of of the database files on the server. 
 Make sure the user accessing them has read and write access. I get a similar 
 error when I've accidentally set it to 640 instead of 660.
 
 Thanks,
 Kevin
 
 Sent from my iPhone
 
 On 19 Jun 2012, at 18:59, Benedikt Ahrens benedikt.ahr...@gmx.net wrote:
 
 Dear all,

 since today I am experiencing problems with my fossil repositories:
 I can clone and update from the fossil repo on my server, but not write
 to it:

 $ fossil ci -m added test textfile
 Autosync:  http://user@server/r.cgi/ba
Bytes  Cards  Artifacts Deltas
 Sent: 130  1  0  0
 Received:3206 69  0  0
 Total network traffic: 336 bytes sent, 992 bytes received
 New_Version: 265359316d615b3be18eecaef671f5028962b0b5
 Autosync:  http://user@server/r.cgi/ba
Bytes  Cards  Artifacts Deltas
 Sent:4250 74  1  2
 Error: Database error: unable to open database file
 INSERT INTO rcvfrom(uid, mtime, nonce, ipaddr)VALUES(1,
 julianday('now'), '36747a7a30d63512b7bcf90f290631c838dbfb43',
 'abc.def.hij.klm')
 Received: 201  1  0  0
 Total network traffic: 2490 bytes sent, 55 bytes received
 fossil: Autosync failed

 $ fossil version
 This is fossil version [6502627a3e] 2011-02-08 12:52:37 UTC

 Fossil versions are the same locally and on the server.

 The problem concerns all fossil repos on that server.

 Do you know how to fix this?

 Please put me in CC, since I am not subscribed to the list.
 Thanks a lot.
 Best,
 Benedikt



 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


___
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] Fossil on Android or compiling with tcc?

2012-06-19 Thread Matt Welland
Perhaps not relevant to Android but just in case it helps  I run fossil
on my n900 (arm based antiquated smart phone). I built using scratchbox,
http://www.scratchbox.org. It was an almost zero effort compile.

On Tue, Jun 19, 2012 at 11:16 AM, Mike Meyer m...@mired.org wrote:

 On Tue, 19 Jun 2012 18:07:58 +0200
 Stephan Beal sgb...@googlemail.com wrote:

  Yesterday i got a tcc-based compiler for my tablet and i am curious if
 any
  of you have gotten fossil to compile (perhaps cross-compiling?) on (or
 for)
  Android?

 There's been some work done on cross-compiling. If you google for
 compile fossil for android, you'll turn up my patches/instructions
 for getting things to compile. I vaguely recall that someone managed
 to get it working properly, but that didn't turn up when I did the
 google search.

mike
 --
 Mike Meyer m...@mired.org  http://www.mired.org/
 Independent Software developer/SCM consultant, email for more information.

 O ascii ribbon campaign - stop html mail - www.asciiribbon.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 mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Fossil on Android or compiling with tcc?

2012-06-19 Thread Stephan Beal
Great! Thank you, Matt! i'll give that a try. If i get it working i'll add
some docs for it.
On Jun 19, 2012 9:13 PM, Matt Welland estifo...@gmail.com wrote:

 Perhaps not relevant to Android but just in case it helps  I run
 fossil on my n900 (arm based antiquated smart phone). I built using
 scratchbox, http://www.scratchbox.org. It was an almost zero effort
 compile.

 On Tue, Jun 19, 2012 at 11:16 AM, Mike Meyer m...@mired.org wrote:

 On Tue, 19 Jun 2012 18:07:58 +0200
 Stephan Beal sgb...@googlemail.com wrote:

  Yesterday i got a tcc-based compiler for my tablet and i am curious if
 any
  of you have gotten fossil to compile (perhaps cross-compiling?) on (or
 for)
  Android?

 There's been some work done on cross-compiling. If you google for
 compile fossil for android, you'll turn up my patches/instructions
 for getting things to compile. I vaguely recall that someone managed
 to get it working properly, but that didn't turn up when I did the
 google search.

mike
 --
 Mike Meyer m...@mired.org  http://www.mired.org/
 Independent Software developer/SCM consultant, email for more information.

 O ascii ribbon campaign - stop html mail - www.asciiribbon.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 mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


___
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] fossil problem

2012-06-19 Thread Stephan Beal
PS: the Directory containing the DB must also be writable, for the db
journal.
 On Jun 19, 2012 8:21 PM, Kevin Martin ke...@khn.org.uk wrote:

 Just an idea, check the permissions of of the database files on the
 server. Make sure the user accessing them has read and write access. I get
 a similar error when I've accidentally set it to 640 instead of 660.

 Thanks,
 Kevin

 Sent from my iPhone

 On 19 Jun 2012, at 18:59, Benedikt Ahrens benedikt.ahr...@gmx.net wrote:

  Dear all,
 
  since today I am experiencing problems with my fossil repositories:
  I can clone and update from the fossil repo on my server, but not write
  to it:
 
  $ fossil ci -m added test textfile
  Autosync:  http://user@server/r.cgi/ba
 Bytes  Cards  Artifacts Deltas
  Sent: 130  1  0  0
  Received:3206 69  0  0
  Total network traffic: 336 bytes sent, 992 bytes received
  New_Version: 265359316d615b3be18eecaef671f5028962b0b5
  Autosync:  http://user@server/r.cgi/ba
 Bytes  Cards  Artifacts Deltas
  Sent:4250 74  1  2
  Error: Database error: unable to open database file
  INSERT INTO rcvfrom(uid, mtime, nonce, ipaddr)VALUES(1,
  julianday('now'), '36747a7a30d63512b7bcf90f290631c838dbfb43',
  'abc.def.hij.klm')
  Received: 201  1  0  0
  Total network traffic: 2490 bytes sent, 55 bytes received
  fossil: Autosync failed
 
  $ fossil version
  This is fossil version [6502627a3e] 2011-02-08 12:52:37 UTC
 
  Fossil versions are the same locally and on the server.
 
  The problem concerns all fossil repos on that server.
 
  Do you know how to fix this?
 
  Please put me in CC, since I am not subscribed to the list.
  Thanks a lot.
  Best,
  Benedikt
 
 
 
  ___
  fossil-users mailing list
  fossil-users@lists.fossil-scm.org
  http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users