Brian Nguyen
2018-07-02 16:05:09 UTC
$ fossil clone https://www2.sqlite.org/docsrc doc.sqlite
Round-trips: 2 Artifacts sent: 0 received: 0
Error: not authorized to clone
Round-trips: 2 Artifacts sent: 0 received: 0
Clone done, sent: 537 received: 582 ip: 2.0.1.187
server returned an error - clone aborted
$ fossil clone https://www.hwaci.com/cgi-bin/docsrc doc.sqlite
Round-trips: 3 Artifacts sent: 0 received: 7650
Clone done, sent: 821 received: 10881255 ip: 2.0.1.187
Rebuilding repository meta-data...
98.0% complete...
7 scan steps for 1 rows in [UPDATE time_fudge SET m1=m2-:incr WHERE m1>=m2
AND m1<m2+:window]
100.0% complete...
Extra delta compression...
2430 scan steps for 5 rows in [SELECT rid FROM event, blob WHERE
blob.rid=event.objid AND event.type='ci' AND NOT EXISTS(SELECT 1 FROM
delta WHERE rid=blob.rid) ORDER BY event.mtime DESC]
5615 scan steps for 843 rows in [SELECT DISTINCT blob.rid, mlink.fnid FROM
blob, mlink, plink WHERE NOT EXISTS(SELECT 1 FROM delta WHERE
rid=blob.rid) AND mlink.fid=blob.rid AND mlink.mid=plink.cid AND
plink.cid=mlink.mid ORDER BY mlink.fnid, plink.mtime DESC]
Vacuuming the database...
project-id: a49a74a282acfe2f07de91768b854dffd3d783df
server-id: c09ff2f6b492daa621659f4fea82347370fb3343
admin-user: root (password is "7653f4")
$ fossil sync --unversioned --verily https://www2.sqlite.org/docsrc -R
doc.sqlite
Round-trips: 2 Artifacts sent: 0 received: 0
Server says: pull only - not authorized to push
Round-trips: 4 Artifacts sent: 0 received: 1194
Sync done, sent: 237087 received: 2094710 ip: 2.0.1.187
8831 scan steps for 431 rows in [ SELECT pid FROM plink WHERE pid>0 AND
isprim AND cid IN (SELECT blob.rid FROM blob WHERE rcvid=:rcvid)]
I don't understand why it is possible to sync a repository but not to cloneRound-trips: 2 Artifacts sent: 0 received: 0
Error: not authorized to clone
Round-trips: 2 Artifacts sent: 0 received: 0
Clone done, sent: 537 received: 582 ip: 2.0.1.187
server returned an error - clone aborted
$ fossil clone https://www.hwaci.com/cgi-bin/docsrc doc.sqlite
Round-trips: 3 Artifacts sent: 0 received: 7650
Clone done, sent: 821 received: 10881255 ip: 2.0.1.187
Rebuilding repository meta-data...
98.0% complete...
7 scan steps for 1 rows in [UPDATE time_fudge SET m1=m2-:incr WHERE m1>=m2
AND m1<m2+:window]
100.0% complete...
Extra delta compression...
2430 scan steps for 5 rows in [SELECT rid FROM event, blob WHERE
blob.rid=event.objid AND event.type='ci' AND NOT EXISTS(SELECT 1 FROM
delta WHERE rid=blob.rid) ORDER BY event.mtime DESC]
5615 scan steps for 843 rows in [SELECT DISTINCT blob.rid, mlink.fnid FROM
blob, mlink, plink WHERE NOT EXISTS(SELECT 1 FROM delta WHERE
rid=blob.rid) AND mlink.fid=blob.rid AND mlink.mid=plink.cid AND
plink.cid=mlink.mid ORDER BY mlink.fnid, plink.mtime DESC]
Vacuuming the database...
project-id: a49a74a282acfe2f07de91768b854dffd3d783df
server-id: c09ff2f6b492daa621659f4fea82347370fb3343
admin-user: root (password is "7653f4")
$ fossil sync --unversioned --verily https://www2.sqlite.org/docsrc -R
doc.sqlite
Round-trips: 2 Artifacts sent: 0 received: 0
Server says: pull only - not authorized to push
Round-trips: 4 Artifacts sent: 0 received: 1194
Sync done, sent: 237087 received: 2094710 ip: 2.0.1.187
8831 scan steps for 431 rows in [ SELECT pid FROM plink WHERE pid>0 AND
isprim AND cid IN (SELECT blob.rid FROM blob WHERE rcvid=:rcvid)]
it. Why is the permission system like that?