Skip to content
quarry Artifact [06c1e09517]
Login

Artifact [06c1e09517]

Artifact 06c1e095179f678fc4427e8b525b25b586fd14b8b6fff85475c0a26547446f18:

Ticket change [06c1e09517] - open ticket [e77c25ca01]: unversioned files: fossil's own answer to large assets that must sync but must not accumulate history plus 4 other changes by dmestas on 2026-08-18 17:26:15.
D 2026-08-18T17:26:15.692
J comment Moved\sfrom\szit#90\son\sthe\sGitHub\smirror,\sclosed\sthere\sin\sfavour\sof\sthis\stracker.\n\n##\sWhy\snow\n\nThe\srecurring\sworry\sis\srepository\sbloat\sthat\scan\snever\sbe\sundone:\sa\slarge\sbinary\s—\sa\sbuild\sartifact,\sa\svendored\sasset,\sa\sdependency\stree\s—\senters\sthe\sversioned\sDAG\sand\severy\srevision\sof\sit\sis\skept\sforever,\sin\severy\sclone,\srecoverable\sonly\sby\sshunning\s(#87).\n\nGit's\sanswer\sis\sLFS,\swhich\szit\scannot\scopy\swithout\sbreaking\scompatibility:\sa\spointer\sfile\smeans\sa\sstock\sfossil\sclient\schecks\sout\sthe\spointer\sinstead\sof\sthe\scontent.\n\n**Fossil\salready\shas\sthe\sright\sanswer,\sand\sit\sis\sin\sthe\sprotocol\szit\sspeaks.**\sUnversioned\sfiles\ssync\sbetween\srepositories\sbut\scarry\sno\shistory\s—\slatest-wins\sby\smtime,\sone\scopy,\sno\saccumulation.\sThat\sis\sexactly\sthe\stier\sa\s200\sMB\sasset\sbelongs\sin,\sand\sbuilding\son\sit\skeeps\sfull\scompatibility\sbecause\sfossil\sunderstands\sit\snatively.\n\n##\sCurrent\sstate\n\n#58\sexamined\sthis\sand\schose\s**tolerate-and-report**\s(option\sb),\sdeliberately,\sand\sthat\sdecision\sstill\sstands\sas\sthe\sright\sone\sfor\sits\smoment:\sthe\ssync\slayer\sfully\sparses\sand\svalidates\sall\sthree\scard\sfamilies\s—\s`uvfile`\s(six-slot\sgrammar,\shash\svalidation,\sdeletion\srules,\scontent\sverified\sagainst\sthe\shash),\s`uvigot`,\s`uvgimme`\s—\sthen\scounts\sthem\sinto\s`Client.uv_skipped`\sand\sreports\s"N\sunversioned\sfile(s)\snot\stransferred\s(unsupported)"\srather\sthan\sfailing.\sNothing\sis\ssilent,\snothing\saborts.\n\nSo\szit\salready\spays\sthe\s**entire\swire-grammar\smaintenance\scost**\sand\sgets\snone\sof\sthe\scapability.\sThere\sis\sno\sstorage\stier,\sno\s`zit\suv`\sverb,\sand\sno\sway\sto\screate,\slist,\sfetch,\sor\sdelete\sone.\sThis\sissue\sis\scompleting\sa\spath\sthat\sis\salready\shalf-built\sand\salready\svalidated,\snot\sopening\sa\snew\sone.\n\n##\sShape\n\n-\sA\sstorage\stier\s**outside**\sthe\sartifact\sDAG:\scontent-addressed\sfor\sdedup\sif\sconvenient,\sbut\sexplicitly\s*not*\shistory\s—\sone\scurrent\scopy\sper\sname,\ssuperseded\sin\splace.\sThat\snon-accumulation\sis\sthe\swhole\spoint\sand\sis\swhat\sdistinguishes\sthis\sfrom\s"just\scommit\sit".\n-\s`zit\suv\sadd\s|\slist\s|\scat\s|\srm`,\smatching\s`fossil\suv`'s\ssurface\swhere\sit\sexists\srather\sthan\sinventing\sa\ssecond\sspelling\s—\sthe\ssame\sprinciple\sthat\ssettled\sthe\s`zit\stag`\ssurface\sin\s#80.\n-\sThe\ssync\sexchange:\shonour\s`uvgimme`/`uvigot`/`uvfile`\sfor\sreal\sinstead\sof\scounting\sand\sskipping,\sgated\son\sthe\spragma\sconforming\sfossil\salready\suses\s(which,\sper\s#58's\sinvestigation,\sis\sthe\sreason\szit's\snon-support\snever\saborted\sa\ssession).\n\n##\sWhat\sthis\sdoes\sNOT\ssolve\n\nAn\sunversioned\sfile\sis\snot\sa\sversioned\sone:\sno\shistory,\sno\sdiff\sacross\stime,\sno\sannotate.\sIt\sis\sthe\sright\shome\sfor\sassets,\snot\sfor\ssource.\sWorth\sstating\sin\sthe\shelp,\sbecause\s"put\sit\sin\suv\sto\skeep\sthe\srepo\ssmall"\sis\sa\sfoot-gun\sif\ssomeone\sreaches\sfor\sit\swith\ssource.\n\nIt\salso\sdoes\snot\sretroactively\sfix\sa\srepository\sthat\salready\scommitted\sthe\scruft\s—\sthat\sis\s#87.\n\n##\sAcceptance\n\n-\s`zit\suv\sadd`\sstores\sa\sfile,\s`list`\sshows\sit\swith\ssize\sand\smtime,\s`cat`\sreturns\sthe\sbytes,\s`rm`\sremoves\sit\s—\snone\sof\sit\sappearing\sin\s`timeline`,\s`log`,\sor\sany\scheck-in's\sF\scards.\n-\sReplacing\san\sunversioned\sfile\ssupersedes\sit:\sthe\sstore\sdoes\s**not**\sgrow\sby\sa\ssecond\sfull\scopy,\swhich\sis\sthe\sproperty\sthat\smakes\sthis\sworth\sbuilding.\n-\sA\sstock\sfossil\s2.28\sclient\ssyncs\sunversioned\sfiles\swith\szit\sin\sboth\sdirections,\sbyte-for-byte,\spinned\sin\s`smoke`\s—\snothing\sin\sthe\sZig\ssuite\scan\sassert\swhat\sa\sreal\sfossil\saccepts.\n-\sThe\s`uv_skipped`\scounting\spath\sand\sits\sreport\sretire\sonly\swhen\sthe\sreal\spath\sreplaces\sthem,\sso\sthere\sis\snever\sa\swindow\swhere\sfiles\sare\ssilently\sdropped.
J resolution
J status open
J title unversioned\sfiles:\sfossil's\sown\sanswer\sto\slarge\sassets\sthat\smust\ssync\sbut\smust\snot\saccumulate\shistory
J type feature
K e77c25ca019758ded8d836a2cf1d12a9e6d24ce6
U dmestas
Z 20d28224b72b4952ebbf3014552d8df8