depot/tools, branch refs/r/3896 monorepo for the virus lounge http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F3896 2022-02-26T14:45:27+00:00 chore(tools): drop depot-nixpkgs-update 2022-02-26T14:45:27+00:00 sterni sternenseemann@systemli.org 2022-02-26T14:40:01+00:00 urn:sha1:4c00ca0421133eecc0918b70831ce4cd71f10f6b This tool has been replaced by niv. Change-Id: I011059b7d8890d0456b22f066e723584cc1d9a2b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5329 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> chore(tools): Remove deprecated depot-build tool 2022-02-26T14:39:25+00:00 Vincent Ambo mail@tazj.in 2022-02-26T14:37:24+00:00 urn:sha1:2a7f73926a0afcbfd7c071c1613afdeb14b8dcb9 This has been superseded by magrathea. Change-Id: Ief4a3d1b81e51e7a9c9a0112584fa7efc8aca63f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5328 Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI feat(tools/magrathea): implement run command 2022-02-18T12:06:41+00:00 sterni sternenseemann@systemli.org 2022-02-13T18:30:29+00:00 urn:sha1:01b25ebd8e21692bddf724b5c02a9849c2a5427c This command builds the desired target and runs the executable produced by it. If a directory is produced, it looks for a single (!) executable in the bin directory. Dot files are ignored, so wrappers should generally work. In the future we could provide a flag to select one of multiple executables. All arguments following the target are passed to the executable as is. Examples: mg run ops/mq_cli ls mg run web/bubblegum:examples Change-Id: I6490668af68e028520973196d9daa5f1d58969ee Reviewed-on: https://cl.tvl.fyi/c/depot/+/5277 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> feat(rust-crates-advisories): check 3p crates together w/ lock files 2022-02-13T18:42:44+00:00 sterni sternenseemann@systemli.org 2022-02-04T18:54:53+00:00 urn:sha1:6c4e447587fa07b61a83734fba35e56218e4a8bb Instead of the strict check-all-our-crates, generate a fake Cargo.lock and add it to the report generated by check-all-our-lock-files. check-all-our-crates was a reimplementation of cargo-audit anyways and prevented us from updating the advisory db due to its strict model (failing on any advisory). Change-Id: I264a7f1a5058a527cbc46d26225352ecd437a22b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5230 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> refactor(rust-crates-advisory): split code for buildkite and report 2022-02-13T18:42:44+00:00 sterni sternenseemann@systemli.org 2022-02-04T18:46:48+00:00 urn:sha1:f7a0d5a3d011b598138be1a464da3e3d9faad978 Rename check-all-our-lock-files to tree-lock-file-report and pull out all the buildkite-specific code which makes the code less awkward. check-all-our-lock-files is then only executed in extraSteps and runs tree-lock-file-report on depot, adding it as a warning to the pipeline if it is non-empty. Change-Id: If6bd236d90cc680cba0ed4e988f2f28ddb8012d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5229 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> refactor(rust-crates-advisory): move report generation into script 2022-02-13T18:42:44+00:00 sterni sternenseemann@systemli.org 2022-02-04T16:28:09+00:00 urn:sha1:de62043a7445efeae9e0159e1225480be7954cfa This script is somewhat usable by humans (it even has a help screen!) and can be reused in //users/sterni/nixpkgs-crate-holes. We are using bash since that allows us to exit with the actual exit code of cargo-audit - something that's not possible in execline. Change-Id: I3331ae8222a20e23b8e30dc920ab48af78f0247c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5228 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> fix(magrathea): print [mg] messages to stderr 2022-02-13T17:06:58+00:00 sterni sternenseemann@systemli.org 2022-02-13T16:44:43+00:00 urn:sha1:b7be2660c92fe206e01c0236dc03e2dee03dfa3b I want to add a shortcut to build and run e.g. scripts that are depot targets - for which it would be useful to not have stdout polluted by magrathea itself. Change-Id: Ic58fe28eafb4d0715e53beae041bfaa5d1745812 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5276 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> feat(depotfmt): Check & format Rust code with rustfmt 2022-02-08T12:06:39+00:00 Vincent Ambo mail@tazj.in 2022-02-07T15:50:07+00:00 urn:sha1:d254dbb848ecf093c0de54a9104915f47f782ad1 The rustfmt configuration of the depot is moved to `rustfmt.toml` (it is recognised more reliably from this path than from the hidden .rustfmt.toml). Nested configuration is theoretically possible, but detection of nested config files is flaky. Paths with nested config files need to be disabled in the top-level check (I've excluded my user directory). Change-Id: I385ce3ef529bda28fac03bfba86fc204c81b8a61 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5241 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> style(rust): Format all Rust code with rustfmt 2022-02-08T12:06:39+00:00 Vincent Ambo mail@tazj.in 2022-02-07T15:49:59+00:00 urn:sha1:3d8ee620875085ae7e8d7ef31f4f8e3738cfdca1 Change-Id: Iab7e00cc26a4f9727d3ab98691ef379921a33052 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5240 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su> chore: move some meta.targets definitions to meta.ci.targets 2022-02-08T12:06:10+00:00 Vincent Ambo mail@tazj.in 2022-02-07T23:24:29+00:00 urn:sha1:3318982f81c01b570b7021fd9f71aa2bfe192271 Change-Id: Icdec1dec89158fb596c5185ac7105892081947f5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5252 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su>
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, branch refs/r/3896</title>
<subtitle>monorepo for the virus lounge</subtitle>
<id>http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F3896</id>
<link rel="self" href="http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F3896"/>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/"/>
<updated>2022-02-26T14:45:27+00:00</updated>
<entry>
<title>chore(tools): drop depot-nixpkgs-update</title>
<updated>2022-02-26T14:45:27+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2022-02-26T14:40:01+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=4c00ca0421133eecc0918b70831ce4cd71f10f6b"/>
<id>urn:sha1:4c00ca0421133eecc0918b70831ce4cd71f10f6b</id>
<content type="text"> This tool has been replaced by niv. Change-Id: I011059b7d8890d0456b22f066e723584cc1d9a2b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5329 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> </content>
</entry>
<entry>
<title>chore(tools): Remove deprecated depot-build tool</title>
<updated>2022-02-26T14:39:25+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2022-02-26T14:37:24+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=2a7f73926a0afcbfd7c071c1613afdeb14b8dcb9"/>
<id>urn:sha1:2a7f73926a0afcbfd7c071c1613afdeb14b8dcb9</id>
<content type="text"> This has been superseded by magrathea. Change-Id: Ief4a3d1b81e51e7a9c9a0112584fa7efc8aca63f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5328 Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI </content>
</entry>
<entry>
<title>feat(tools/magrathea): implement run command</title>
<updated>2022-02-18T12:06:41+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2022-02-13T18:30:29+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=01b25ebd8e21692bddf724b5c02a9849c2a5427c"/>
<id>urn:sha1:01b25ebd8e21692bddf724b5c02a9849c2a5427c</id>
<content type="text"> This command builds the desired target and runs the executable produced by it. If a directory is produced, it looks for a single (!) executable in the bin directory. Dot files are ignored, so wrappers should generally work. In the future we could provide a flag to select one of multiple executables. All arguments following the target are passed to the executable as is. Examples: mg run ops/mq_cli ls mg run web/bubblegum:examples Change-Id: I6490668af68e028520973196d9daa5f1d58969ee Reviewed-on: https://cl.tvl.fyi/c/depot/+/5277 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> </content>
</entry>
<entry>
<title>feat(rust-crates-advisories): check 3p crates together w/ lock files</title>
<updated>2022-02-13T18:42:44+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2022-02-04T18:54:53+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=6c4e447587fa07b61a83734fba35e56218e4a8bb"/>
<id>urn:sha1:6c4e447587fa07b61a83734fba35e56218e4a8bb</id>
<content type="text"> Instead of the strict check-all-our-crates, generate a fake Cargo.lock and add it to the report generated by check-all-our-lock-files. check-all-our-crates was a reimplementation of cargo-audit anyways and prevented us from updating the advisory db due to its strict model (failing on any advisory). Change-Id: I264a7f1a5058a527cbc46d26225352ecd437a22b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5230 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> </content>
</entry>
<entry>
<title>refactor(rust-crates-advisory): split code for buildkite and report</title>
<updated>2022-02-13T18:42:44+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2022-02-04T18:46:48+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=f7a0d5a3d011b598138be1a464da3e3d9faad978"/>
<id>urn:sha1:f7a0d5a3d011b598138be1a464da3e3d9faad978</id>
<content type="text"> Rename check-all-our-lock-files to tree-lock-file-report and pull out all the buildkite-specific code which makes the code less awkward. check-all-our-lock-files is then only executed in extraSteps and runs tree-lock-file-report on depot, adding it as a warning to the pipeline if it is non-empty. Change-Id: If6bd236d90cc680cba0ed4e988f2f28ddb8012d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5229 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> </content>
</entry>
<entry>
<title>refactor(rust-crates-advisory): move report generation into script</title>
<updated>2022-02-13T18:42:44+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2022-02-04T16:28:09+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=de62043a7445efeae9e0159e1225480be7954cfa"/>
<id>urn:sha1:de62043a7445efeae9e0159e1225480be7954cfa</id>
<content type="text"> This script is somewhat usable by humans (it even has a help screen!) and can be reused in //users/sterni/nixpkgs-crate-holes. We are using bash since that allows us to exit with the actual exit code of cargo-audit - something that's not possible in execline. Change-Id: I3331ae8222a20e23b8e30dc920ab48af78f0247c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5228 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> </content>
</entry>
<entry>
<title>fix(magrathea): print [mg] messages to stderr</title>
<updated>2022-02-13T17:06:58+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2022-02-13T16:44:43+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=b7be2660c92fe206e01c0236dc03e2dee03dfa3b"/>
<id>urn:sha1:b7be2660c92fe206e01c0236dc03e2dee03dfa3b</id>
<content type="text"> I want to add a shortcut to build and run e.g. scripts that are depot targets - for which it would be useful to not have stdout polluted by magrathea itself. Change-Id: Ic58fe28eafb4d0715e53beae041bfaa5d1745812 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5276 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> </content>
</entry>
<entry>
<title>feat(depotfmt): Check & format Rust code with rustfmt</title>
<updated>2022-02-08T12:06:39+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2022-02-07T15:50:07+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=d254dbb848ecf093c0de54a9104915f47f782ad1"/>
<id>urn:sha1:d254dbb848ecf093c0de54a9104915f47f782ad1</id>
<content type="text"> The rustfmt configuration of the depot is moved to `rustfmt.toml` (it is recognised more reliably from this path than from the hidden .rustfmt.toml). Nested configuration is theoretically possible, but detection of nested config files is flaky. Paths with nested config files need to be disabled in the top-level check (I've excluded my user directory). Change-Id: I385ce3ef529bda28fac03bfba86fc204c81b8a61 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5241 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>style(rust): Format all Rust code with rustfmt</title>
<updated>2022-02-08T12:06:39+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2022-02-07T15:49:59+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=3d8ee620875085ae7e8d7ef31f4f8e3738cfdca1"/>
<id>urn:sha1:3d8ee620875085ae7e8d7ef31f4f8e3738cfdca1</id>
<content type="text"> Change-Id: Iab7e00cc26a4f9727d3ab98691ef379921a33052 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5240 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su> </content>
</entry>
<entry>
<title>chore: move some meta.targets definitions to meta.ci.targets</title>
<updated>2022-02-08T12:06:10+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2022-02-07T23:24:29+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=3318982f81c01b570b7021fd9f71aa2bfe192271"/>
<id>urn:sha1:3318982f81c01b570b7021fd9f71aa2bfe192271</id>
<content type="text"> Change-Id: Icdec1dec89158fb596c5185ac7105892081947f5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5252 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su> </content>
</entry>
</feed>