Mark some branch-globs and clone-early projects as done

d221d24d1fd27758a561ea281005f6dd1a41418b

Tucker McKnight <tmcknight@instructure.com> | Sat Jan 31 2026

Mark some branch-globs and clone-early projects as done

Also add a todo about calculating the language graph by lines of code
rather than count of files.
example_site/package-lock.json:12
Before
11
12
13
14
15
16
        "@11ty/eleventy": "^3.1.2",
        "@11ty/eleventy-plugin-rss": "^2.0.4",
        "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.2",
        "eleventy-plugin-repoviewer": "file:~/repos/eleventy-plugin-repoviewer"
      }
    },
    "node_modules/@11ty/dependency-tree": {
After
11
12
13
14
15
16
        "@11ty/eleventy": "^3.1.2",
        "@11ty/eleventy-plugin-rss": "^2.0.4",
        "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.2",
        "eleventy-plugin-repoviewer": "git+https://repos.tuckerm.us/eleventy-plugin-repoviewer.git#deploy/0.0.1-alpha.1"
      }
    },
    "node_modules/@11ty/dependency-tree": {
wiki/index.md:10
Before
9
10
11
12
13
14
15
16
17
18
19
20
21
22



23
24
> at a URL like `path/to/file.md.html`. So to link to that page, do
> `[link text](./path/to/file.md.html)`.

## Ideas and Works in Progress

- [ ] Branch Globs
  - Goal: allow users to specify a glob pattern (like `deploy/**`) instead of spelling out every branch name in full in their config file
  - [Project page](./projects/branch-globs.md.html)
- [ ] Better Template Readability
  - git-branch: `mithril-server-side-rendering`
  - Goal: Do not simply have a bunch of strings as the HTML for the default virtual
    template. Maybe look into using mithril for server-side rendering?
  - This will also make the code look much less "ewww" for possible new contributors.
  - Also allows typescript to help out more.
⁣
⁣
⁣
- [ ] Tag snapshots
  - Goal: have HTML pages generated for user-specified tags in the repo, not
    just each branch head.
After
9
10
11
12
13



14
15
16
17
18
19
20
21
22
23
24
> at a URL like `path/to/file.md.html`. So to link to that page, do
> `[link text](./path/to/file.md.html)`.

## Works in Progress

⁣
⁣
⁣
- [ ] Better Template Readability
  - git-branch: `mithril-server-side-rendering`
  - Goal: Do not simply have a bunch of strings as the HTML for the default virtual
    template. Maybe look into using mithril for server-side rendering?
  - This will also make the code look much less "ewww" for possible new contributors.
  - Also allows typescript to help out more.

## Ideas and Todos

- [ ] Tag snapshots
  - Goal: have HTML pages generated for user-specified tags in the repo, not
    just each branch head.
wiki/index.md:52
Before
51
52
53
54





55
56





57
58
- [ ] document (or fix?) that it fails if the compareTo branch isn't one of the pulled branches
- [ ] Show how many commits are different between the given branch and the main
      (or a specified branch?

⁣
⁣
⁣
⁣
⁣
### Completed

⁣
⁣
⁣
⁣
⁣
- [x] Clone repo at first, rather than at the end
  - git branch: `clone-early`
  - [Project page](./projects/clone-early.md.html)
After
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
- [ ] document (or fix?) that it fails if the compareTo branch isn't one of the pulled branches
- [ ] Show how many commits are different between the given branch and the main
      (or a specified branch?
- [ ] get rid of lodash
  - lodash is one of the larger (largest?) dependencies right now. With mithril auto-escaping strings, it might not be necessary anymore. Look into which things actually need to be escaped (e.g. any user-input from commit messages) and see if we can just rely on mithril to escape those
- [ ] make the useDefaultTemplate option actually be used
- [ ] Compute language bar graph based on lines of code, not count of files
  - Also make a way for users to ignore certain files or filetypes

### Completed

- [x] Show how many commits are different between the given branch and the main
      (or a specified branch?
- [x] Branch Globs
  - Goal: allow users to specify a glob pattern (like `deploy/**`) instead of spelling out every branch name in full in their config file
  - [Project page](./projects/branch-globs.md.html)
- [x] Clone repo at first, rather than at the end
  - git branch: `clone-early`
  - [Project page](./projects/clone-early.md.html)
wiki/projects/branch-globs.md:1
Before
0
1


2
3
# Branch Globs

⁣
⁣
> Goal: allow users to specify a glob pattern (like `deploy/**`) instead of spelling out every branch name that will be included in their repository.

Git branch: `branch-globs`
After
0
1
2
3
4
5
# Branch Globs

\#completed

> Goal: allow users to specify a glob pattern (like `deploy/**`) instead of spelling out every branch name that will be included in their repository.

Git branch: `branch-globs`
wiki/projects/clone-early.md:1
Before
0
1


2
3
# Clone Early

⁣
⁣
> Goal: Repoviewer should clone its own copy of the repository in
> a "before" hook, instead of an "after" hook. Then it should use
> that copy of the repo for all of its operations when generating
After
0
1
2
3
4
5
# Clone Early

\#completed

> Goal: Repoviewer should clone its own copy of the repository in
> a "before" hook, instead of an "after" hook. Then it should use
> that copy of the repo for all of its operations when generating