Re: [fossil-users] Cloning issue
On Mar 16, 2017, at 3:04 PM, Dan Raymondwrote: > > Whats not clear in the docs is which password. That’s because it depends. :) If you use an ssh:// URL, you give the OS user password because the local Fossil logs into the remote system and schleps the data back through the SSH connection. If you use an http[s]:// URL, you give the user name and password in the remote Fossil’s Admin > Users configuration because the OS user has nothing to do with anything in that configuration. > nowhere is it mentioned you need a running instance of fossil on the server. https://www.fossil-scm.org/index.html/doc/trunk/www/server.wiki What *should* also appear on that page somewhere is at least one @ sign. ___ 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 issue
Thank you. Whats not clear in the docs is which password. I had interpreted as the site user not the fossil user password. Also nowhere is it mentioned you need a running instance of fossil on the server. All sorted now though and working. Thanks to all for help On 16 Mar 2017 22:32, "Warren Young"wrote: > On Mar 15, 2017, at 1:55 AM, Dan Raymond wrote: > > > > whenever I try to autosync back the other way I get a "not authorized to > write" error? > > That’s because you didn’t give your remote Fossil user name in the clone > URL. Hence, you’re anonymous, hence you can’t write. Say: > > fossil clone http://d...@danraymond.org/fossil/mydan funny.fossil > > It will then ask for d...@danraymond.org’s Fossil password and if you want > it to save it. > > This is all quite clear in the docs. > ___ > 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] Cloning issue
On Mar 16, 2017, at 6:32 AM, Warren Youngwrote: > > On Mar 15, 2017, at 1:55 AM, Dan Raymond wrote: >> >> whenever I try to autosync back the other way I get a "not authorized to >> write" error? > > That’s because you didn’t give your remote Fossil user name in the clone URL. > Hence, you’re anonymous, hence you can’t write. Say: > >fossil clone http://d...@danraymond.org/fossil/mydan funny.fossil > > It will then ask for d...@danraymond.org’s Fossil password and if you want it > to save it. > > This is all quite clear in the docs. Actually, you don’t have to re-clone. From within the anonymous clone’s checkout, you can just change the sync URL: fossil sync http://d...@danraymond.org/fossil/mydan ___ 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 issue
On Mar 15, 2017, at 1:55 AM, Dan Raymondwrote: > > whenever I try to autosync back the other way I get a "not authorized to > write" error? That’s because you didn’t give your remote Fossil user name in the clone URL. Hence, you’re anonymous, hence you can’t write. Say: fossil clone http://d...@danraymond.org/fossil/mydan funny.fossil It will then ask for d...@danraymond.org’s Fossil password and if you want it to save it. This is all quite clear in the docs. ___ 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 issue
Pietro, Thanks that nailed it. Was not clear from the documentation works to clone. HOwever, whenever I try to autosync back the other way I get a "not authorized to write" error? Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia Mail: PO Box 7815 Waterfront Place, Brisbane 4001 Tel:+61 733 600 255 Mob: +61 400 551 920 Fax: +61 733 600 222 Web: http://ecourban.com.au On Wed, Mar 15, 2017 at 5:25 PM, Pietro Ceruttiwrote: > > > > -- > Pietro Cerutti > g...@gahr.ch > On 15 Mar 2017, at 07:23, Dan Raymond wrote: > > I can issue this: "wget http://danraymond.org/fossil/mydan.fossil; and > get the repository file "mydan.fossil" > > if I issue: "fossil clone http://danraymond.org/fossil/mydan funny.fossil" > > I get: > "server says: 404 Not Found > Clone done, sent: 268 received: 675 ip: 102.0.110.131 > server returned an error - clone aborted > > > The clone command needs a fossil server listening - possibly through CGI - > and is not equivalent to copying the file itself: local config is not > copied upon clone. > > -- > Pietro Cerutti > g...@gahr.ch > > ___ > 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] Cloning issue
-- Pietro Cerutti g...@gahr.ch > On 15 Mar 2017, at 07:23, Dan Raymondwrote: > > I can issue this: "wget http://danraymond.org/fossil/mydan.fossil; and get > the repository file "mydan.fossil" > > if I issue: "fossil clone http://danraymond.org/fossil/mydan funny.fossil" > > I get: > "server says: 404 Not Found > Clone done, sent: 268 received: 675 ip: 102.0.110.131 > server returned an error - clone aborted The clone command needs a fossil server listening - possibly through CGI - and is not equivalent to copying the file itself: local config is not copied upon clone. -- Pietro Cerutti g...@gahr.ch___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Cloning issue
I can issue this: "wget http://danraymond.org/fossil/mydan.fossil; and get the repository file "mydan.fossil" if I issue: "fossil clone http://danraymond.org/fossil/mydan funny.fossil" I get: "server says: 404 Not Found Clone done, sent: 268 received: 675 ip: 102.0.110.131 server returned an error - clone aborted I can't seem to get a clone to work at all, always the 404 even though wget can. I have tried variations with the remoter serve login/password as: "fossil clone http://login:passw...@danraymond.org/fossil/mydan funny.fossil" to no avail On the host I can execute fossil server mydan.fossil and the web ui works as expected and opens the remote repository file and I can make wiki etc. Any clues would be appreciated as I would appreciate getting clone going Dan Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia Mail: PO Box 7815 Waterfront Place, Brisbane 4001 Tel:+61 733 600 255 Mob: +61 400 551 920 Fax: +61 733 600 222 Web: http://ecourban.com.au ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users