Commits
- Commit:
61810398388dd9f356500527dd1eec6b2461346a144ceb8d708fd43cff027561- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for got 0.123
- Commit:
098a363d57e8cc9b8e0dde00c07f72add53ca24adb9e2c894562913b7b44b7e5- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache fewer but larger deltas and fulltexts in delta cache
This increases delta cache hit rate during got-index-pack from 60% to 90%
when indexing a full pack of the ports.git repository. In my test case the
time taken to index the pack file is reduced from 90 seconds to 30 seconds.
Memory usage decreases since we keep fewer deltas in cache now.
ok op@
- Commit:
e29770f443934beabfe006e390a78f476c4ea84595f040b70e2d6b7954381e03- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid deltifying packed delta-base objects during packing to save time
ok op@
- Commit:
7cda4b11fea3fbaea57848853f7e6fe7204812ee9f4477f2303e7e83d50d11ae- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add PACKED and DELTIFIED flags to raw objects for future use
ok op@
- Commit:
a5fb4de1927f211101c0b9a47b68f2764834954aca1c26f3386a6a30b744d97d- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid a per tree-entry memcpy() in got-read-pack enumerate_tree()
ok op@
- Commit:
49e8084f17c186e6b7188980436c524822c0be12571f8f061abcedd0b8f02991- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid doing asprintf/free per tree entry in got_pack_load_tree_entries()
Allocate one path buffer and keep growing it as needed. For directories we
still need to copy the path. But blobs can use the path buffer directly.
ok op@
- Commit:
1b4a5311e029af3216154de43599c34a9cf5f0eb01708564bd49ae836a846998- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
store first-level object_idset hash table entries inline
This trades one malloc/free per hash table insertion for a memcpy.
Only hash collisions still require malloc/free when added to the ID set.
Also tweak the hash table growth threshold to avoid the table
from filling up completely before we grow it further.
ok op@
- Commit:
77968bb039a04d0243df811be0423030770e2696be962859269f46d0509744b8- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a double-free on error in got_pack_paint_commits()
Before heading out on error, clear the qid pointer if we have not yet
removed qid from the list. Otherwise the error path will free the qid
while it is still on the list.
Also garbage collect the qid0 pointer which has been unused for some time.
ok op@
- Commit:
533142c736712c1e29f7dc8ddf2e9d9f31ddef5af0dbb06ba9b7192f9ce88279- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop using the pack delta cache in got-read-pack
In got-read-pack the delta cache slows us down while enumerating objects
during "gotadmin pack". Presumably due to the random access patterns[*],
the delta cache is ineffective, with a cache hit rate of 4% or less.
My attempts to improve this have failed. Until someone can figure out a
way to make the delta cache useful for got-read-pack, let's disable it.
The equivalent in gotd, repo_read.c, is not using the pack delta cache either.
[*]The delta cache is very effective in got-index-pack where we run
through deltas stored in the pack file sequentially.
- Commit:
66a76ba7a7dfb72f1674f0dcd9f78c2463d49619b7a1876396d090e27590aa4d- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a crash trying to cache delta fulltexts on a pack with no delta cache
This crash won't trigger at present but I have an upcoming change for
got-read-pack which would trigger it.
- Commit:
22112373e6b083a2b42ad7fc485f3dd9149e7e468f6ad5cad64bb3c1f4b5ad42- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid a malloc/free dance per parsed tree entry in got-read-pack
ok thomas_adam
- Commit:
55d7ca587a98f7868d6a835f1ce288e5d02e8cd8bdd28fe9fb28ef22db5e92c7- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-notify-http: drop tmppath
trade tmppath for wpath+cpath but unveil(/tmp, rwc) and
unveil(ca_root, r);
ok stsp@
- Commit:
79b4ed580507388221abfe1530830fd6412dbae5f6a02074342ea1c4ba86ad53- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
garbage collect unused 'tmp' file in got-fetch-http
- Commit:
f26ab49efa7d801b456e5fbaacd479bf1eacca44a874a65c074ec2c4eab7b403- From:
- Matthias Schmidt <openbsd@xosc.org>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
got.1: replace Xr to got.1 with Nm
- Commit:
91dff7bac1e0571d8584379441bf072c2f7576f97e6023387a1260579e44a610- From:
- Matthias Schmidt <openbsd@xosc.org>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
small got.1 fixes
- Replace non-existing macro .Xs with .Sx
- Remove a trailing whitespace
- Add newline. Otherwise, the sentence is displayed wrong in the web
version. It's not visible via man(1) but still a bug.
- Commit:
685ec32287c6ee788f650fcbd05238094324907ca684d2f8bf8bf45d8e0dc2d3- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use a non-default branch name for dangling HEAD in the cleanup_no_head test
suggested by op@
- Commit:
9a1ea1d6e6dffd7c10000689a43ff7c285e4e023d4801696a8850490df68eb5b- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotadmin cleanup run even if the HEAD ref points at a non-existent branch
ok op@
- Commit:
c13c75b17c0c3e979eb177d89481b58f1221f0a39892092cbef99f04e22baad4- From:
- Johannes Thyssen Tishman <jtt@openbsd.org>
- Date:
change argument of web server directive to match its description
ok stsp@
- Commit:
5d8286806344cf1e286772e0ff4d44ac9d6cfdb4721879774035643892e6d558- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix double-slash in gotwebd login URL introduced in previous commit
The configuration file parser ensures that repos_path will be an absolute
path. We don't need to manually add another path separator here.
- Commit:
dca4220f4aa2f7af92383fe1e31d2f8ff7e11b305c61377ef6d62fa5035727d4- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure visitors see the repository index page after logging into gotwebd
If a repository URL path is set, include it in the login token URL.
This should result in less surprising behaviour when a website is served
from the root path "/" and does not require authentication, while
autbentication is required to browse repositories at a different path.
The gotwebd index page clearly indicates the user is now logged in, while
the web site has static content which cannot indicate login status.
This new behaviour might be imperfect in cases where a website requires
authentication and the visitor is logging in to see it. But that is likely
a fringe use case, and it should be easy to navigate back to the desired
website after logging into gotwebd.
- Commit:
014fbe8cd308fa0ef1839e98ae396df9dae27848ea84bb1fcd916d89e65b752c- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotsys-write-conf configure clone-urls for all accessible repositories
Previously, clone URLs would only be written for repositories explicitly
mentioned in the web server configuration section. Set clone-URLs for other
repositories, too, provided they can be cloned by the anonymous user (really
the login-hint user, which is usually "anonymous" or similar).
Add test coverage.
- Commit:
73a1042b23ffcc068bf3ba2f53ca03583ba74b936d2d3e2391dbbc9ba3165a39- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove stray newline from SSH fingerprints parsed in gotsys-write-conf
- Commit:
abbcb7baae2601bb536a0103ffbd36cad97679f376949cd9c85be059a86e5e76- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
typo
- Commit:
ec998aa5b1435e647ddebd18f2d7dc01764cdbfca8f1740135e28c7a14f2b4b5- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
4013c1a870475652ffb0a6e65a32710779d69d91fbcd997f972b53e263674cf9- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.122
