Re: [fossil-users] Wiki naming limitations

2012-10-24 Thread Jan Nijtmans
2012/10/24 K k...@lightpowered.org:
 The diff provided works. How can we get this into the official source code?

 James, thank you.

File a ticket. Currently that's only possible for registered users. I just
copied your first mail to a ticket, see:
   https://www.fossil-scm.org/index.html/tktview?name=897c39d284

Then commit it to a branch, such as ticket-897c39d284. (done so)

This allows a fossil developer to evaluate it and run any additional
tests, to see if it breaks anything else unexpectedly.

I don't see anything wrong with it, but I still am not that familiar
with Fossil yet that I can really judge that. The more people
try it and report their success (or not), the more likely
that it will go in eventually.

Regards,
 Jan Nijtmans
___
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] Wiki naming limitations

2012-10-24 Thread Ron Aaron
Wouldn't it be better to make this a parameter the user can adjust
rather than permitting any length?
___
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] V1.24 make test

2012-10-24 Thread Jan Nijtmans
2012/10/22 Clark Christensen cdcmi...@yahoo.com:
 /home/cchriste/build/fossil-src-20121022124804/fossil commit -tag m1 -m
 {merge with br1} -nosign -f
 ERROR: Cannot figure out who you are!  Consider using the --user
 command line option, setting your USER environment variable,
 or setting a default user with fossil user default USER.


Related:

$ fossil user default username
Cannot figure out who you are!  Consider using the --user
command line option, setting your USER environment variable,
or setting a default user with fossil user default USER.
fossil: cannot determine user

or

$ fossil clone -A username http://www.fossil-scm.org/fossil
Cannot figure out who you are!  Consider using the --user
command line option, setting your USER environment variable,
or setting a default user with fossil user default USER.
fossil: cannot determine user


It would be strange to have to write --user username here,
as it can be derived from the command-line already which
username is required

Regards,
   Jan Nijtmans
___
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 v1.24 fails on linux with 'no such file'

2012-10-24 Thread James Bremner

If I download fossil v1.23 to my linux server, everything goes fine.

root@x:/home/james/test# unzip fossil-linux-x86-20120808112557.zip
Archive:  fossil-linux-x86-20120808112557 (1).zip
  inflating: fossil
root@x:/home/james/test# mv fossil fossil_1_23
root@x:/home/james/test# chmod 777 fossil_1_23
root@x:/home/james/test# ./fossil_1_23 help
Usage: ./fossil_1_23 help COMMAND
Common COMMANDs:  (use ./fossil_1_23 help --all for a complete list)
add clean   gdiff   mv  rm  timeline
addremove   clone   helpopensettingsui
all commit  import  pullsqlite3 undo
annotatediffinfopushstash   update
bisect  export  initrebuild status  version
branch  extras  ls  remote-url  sync
changes finfo   merge   revert  tag
This is fossil version 1.23 [957b17af58] 2012-08-08 11:25:57 UTC

But 1.24 fails, with 'No such file' even though a ls command shows the 
file is present, like this:


root@x:/home/james/test# unzip fossil-linux-x86-20121022124804.zip
Archive:  fossil-linux-x86-20121022124804.zip
  inflating: fossil
oot@x:/home/james/test# mv fossil fossil_1_24
root@x:/home/james/test# chmod 777 fossil_1_24
root@x:/home/james/test# ls -l
total 3620
-rw-r--r-- 1 root root  528859 Oct 24 10:04 
fossil-linux-x86-20120808112557.zip
-rw-r--r-- 1 root root  670298 Oct 24 10:04 
fossil-linux-x86-20121022124804.zip

-rwxrwxrwx 1 root root 1061584 Aug 11 10:30 fossil_1_23
-rwxrwxrwx 1 root root 1418656 Oct 22 09:16 fossil_1_24
root@x:/home/james/test# ./fossil_1_24 help
-bash: ./fossil_1_24: No such file or directory

___
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 v1.24 fails on linux with 'no such file'

2012-10-24 Thread Richard Hipp
Maybe it is missing a library or something.  It is increasingly difficult
to construct a Linux binary that runs on many different systems...

What does ldd ./fossil_1_24 tell you?

