annotate hgext/lfs/TODO.rst @ 51066:b79c73a7afce

revlog: remove legacy usage of `_lazydelta` All core code is now getting the setting from the DeltaConfig object.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 10 Oct 2023 11:36:55 +0200
parents 87167caa2989
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42242
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
1 Prior to removing (EXPERIMENTAL)
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
2 --------------------------------
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
3
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
4 These things affect UI and/or behavior, and should probably be implemented (or
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
5 ruled out) prior to taking off the experimental shrinkwrap.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
6
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
7 #. Finish the `hg convert` story
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
8
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
9 * Add an argument to accept a rules file to apply during conversion?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
10 Currently `lfs.track` is the only way to affect the conversion.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
11 * drop `lfs.track` config settings
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
12 * splice in `.hglfs` file for normal repo -> lfs conversions?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
13
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
14 #. Stop uploading blobs when pushing between local repos
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
15
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
16 * Could probably hardlink directly to the other local repo's store
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
17 * Support inferring `lfs.url` for local push/pull (currently only supports
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
18 http)
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
19
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
20 #. Stop uploading blobs on strip/amend/histedit/etc.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
21
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
22 * This seems to be a side effect of doing it for `hg bundle`, which probably
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
23 makes sense.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
24
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
25 #. Handle a server with the extension loaded and a client without the extension
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
26 more gracefully.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
27
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
28 * `changegroup3` is still experimental, and not enabled by default.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
29 * Figure out how to `introduce LFS to the server repo
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
30 <https://www.mercurial-scm.org/pipermail/mercurial-devel/2018-September/122281.html>`_.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
31 See the TODO in test-lfs-serve.t.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
32
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
33 #. Remove `lfs.retry` hack in client? This came from FB, but it's not clear why
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
34 it is/was needed.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
35
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
36 #. `hg export` currently writes out the LFS blob. Should it write the pointer
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
37 instead?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
38
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
39 * `hg diff` is similar, and probably shouldn't see the pointer file
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
40
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
41 #. Show to-be-applied rules with `hg files -r 'wdir()' 'set:lfs()'`
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
42
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
43 * `debugignore` can show file + line number, so a dedicated command could be
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
44 useful too.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
45
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
46 #. Filesets, revsets and templates
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
47
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
48 * A dedicated revset should be faster than `'file(set:lfs())'`
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
49 * Attach `{lfsoid}` and `{lfspointer}` to `general keywords
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
50 <https://www.mercurial-scm.org/pipermail/mercurial-devel/2018-January/110251.html>`_,
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
51 IFF the file is a blob
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
52 * Drop existing items that would be redundant with general support
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
53
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
54 #. Can `grep` avoid downloading most things?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
55
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
56 * Add a command option to skip LFS blobs?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
57
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
58 #. Add a flag that's visible in `hg files -v` to indicate external storage?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
59
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
60 #. Server side issues
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
61
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
62 * Check for local disk space before allowing upload. (I've got a patch for
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
63 this.)
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
64 * Make sure the http codes used are appropriate.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
65 * `Why is copying the Authorization header into the JSON payload necessary
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
66 <https://www.mercurial-scm.org/pipermail/mercurial-devel/2018-April/116230.html>`_?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
67 * `LFS-Authenticate` header support in client and server(?)
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
68
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
69 #. Add locks on cache and blob store
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
70
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
71 * This is complicated with a global store, and multiple potentially unrelated
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
72 local repositories that reference the same blob.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
73 * Alternately, maybe just handle collisions when trying to create the same
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
74 blob in the store somehow.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
75
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
76 #. Are proper file sizes reported in `debugupgraderepo`?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
77
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
78 #. Finish prefetching files
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
79
42479
ed9a99564051 lfs: correct an error in the TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents: 42242
diff changeset
80 * `-T {data}` (other than cat?)
42242
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
81 * `verify`
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
82 * `grep`
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
83
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
84 #. Output cleanup
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
85
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
86 * Can we print the url when connecting to the blobstore? (A sudden
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
87 connection refused after pulling commits looks confusing.) Problem is,
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
88 'pushing to main url' is printed, and then lfs wants to upload before going
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
89 back to the main repo transfer, so then *that* could be confusing with
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
90 extra output. (This is kinda improved with 380f5131ee7b and 9f78d10742af.)
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
91
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
92 * Add more progress indicators? Uploading a large repo looks idle for a long
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
93 time while it scans for blobs in each outgoing revision.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
94
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
95 * Print filenames instead of hashes in error messages
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
96
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
97 * subrepo aware paths, where necessary
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
98
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
99 * Is existing output at the right status/note/debug level?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
100
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
101 #. Can `verify` be done without downloading everything?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
102
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
103 * If we know that we are talking to an hg server, we can leverage the fact
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
104 that it validates in the Batch API portion, and skip d/l altogether. OTOH,
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
105 maybe we should download the files unconditionally for forensics. The
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
106 alternative is to define a custom transfer handler that definitively
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
107 verifies without transferring, and then cache those results. When verify
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
108 comes looking, look in the cache instead of actually opening the file and
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
109 processing it.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
110
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
111 * Yuya has concerns about when blob fetch takes place vs when revlog is
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
112 verified. Since the visible hash matches the blob content, I don't think
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
113 there's a way to verify the pointer file that's actually stored in the
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
114 filelog (other than basic JSON checks). Full verification requires the
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
115 blob. See
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
116 https://www.mercurial-scm.org/pipermail/mercurial-devel/2018-April/116133.html
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
117
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
118 * Opening a corrupt pointer file aborts. It probably shouldn't for verify.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
119
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
120
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
121 Future ideas/features/polishing
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
122 -------------------------------
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
123
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
124 These aren't in any particular order, and are things that don't have obvious BC
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
125 concerns.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
126
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
127 #. Garbage collection `(issue5790) <https://bz.mercurial-scm.org/show_bug.cgi?id=5790>`_
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
128
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
129 * This gets complicated because of the global cache, which may or may not
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
130 consist of hardlinks to the repo, and may be in use by other repos. (So
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
131 the gc may be pointless.)
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
132
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
133 #. `Compress blobs <https://github.com/git-lfs/git-lfs/issues/260>`_
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
134
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
135 * 700MB repo becomes 2.5GB with all lfs blobs
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
136 * What implications are there for filesystem paths that don't indicate
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
137 compression? (i.e. how to share with global cache and other local repos?)
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
138 * Probably needs to be stored under `.hg/store/lfs/zstd`, with a repo
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
139 requirement.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
140 * Allow tuneable compression type and settings?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
141 * Support compression over the wire if both sides understand the compression?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
142 * `debugupgraderepo` to convert?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
143 * Probably not worth supporting compressed and uncompressed concurrently
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
144
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
145 #. Determine things to upload with `readfast()
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
146 <https://www.mercurial-scm.org/pipermail/mercurial-devel/2018-August/121315.html>`_
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
147
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
148 * Significantly faster when pushing an entire large repo to http.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
149 * Causes test changes to fileset and templates; may need both this and
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
150 current methods of lookup.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
151
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
152 #. Is a command to download everything needed? This would allow copying the
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
153 whole to a portable drive. Currently this can be effected by running
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
154 `hg verify`.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
155
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
156 #. Stop reading in entire file into one buffer when passing through filelog
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
157 interface
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
158
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
159 * `Requires major replumbing to core
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
160 <https://www.mercurial-scm.org/wiki/HandlingLargeFiles>`_
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
161
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
162 #. Keep corrupt files around in 'store/lfs/incoming' for forensics?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
163
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
164 * Files should be downloaded to 'incoming', and moved to normal location when
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
165 done.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
166
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
167 #. Client side path enhancements
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
168
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
169 * Support paths.default:lfs = ... style paths
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
170 * SSH -> https server inference
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
171
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
172 * https://www.mercurial-scm.org/pipermail/mercurial-devel/2018-April/115416.html
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
173 * https://github.com/git-lfs/git-lfs/blob/master/docs/api/server-discovery.md#guessing-the-server
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
174
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
175 #. Server enhancements
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
176
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
177 * Add support for transfer quotas?
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
178 * Download should be able to send the file in chunks, without reading the
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
179 whole thing into memory
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
180 (https://www.mercurial-scm.org/pipermail/mercurial-devel/2018-March/114584.html)
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
181 * Support for resuming transfers
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
182
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
183 #. Handle 3rd party server storage.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
184
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
185 * Teach client to handle lfs `verify` action. This is needed after the
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
186 server instructs the client to upload the file to another server, in order
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
187 to tell the server that the upload completed.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
188 * Teach the server to send redirects if configured, and process `verify`
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
189 requests.
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
190
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
191 #. `Is any hg-git work needed
1756859a65fa lfs: add a TODO file
Matt Harbison <matt_harbison@yahoo.com>
parents:
diff changeset
192 <https://groups.google.com/d/msg/hg-git/XYNQuudteeM/ivt8gXoZAAAJ>`_?