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 intially 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 - Add an option where 'got cherrypick' and 'got backout' will immediately
12 create a new commit with a log-message based on the original log message.
13 This must require an up-to-date and clean work tree to avoid unrelated
14 changes from getting mixed in. Perform an implicit work tree base-commit
15 bump after committing, like 'got rebase' and 'got histedit' do it.
16 - When a clone fails the HEAD symref will always point to "refs/heads/main"
17 (ie. the internal default HEAD symref of Got). Resuming a failed clone with
18 'got fetch' is supposed to work. To make this easier, if the HEAD symref
19 points to a non-existent reference it should be updated by 'got fetch'
20 to match the HEAD symref sent by the server.
23 - add http(s) transport with libtls, speaking the two Git HTTP protocols
24 (both "dumb" and "smart" need to work) via got-fetch-pack, or a new helper
25 like got-fetch-http; it is fine if HTTP remains a fetch-only protocol, and
26 works only against servers which don't require authentication for fetches;
27 anything beyond this would require a full-featured HTTP client (Git uses
28 libcurl, which we cannot use as it is not in the OpenBSD base system)
31 - make 'tog log' respond to key presses while 'loading...' history; loading
32 can be slow for paths in a deep history if the path has not been changed
33 very often, and 'tog log' blocks far too long in this case
34 - make it possible to view the contents of tag objects
35 - verify signed tag objects
38 - reply with a non-200 reply code when an error occur
39 - fix COMMITS page for path that were deleted and/or re-added to the
40 repository. One way would be not to let the commit graph filter paths.
41 As an additional optimization we could keep a tailq or the object-id
42 set for everything traversed in the repo to have fast reverse-lookups.
43 (has the additional requirement to invalidate it when the reference
45 - run-time changes of addresses on interfaces are being ignored by gotwebd
46 - perhaps "bind interface" should be removed in favour of using only IP
47 addresses? This makes the address family selection explicit and avoids
48 having to monitor interfaces for dynamic address changes.
51 - add server-side support for 'got send -d'
52 - ensure all error messages are propagated to clients before disconnecting,
53 there are probably still some cases where such error reporting is skipped
54 - client connection timeout handling needs to be checked by regress tests,
55 and is likely in need of improvement
56 - implement stress-tests to observe and fix misbehaviour under load
57 - listener's fd-reserve limit needs to be reviewed and perhaps adjusted
58 - implement pre-commit checks (in lieu of hook scripts):
59 1. deny branch history rewriting ('got send -f') via gotd.conf
60 2. allow/deny creation/deletion of references via gotd.conf
61 3. deny modifications within a given reference namespace via gotd.conf
62 4. entirely hide a given reference namespace from clients via gotd.conf
63 5. allow/deny addition of binary files to a repo via gotd.conf
64 6. enforce a particular blob size limit via gotd.conf
65 - implement post-commit-event libexec handlers (in lieu of hook scripts):
66 1. commit email notification, plaintext smtp to localhost port 25
67 2. general-purpose HTTP(s) GET/POST request as commit notification,
68 should use a format string to encode commit-info in the request URL
69 3. perform the equivalent of 'got send' to another repository
70 - keep track of available repository disk space and fail gracefully when
71 uploaded pack files would fill up the disk too much, keeping a reserve
74 - teach 'gotadmin cleanup' to remove redundant pack files
75 - add support for generating git-fast-export streams from a repository
76 - add support for importing git-fast-export streams into a repository