Blob


1 got:
2 - Teach 'got merge' to merge changes into an arbitrary subdirectory
3 of the work tree. This would be nice for merging vendor branches.
4 Say you have a branch 'llvm-12' which initially contains a 12.0
5 release tree as published by the LLVM project, added to the repository
6 with a command such as 'got import -b llvm-12'. On the main branch we
7 would want to merge files from the llvm-12 branch into /usr/src/gnu/llvm
8 instead of the root directory checked out at /usr/src.
9 The next LLVM release 12.1 would later be committed onto the llvm-12
10 branch and then merged into main at /usr/src/gnu/llvm in the same way.
11 - When a clone fails the HEAD symref will always point to "refs/heads/main"
12 (ie. the internal default HEAD symref of Got). Resuming a failed clone with
13 'got fetch' is supposed to work. To make this easier, if the HEAD symref
14 points to a non-existent reference it should be updated by 'got fetch'
15 to match the HEAD symref sent by the server.
16 - If invoked in a work tree, got fetch could default to fetching the work
17 tree's current branch, instead of fetching the remote repository's HEAD.
18 - 'got patch' should be able to detect an already applied patch.
19 - 'got patch' should ideally do more passes if a patch doesn't apply and
20 try fancy things (like ignoring context and whitespaces) only in later
21 passes.
22 - investigate whether it's worth for 'got patch' to memory-map the files to
23 edit. (c.f. Plan A / Plan B in Larry' patch.)
24 - when fetching pack files got should verify that the requested branch tips
25 are present in the pack file sent by the server, before making this pack
26 file visible to readers of the repository
27 - enforce that log messages are encoded in either ASCII or UTF-8; this
28 mostly matters for -portable since OpenBSD doesn't provide other locales
29 - by default, deny rebasing of commits that exist in refs/remotes or refs/tags
30 - allow rebase to detect changes already present in the new base branch by
31 comparing the IDs of base-blobs of changed files on either side, and then
32 removing detected no-op changes from the list of commits to rebase before
33 merging any changes (rather than letting diff3 figure this out). RCS IDs
34 in commits exported from CVS will need to be elided to avoid false positives.
35 - to support packfile reachability bitmaps, we'll need to port EWAHBoolArray
36 from C++ to C: https://github.com/lemire/EWAHBoolArray
37 EWAH author Daniel Lemire generously relicensed his code to dual Apache2+MIT
38 to make this possible. The C code we publish should use the MIT license.
39 - 'got send' should support the equivalent to 'got fetch -R', allowing
40 arbitrary references to be sent
42 tog:
43 - make 'tog log' respond to key presses while 'loading...' history; loading
44 can be slow for paths in a deep history if the path has not been changed
45 very often, and 'tog log' blocks far too long in this case
46 - make it possible to view the contents of tag objects
47 - verify signed tag objects
48 - make it possible to toggle the parent to diff against in merge commits
50 gotwebd:
51 - fix COMMITS page for paths that were deleted and/or re-added to the
52 repository. One way would be not to let the commit graph filter paths.
53 As an additional optimization we could keep a tailq or the object-id
54 set for everything traversed in the repo to have fast reverse-lookups.
55 (has the additional requirement to invalidate it when the reference
56 timestamp changes)
57 - reply with 404 on some kind of errors ('reference not found' for sure,
58 maybe also tree entry not found?)
59 - support category grouping a-la gitweb/cgit with the gitweb.category
60 config option or via the "category" file in the root of the repo.
61 - consider changing the URL scheme to avoid so many query parameters
63 gotd:
64 - ensure all error messages are propagated to clients before disconnecting,
65 there are probably still some cases where such error reporting is skipped
66 - client connection timeout handling needs to be checked by regress tests,
67 and is likely in need of improvement
68 - implement stress-tests to observe and fix misbehaviour under load
69 - listener's fd-reserve limit needs to be reviewed and perhaps adjusted
70 - implement pre-commit checks (in lieu of hook scripts):
71 1. deny branch history rewriting ('got send -f') via gotd.conf [done]
72 2. allow/deny creation/deletion of references via gotd.conf
73 3. deny modifications within a given reference namespace via gotd.conf [done]
74 4. entirely hide a given reference namespace from clients via gotd.conf
75 5. allow/deny addition of binary files to a repo via gotd.conf
76 6. enforce a particular blob size limit via gotd.conf
77 7. optionally reject merge commits via gotd.conf
78 - implement post-commit-event libexec handlers (in lieu of hook scripts):
79 1. commit email notification, plaintext smtp to localhost port 25 [done]
80 2. general-purpose HTTP(s) GET/POST request as commit notification [done]
81 3. perform the equivalent of 'got send' to another repository
82 - keep track of available repository disk space and fail gracefully when
83 uploaded pack files would fill up the disk too much, keeping a reserve
84 - reuse packed non-delta objects directly (without re-deltification) for speed
86 gotadmin:
87 - add support for generating git-fast-export streams from a repository
88 - add support for importing git-fast-export streams into a repository
89 - speed up 'gotadmin pack -a' is too slow on repositories with many pack files
90 - support "thin" bundles; git will hardcode --thin when using an
91 exclude base.