Trevor Bentley
6e27354266
pre-bump version to 0.5.1
2023-01-29 15:54:31 +01:00
Trevor Bentley
0b47cb04f6
update changelog for 0.5.0
2023-01-29 15:53:23 +01:00
Trevor Bentley
b79eb387a3
bump version to 0.5.0
2023-01-29 01:31:34 +01:00
Trevor Bentley
913e187815
remove internal TODO list comments
2023-01-29 01:31:21 +01:00
Trevor Bentley
aca44609ad
add a changelog
2023-01-29 01:30:15 +01:00
Trevor Bentley
f89f44b340
fetch_remote setting to disable remote repo updates
2023-01-26 01:30:20 +01:00
Trevor Bentley
08b075e29d
add a few more features to README
2023-01-26 01:29:50 +01:00
Trevor Bentley
d58a7e3316
fix small typos in README
2023-01-26 01:27:32 +01:00
Trevor Bentley
1403cdce98
fix incorrectly escaped pipe in README table
2023-01-20 02:42:02 +01:00
Trevor Bentley
691d70c906
remove old TODO about parallelism
2023-01-20 02:32:54 +01:00
Trevor Bentley
c257ba12f0
Add limit_commit_ids_to_related setting.
...
Each template received `commit_ids`, a list of ALL commit hashes known
to Itsy-Gitsy. For large repos with hundreds of thousands or millions
of commits, this huge list uses lots of memory and takes a long time
to search.
`limit_commit_ids_to_related` reduces the list to just a handful of
relevant commits for certain templates, which can give a massive
performance boost.
2023-01-20 02:26:16 +01:00
Trevor Bentley
5f0f9978c9
improve diff generation during parallel repo parsing
...
`limit_diff` used to apply to each thread, so you would get
NUM_THREADS*DIFF_LIMIT diffs, potentially much higher than expected.
This new implementation can still overshoot the requested limit, but
has a much tighter bound.
2023-01-19 22:54:31 +01:00
Trevor Bentley
77060540c7
fix parent links when limit_context is specified
2023-01-19 22:51:51 +01:00
Trevor Bentley
6bdc73f807
cargo fmt
2023-01-19 21:03:49 +01:00
Trevor Bentley
d83f682aa2
refactor: support parallel execution
...
* parallel processing of multiple repositories
* parallel parsing of git history
* parallel template output
* configuration option for number of threads
* improved detection of exceeded size limits
Side effects of parallel execution are out-of-order output messages,
and larger potential overshoot in both processing and detecting when
limits are exceeded. It will stop if it exceeds the limits, but it
can exceed them by more before stopping.
Processing of extremely large repositories is several times faster.
The order of commits in the history output might not match the output
of `git log`, since the order of commits in the log can change when
splitting it up into smaller pieces.
2023-01-19 20:55:26 +01:00
Trevor Bentley
48b6dd056a
add support for %NAME% and url_string (permalinks)
2023-01-17 00:24:49 +01:00
Trevor Bentley
f787ec91b3
bug fix: file paths missing in 'dir' template
2023-01-17 00:04:17 +01:00
Trevor Bentley
570a357c51
major refactoring: remove 1-to-1 limit of template-to-output
...
Large refactoring that:
* allow any template to be used any number of times
* combine config's gitsy_templates and gitsy_outputs into gitsy_outputs
* improves safety of output file names
* prepares foundation for slugified permalinks
* prepares foundation for parallelizing more execution
2023-01-16 21:56:44 +01:00
Trevor Bentley
78156268ba
switch from crazy macro to trait for path variable substitution
2023-01-16 03:42:40 +01:00
Trevor Bentley
ca747583d2
document syntax_css in config.toml
2023-01-15 23:46:20 +01:00
Trevor Bentley
f07d0a14bf
rename repo_summary to summary to match other variables
2023-01-15 21:50:56 +01:00
Trevor Bentley
3ca4a52712
fix accidental color breakage in light theme
2023-01-15 18:40:29 +01:00
Trevor Bentley
df81cd3179
bump to version 0.4.1
2023-01-15 18:30:08 +01:00
Trevor Bentley
a5e01d22f5
add mdbook example
2023-01-15 18:27:18 +01:00
Trevor Bentley
88e76d788c
add a basic default dark theme
2023-01-15 17:50:33 +01:00
Trevor Bentley
15fe76b0ba
update readme. add demo link
2023-01-15 03:58:34 +01:00
Trevor Bentley
dc594853d2
give footer a backlink
2023-01-15 03:58:18 +01:00
Trevor Bentley
88b7524b4a
switch default pages to index.html
2023-01-15 03:21:22 +01:00
Trevor Bentley
490b6ad008
add sensible defaults to config.toml
2023-01-15 03:07:53 +01:00
Trevor Bentley
6a83f74282
fix tags missing from alt_refs
2023-01-15 02:55:47 +01:00
Trevor Bentley
19ec6e017f
bump to version 0.4.0
2023-01-15 02:44:36 +01:00
Trevor Bentley
8130938391
remove stray line from readme
2023-01-15 02:42:20 +01:00
Trevor Bentley
6fe5a9715b
Limitations section in readme
2023-01-15 02:41:05 +01:00
Trevor Bentley
84c9f70f22
add CSV generation example
2023-01-15 02:31:49 +01:00
Trevor Bentley
42870f1c77
don't generate asset folder if not used
2023-01-15 02:30:13 +01:00
Trevor Bentley
16f56617a4
document tera filters in readme
2023-01-15 02:29:58 +01:00
Trevor Bentley
3a71d80c98
add GPL license and header comments
2023-01-15 02:06:18 +01:00
Trevor Bentley
0b67001b3b
minor README tweak
2023-01-15 01:58:58 +01:00
Trevor Bentley
dd93cbaa63
make website link an actual link
2023-01-15 01:26:28 +01:00
Trevor Bentley
d4100e85ae
add ability to sort repo list by date
2023-01-15 01:17:26 +01:00
Trevor Bentley
276b8a01e7
add option to link directly to readme
2023-01-15 00:39:11 +01:00
Trevor Bentley
8185721f94
add README
2023-01-14 23:43:59 +01:00
Trevor Bentley
5191a96b14
add configurable git clone URL
2023-01-14 20:58:39 +01:00
Trevor Bentley
0899d5146c
command-line argument to clean output
2023-01-14 20:30:33 +01:00
Trevor Bentley
6d301831b9
config options and behavior tweaks to support large repositories
2023-01-14 19:52:11 +01:00
Trevor Bentley
d903e4adb9
CLI options to generate and open local repositories
2023-01-13 17:29:38 +01:00
Trevor Bentley
cfc589e3b2
make parsed branch configurable
2023-01-13 17:29:00 +01:00
Trevor Bentley
10082c2096
fix site_assets to be a relative path
2023-01-13 17:26:38 +01:00
Trevor Bentley
f142234be0
add a stylized default template
2023-01-13 17:25:28 +01:00
Trevor Bentley
0966bb534f
add a files output template
2023-01-13 04:37:40 +01:00
Trevor Bentley
51007c68b8
cargo fmt
2023-01-12 21:02:59 +01:00
Trevor Bentley
99cdc02af5
protect against writes outside of output directory
2023-01-12 21:02:38 +01:00
Trevor Bentley
bc29ccd66a
bump version to 0.3.0
2023-01-12 20:20:59 +01:00
Trevor Bentley
273d62c645
support paginated history, branches, tags
2023-01-12 20:19:48 +01:00
Trevor Bentley
c60b1d26a0
change recommended clone path to clone_repos/
2023-01-12 17:50:21 +01:00
Trevor Bentley
87f6ce398d
change recommended output dir to rendered/
2023-01-12 17:48:33 +01:00
Trevor Bentley
b84065e565
apply rustfmt. ugh.
2023-01-12 17:45:49 +01:00
Trevor Bentley
65982202a1
bump to version 0.2.0
2023-01-12 17:34:17 +01:00
Trevor Bentley
bfcd8ca41f
refactor into modules
2023-01-12 17:33:18 +01:00
Trevor Bentley
d3a2e9432b
parallelize file generation (syntax highlighting)
2023-01-12 16:01:45 +01:00
Trevor Bentley
ad79db18ac
gracefully handle tags to invalid/missing commits
2023-01-12 15:58:01 +01:00
Trevor Bentley
3d3eda5bdc
fix repos not inheriting global settings
2023-01-12 15:32:00 +01:00
Trevor Bentley
a0ad8a861f
cleanup of imports
2023-01-12 03:07:45 +01:00
Trevor Bentley
871ff0a30e
added proper default config file
2023-01-12 03:00:35 +01:00
Trevor Bentley
d30d031728
make paths relative to the config file
2023-01-12 02:49:28 +01:00
Trevor Bentley
c37b7ed8bb
cache ref names instead of searching on every commit
2023-01-12 02:25:13 +01:00
Trevor Bentley
581b4fbd74
skip generation of unspecified templates
2023-01-12 02:11:49 +01:00
Trevor Bentley
ea48b6828e
add support for cloning remote repos (non-authed HTTPS only)
2023-01-12 01:54:18 +01:00
Trevor Bentley
c030d31b07
add verbose/quiet options and output messages
2023-01-11 22:44:15 +01:00
Trevor Bentley
4f664e7796
fix incorrect file names/paths
2023-01-11 22:43:21 +01:00
Trevor Bentley
6ab59fc4e9
add configurable limits
2023-01-11 20:07:10 +01:00
Trevor Bentley
cfa809e39e
configurable output files/dirs, and copy asset files
2023-01-11 02:39:24 +01:00
Trevor Bentley
d5428f97b7
better header/footer template, add syntax highlighting
2023-01-11 02:39:24 +01:00
Trevor Bentley
4e436a268d
more settings, headers+footers+error pages
2023-01-10 03:19:31 +01:00
Trevor Bentley
1951074e8f
functional prototype: TOML settings, CLI args, templated repo output
2023-01-10 01:13:35 +01:00
Trevor Bentley
9b64c36b06
initial commit
2023-01-07 23:26:57 +01:00