about summary refs log tree commit diff
path: root/web/cgit-taz/default.nix
AgeCommit message (Collapse)AuthorFilesLines
2021-09-27 r/2926 feat(web/cgit): Use new logo in cgit pageVincent Ambo1-1/+1
Change-Id: I5212b235aa2a72c90e4795dce4c9fccfa00ddec3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3629 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
2021-09-16 r/2877 feat(git-serving): Configure josh to serve the depot over HTTPVincent Ambo1-1/+1
Previously we served the dumb git HTTP protocol from code.tvl.fyi via cgit. This CL disables this feature and instead runs josh in the same location (by redirecting appropriately), but while also enabling partial cloning of all subtrees of the depot. For example, after this CL the following would result in an independent clone of //nix/readTree: git clone https://code.tvl.fyi/depot.git:/nix/readTree.git Note that there are no josh workspaces configured at all for now, these references are only for static depot subpaths. Please refer to the documentation for josh for more information on available kinds of josh filters. Josh state is kept in a systemd state directory in /var/lib/josh and backed up to Restic. Backing this up is necessary, as josh uses stateful information to do things like tracking merges and rewriting history per subtree appropriately to avoid cloned repositories ending up in peculiar states. Change-Id: I156f0298c2aa42e3bdbf5a0e86109070d640c56e Reviewed-on: https://cl.tvl.fyi/c/depot/+/3563 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
2021-09-16 r/2876 chore(cgit-taz): Disable HTTP git servingVincent Ambo1-2/+2
We don't need this anymore as josh will be doing it instead. Change-Id: I04324324fefa2b44604a8a5fad4dd3c7b7fe97a3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3564 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
2021-04-10 r/2470 refactor: Move nixpkgs attribute to `third_party.nixpkgs`Vincent Ambo1-5/+9
Please read b/108 to make sense of this. This gets rid of the explicit list of exposed packages from nixpkgs, and instead makes the entire package set available at `third_party.nixpkgs`. To accommodate this, a LOT of things have to be very slightly shuffled around. Some of this was done in already submitted CLs, but this change is unfortunately still quite noisy. Pay extra attention to: * overlay-like functionality that was partially moved to actual overlays (partially as in, the minimum required to get a green build) * modified uses of the package set path, esp. in NixOS systems Special notes: * xanthous has been disabled in CI because of issues with the Haskell overlay * //third_party/nix has been disabled because of other unclear dependency issues Both of these will be tackled in a followup CL. Change-Id: I2f9c60a4d275fdb5209264be0addfd7e06c53118 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2910 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2021-03-31 r/2367 revert(web/tvl): Revert 's/The V/tazjin's v/"'Vincent Ambo1-1/+1
This was originally done when "the purge" happened, and I don't think it's quite accurate anymore. This reverts commit 94846503c59b4155cc98280ef1c5cbcf69696ff9. Change-Id: I4be2bccfa68505a2f663ab1695e547321d2dd0b8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2709 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
2020-06-12 r/916 feat(camden): Move cgit to code.tvl.fyiVincent Ambo1-1/+1
Moves the host at which cgit is served to 'code.tvl.fyi'. Also updates related projects that link to this, most importantly: * Hound's & Gerrit's cgit link bases have been updated * besadii is updated to request CI builds for the new location Change-Id: I44e3e584010ac29cc913ebb1a197c996eb024d80 Reviewed-on: https://cl.tvl.fyi/c/depot/+/71 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-11 r/908 chore(cgit-taz): Point cgit at Gerrit's depot copyVincent Ambo1-5/+2
Change-Id: I842ab14269cac18cddeec2f6f9b8140daa40bc0b Reviewed-on: https://cl.tvl.fyi/c/depot/+/22 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-02-21 r/559 chore: Rename pkgs->depot in all Nix file headersVincent Ambo1-4/+4
2020-02-12 r/544 refactor(web/cgit-taz): Serve depot from disk location on camdenVincent Ambo1-4/+3
2020-01-19 r/427 feat(web/cgit-taz): Use cheddar's about filter for about pagesVincent Ambo1-1/+4
Following this change, Markdown files in the tree view will be rendered as highlighted Markdown sources.
2020-01-12 r/381 chore(web/cgit-taz): Use in-tree cgit version insteadVincent Ambo1-11/+2
Drops the previous patch setup to use //third_party/cgit instead.
2019-12-30 r/319 chore(cgit-taz): Hide remote branchesVincent Ambo1-2/+1
With the sync-gcsr changes from the previous commits remote branches are turned into local branches anyways.
2019-12-21 r/289 feat(cgit-taz): Add patches for subtree about/ handlingVincent Ambo1-4/+10
1. Generate links to subtree about pages. 2. Render README files in subtrees, too.
2019-12-21 r/285 chore(third_party): Remove pulldown-cmark againVincent Ambo1-4/+0
2019-12-21 r/283 feat(cgit-taz): Use cheddar as the about-filterVincent Ambo1-1/+1
This will render about pages using the Comrak renderer defined in Cheddar. Note that due to the way its implemented this will have one interesting behaviour: Markdown files in the tree will *also* be rendered as HTML. I will need to see how that works out before deciding whether or not to disable it.
2019-12-21 r/278 feat(cgit-taz): Make use of cheddar for syntax highlightingVincent Ambo1-1/+1
2019-12-21 r/274 feat(cgit-taz): Use pulldown-cmark as the about filterVincent Ambo1-2/+6
It renders GitHub-flavoured Markdown, which is nice for most use-cases.
2019-12-20 r/245 style(cgit-taz): Embed repository logoVincent Ambo1-0/+1
2019-12-20 r/244 fix(cgit): Configure mimetype-file correctlyVincent Ambo1-0/+1
2019-12-20 r/241 feat(cgit-taz): Enable some convenience features in cgitVincent Ambo1-0/+4
Hopefully file following actually works for directories, too!
2019-12-20 r/237 chore: Significantly restructure folder layoutVincent Ambo1-0/+69
This moves the various projects from "type-based" folders (such as "services" or "tools") into more appropriate semantic folders (such as "nix", "ops" or "web"). Deprecated projects (nixcon-demo & gotest) which only existed for testing/demonstration purposes have been removed. (Note: *all* builds are broken with this commit)