On Fri, 15 Nov 2013 22:24:27 +0100
Stephan Beal <[email protected]> wrote:
> Ooops... unintentionally got the thread running off-list...

I'll add my two responses here too:

> There were recently a number of tweaks made to the user name handling and
> it's possible that something broke in the process. i don't expect that's
> the problem, but i'm out of ideas :/.  

Interesting!

$ fossil clone http://[email protected]/com.io7m.cirrus/jogl-examples 
jogl-examples2.fossil
password for m0: 
remember password (Y/n)? Y
Round-trips: 2   Artifacts sent: 0  received: 4
Clone finished with 601 bytes sent, 1198 bytes received
Rebuilding repository meta-data...
  100.0% complete...
project-id: 88519ecd92d8ad16e7ca2b4a16bd61ddbab883fa
admin-user: m0 (password is "b8be21")

$ mkdir jogl-examples2
$ cd jogl-examples2
$ fossil open ../jogl-examples2.fossil 
$ ls
$ ls
$ echo > README.txt
$ fossil add README.txt 
ADDED  README.txt
$ fossil commit -m 'README'
Autosync:  http://[email protected]/com.io7m.cirrus/jogl-examples
Round-trips: 1   Artifacts sent: 0  received: 0
Pull finished with 377 bytes sent, 287 bytes received
New_Version: cf09a2a5e14f2b4f04a94f11ba76203512f03778
Autosync:  http://[email protected]/com.io7m.cirrus/jogl-examples
Round-trips: 1   Artifacts sent: 2  received: 0
Sync finished with 1245 bytes sent, 340 bytes received

So this time, it actually asked me for a password on cloning (which I don't
remember it ever doing before). I entered the password that was printed
when the repository was created on the server side and it seemed happy.

--8<--

And then:

-->8--

Something's definitely broken.

On the server side:

$ fossil init broken.fossil
project-id: 1010ff8e54729a6fc501aa32aa97485b32cdf79a
server-id:  8ca0cf03909980c31afecd0d53584c7a0886347d
admin-user: fossil (initial password is "63cdac")
$ fossil user new m0 -R broken.fossil 
contact-info: 
password:
Retype new password:
$ ls -alF broken.fossil 
-rw-rw-r--  1 fossil  source  58368 Nov 15 21:32 broken.fossil

On the client side:

$ fossil clone http://[email protected]/com.io7m.cirrus/broken 
broken.fossil
password for m0: 
remember password (Y/n)? 
Round-trips: 2   Artifacts sent: 0  received: 3
Clone finished with 588 bytes sent, 1161 bytes received
Rebuilding repository meta-data...
  100.0% complete...
project-id: 1010ff8e54729a6fc501aa32aa97485b32cdf79a
admin-user: m0 (password is "632d09")

$ mkdir broken
$ cd broken
$ fossil open ../broken.fossil 
$ touch README.txt
$ fossil add README.txt 
ADDED  README.txt
$ fossil commit -m 'Initial'
Autosync:  http://[email protected]/com.io7m.cirrus/broken
Round-trips: 1   Artifacts sent: 0  received: 0
Pull finished with 365 bytes sent, 287 bytes received
New_Version: ab4971a89e310d5f881847f8e5a38f5ae28c5996
Autosync:  http://[email protected]/com.io7m.cirrus/broken
Round-trips: 1   Artifacts sent: 2  received: 0
Error: not authorized to write
Round-trips: 1   Artifacts sent: 2  received: 0
Sync finished with 1240 bytes sent, 313 bytes received
Autosync failed

M
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to