Re: [fossil-users] cloning http://www.fossil-scm.org/ fails
2010/1/25 D. Richard Hipp d...@hwaci.com I'm not sure what was going wrong. But hopefully it is fixed now. It works now on all the platforms I have access to. ___ 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] cloning http://www.fossil-scm.org/ fails
On Jan 24, 2010, at 2:11 AM, Michael Richter wrote: OK, maybe I'm being as thick as a whale sandwich, but when I try to update my copy of fossil from fossil-scm.org, after downloading a source tarball and compiling, I get the same login problem I had with my earlier version: mich...@isolde:~/Development/fossil$ fossil version This is fossil version [a3c97c9063] 2010-01-21 20:53:59 UTC mich...@isolde:~/Development/fossil$ fossil remote-url http://fossil-scm.org/fossil mich...@isolde:~/Development/fossil$ fossil remote-url --show-pw http://fossil-scm.org/fossil I removed the --show-pw option. It seemed insecure. But you can still put the userid on the remote-url: fossil remote http://ttmrich...@www.fossil-scm.org/ Then the first time you do fossil sync You will get the login failed message and it will prompt you for your password and try again. mich...@isolde:~/Development/fossil$ fossil sync Server:http://fossil-scm.org/fossil Bytes Cards Artifacts Deltas Send: 589 10 0 0 1Server Error: login failed Because it did not backspace over the 1 here, I think that means that you are using an older version of Fossil. I think I fixed that display bug. fossil: server says: login failed I can't clone a new copy either: mich...@isolde:~/Development/fossil$ fossil clone http://www.fossil-scm.org ../junk.fsl Bytes Cards Artifacts Deltas Send: 625 25 0 0 1Server Error: login failed fossil: server says: login failed This is from the source tarball taken from http://www.fossil-scm.org/download/fossil-src-20100121205359.tar.gz and compiled straight. 2010/1/24 D. Richard Hipp d...@hwaci.com On Jan 23, 2010, at 5:55 PM, Florian Weimer wrote: * D. Richard Hipp: Better: Just download the latest precompiled binary or tarball from http://www.fossil-scm.org/download.html and use that instead of the version you are currently using. Is this supposed to reoccur? I'm asking because Debian is planning to release Fossil with squeeze, and this doesn't make sense if the client needs constant code changes to stay interoperable with other people's repositories. No. It was a mistake that it occurred this time. And probably soon I'll fix the server so that it works with both old and new clients. The change was that the server is now a little stricter about login credentials. If the password is not correct, it complains and refuses to do anything. Before the change, the server would continue running with the permissions of the special user nobody. Meanwhile, older clients are sending (bogus) login credentials even if the user doesn't specify any. (That has also been fixed.) The combination of these two issues results in older clients not being able to clone from newer servers. I can probably come up with a hack to the server-side that allows older clients to work. But it seems like a relatively minor problem, so I haven't put much effort into that yet. (This is a bit like changing the on-disk file format for SQLite. 8-) The Fossil file format is unchanged. It is just the authentication protocol that has been updated and which caused the problem. ___ 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...@hwaci.com ___ 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 D. Richard Hipp d...@hwaci.com ___ 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] cloning http://www.fossil-scm.org/ fails
On Jan 23, 2010, at 5:55 PM, Florian Weimer wrote: * D. Richard Hipp: Better: Just download the latest precompiled binary or tarball from http://www.fossil-scm.org/download.html and use that instead of the version you are currently using. Is this supposed to reoccur? I'm asking because Debian is planning to release Fossil with squeeze, and this doesn't make sense if the client needs constant code changes to stay interoperable with other people's repositories. No. It was a mistake that it occurred this time. And probably soon I'll fix the server so that it works with both old and new clients. The change was that the server is now a little stricter about login credentials. If the password is not correct, it complains and refuses to do anything. Before the change, the server would continue running with the permissions of the special user nobody. Meanwhile, older clients are sending (bogus) login credentials even if the user doesn't specify any. (That has also been fixed.) The combination of these two issues results in older clients not being able to clone from newer servers. I can probably come up with a hack to the server-side that allows older clients to work. But it seems like a relatively minor problem, so I haven't put much effort into that yet. (This is a bit like changing the on-disk file format for SQLite. 8-) The Fossil file format is unchanged. It is just the authentication protocol that has been updated and which caused the problem. ___ 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...@hwaci.com ___ 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] cloning http://www.fossil-scm.org/ fails
On Jan 21, 2010, at 5:37 PM, D. Richard Hipp wrote: On Jan 21, 2010, at 4:58 PM, D. Richard Hipp wrote: On Jan 21, 2010, at 7:35 PM, Kyle McKay wrote: All 3 of the URLs listed on: http://www.fossil-scm.org/fossil/doc/tip/www/selfhost.wiki fail with the same error on a clone attempt. I'll work on a fix. Please try again in a few hours Better: Just download the latest precompiled binary or tarball from http://www.fossil-scm.org/download.html and use that instead of the version you are currently using. Thanks. I ended up using anonymous login on the web site to grab a zip file of the sources matching the version running the web site and built that and then I was able to clone just fine. And it looks like that's also the version being hosted on http://www.fossil-scm.org/download.html (I was sure I looked there earlier for it, but maybe I just misread the dates). ___ 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] cloning http://www.fossil-scm.org/ fails
On Jan 21, 2010, at 7:35 PM, Kyle McKay wrote: I just recently tried to clone http://www.fossil-scm.org/, but it fails: fossil clone http://www.fossil-scm.org/ fossil.fossil Bytes Cards Artifacts Deltas Send: 49 1 0 0 Received: 20 1 0 0 Send: 619 24 0 0 1Server Error: login failed fossil: server says: login failed Is that expected? Do I need to get a login in order to be able to clone? All 3 of the URLs listed on: http://www.fossil-scm.org/fossil/doc/tip/www/selfhost.wiki fail with the same error on a clone attempt. I made some changes to the way the sync server works - it is much stricter about logins now. If the userid/password is wrong, it aborts straightaway, whereas before it would continue running, but with the privileges of user nobody. This is OK with the corresponding version of the client, since the latest client code doesn't even attempt to login if no login credentials are provided. However, the old client tries to login even if not credentials are given. So this doesn't work well with the new server. Oops. I'll work on a fix. Please try again in a few hours D. Richard Hipp d...@hwaci.com ___ 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] cloning http://www.fossil-scm.org/ fails
On Jan 21, 2010, at 7:57 PM, D. Richard Hipp wrote: On Jan 21, 2010, at 7:35 PM, Kyle McKay wrote: All 3 of the URLs listed on: http://www.fossil-scm.org/fossil/doc/tip/www/selfhost.wiki fail with the same error on a clone attempt. I'll work on a fix. Please try again in a few hours Better: Just download the latest precompiled binary or tarball from http://www.fossil-scm.org/download.html and use that instead of the version you are currently using. With the new client, you don't need to include the password in the URL of a sync. Instead of: fossil sync http://userid:passw...@example.com/ You just include the userid, like this: fossil sync http://use...@example.com/ And it prompts you for the password. So people looking over your shoulder can't see your password. And if you enter the wrong password, it tells you and asks again. Or if your password changes and you do just: fossil sync It will prompt you to enter a new password (which it of course remembers for the next sync...) So, I didn't break stuff arbitrarily. I really am trying to make things better. Thanks for your patience. D. Richard Hipp d...@hwaci.com ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users