Login
All files named "f-apps/f-rebuild.c"
Login

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

History for f-apps/f-rebuild.c

2021-12-21
08:28
Moved fossil-scm/fossil.h to ../libfossil.h so that client code can build from both the canonical tree and amalgamation using the same include name. file: [b1ca953a1e] check-in: [76d6359435] user: stephan branch: trunk, size: 7170
2021-12-17
18:35
Minor constness tweaks. Added a note about how fsl_repo_rebuild() handles corruption such as that reported at https://fossil-scm.org/forum/forumpost/f4cc31863179f843. Removed a completed TODO comment. file: [55877af622] check-in: [9886240dfc] user: stephan branch: trunk, size: 7182
2021-12-04
06:36
(Finally) implemented ticket crosslinking. file: [efcd42e9f4] check-in: [d8e8c16cc4] user: stephan branch: trunk, size: 7156
2021-11-30
15:43
Added fsl__cx_clear_cached_stmt() to forcibly clear ALL cached fsl_stmt handles held by a fsl_cx and use that from fsl_repo_rebuild() to ensure that the cache is cleared before beginning work. This is a hypothetical/proactive fix for a problem which has not yet been seen in the wild but seems very likely, given recent locking issues reported by Mark. Branching this for now because i cannot reproduce similar locking problems which fsl_repo_rebuild() should hypothetically trigger without this addition. file: [b1a33a4a87] check-in: [f9d39435cf] user: stephan branch: clear-cached-stmt, size: 7408
2021-11-19
08:10
Diverse generic internal and doc cleanups. file: [c621fb3267] check-in: [06f92b7689] user: stephan branch: trunk, size: 7216
05:50
Moved fsl_repo_rebuild() into the public API and added some new state to fsl_rebuild_step and new metrics to f-rebuild. Rebuild adds a few more entries in the event table than fossil does (investigation is TODO) but otherwise seems to behave. file: [e8a5f45069] check-in: [c389ae9908] user: stephan branch: trunk, size: 6982
2021-11-18
17:40
Proof-of-concept handling of SIGINT via fsl_cx_interrupt() by way of fcli. Currently only honored by fsl_repo_rebuild() but "should" eventually be honored by any unusually-long-running operations. file: [41da4e9d6b] check-in: [2a405470c0] user: stephan branch: trunk, size: 28468
16:31
A workaround for an as-yet-unexplained case of an attempt to rebuild the same artifict twice. Shows up on my pi4 but not my x86 system. file: [b4fed6ba97] check-in: [242c38c7b2] user: stephan branch: trunk, size: 27994
15:04
f-rebuild seems to work but needs more testing before moving it into the library. file: [f11e5707a3] check-in: [45126ee491] user: stephan branch: trunk, size: 27335
09:44
Moved cache metrics dumps into fcli API. Told f-rebuild to skip the ticket tables for the time being (since we do not yet crosslink those). Added FSL_CX_F_BLOB_CACHE flag to enable/disable blob cache. Discovered that f-rebuild causes unexpected failures in downstream apps like f-sanity and f-resolve. file: [74eda653a9] check-in: [2b136fe2e7] user: stephan branch: trunk, size: 26499
09:04
Internal API renaming: fsl__acache ==> fsl__bccache. file: [bacada1eb6] check-in: [7aaf02031e] user: stephan branch: trunk, size: 26067
08:44
Added some internal hit/miss metrics to the fsl_content_get() cache. file: [34d782b25c] check-in: [754e28ea1e] user: stephan branch: trunk, size: 26039
07:58
More work on fsl_repo_rebuild(). It seems to work, with the caveat that ticket crosslinking is mostly unimplemented (and will remain so for the foreseeable future), but it's dog, dog slow (about 1/10th of fossil's speed). Needs more testing before moving from f-rebuild.c into the library. file: [1ae96773c7] check-in: [ae8d020e4f] user: stephan branch: trunk, size: 25791
2021-11-02
23:52
Mass renaming of many internal APIs from fsl_X to fsl__X (two underscores) and several adjacent const cleanups. file: [8d1397d867] check-in: [83917b7b45] user: stephan branch: trunk, size: 16568
14:09
Further tweaking of buffer memory ownership for fsl_deck_parse(). Minor adjacent tweaking. file: [8970e503c6] check-in: [7948748ba0] user: stephan branch: trunk, size: 16565
00:21
More work on rebuild and adjacent code. Removed 'restrict' keyword from fsl_strlcpy() and fsl_strlcat() because they break in C++ compilation mode. Renamed fsl_guess_user_name() to fsl_user_name_guess() (consistency) and added fsl_cx_user_guess(). file: [9a3a6139be] check-in: [3bcb631b4f] user: stephan branch: trunk, size: 16532
2021-11-01
21:25
More work on f-rebuild and related crosslinking bits. file: [7fcb66060e] check-in: [8c51e45f8f] user: stephan branch: trunk, size: 13028
2021-10-26
11:25
More work on f-rebuild. Added fcli_setup_v2(). file: [750462b58a] check-in: [14cebaaa7e] user: stephan branch: trunk, size: 11550
2021-10-21
20:42
Added %!Q form of %Q appendf modifier to take the place of the undocumented/unused %w: wraps result in double quotes instead of single, for use with identifiers. file: [102b8c4c2d] check-in: [d92aae901d] user: stephan branch: trunk, size: 7202
20:22
Added: Started work on f-rebuild. Still lots to do. file: [d2dd8a46fe] check-in: [54b9b8fd8b] user: stephan branch: trunk, size: 7203