about summary refs log tree commit diff
path: root/users/grfn
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-02-06T11·56+0100
committersterni <sternenseemann@systemli.org>2022-11-04T21·29+0000
commitffec3c70f4d40636b2880681963c83a8ab8853e9 (patch)
tree140794d8456f1e9fd506a14d66c44e04f6a5ce76 /users/grfn
parent8ffcf8d7cef23d7293edb1057f664c22f180a241 (diff)
refactor(rust-crates-advisory): redo tree-lock-file-report in bash r/5246
I think migrating the execline scripts over to bash makes sense:

1. Ever since nixpkgs-fmt, execline scripts in depot have become a huge
   pain to write and edit and I can't think of a satisfying solution to
   this problem.

2. The scripts here require remembering things across loop cycles (i. e.
   the status variable) which is not possible in pure execline. As a a
   workaround we used to read the entire report into memory first and
   check if it was empty (tying us to the argv limit for the report
   length).

Change-Id: I954b08b982ef947f9014a685676d2b83a2aec4d2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5259
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn')
0 files changed, 0 insertions, 0 deletions