depot/tools/cheddar/Cargo.lock, branch refs/r/1465 monorepo for the virus lounge http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F1465 2020-06-20T02:59:20+00:00 feat(cheddar): Add Sourcegraph-compatible highlighting server 2020-06-20T02:59:20+00:00 Vincent Ambo mail@tazj.in 2020-06-20T01:57:31+00:00 urn:sha1:e27b0a3013da6cb017850751280c4a3f314740aa Sourcegraph uses a component called syntect_server to syntax-highlight source files. Since we already have custom syntaxes, overrides and configuration we might as well use them with Sourcegraph! This implements the syntect_server "protocol" (it's just a single endpoint) so that we can swap out the syntect_server component with cheddar. Note: There's a few clippy lints here, but they're being solved in a followup commit because I wanted to take care of all of them at once (not just the ones introduced in this change). Change-Id: Ib518a2fa1b9fee299fe599482403599583cac479 Reviewed-on: https://cl.tvl.fyi/c/depot/+/509 Reviewed-by: lukegb <lukegb@tvl.fyi> refactor(cheddar): Switch to clap-rs for command line arguments 2020-06-17T01:18:16+00:00 Vincent Ambo mail@tazj.in 2020-06-17T00:41:34+00:00 urn:sha1:5e5e02d6a715042c69812d26357b956d7f53f1af The complexity of the arg parsing is increasing somewhat because we're adding more features to cheddar, so to set us up for that this switches the arg parsing to the somewhat more flexible clap. Change-Id: I187bc0c1b6c6bd596fa0f6bb494b04e335262ba9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/445 Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: tazjin <mail@tazj.in> chore(cheddar): Bump all dependencies 2020-06-16T23:59:48+00:00 Vincent Ambo mail@tazj.in 2020-06-16T23:55:15+00:00 urn:sha1:51594b0594fe799c39d0a6a62317fb443d81a23a Manual updates: comrak 0.6 -> 0.7 syntect 3.3 -> 4.2.0 Leading to these automatic updates: Updating crates.io index Updating adler32 v1.0.4 -> v1.1.0 Adding autocfg v1.0.0 Updating base64 v0.10.1 -> v0.12.2 Removing bindgen v0.53.3 Removing cexpr v0.4.0 Adding chrono v0.4.11 Removing clang-sys v0.29.3 Updating comrak v0.6.2 -> v0.7.0 Removing env_logger v0.7.1 Removing glob v0.3.0 Updating hermit-abi v0.1.13 -> v0.1.14 Removing humantime v1.3.0 Adding indexmap v1.4.0 Updating itoa v0.4.5 -> v0.4.6 Updating libc v0.2.70 -> v0.2.71 Removing libloading v0.5.2 Removing log v0.4.8 Updating miniz_oxide v0.3.6 -> v0.3.7 Removing nom v5.1.1 Adding num-integer v0.1.43 Adding num-traits v0.2.12 Updating onig v5.0.0 -> v6.0.0 Removing peeking_take_while v0.1.2 Updating plist v0.4.2 -> v1.0.0 Updating proc-macro2 v1.0.17 -> v1.0.18 Removing quick-error v1.2.3 Updating quote v1.0.6 -> v1.0.7 Updating regex v1.3.7 -> v1.3.9 Updating regex-syntax v0.6.17 -> v0.6.18 Removing rustc-hash v1.1.0 Updating ryu v1.0.4 -> v1.0.5 Updating serde v1.0.110 -> v1.0.112 Updating serde_derive v1.0.110 -> v1.0.112 Updating serde_json v1.0.53 -> v1.0.55 Removing shlex v0.1.1 Updating syn v1.0.25 -> v1.0.31 Updating syntect v3.3.0 -> v4.2.0 Removing termcolor v1.1.0 Removing version_check v0.9.2 Removing which v3.1.1 Updating yaml-rust v0.4.3 -> v0.4.4 Change-Id: I2c2ee6a45bf7a5286fe30d61de52d7993871e7e1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/444 Reviewed-by: lukegb <lukegb@tvl.fyi> chore(tools/cheddar): Bump dependencies & upgrade to LLVM 10 2020-05-25T22:37:39+00:00 Vincent Ambo tazjin@google.com 2020-05-25T22:37:39+00:00 urn:sha1:6f8fbf4aa4b1654ab27d4829e114538761817de0 refactor(cheddar): Set up scaffolding for Markdown rendering 2019-12-21T14:09:12+00:00 Vincent Ambo tazjin@google.com 2019-12-21T14:09:12+00:00 urn:sha1:d35aa4ae46083e1655506749760fd87ff954c205 Generalises the two bits of the program that will be required either way (extension parsing and syntax loading). A dependency on Comrak is introduced as I think GitHub-flavoured Markdown (with all its fancy extensions) is desirable! feat(tools/cheddar): Check in new syntax highlighting tool 2019-12-21T04:54:57+00:00 Vincent Ambo tazjin@google.com 2019-12-21T04:20:15+00:00 urn:sha1:4681c07bde702f64d630f25ef831267cd9ac09ee The first step with this tool will be to use it as a source-filter for cgit. The second step is to use it as the Markdown renderer by depending on one of the Markdown libraries, with integration for rendering code snippets directly.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>depot/tools/cheddar/Cargo.lock, branch refs/r/1465</title>
<subtitle>monorepo for the virus lounge</subtitle>
<id>http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F1465</id>
<link rel="self" href="http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F1465"/>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/"/>
<updated>2020-06-20T02:59:20+00:00</updated>
<entry>
<title>feat(cheddar): Add Sourcegraph-compatible highlighting server</title>
<updated>2020-06-20T02:59:20+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2020-06-20T01:57:31+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=e27b0a3013da6cb017850751280c4a3f314740aa"/>
<id>urn:sha1:e27b0a3013da6cb017850751280c4a3f314740aa</id>
<content type="text"> Sourcegraph uses a component called syntect_server to syntax-highlight source files. Since we already have custom syntaxes, overrides and configuration we might as well use them with Sourcegraph! This implements the syntect_server "protocol" (it's just a single endpoint) so that we can swap out the syntect_server component with cheddar. Note: There's a few clippy lints here, but they're being solved in a followup commit because I wanted to take care of all of them at once (not just the ones introduced in this change). Change-Id: Ib518a2fa1b9fee299fe599482403599583cac479 Reviewed-on: https://cl.tvl.fyi/c/depot/+/509 Reviewed-by: lukegb <lukegb@tvl.fyi> </content>
</entry>
<entry>
<title>refactor(cheddar): Switch to clap-rs for command line arguments</title>
<updated>2020-06-17T01:18:16+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2020-06-17T00:41:34+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=5e5e02d6a715042c69812d26357b956d7f53f1af"/>
<id>urn:sha1:5e5e02d6a715042c69812d26357b956d7f53f1af</id>
<content type="text"> The complexity of the arg parsing is increasing somewhat because we're adding more features to cheddar, so to set us up for that this switches the arg parsing to the somewhat more flexible clap. Change-Id: I187bc0c1b6c6bd596fa0f6bb494b04e335262ba9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/445 Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: tazjin <mail@tazj.in> </content>
</entry>
<entry>
<title>chore(cheddar): Bump all dependencies</title>
<updated>2020-06-16T23:59:48+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2020-06-16T23:55:15+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=51594b0594fe799c39d0a6a62317fb443d81a23a"/>
<id>urn:sha1:51594b0594fe799c39d0a6a62317fb443d81a23a</id>
<content type="text"> Manual updates: comrak 0.6 -> 0.7 syntect 3.3 -> 4.2.0 Leading to these automatic updates: Updating crates.io index Updating adler32 v1.0.4 -> v1.1.0 Adding autocfg v1.0.0 Updating base64 v0.10.1 -> v0.12.2 Removing bindgen v0.53.3 Removing cexpr v0.4.0 Adding chrono v0.4.11 Removing clang-sys v0.29.3 Updating comrak v0.6.2 -> v0.7.0 Removing env_logger v0.7.1 Removing glob v0.3.0 Updating hermit-abi v0.1.13 -> v0.1.14 Removing humantime v1.3.0 Adding indexmap v1.4.0 Updating itoa v0.4.5 -> v0.4.6 Updating libc v0.2.70 -> v0.2.71 Removing libloading v0.5.2 Removing log v0.4.8 Updating miniz_oxide v0.3.6 -> v0.3.7 Removing nom v5.1.1 Adding num-integer v0.1.43 Adding num-traits v0.2.12 Updating onig v5.0.0 -> v6.0.0 Removing peeking_take_while v0.1.2 Updating plist v0.4.2 -> v1.0.0 Updating proc-macro2 v1.0.17 -> v1.0.18 Removing quick-error v1.2.3 Updating quote v1.0.6 -> v1.0.7 Updating regex v1.3.7 -> v1.3.9 Updating regex-syntax v0.6.17 -> v0.6.18 Removing rustc-hash v1.1.0 Updating ryu v1.0.4 -> v1.0.5 Updating serde v1.0.110 -> v1.0.112 Updating serde_derive v1.0.110 -> v1.0.112 Updating serde_json v1.0.53 -> v1.0.55 Removing shlex v0.1.1 Updating syn v1.0.25 -> v1.0.31 Updating syntect v3.3.0 -> v4.2.0 Removing termcolor v1.1.0 Removing version_check v0.9.2 Removing which v3.1.1 Updating yaml-rust v0.4.3 -> v0.4.4 Change-Id: I2c2ee6a45bf7a5286fe30d61de52d7993871e7e1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/444 Reviewed-by: lukegb <lukegb@tvl.fyi> </content>
</entry>
<entry>
<title>chore(tools/cheddar): Bump dependencies & upgrade to LLVM 10</title>
<updated>2020-05-25T22:37:39+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2020-05-25T22:37:39+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=6f8fbf4aa4b1654ab27d4829e114538761817de0"/>
<id>urn:sha1:6f8fbf4aa4b1654ab27d4829e114538761817de0</id>
<content type="text"> </content>
</entry>
<entry>
<title>refactor(cheddar): Set up scaffolding for Markdown rendering</title>
<updated>2019-12-21T14:09:12+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2019-12-21T14:09:12+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=d35aa4ae46083e1655506749760fd87ff954c205"/>
<id>urn:sha1:d35aa4ae46083e1655506749760fd87ff954c205</id>
<content type="text"> Generalises the two bits of the program that will be required either way (extension parsing and syntax loading). A dependency on Comrak is introduced as I think GitHub-flavoured Markdown (with all its fancy extensions) is desirable! </content>
</entry>
<entry>
<title>feat(tools/cheddar): Check in new syntax highlighting tool</title>
<updated>2019-12-21T04:54:57+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2019-12-21T04:20:15+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=4681c07bde702f64d630f25ef831267cd9ac09ee"/>
<id>urn:sha1:4681c07bde702f64d630f25ef831267cd9ac09ee</id>
<content type="text"> The first step with this tool will be to use it as a source-filter for cgit. The second step is to use it as the Markdown renderer by depending on one of the Markdown libraries, with integration for rendering code snippets directly. </content>
</entry>
</feed>