History of src/clone.c of 134e2aeccc0acc8a
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of file src/clone.c at check-in 134e2aeccc0acc8a

2025-10-18
12:52
Remove the (unlinked and forgotten) /download page. Convert it into a new page named /howtoclone which simply provides guidance for the correct command-line used to clone the repository. file: [1b14e1fe42] check-in: [7d8e30dd46] user: drh branch: timeline-enhance-2025, size: 14499
2025-07-23
15:58
Minor optimization: replace calls to mprintf("%s", X) with fossil_strdup(X). file: [34b0984112] check-in: [4c3e1728e1] user: danield branch: trunk, size: 15204
2025-07-07
15:16
PoC for the previous check-in: use UUIDs for project-code and server-code. file: [e833e563ab] check-in: [e38c068029] user: danield branch: gen-uuid, size: 15210
2025-04-28
23:43
Do not allow computation and download of SQL-archives by non-humans. For some reason, SQL-archives are like catnip for AI robots. file: [3c205c2016] check-in: [b9a9e2b9af] user: drh branch: trunk, size: 15204
2025-03-07
18:39
Mention the "--proxy PROXY" option in the help text for all command that support it. file: [e392538aa4] check-in: [6d4cd32921] user: mgagnon branch: trunk, size: 15171
2024-07-20
11:43
Consistently use a dash in '--no' options, preserving the no-dash variant for compatibility where it exists. file: [50a05b39a2] check-in: [d03ed299d2] user: danield branch: no-x-dash-options, size: 15166
2024-04-17
12:18
Arrange for the HTTP reply parser to be able to deal with a missing Content-Length header. Add the --xverbose option to the "fossil clone" command. file: [9e98d0e64d] check-in: [dfefd069b6] user: drh branch: content-length-errors, size: 15109
2024-04-16
22:55
Attempt to provide more useful error messages when an intermediate server (such as Apache) does something wrong and messes up an HTTP request. file: [7bb4d2f006] check-in: [131ba0fa1b] user: drh branch: content-length-errors, size: 14987
2024-03-23
05:54
Updates from trunk for sync changes et al. file: [8e795ca849] check-in: [2304041e42] user: andybradford branch: clone-resume, size: 17737
2024-03-22
12:28
The "fossil sync --all" command now makes up to two passes through the list of remote URLs to ensure that everybody gets synced up. See the discussion at [forum:/forumpost/4d6a94aca6105fc6|forum thread 4d6a94aca6105fc6]. file: [582407b35d] check-in: [0cd5589c09] user: drh branch: trunk, size: 14737
2024-02-03
16:55
Update with all changes from trunk. file: [e0994a7086] check-in: [c454059a18] user: andybradford branch: clone-resume, size: 17735
2024-02-02
22:18
Remove trailing whitespace from non-external C files. file: [5154092f66] check-in: [7db0a2d910] user: danield branch: fix-overlength-lines, size: 14735
2023-12-17
05:49
When resuming a clone, delete the previous setup user so it can be reset. This also handles the case where a new --admin-user is passed in. file: [ff0c9d43aa] check-in: [b86d4da5a2] user: andybradford branch: clone-resume, size: 17737
2023-12-08
15:30
Limit the scope to the error condition to clone operations only for now. file: [bbc4fddd39] check-in: [29e9e84a1e] user: andybradford branch: clone-resume, size: 17505
14:33
Only output clone retry warning if there is another round to go. file: [e124e15d70] check-in: [bdd22578fa] user: andybradford branch: clone-resume, size: 17505
13:52
If the clone is interrupted by the user this should constitute an error condition. file: [3fcd7211e4] check-in: [2c8ad9a417] user: andybradford branch: clone-resume, size: 17469
2023-12-05
14:12
Clean up signal includes. file: [e40da0a778] check-in: [e6da7f08c8] user: andybradford branch: clone-resume, size: 17524
2023-12-01
21:14
Prevent resuming a clone from a different server by preserving the remote server-code and comparing on resume. This is a crude heuristic to determine whether or not it is likely that the remote server still has the same rids. A better heuristic may be to probe the server for known rids that have been received (e.g. each clone seqno that is sent by the server could be recorded and then probed with a pragma request by the client later on). file: [dcf2e26774] check-in: [aa54ea4116] user: andybradford branch: clone-resume, size: 17494
20:31
Prevent the resuming of a clone that does not have the product code. file: [6cfa508393] check-in: [63af8da355] user: andybradford branch: clone-resume, size: 17020
20:17
Minor style change. file: [28ef7428ff] check-in: [d82079546d] user: andybradford branch: clone-resume, size: 16940
20:12
Skip all finalizing until the clone is complete. file: [eb96e7766b] check-in: [9fa25cd746] user: andybradford branch: clone-resume, size: 16934
17:55
Try to handle some error conditions better. First, if the clone's first sync didn't bring down any artifacts there isn't likely any point in continuing. Second, if on resuming a clone no artifacts were received, abort. Third, check if the project-code has changed earlier (this might be detected even earlier when the client receives the "push" card). file: [e722ae89c6] check-in: [17f3408f6b] user: andybradford branch: clone-resume, size: 16872
03:58
Shorten warning message to fit in a terminal without wrapping. file: [7a50cda18a] check-in: [5bb6d26187] user: andybradford branch: clone-resume, size: 16801
03:53
Verify that the project-code on resume hasn't changed per discussion in [forum:d1a2ed56271602fa|forum post d1a2ed56271602fa] and rollback changes if they are different. file: [7ee689c3db] check-in: [ee5b942080] user: andybradford branch: clone-resume, size: 16820
2023-11-30
06:26
Defer rebuilding the database until the clone is complete. This prevents a lot of unnecessary rebuilding while there aren't enough artifacts to make it worth it. file: [e2f1ab26b5] check-in: [333a89bf96] user: andybradford branch: clone-resume, size: 16181
04:01
Catch SIGINT during sync so that when pressing ctrl-c during a clone of a large repository it doesn't dispose of all the progress that was made during, thus enabling resume from an user interrupt. When the handler returns, the last sync will complete and then exit the loop. file: [df58c2bc7e] check-in: [ad2e148541] user: andybradford branch: clone-resume, size: 16142
2023-11-27
06:19
Take advantage of the fact that the seqno is recorded and automatically resume up to three times if failure is encountered. file: [3bef5276ab] check-in: [bc0a4c60c0] user: andybradford branch: clone-resume, size: 15769
2023-11-24
23:51
Do away with the --resume flag as it is mostly redundant and can be assumed by the presence of the recorded clone_seqno. Suggested by Warren Young in [forum:4bcbb41aab2538d4|forum post 4bcbb41aab2538d4]. file: [4f7b97763b] check-in: [b0a60d8f1d] user: andybradford branch: clone-resume, size: 15623
22:14
Need to reset the server-code so that the user password is correct. Might as well also reset the project-code. file: [1fef979cd9] check-in: [61e0ced9bf] user: andybradford branch: clone-resume, size: 15537
21:39
Implement the ability to resume a clone that has failed. This is a variation on the attempt made in [ec26471439] that was never completed. The significant difference in the use of the "clone protocol" which uses cfile cards to complete the synchronization rather than the "sync protocol" which takes much longer using the file card. file: [53c87bdfed] check-in: [ee710cc171] user: andybradford branch: clone-resume, size: 15288
2023-09-29
13:35
merge in hash-admin-user-password file: [9bd5608f8a] check-in: [593e801bdf] user: preben branch: trunk, size: 14737
2023-07-16
20:47
Add calls to cgi_check_for_malice() on many more web pages. Log all 418 responses to the error log. file: [8b88196ff8] check-in: [40266bf9b2] user: drh branch: verify-options-cgi, size: 14705
2023-02-09
20:09
Add the "repack" command as an alias for "rebuild --compress-only". file: [41bad4d40e] check-in: [dd6a88da09] user: drh branch: trunk, size: 14679
19:45
The extra-delta-compression step now reports the number of new deltas added and the bytes of storage space saved using those deltas. file: [535852ef4a] check-in: [59e21eb3e5] user: drh branch: trunk, size: 14608
2023-01-09
13:06
Further consistency improvements in docs for various commands. file: [338732c35f] check-in: [2512d2d472] user: km branch: trunk, size: 14428
2022-12-20
09:46
Change spelling for check-in and similar file: [15c3982c7e] check-in: [d9c4321e7a] user: danield branch: check-in-spelling, size: 14428
2022-10-27
17:15
Since "fossil uv sync -v" turns on UV trace mode, made "fossil clone -u -v" enable that mode as well, since otherwise there's no way to get into UV trace mode during clone. (e.g. There is no global "--uvtrace" option.) file: [ff298870fd] check-in: [cdd58b1fbf] user: wyoung branch: trunk, size: 14424
2022-01-14
16:34
added "clonly" command as alternate form of "clone --no-open" file: [08bc37c487] check-in: [3598e3ae53] user: sdr branch: clone-no-open-alternative, size: 14494
2021-12-22
20:40
Add documentation for the --transport-command options on the various sync commands. Improvements to the documentation of the sync protocol. file: [ee99f31ce7] check-in: [505d9d48eb] user: drh branch: trunk, size: 14339
17:11
Add the --transport-command option to the "fossil clone" command. file: [22eef2acfa] check-in: [14b3f48e3c] user: drh branch: trunk, size: 14258
2021-11-19
12:29
Remove unused randomize flag to rebuild_db(), per /chat discussion, along with the no-op --randomize flag to the rebuild command. file: [e8490fcc24] check-in: [298ccff06c] user: stephan branch: trunk, size: 14205
2021-10-11
10:11
When doing an automatic open following a clone, do not autosync. The repo was just cloned and should already be current. See [forum:/forumpost/0dbfeab2ff|forum post 0dbfeab2ff]. file: [23fc36c6a9] check-in: [160bd67731] user: drh branch: trunk, size: 14208
2021-09-23
19:47
Earlier detection of unresolved deltas due to an incomplete clone. file: [60a3abb422] check-in: [55a5b7014d] user: drh branch: trunk, size: 14199
2021-09-02
07:56
Half of [d700f5ff4f215c69 | the prior commit] was unnecessary. Backed it out. file: [0c91e9516b] check-in: [9a4e87a3b6] user: wyoung branch: trunk, size: 14012
07:52
Added db_unprotect/pop wrappers around the "clone --ssh-command" handling to avoid a bogus "unauthorized change to protected setting" error, as reported [forum:/forumpost/29027c6a67c280e7 | on the forum]. file: [c0322e8d48] check-in: [d700f5ff4f] user: wyoung branch: trunk, size: 14061
2021-07-08
17:43
Enhancement to codecheck1.c to verify that routines like db_set() use a string literal as the setting argument, and are thus impervious to injection attacks. file: [225d172cde] check-in: [0a5d0e191c] user: drh branch: trunk, size: 13959
2021-06-30
13:52
Enhance the blob_append_escaped_args() routine with a new parameter to indicate if the argument is a filename. Only prepend "./" to filename arguments that begin with "-". The "%$" printf conversion assumes a filename, but the "%!$" conversion does not. file: [627e3117dd] check-in: [4f83d06275] user: drh branch: trunk, size: 14031
2021-05-14
18:52
When doing a clone that automatically does an open, run the "fossil open" command as a subprocess (usingn fossil_system()) to avoid problems with misconfigured database connections in the event that the clone uses the "file:" scheme. See [forum:/forumpost/b1da662b00|forum post b1da662b00] for the bug report. file: [6524408604] check-in: [ebd604f8c7] user: drh branch: trunk, size: 14022
2021-02-05
09:32
Amend 'fossil help' output for all commands to make options conform to GNU 'short|long' convention (e.g., -v|--verbose). file: [d9eb654dfd] check-in: [7f3c728db3] user: jamsek branch: trunk, size: 13994
2020-12-22
12:13
Removed the parameter from style_finish_page() since the resulting content div class is now redundant with respect to the body class. This potentially breaks CSS made against old class names that a prior commit on this branch changed, but such skins would be made against an unreleased version of Fossil, it's unlikely many are using that first version of the feature anyway, and most of the class names did *not* change unless you were targeting a "div" instead of "body" or just a generic class name. None of the shipping skins are affected. file: [89471ef3cf] check-in: [0e83ca88ce] user: wyoung branch: body-feature-class, size: 13994
2020-12-08
11:47
Fix help-text formatting error on the previous check-in. file: [300d5a18bf] check-in: [e1d54eb727] user: drh branch: trunk, size: 14004
2020-12-07
16:12
Add support for the "--nested" option to the clone subcommand, so the new clone/open in 1 step usage can be use insde a checkout. file: [c4a43cff07] check-in: [f3d115d988] user: mgagnon branch: trunk, size: 13971
2020-11-07
13:25
Rename the "style_body_and_footer()" interface to "style_finish_page()" and add a more detailed header comment to the implementation. file: [019baf2bde] check-in: [942b2076c6] user: drh branch: default-css-cleanups, size: 13447
2020-11-05
23:15
Added a parameter to style_footer() and renamed it to match its actual function (style_body_and_footer()) so we can add a CSS class to each page that indicates which major Fossil feature served the page, so we can have module-specific CSS. file: [7ddfe01c00] check-in: [ef5424b683] user: wyoung branch: default-css-cleanups, size: 13451
2020-11-01
20:37
Factor out the logic that tries to deduce an appropriate repository name from a remote URL and put it in the url_to_repo_basename() routine of url.c. file: [b4872ad263] check-in: [f978fcdce1] user: drh branch: trunk, size: 13432
20:18
For the "clone" command, throw a fatal error if the FILENAME argument is omitted and we are unable to guess an appropriate filename from the URL. file: [e304a7aadb] check-in: [4fa02aff8e] user: drh branch: trunk, size: 13604
20:06
Enhance the clone command so that if it includes either the "--workdir DIR" option, or if omits the local repository filename argument, and if the "--no-open" option is omitted, then the repository is opened after it is cloned. Hence the command "fossil clone https://whatever.com/x/y/repo" works more like Git in that it first clones into "repo.fossil" then opens the new repository in the "repo" subdirectory. file: [fc60a500cb] check-in: [a8d7878789] user: drh branch: trunk, size: 13397
2020-08-28
09:47
Unprotect the ssl-identity property when setting it. file: [b6044e4f0f] check-in: [e3636830ab] user: drh branch: trunk, size: 11839
2020-08-18
13:17
More missing db_unprotect() calls. file: [d7415e806f] check-in: [06d3789a2a] user: drh branch: sec2020, size: 11782
01:54
Disable writes the CONFIG and USER tables by default. Permission to write to those tables is turned on as needed. Note - might have missed a few places so expect bugs. file: [8a0ed52282] check-in: [ca9156aa0a] user: drh branch: sec2020, size: 11733
2020-08-16
15:20
Fix the "fossil clone" command so that it works with "file:" URLs. file: [d324700b70] check-in: [9d2b7cab7a] user: drh branch: trunk, size: 11677
2020-08-09
00:04
More refinements to built-in help pages for commands. file: [3d1ce28079] check-in: [a31a717e17] user: drh branch: trunk, size: 11652
2020-08-08
20:13
Enhance built-in help text formatting so that text contained within [[...]] is a hyperlink to another help page. file: [b1d415775d] check-in: [71992d0f08] user: drh branch: trunk, size: 11445
2020-06-25
00:16
Adjust help text to work better with the new formatter. file: [23b41e9e50] check-in: [a8a606996b] user: drh branch: formatted-online-help, size: 11431
2020-02-06
23:26
Add the --project-code option to the "fossil pull" command. Use of this option allows one project to pull content from another project. file: [009c36a98c] check-in: [21e8aed945] user: drh branch: trunk, size: 11433
2019-10-09
14:52
Attempt to resume a clone during the next sync or pull by tracking a failed clone operation. file: [82fc624e7f] check-in: [ec26471439] user: andybradford branch: clone-resume, size: 11635
2019-09-27
22:28
Added -- support to (annotate, artifact, cat, clone). file: [3582338c35] check-in: [ef763bcf08] user: stephan branch: double-dash-flag, size: 11573
2019-08-31
16:42
Merge in latest from trunk. file: [2c5c6d5b73] check-in: [aa37639112] user: andybradford branch: db-begin-txn-updates, size: 11419
2019-06-30
11:36
Rename the --save-password option on "fossil clone" to --save-http-password, since it only works for HTTP. file: [4f3742a185] check-in: [22517bab6c] user: drh branch: trunk, size: 11431
2019-06-29
03:13
For "fossil clone help", put options in alphabetical order. file: [7915f5ce17] check-in: [d5c6f4784e] user: drh branch: save-http-url-password, size: 11421
03:11
Change the name of the option to just --save-password. file: [106a8de432] check-in: [76e158ad57] user: drh branch: save-http-url-password, size: 11421
2019-06-28
07:23
Added the --save-http-url-password option to the clone command to make it skip the "remember password (Y/n)?" prompt if the password was given in an HTTP URL. We avoid this for ssh:// URLs since you have pre-shared keys, SSH agents, and such to avoid the need in that case. Without this feature, you can't script around it by piping "echo y" through the command because the "remember password" feature as of trunk only works when isatty(0), which will be false when Fossil is downstream from a pipe like that. file: [86d5b64287] check-in: [2600b7719f] user: wyoung branch: save-http-url-password, size: 11447
2019-03-19
14:09
Replace most calls to db_begin_transaction() with db_begin_write() to avoid having a reader locking during a COMMIT. file: [6edc2ecbf2] check-in: [6cc5354821] user: andybradford branch: db-begin-txn-updates, size: 11225
2018-12-29
06:43
Fix the login links for the /download web page, as suggested here: https://fossil-scm.org/forum/forumpost/a742969590. file: [281cbed355] check-in: [4a30475bdb] user: florian branch: fix-login-links, size: 11237
2018-06-22
01:37
Add the --nocompress option to the "fossil clone" command. file: [6bb6ebd102] check-in: [96d0a4becf] user: drh branch: trunk, size: 11235
2018-06-04
16:27
Experimental option --fast on the clone command only clones manifest artifacts and related tags. This is an experiment to see how much bandwidth and time are saved by omitting the download of file content until it is actually needed. file: [e1b56e15fe] check-in: [9e8a7d4ca8] user: drh branch: fast-clone, size: 11210
2018-04-06
12:01
Enhance the /tarball, /zip, and /sqlar pages so that the checkin name to be downloaded can be expressed as part of the URI, and without the need for query parameters. file: [560f9c07b6] check-in: [3e94c7ed74] user: drh branch: trunk, size: 11069
2017-12-21
23:00
Patch from Peter Spjuth to allow greater concurrency for "fossil clone". file: [39756ecd35] check-in: [10f753a3ce] user: drh branch: trunk, size: 10974
2017-11-30
17:58
Refactor the symlink processing logic so that most of the file access routines take a new parameter indicating the conditions under which symlinks should and should not be followed. This should fix a few bugs related to symlink processing. Lots of testing required before merging to trunk. file: [660a39c515] check-in: [e7767de263] user: drh branch: symlink-refactor, size: 10926
2017-10-19
04:09
Adjust help text wording for /download page file: [d263c8d848] check-in: [eecb721e04] user: andygoth branch: trunk, size: 10917
2017-10-17
21:06
Add the /download page, with a configuration option to define what tag to be downloaded. file: [1871591c5d] check-in: [c5fea125d9] user: drh branch: trunk, size: 10911
2017-03-04
21:03
Preserve the hash policy on a clone. file: [c8b17c6084] check-in: [d9b3a863ef] user: drh branch: fossil-2.1, size: 9408
2016-08-18
12:33
Fix the "fossil rebuild" command so that it no longer trashes the unversioned content. Add the -u option to "fossil clone" to retrieve unversioned content during the clone. file: [7504e38af7] check-in: [a5d8548f61] user: drh branch: trunk, size: 9376
2016-08-10
09:06
Remove unnecessary spacing file: [6d7b354e78] check-in: [c3b5f1d2f2] user: jan.nijtmans branch: trunk, size: 9236
2016-03-02
02:10
Permit the TH1 hooks subsystem to check for the configuration without raising a 'fatal' error. file: [e2ad376a51] check-in: [b06cd631f1] user: mistachkin branch: trunk, size: 9237
2015-12-11
15:53
Remove incorrect documentation regarding cloning via SSH. Fossil does not touch passwords when SSH is used for cloning. file: [a855ad9e6d] check-in: [230fdcf692] user: andybradford branch: trunk, size: 9234
2015-12-10
13:11
Improved documentation for cloning, including mentioning the use of %40 for "@" characters in the userid. file: [814ffb12e4] check-in: [b5354f19f2] user: drh branch: trunk, size: 9245
2015-12-02
09:50
Improved command-line help for push, pull, sync, and clone commands. file: [0d2fda5225] check-in: [26d0c20a37] user: drh branch: trunk, size: 9059
2015-04-16
08:53
Remove unnecessary variable determination in src/descendants.c, and some unnecessary end-of-line spacing. file: [265e9a29da] check-in: [10f5fc6986] user: jan.nijtmans branch: trunk, size: 9043
2015-03-21
16:42
Fix the "fossil clone" command so that it preserves the project-code. All trunk versions going back to [a6e2ceb454] (2015-03-18) cause the cloned repo to have an incorrect project-code and thus rendered unable to sync. file: [169fbf8c65] check-in: [14b8475598] user: drh branch: trunk, size: 9044
2015-03-18
14:17
Add the --create option to "fossil server", which causes a new repository to be created for the server if one does not already exist. The intended use case is Docker. file: [78d25dfb9d] check-in: [a6e2ceb454] user: drh branch: trunk, size: 8990
2015-02-28
14:15
Automatically run extra delta-compression and vacuum a repository after a clone. And change the page size to 8192 if there are more than 1000 pages. file: [17a56a8a39] check-in: [35c25558cb] user: drh branch: trunk, size: 8993
2015-01-29
22:48
get to fossil_stat() via file_size(), and additionally protect 0-byte files in "clone" file: [cca4f31e16] check-in: [45b060f08e] user: bch branch: clobber_fixer, size: 8675
20:54
less abstract, closer to affected (clone, init/new) subcommands file: [1f117aa86f] check-in: [b0a3bfb038] user: bch branch: clobber_fixer, size: 8789
2015-01-15
09:28
Remove spacings at end-of-line. No change in any functionality. file: [ce67376a70] check-in: [080ab8cb0a] user: jan.nijtmans branch: trunk, size: 8671
2015-01-06
06:46
Extend verbose option to clone operations as well. file: [700b06e2c0] check-in: [7421f9263c] user: andybradford branch: pending-review, size: 8679
2014-11-28
14:29
Enhance the database aux-schema version checking so that it will accept a range of schema versions. Fix the current implementation to work with or without the PLINK.BASEID enhancement. file: [53b4acae6d] check-in: [0d4b33d3a4] user: drh branch: baseline-in-plink, size: 8541
2014-09-07
09:49
removed a duplicated if() block, moved a free()-after-return, both reported by Edward Berner. file: [3fb02ec34b] check-in: [3fc62dde2c] user: stephan branch: trunk, size: 8537
2014-07-30
15:40
Call verify_all_options() on most of fossil CLI commands.
- Skip all the test-* commands for now (may be unnecessary)
- Skip sha1sum, md5sum and artifact because they can take "-" as argument and verify_all_options() would call fatal. Need to handle those differently...
- Command with subcommands that have their options are remaining: branch, bisect, cache, configuration, json, sql, stash, tag, ticket, user, wiki. (not sure how to handle those yet..)
file: [15b121a043] check-in: [a426154b3e] user: mgagnon branch: verify-all-options, size: 8519
2014-06-27
12:35
Print server-id after cloning and in /stat page. Only print Project-ID in /stat page if there is one. file: [1272c49df0] check-in: [11ba4bd6cf] user: jan.nijtmans branch: trunk, size: 8450
2014-04-14
14:20
Potential resolution of conflict with [64aa75260f] which causes the default-user setting to be ignored. Attempt to set default user from config if defined. file: [6583b38d72] check-in: [9f2a03bbb8] user: andybradford branch: default-user, size: 8454
2014-03-31
16:48
Get rid of the GLOBAL_URL() kludge. Change the global "g" variable to contain an instance of the UrlData object instead of individual fields of the UrlData object. file: [79eea7d1a7] check-in: [5fdad9bd8c] user: drh branch: trunk, size: 8388
2014-03-13
12:23
Add support for HTTP Basic Authentication to clone and sync. file: [83da9104f1] check-in: [5d536c51b6] user: drh branch: trunk, size: 8381
2014-02-05
08:23
This looks like a duplicate commit of [cf471cbb3f6f] file: [07679b1af1] check-in: [09634aee60] user: andybradford branch: mistake, size: 8214
2014-02-03
07:59
Musn't forget about autosync commands that also need the Basic Authorization. file: [6abc915198] check-in: [06bff8c629] user: andybradford branch: http-auth, size: 8025
07:03
Don't send Basic Authorization except after prompting user. This is done by detecting 401 Authorization Required. It also allows the HTTP Authorization credentials to be different from the Fossil user which means the integrity of the Fossil password can be maintained if so desired. file: [fae64cac1d] check-in: [c61554976d] user: andybradford branch: http-auth, size: 7806
2014-02-01
23:39
Handle --once preference and prevent sending HTTP Authorization when the URL is named on the command line. file: [c2e1c766db] check-in: [2600f59f2d] user: andybradford branch: http-auth, size: 7618
22:06
Only automatically provide Authorization if the URL is HTTPS. User can express preference to use Authorization over unencrypted HTTP via the --httpauth command line option. file: [2971088860] check-in: [906cfae444] user: andybradford branch: http-auth, size: 7392
2014-01-29
06:45
Make HTTP authorization a command line option. Choice will be stored in database until another URL change happens. This could potentially break those who currently rely on the special # character in the password. file: [9a01c79266] check-in: [e747041a72] user: andybradford branch: http-auth, size: 6852
2013-12-13
20:36
Prevent the argument that follows -A from being interpreted as a repository and avoid incorrect file already exists errors. file: [73486de219] check-in: [cc421c006a] user: andybradford branch: trunk, size: 6727
2013-11-25
15:00
Only make the URL user an admin if --once is not specified to allow the shell user to become the admin user. [Wrong; should not assume what the default user is] file: [1663716496] check-in: [7700ae1c22] user: andybradford branch: mistake, size: 6765
2013-11-12
02:41
Merge in fixes for the password embedded in the URL, save password prompting, and new clone --once option. file: [1237a7033e] check-in: [ff159bfdd7] user: andybradford branch: trunk, size: 6728
2013-11-11
22:41
Keep track of when the repository was last rebuilt and display it on the stats page. file: [79f9befce6] check-in: [c0242ad4d8] user: mistachkin branch: trunk, size: 6596
2013-11-08
06:01
Clean up handling of passwords for SSH. Further separate prompting for password from saving of password. file: [0ff4023bff] check-in: [ad34c07c45] user: andybradford branch: url-password-fixes, size: 6687
2013-11-05
09:37
Add --once option to "fossil clone" file: [035a3f8148] check-in: [c0cdb632ed] user: jan.nijtmans branch: url-password-fixes, size: 6774
2013-10-17
16:08
Patch from offline drh which sets the default cloned-repo user name to the one provided in the URL. file: [b6cf9cc173] check-in: [64aa75260f] user: stephan branch: trunk, size: 6555
2013-09-07
21:50
Move the SSH shared account code back to the branch to keep the development of this new feature separate. file: [74171b118a] check-in: [56169d0775] user: andybradford branch: ssh-shared-account, size: 6879
21:21
Separate SSH transport changes from shared account features to simplify integration. file: [c0d5466e13] check-in: [915c79cb4f] user: andybradford branch: ssh-transport-changes, size: 6489
2013-08-30
14:07
Merge in latest features and fixes from trunk. file: [0d6fed391c] check-in: [ef8b9da03f] user: andybradford branch: ssh-test-http, size: 7311
03:06
Change most uses of fossil_panic() to fossil_fatal(). Modify fossil_panic() to avoid allocating heap memory and to close the database connection before doing anything else. file: [b949ddcaa4] check-in: [320f14363e] user: drh branch: trunk, size: 5876
2013-08-17
23:05
Change SSH transport to use a single SSH connection if client/server willing. Add client header so server can detect when to use new mode. Also improve backwards compatibility for older SSH clients by responding to probes. file: [b4d5564327] check-in: [f0bb3c9b5a] user: andybradford branch: ssh-test-http, size: 7311
2013-08-16
03:25
Merge in all new development from trunk. file: [1f853ad794] check-in: [535cba9158] user: andybradford branch: ssh-test-http, size: 7272
2013-08-15
12:14
Add details about the URL argument on the clone command help text and refer to the clone command usage on other commands that have a URL argument. (sync, push, pull, remote-url)