On Wed, Oct 24, 2012 at 12:13 PM, James Bremner ja...@ravenspoint.comwrote:

 If I download fossil v1.23 to my linux server, everything goes fine.

 root@x:/home/james/test# unzip fossil-linux-x86-**20120808112557.zip
 Archive:  fossil-linux-x86-**20120808112557 (1).zip
   inflating: fossil
 root@x:/home/james/test# mv fossil fossil_1_23
 root@x:/home/james/test# chmod 777 fossil_1_23
 root@x:/home/james/test# ./fossil_1_23 help
 Usage: ./fossil_1_23 help COMMAND
 Common COMMANDs:  (use ./fossil_1_23 help --all for a complete list)
 add clean   gdiff   mv  rm  timeline
 addremove   clone   helpopensettingsui
 all commit  import  pullsqlite3 undo
 annotatediffinfopushstash   update
 bisect  export  initrebuild status  version
 branch  extras  ls  remote-url  sync
 changes finfo   merge   revert  tag
 This is fossil version 1.23 [957b17af58] 2012-08-08 11:25:57 UTC

 But 1.24 fails, with 'No such file' even though a ls command shows the
 file is present, like this:

 root@x:/home/james/test# unzip fossil-linux-x86-**20121022124804.zip
 Archive:  fossil-linux-x86-**20121022124804.zip
   inflating: fossil
 oot@x:/home/james/test# mv fossil fossil_1_24
 root@x:/home/james/test# chmod 777 fossil_1_24
 root@x:/home/james/test# ls -l
 total 3620
 -rw-r--r-- 1 root root  528859 Oct 24 10:04 fossil-linux-x86-**
 20120808112557.zip
 -rw-r--r-- 1 root root  670298 Oct 24 10:04 fossil-linux-x86-**
 20121022124804.zip
 -rwxrwxrwx 1 root root 1061584 Aug 11 10:30 fossil_1_23
 -rwxrwxrwx 1 root root 1418656 Oct 22 09:16 fossil_1_24
 root@x:/home/james/test# ./fossil_1_24 help
 -bash: ./fossil_1_24: No such file or directory

 __**_
 fossil-users mailing list
 fossil-users@lists.fossil-scm.**org fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:**8080/cgi-bin/mailman/listinfo/**fossil-usershttp://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] fossil v1.24 fails on linux with 'no such file'

2012-10-24 Thread James Bremner

root@x:/home/james/test# ldd ./fossil_1_24
not a dynamic executable


___
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 v1.24 fails on linux with 'no such file'

2012-10-24 Thread Richard Hipp
On Wed, Oct 24, 2012 at 1:06 PM, James Bremner ja...@ravenspoint.comwrote:

 root@x:/home/james/test# ldd ./fossil_1_24
 not a dynamic executable


I get this:

drh@tallis:~$ ldd ./fossil
linux-vdso.so.1 =  (0x7fff0bb43000)
libz.so.1 = /lib/x86_64-linux-gnu/libz.so.1 (0x7f7759d39000)
libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7f775997c000)
/lib64/ld-linux-x86-64.so.2 (0x7f7759f6e000)

So clearly your system doesn't like my binary.  Maybe because I'm on an
x86_64 and you are on x86?




 __**_
 fossil-users mailing list
 fossil-users@lists.fossil-scm.**org fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:**8080/cgi-bin/mailman/listinfo/**fossil-usershttp://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] fossil v1.24 fails on linux with 'no such file'

2012-10-24 Thread James Bremner

For the 1.23 binary I get

root@x:/home/james/test# ldd ./fossil_1_23
libz.so.1 = /lib/libz.so.1 (0xb771d000)
libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb75ba000)
/lib/ld-linux.so.2 (0xb7739000)

My server is a virtual private machine running on Quad-Xeon.  I don't 
know much about it.


James


___
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 v1.24 fails on linux with 'no such file'

2012-10-24 Thread Richard Hipp
The precompiled binary has been updated using a new build performed on a
Linode.  Please try again.

On Wed, Oct 24, 2012 at 1:19 PM, James Bremner ja...@ravenspoint.comwrote:

 For the 1.23 binary I get

 root@x:/home/james/test# ldd ./fossil_1_23
 libz.so.1 = /lib/libz.so.1 (0xb771d000)
 libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb75ba000)
 /lib/ld-linux.so.2 (0xb7739000)

 My server is a virtual private machine running on Quad-Xeon.  I don't know
 much about it.

 James



 __**_
 fossil-users mailing list
 fossil-users@lists.fossil-scm.**org fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:**8080/cgi-bin/mailman/listinfo/**fossil-usershttp://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] fossil v1.24 fails on linux with 'no such file'

2012-10-24 Thread James Bremner

The new download works!  Thank you very much.  James


___
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] V1.24 make test

2012-10-24 Thread Clark Christensen

Thank you for the reply.  That's pretty much what I figured.  

FWIW, I do have the USER environment variable set., USER=cchriste.


Trouble is, this condition occurs when running the test suite (make test) after 
compiling from source.  I'm assuming the test suite creates its own repo, so I, 
as user/administrator have no influence over it, and no way to interact with it.

Looking at the merge5/m5.fossil repo, I see the users table has user, drh, in 
addition to the default user accounts.  If I change the test command to:

USER=drh  make test

The merge5 tests complete successfully.  So I'm good now as far as testing the 
binary I built.

But this seems like a bug in the test suite where user, drh, seems to be 
hard-coded?  I sure don't have user drh on my system :-))

In test/merge5.test, I see this code:

# Construct a test repository
#
exec sqlite3 m5.fossil $testdir/${testfile}_repo.sql
fossil rebuild m5.fossil
...


merge5_repo.sql explicitly inserts user drh into the repo.  And I don't see an 
instruction in merge5.test where the current user is added to the repo.


 -Clark




 From: Jan Nijtmans jan.nijtm...@gmail.com
To: Fossil SCM user's discussion fossil-users@lists.fossil-scm.org 
Sent: Wednesday, October 24, 2012 1:27 AM
Subject: Re: [fossil-users] V1.24 make test
 
2012/10/22 Clark Christensen cdcmi...@yahoo.com:
 /home/cchriste/build/fossil-src-20121022124804/fossil commit -tag m1 -m
 {merge with br1} -nosign -f
 ERROR: Cannot figure out who you are!  Consider using the --user
 command line option, setting your USER environment variable,
 or setting a default user with fossil user default USER.


Related:

$ fossil user default username
Cannot figure out who you are!  Consider using the --user
command line option, setting your USER environment variable,
or setting a default user with fossil user default USER.
fossil: cannot determine user

or

$ fossil clone -A username http://www.fossil-scm.org/fossil
Cannot figure out who you are!  Consider using the --user
command line option, setting your USER environment variable,
or setting a default user with fossil user default USER.
fossil: cannot determine user


It would be strange to have to write --user username here,
as it can be derived from the command-line already which
username is required

Regards,
       Jan Nijtmans
___
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