Everything Burrow does
Burrow hosts git repositories that you clone, fetch and push over HTTPS. A repository can live only in Burrow or mirror a GitHub repository in either direction or both, and GitHub pull requests come in as change lists that stay in sync. The am command line mounts a repository as a folder: each directory lists when you open it, and each file downloads the first time a program reads it.
Repositories and git
Burrow stores each repository as a bare git repository and serves git's smart HTTP protocol. The browser shows files at any ref, history, commits, branches, tags and per-repository stats.


Clone, fetch and push over HTTPS
Any git client signs in with a personal access token as the password. Viewers fetch, editors and admins push, and someone outside the project sees "Repository not found".
Access tokens
Each person makes tokens with an expiry in days or none, and revokes them from the Access tokens page or am burrow token. Burrow stores only a SHA-256 hash of each token.
Code browser
Read files at any branch, tag or commit with syntax highlighting, the README, commit diffs and branch lists. A file's link points at its path and ref so it can be shared.
Repository stats
Languages by share of bytes, lines of code split into code, comments and blanks, commits per week for the last year and the top contributors, computed after each push to the default branch.
Search across Aldermark
The Aldermark header search finds repositories by name or description, files by path on the default branch, and CLs by number across projects.
Mounted checkouts
am burrow mount shows a Burrow repository as a local folder without cloning it. Programs see ordinary files, and nothing downloads until a program reads it. Edits stay on your computer until you commit them as one commit on the mounted branch.
Files arrive when read
Listing a folder asks Burrow for that one folder, and reading a file downloads it once into a cache keyed by git object id. Files that did not change between commits never download again.
Commit from the mount
am burrow mount commit sends every changed file in one request with the object id each one had when you first changed it. Burrow writes one commit and moves the branch only if it still points where it did.
Conflicts are refused, not merged
When someone else has changed one of your files on the branch, the commit is refused and names the files. Keep yours with --overwrite, or take theirs with am burrow mount revert.
Updates from others
The mount checks the branch every 30 seconds by default, or on am burrow mount refresh. Files you did not change show the latest commit and files you changed keep your version.
Linux, macOS and Windows
Mounts use FUSE 3 on Linux, macFUSE on macOS and WinFsp on Windows from one static am binary. Linux is tested end to end on every release, and macOS and Windows are best effort.
Change lists
A change list proposes the commits on one branch for another, with review. CL numbers come from one counter for the whole server, so CL 100042 names one change everywhere and opens at /cl/100042.


Patchsets
Every push to a CL's branch adds a patchset, and Burrow keeps each patchset's commit even after the branch moves or is deleted. Compare any two patchsets to see only what changed between them.
Line comments and reviews
Comment on either side of the diff, answer in threads and attach files. Approve, request changes or comment; nobody approves their own CL.
Merge or squash
Merge lands the current patchset with a merge commit or a squash. Merge stays off, with the reason beside it, while the CL needs approvals, has a request for changes or conflicts with its target.
Rules per repository
Set the merge method, the approvals a CL needs (0 to 10) and whether pull requests import, in the Settings tab or under each repository's cls key in burrow.yaml.
CLs from the terminal
am burrow cl creates, lists, diffs, comments on, reviews, merges and abandons CLs, so scripts and agents work with reviews the way people do.
GitHub sync
A repository can follow a GitHub repository, copy to one, or sync with one both ways. Burrow decides ref by ref and pushes with --force-with-lease, so a push that lands during a sync is never overwritten.
Three directions
From GitHub follows a repository and refuses pushes, To GitHub copies Burrow's branches out, and Two-way moves whichever side changed. Import an existing GitHub repository or send a Burrow repository to a new or existing one.
Conflicts wait for a decision
A branch that moved on both sides waits while the others keep syncing. Keep Burrow's or Keep GitHub's, and the other commit stays on a <branch>-conflict-<commit> branch on both sides.
Webhooks and a one-minute loop
Burrow syncs right after a push, within seconds of GitHub's signed push webhook, every minute otherwise, and when someone selects Sync now.
Pull requests both ways
Pull requests become CLs with commits, comments, line comments and reviews. Burrow's comments, reviews, edits, closes and merges post back to GitHub, and nothing imports twice.
The sync log
Every branch and tag sent or received, with conflicts, resolutions and errors. Filter by Needs attention, From GitHub or To GitHub.
Access, settings and automation
People sign in with Gatehouse, Aldermark's single sign-on, and roles come from the project. Every setting is also a key in burrow.yaml, and every API call is an am command.
Project roles
Viewers browse and clone. Editors push, create and import repositories, sync and settle conflicts. Admins change repository settings, mirrors, GitHub connections and members' roles.
burrow.yaml
Repositories, descriptions, default branches, mirrors and CL rules are keys in one file. While the Aldermark Console keeps the file in GitHub, the matching pages in Burrow are read-only.
Sealed GitHub tokens
GitHub tokens and webhook secrets are sealed on the server, and the configuration file names them only as project secret references.
The am command line
am burrow covers repositories, trees, files, commits, sync, conflicts, tokens, CLs and mounts, with table, JSON, YAML or TSV output.
Storage you can see
The repository list shows each repository's size on disk. Clones and fetches keep working when the organization reaches its storage allowance; only pushes and new repositories stop.
Try Burrow free for one person
$3 a person a month after that, with no sales call, no surprise overage bills, and cancel any time.
Also available together as Aldermark Complete: all ten programs for $24 a person a month.