Pending review. file: [cddeeeb1e0] check-in: [b1dd871c8e] user: mgagnon branch: clone_help_text_improvement, size: 5876

2013-08-12
06:43
Simplify command line interaction: remove settings from global and provide one less command line option. Altering settings in open fossils can be done with sync -l or cleared with remote-url if necessary. file: [161ad4f2b5] check-in: [ed20da7499] user: andybradford branch: ssh-test-http, size: 6828
2013-08-10
23:02
Clean up handling of global variable to avoid accidental setting of database. Only alter database options if URL is SSH. file: [d8864d4601] check-in: [0c19424325] user: andybradford branch: ssh-test-http, size: 7276
21:31
Make it possible to override global setting from command line. Improve sync output when test-http is in use. file: [fe24fc18f0] check-in: [3c479fb95b] user: andybradford branch: ssh-test-http, size: 7228
2013-08-09
07:29
Reimplement the default test-http behavior while retaining the ability to use http to take advantage of Fossil capabilities with SSH URLs. file: [3095db5841] check-in: [7c9347f9c7] user: andybradford branch: ssh-test-http, size: 7015
2013-07-30
05:11
Remove an obsolete comment. No changes to code. file: [f40f21a19d] check-in: [0b643946f0] user: amb branch: ssh-shared-account, size: 6828
2013-07-24
06:25
Much needed cleanup of command-line option handling. Improve sync handling of SSH user. Bring in change for less verbose SSH output. file: [5cdbaf4eaa] check-in: [955b39ee9f] user: amb branch: ssh-shared-account, size: 6889
2013-07-20
08:48
Perhaps avoid confusion with other similarly named short options. file: [76b1651409] check-in: [9dd4a935e8] user: amb branch: ssh-shared-account, size: 6993
08:40
Alternative approach to allow multiple SSH users to share the same SSH account while maintaining separate Fossil identities. file: [103842d56d] check-in: [e3510cef23] user: amb branch: ssh-shared-account, size: 6993
2013-07-18
07:28
Needed coding style clean up that was missed. file: [9d0c4ed2b8] check-in: [087cae847d] user: amb branch: ssh-transport-changes, size: 6515
2013-07-16
05:47
Remove old SSH transport code and spawn remote fossil http as remote SSH command instead. Also make it possible to configure SSH command prior to cloning. Change remote fossil command to be configurable (really this should probably be simply a matter of fixing PATH on remote end). file: [b900af6f93] check-in: [c38ff36ddf] user: amb branch: ssh-transport-changes, size: 6290
2013-07-10
21:33
another patch version for ssh improvement from Andy Bradford. file: [0ba74ad65a] check-in: [a8c37c2c48] user: mgagnon branch: andy_bradford_ssh_imporvement_patch_2, size: 5481
21:31
save first version of patch for ssh from Andy Bradford (from list) file: [d5c10e33bf] check-in: [979a75de06] user: mgagnon branch: andy_bradford_ssh_imporvement_patch_1, size: 5715
2013-02-21
08:15
unused variables file: [9263a45493] check-in: [75e483899e] user: jan.nijtmans branch: trunk, size: 5432
03:51
Improved handling for remote repository passwords: When prompting for the password, also ask the user whether or not to remember the password, as browsers typically do for their password cache. file: [db6a8aed7a] check-in: [6d6740dcca] user: drh branch: trunk, size: 5492
2012-11-20
02:05
Show much less output on a sync operation, unless the --verbose flag is given. file: [3776a09e12] check-in: [407cd4c534] user: drh branch: less-verbose-sync, size: 5865
2012-11-04
12:59
Fix typos. file: [0ef90bcea2] check-in: [45065c5c28] user: dmitry branch: spelling, size: 5832
2012-10-31
20:40
Initial infrastructure for adding the ability to moderate Wiki and Ticket changes. file: [5119794593] check-in: [ef112586a0] user: drh branch: moderation, size: 5832
2012-09-18
03:21
Add experimental support for copying the initial settings of a repository from another repository. file: [018c9728d5] check-in: [e771171c68] user: mistachkin branch: newTemplate, size: 5797
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [71bd66421e] check-in: [9f6abc5968] user: jan.nijtmans branch: msvc-broken, size: 5793
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [e7db146e1b] check-in: [0328d68181] user: drh branch: sqlite4, size: 5795
2012-03-29
14:54
Add vim modline everywhere file: [b21a539058] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 5836
2012-03-19
05:24
Modify file_simplify_name to accept a parameter used to determine if the trailing slash, if any, should be retained. Make use of this when converting the local root to its canonical form. file: [953725b139] check-in: [e94c7cc4de] user: mistachkin branch: winFiles, size: 5794
2012-02-21
01:53
Enhance the "fossil rebuild" command so that it looks at "private" --raw tags and rebuilds the PRIVATE table to contain (at least) the content that is tagged "private". file: [0b35e49b57] check-in: [2f98f66031] user: drh branch: trunk, size: 5791
2012-02-07
00:23
Allow file: clones that transfer private branches. file: [7d7dff3196] check-in: [8f85286cff] user: drh branch: trunk, size: 5567
2012-02-04
00:30
Make sure the "branch new --private" command does not create a public BLOB that is a delta of a private BLOB. Also, when doing a file clone or when doing "scrub --private", double-check that no public BLOBs are deltas of private BLOBs before deleting the private BLOBs. file: [a1af3d8fb0] check-in: [034e887c35] user: drh branch: trunk, size: 5551
2011-09-14
11:14
Merge documentation updates from the msw-docco branch into trunk. file: [d60859de8b] check-in: [2210be19cc] user: drh branch: trunk, size: 4333
00:32
Begin streamline the online documentation to:
  • always include a short overview of the options supported by a given command, alphabetically sorted
  • reference similar/related commands with a final See also: section
  • Use ?x? for optional arguments
  • collapse supported options into ?OPTIONS? This is commit #1/n.
file: [ee0fb1bf8a] check-in: [3fbf8caa87] user: martin.weber branch: msw-docco, size: 4336
2011-07-20
08:29
Merge trunk with ben-testing file: [fbb2bbe9ed] check-in: [74d65bab28] user: ben branch: ben-testing, size: 4321
2011-07-19
22:57
Take extra care to always honor the -A option on clone, especially when cloning from a file: URI. Ticket [bcd3cdebf2879874] file: [36fa559071] check-in: [d86201dce9] user: drh branch: trunk, size: 3970
2011-06-21
11:38
fix [ffa87168ce1] file: [ca7dfeea6b] check-in: [b72eb4d4b2] user: ron branch: trunk, size: 3926
2011-05-29
12:53
Remove accidentally included line of code. file: [b0bbfa3226] check-in: [0bed863b69] user: ben branch: ben-security, size: 4133
12:49
Support for client side SSL certificates for extra authentication to https servers. Adds --ssl-identity command line option and ssl-identity setting to specify the filename of a identity file containing a PEM encoded certificate and private key. file: [e86d34e643] check-in: [e06ea26e97] user: ben branch: ben-security, size: 4168
2011-05-24
12:00
Merge the latest trunk changes into the arjen-doc-updates branch. file: [941c1894b2] check-in: [5d4ef37a9d] user: drh branch: arjen-doc-updates, size: 3824
07:27
Extended the online help for the commit, close, configure, clone and checkout commands file: [7a363c4d76] check-in: [7df226540d] user: Arjen Markus branch: arjen-doc-updates, size: 3752
2011-05-02
13:31
Change calls to unlink() into file_delete(). The file_delete() routine converts filenames to MBCS from UTF if necessary. file: [ae545cd563] check-in: [eea6449098] user: drh branch: windows-i18n, size: 3782
2011-04-27
18:21
Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. file: [3066ae5640] check-in: [e805fa8db9] user: drh branch: windows-i18n, size: 3777
2011-04-26
18:36
Update the "configure" command so that the "import", "export", and "merge" subcommands use the new config format. file: [2ec60f4495] check-in: [4291183882] user: drh branch: config-sync, size: 3747
2011-03-31
15:30
Some rephrasing and code cleanup. file: [c6ace3376d] check-in: [cff102fe85] user: jan branch: jan-clientcert, size: 3879
2011-03-30
18:49
Use the new certificate bundle management for https connections, and deactivate the old environment variable code. Added support for specifying certificate/key bundle to clone/push/pull/sync commands. file: [d60d28104c] check-in: [1a1aa98a40] user: jan branch: jan-clientcert, size: 3876
2011-03-03
01:10
When doing a clone with a username, ask for the password early. Do not wait for the first round-trip since that round-trip might take a long time on a slow connection. file: [5c5d35551f] check-in: [cc31b46349] user: drh branch: trunk, size: 3710
2011-02-26
21:49
First cut at code to enable syncing private branches. Code compiles but is otherwise untested. The "x" privilege is required on the server in order to sync privately. file: [7d3ef6c6e8] check-in: [4a17f85182] user: drh branch: private-sync, size: 3676
2011-02-12
13:38
This branch contains experimental changes attempting to address complaints that Fossil sometimes overwrites unmanaged files. In this checkin: Use file_delete() instead of unlink() everywhere. Add interfaces file_move() and file_dont_overwrite() but do not use those interfaces yet. file: [f32b149fe0] check-in: [a1814d5015] user: drh branch: file-safety, size: 3466
2011-01-17
16:14
Do not build clusters on a "rebuild" command unless the --cluster command-line option is used. But do build clusters on an "import" or a "reconstruct". file: [2e9ed1833f] check-in: [afc4bf41fa] user: drh branch: trunk, size: 3461
2011-01-07
17:08
Do not complain about unfinalized SQL statements when exiting on a fatal error. Fix comments and indentation on the vfile_verify_not_phantom() function. file: [03f198ad33] check-in: [c2f5dbe655] user: drh branch: trunk, size: 3458
2010-12-20
02:02
Abort a clone and delete the new repository if the server for the clone returns an error during the sync. file: [152ad6f32b] check-in: [f6263ed6ce] user: drh branch: trunk, size: 3456
2010-10-10
08:59
added more cross reference file: [b2b38c9199] check-in: [c2ef371590] user: Ratte branch: wolfgangHelpCmd, size: 3393
2010-10-08
15:05
fine tuning the layout of the command line help strings file: [aa494c7d60] check-in: [c6d1879069] user: wolfgang branch: wolfgangHelpCmd, size: 3322
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [b5eeb5558e] check-in: [c06edd231f] user: drh branch: clear-title, size: 3322
2010-01-30
15:32
In addition to ticket [9195b1e5f3] and commit [b8d812efb9], this adds the -A|--admin-user options to the clone command. file: [97479abe22] check-in: [d3e38231f2] user: jeremy_c branch: trunk, size: 3598
2010-01-26
14:38
Added --admin-user|-A USERNAME to the new command which will set the default admin user name. If not supplied, the existing mechanism is used to determine the default user name. This implements [9195b1e5f3]. file: [0aaafa5bd0] check-in: [b8d812efb9] user: jeremy_c branch: trunk, size: 3230
2009-10-04
18:29
Remember the userid and password used to clone so that subsequent syncs work correctly. file: [42fdc2e08e] check-in: [4dbc8a6dcb] user: drh branch: trunk, size: 3225
2009-08-26
18:25
Add the --private option to the "fossil commit" command. This option creates a private branch which is never pushed. file: [70ab216ac2] check-in: [02a584f7f5] user: drh branch: trunk, size: 3230
2009-08-13
14:27
Disconnect the global configuration database in ~/.fossil from the respository database in most cases. This allows multiple "sync" or "commit" operations to be running on different repositories at the same time. file: [f0402d199e] check-in: [00ac7945a9] user: drh branch: trunk, size: 3055
2009-08-01
12:59
Always store g.urlCanonical as the last-sync-url value. Fix for ticket [045f23be750d93c0bd91f179f39c5c829ed01bc6]. file: [89ab820dce] check-in: [47d8fc4944] user: drh branch: trunk, size: 3076
2009-04-11
12:51
Add support for "file:" URLs on push, pull, and sync. file: [f5925839e5] check-in: [945ecd1a8b] user: drh branch: trunk, size: 3073
2008-11-20
01:07
When creating a new repository or cloning a repository, print the initial administrator password on standard output. This is intended to help new users figure out how to log in. Ticket [ca08d51f19] file: [bf4ca8abfd] check-in: [0c6ea0d93f] user: drh branch: trunk, size: 2969
2008-10-25
17:51
Add logic to do a configuration push. Add logic to synchronize the CONCEALED table containing hidden email addresses (assuming appropriate permissions). Additional testng is needed; this check-in is to transfer the work to another machine. file: [58d2271cc8] check-in: [6b0b57a924] user: drh branch: trunk, size: 2552
2008-10-17
13:30
Update the "info" command so that it can take the name of a repository as its argument and then report information about that repository. file: [ac6a2f8b2b] check-in: [974f025c6e] user: drh branch: trunk, size: 2550
12:31
Add the "all rebuild" subcommand. Be more aggressive about adding repositories to the repository list. file: [2daa17c5f0] check-in: [2bd0690fe8] user: drh branch: trunk, size: 2528
2008-10-05
12:34
Get cloning working for local files without the use of network I/O. Ticket [b3482d580e]. file: [effa624f67] check-in: [9236f0c086] user: drh branch: trunk, size: 2436
2008-05-23
19:21
Finish implementing the configuration command by adding method implementations for "import", "reset", and "pull". file: [06872ed5c0] check-in: [28e56282c9] user: drh branch: trunk, size: 2550
2008-05-18
15:51
Improvements to cloning performance. file: [ebfd80e735] check-in: [243e02bfbd] user: drh branch: trunk, size: 2536
2008-05-06
12:24
Add the --proxy command-line option that can be used to enable or disable an http proxy on a case by case basis. file: [0c2a5c8339] check-in: [f652599003] user: drh branch: trunk, size: 2312
2008-05-01
22:49
Enable proxy support using the "fossil setting proxy" command. This check-in is made using a proxy. file: [dbac624435] check-in: [676fdd088a] user: drh branch: trunk, size: 2289
2008-03-08
14:52
This version is able to clone the entire TCL repository in 12.5 minutes and to rebuild the cloned TCL repository in 2.5 minutes. There is still a lot of performance work to be done, but this is good enough for the time being. file: [f6aae5647c] check-in: [0afb5e8e39] user: drh branch: trunk, size: 2264
2007-09-28
20:08
Combine the "config" and "setting" commands into a single "settings" command. file: [f1103d57a0] check-in: [134e2aeccc] user: drh branch: trunk, size: 2245
2007-09-26
12:21
Fix a bug in clone - have it open the global settings database file so that it can access the default-user setting. file: [9cbe1bd6df] check-in: [cbe0ace8f3] user: drh branch: trunk, size: 2236
02:00
Better defaults for new databases and clones. Use *CURRENT* to identify the current checkout for TTY timelines. file: [c14cca48fb] check-in: [097479f99a] user: drh branch: trunk, size: 2216
2007-08-18
02:45
Add the "help" command and the "clean" command. More work is needed on the text for various help messages. file: [9c95e6e8e6] check-in: [c9fdb846fb] user: drh branch: trunk, size: 2180
2007-08-09
10:43
Require history permission in order to clone. file: [31346c860f] check-in: [13b7ac16e4] user: drh branch: trunk, size: 2153
2007-07-31
01:34
The push, pull, and sync commands remember the last server and reuse it if the URL argument is omitted. Sync via network only now. file: [3302dbc338] check-in: [8dbee6731d] user: drh branch: trunk, size: 2154
2007-07-21
14:10
Added: Initial check-in of m1 sources. file: [163dfdc48c] check-in: [dbda8d6ce9] user: drh branch: trunk, size: 2088