Compare commits

...

40 Commits

Author SHA1 Message Date
Taiki Endo
51b8ba088c Release 2.33.35 2024-05-29 03:20:16 +09:00
Taiki Endo
c46ebac92e Ignore more lints at workspace level 2024-05-29 03:15:59 +09:00
Taiki Endo
6058afcbf2 Update syft@latest to 1.5.0 2024-05-29 03:11:44 +09:00
Taiki Endo
60784cb1f4 Release 2.33.34 2024-05-27 08:51:32 +09:00
Taiki Endo
ccdec58fd9 Update dprint@latest to 0.46.1 2024-05-27 06:11:24 +09:00
Taiki Endo
c2bb13fe14 Release 2.33.33 2024-05-26 01:57:00 +09:00
Taiki Endo
5730b40ec8 Update dprint@latest to 0.46.0 2024-05-26 00:11:08 +09:00
Taiki Endo
70765aab52 Release 2.33.32 2024-05-25 21:15:55 +09:00
Taiki Endo
980709d4ed Update just@latest to 1.27.0 2024-05-25 21:13:14 +09:00
Taiki Endo
9c2797b8f2 Release 2.33.31 2024-05-25 13:45:15 +09:00
Taiki Endo
c3531c890e Update cargo-binstall@latest to 1.6.8 2024-05-25 12:12:56 +09:00
Taiki Endo
e529e9af03 Update sccache@latest to 0.8.1 2024-05-25 09:25:41 +09:00
Taiki Endo
2190a018e8 Release 2.33.30 2024-05-25 00:05:30 +09:00
Taiki Endo
f1a3491ca4 Update cargo-deny@latest to 0.14.24 2024-05-24 18:13:39 +09:00
Taiki Endo
7491b90053 Release 2.33.29 2024-05-24 04:58:55 +09:00
Taiki Endo
036b36b819 Update protoc@latest to 3.27.0 2024-05-24 04:46:04 +09:00
Taiki Endo
0f35150a34 Ignore buggy clippy::lint_groups_priority lint
https://github.com/rust-lang/rust-clippy/issues/12270

```
error: lint group `rust_2018_idioms` has the same priority (0) as a lint
  --> Cargo.toml:11:1
   |
11 | rust_2018_idioms = "warn"
   | ^^^^^^^^^^^^^^^^   ------ has an implicit priority of 0
12 | single_use_lifetimes = "warn"
   | -------------------- has the same priority as this lint
   |
   = note: the order of the lints in the table is ignored by Cargo
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#lint_groups_priority
   = note: `-D clippy::lint-groups-priority` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::lint_groups_priority)]`
help: to have lints override the group set `rust_2018_idioms` to a lower priority
   |
11 | rust_2018_idioms = { level = "warn", priority = -1 }
   |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error: lint group `all` has the same priority (0) as a lint
  --> Cargo.toml:16:1
   |
16 | all = "warn" # Downgrade deny-by-default lints
   | ^^^   ------ has an implicit priority of 0
17 | pedantic = "warn"
18 | as_ptr_cast_mut = "warn"
   | --------------- has the same priority as this lint
   |
   = note: the order of the lints in the table is ignored by Cargo
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#lint_groups_priority
help: to have lints override the group set `all` to a lower priority
   |
16 | all = { level = "warn", priority = -1 } # Downgrade deny-by-default lints
   |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error: lint group `pedantic` has the same priority (0) as a lint
  --> Cargo.toml:17:1
   |
17 | pedantic = "warn"
   | ^^^^^^^^   ------ has an implicit priority of 0
18 | as_ptr_cast_mut = "warn"
   | --------------- has the same priority as this lint
   |
   = note: the order of the lints in the table is ignored by Cargo
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#lint_groups_priority
help: to have lints override the group set `pedantic` to a lower priority
   |
17 | pedantic = { level = "warn", priority = -1 }
   |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2024-05-24 04:40:55 +09:00
Taiki Endo
4fedbddde8 Release 2.33.28 2024-05-23 03:28:12 +09:00
Taiki Endo
20f466fa6b Update wasmtime@latest to 21.0.1 2024-05-23 03:12:49 +09:00
Taiki Endo
0fc560009a Release 2.33.27 2024-05-21 10:16:19 +09:00
Taiki Endo
8eb922d4a7 Update wasmtime@latest to 21.0.0 2024-05-21 06:10:49 +09:00
Taiki Endo
689459d9ff Release 2.33.26 2024-05-19 22:09:09 +09:00
Taiki Endo
c9ca4b7c7b Update cargo-careful@latest to 0.4.2 2024-05-19 22:01:05 +09:00
John Vandenberg
68c5e86b83 codegen: Avoid using GITHUB_TOKEN with crates.io (#484) 2024-05-19 11:54:42 +09:00
John Vandenberg
d722dd2b73 codegen: Allow skipping existing versions (#485) 2024-05-19 11:51:47 +09:00
Taiki Endo
3c93f2e2e2 Release 2.33.25 2024-05-18 19:02:10 +09:00
Taiki Endo
4f17488f44 Update cargo-binstall@latest to 1.6.7 2024-05-18 18:11:25 +09:00
Taiki Endo
fce5fd6127 Release 2.33.24 2024-05-17 22:17:08 +09:00
Taiki Endo
e7cd6f10dc Update mdbook@latest to 0.4.40 2024-05-17 12:23:54 +09:00
Taiki Endo
2f990e9c48 Release 2.33.23 2024-05-14 15:16:34 +09:00
Taiki Endo
2791c528e4 Update just@latest to 1.26.0 2024-05-14 15:14:11 +09:00
Taiki Endo
c2927f0c5b Release 2.33.22 2024-05-12 10:06:47 +09:00
Taiki Endo
1ae6b4aac2 Update git-cliff@latest to 2.2.2 2024-05-12 06:37:46 +09:00
Taiki Endo
d4c31008b2 Release 2.33.21 2024-05-11 20:06:12 +09:00
Taiki Endo
55d8cef422 Update cargo-binstall@latest to 1.6.6 2024-05-11 15:12:42 +09:00
Taiki Endo
685948ac6a Update cargo-tarpaulin@latest to 0.30.0 2024-05-11 09:26:01 +09:00
Taiki Endo
0eaa33a7ad Release 2.33.20 2024-05-10 08:28:33 +09:00
Taiki Endo
ffe829f559 Update syft@latest to 1.4.1 2024-05-10 06:13:55 +09:00
Taiki Endo
3342907307 Release 2.33.19 2024-05-08 20:21:43 +09:00
Taiki Endo
56635f62d1 Update cargo-tarpaulin@latest to 0.29.2 2024-05-08 18:11:17 +09:00
15 changed files with 490 additions and 39 deletions

View File

@@ -10,6 +10,78 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.33.35] - 2024-05-28
- Update `syft@latest` to 1.5.0.
## [2.33.34] - 2024-05-26
- Update `dprint@latest` to 0.46.1.
## [2.33.33] - 2024-05-25
- Update `dprint@latest` to 0.46.0.
## [2.33.32] - 2024-05-25
- Update `just@latest` to 1.27.0.
## [2.33.31] - 2024-05-25
- Update `cargo-binstall@latest` to 1.6.8.
- Update `sccache@latest` to 0.8.1.
## [2.33.30] - 2024-05-24
- Update `cargo-deny@latest` to 0.14.24.
## [2.33.29] - 2024-05-23
- Update `protoc@latest` to 3.27.0.
## [2.33.28] - 2024-05-22
- Update `wasmtime@latest` to 21.0.1.
## [2.33.27] - 2024-05-21
- Update `wasmtime@latest` to 21.0.0.
## [2.33.26] - 2024-05-19
- Update `cargo-careful@latest` to 0.4.2.
## [2.33.25] - 2024-05-18
- Update `cargo-binstall@latest` to 1.6.7.
## [2.33.24] - 2024-05-17
- Update `mdbook@latest` to 0.4.40.
## [2.33.23] - 2024-05-14
- Update `just@latest` to 1.26.0.
## [2.33.22] - 2024-05-12
- Update `git-cliff@latest` to 2.2.2.
## [2.33.21] - 2024-05-11
- Update `cargo-binstall@latest` to 1.6.6.
- Update `cargo-tarpaulin@latest` to 0.30.0.
## [2.33.20] - 2024-05-09
- Update `syft@latest` to 1.4.1.
## [2.33.19] - 2024-05-08
- Update `cargo-tarpaulin@latest` to 0.29.2.
## [2.33.18] - 2024-05-08
- Update `wasmtime@latest` to 20.0.2.
@@ -2151,7 +2223,24 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.33.18...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.33.35...HEAD
[2.33.35]: https://github.com/taiki-e/install-action/compare/v2.33.34...v2.33.35
[2.33.34]: https://github.com/taiki-e/install-action/compare/v2.33.33...v2.33.34
[2.33.33]: https://github.com/taiki-e/install-action/compare/v2.33.32...v2.33.33
[2.33.32]: https://github.com/taiki-e/install-action/compare/v2.33.31...v2.33.32
[2.33.31]: https://github.com/taiki-e/install-action/compare/v2.33.30...v2.33.31
[2.33.30]: https://github.com/taiki-e/install-action/compare/v2.33.29...v2.33.30
[2.33.29]: https://github.com/taiki-e/install-action/compare/v2.33.28...v2.33.29
[2.33.28]: https://github.com/taiki-e/install-action/compare/v2.33.27...v2.33.28
[2.33.27]: https://github.com/taiki-e/install-action/compare/v2.33.26...v2.33.27
[2.33.26]: https://github.com/taiki-e/install-action/compare/v2.33.25...v2.33.26
[2.33.25]: https://github.com/taiki-e/install-action/compare/v2.33.24...v2.33.25
[2.33.24]: https://github.com/taiki-e/install-action/compare/v2.33.23...v2.33.24
[2.33.23]: https://github.com/taiki-e/install-action/compare/v2.33.22...v2.33.23
[2.33.22]: https://github.com/taiki-e/install-action/compare/v2.33.21...v2.33.22
[2.33.21]: https://github.com/taiki-e/install-action/compare/v2.33.20...v2.33.21
[2.33.20]: https://github.com/taiki-e/install-action/compare/v2.33.19...v2.33.20
[2.33.19]: https://github.com/taiki-e/install-action/compare/v2.33.18...v2.33.19
[2.33.18]: https://github.com/taiki-e/install-action/compare/v2.33.17...v2.33.18
[2.33.17]: https://github.com/taiki-e/install-action/compare/v2.33.16...v2.33.17
[2.33.16]: https://github.com/taiki-e/install-action/compare/v2.33.15...v2.33.16

View File

@@ -10,6 +10,8 @@ improper_ctypes_definitions = "warn"
non_ascii_idents = "warn"
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"
unexpected_cfgs = { level = "warn", check-cfg = [
] }
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
[workspace.lints.clippy]
@@ -27,11 +29,13 @@ borrow_as_ptr = { level = "allow", priority = 1 } # https://github.com/rust-lang
declare_interior_mutable_const = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7665
doc_markdown = { level = "allow", priority = 1 }
float_cmp = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7725
incompatible_msrv = { level = "allow", priority = 1 } # buggy: doesn't consider cfg, https://github.com/rust-lang/rust-clippy/issues/12280, https://github.com/rust-lang/rust-clippy/issues/12257#issuecomment-2093667187
lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12270
manual_assert = { level = "allow", priority = 1 }
manual_range_contains = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/6455#issuecomment-1225966395
missing_errors_doc = { level = "allow", priority = 1 }
module_name_repetitions = { level = "allow", priority = 1 }
nonminimal_bool = { level = "allow", priority = 1 } # buggy https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+is%3Aopen+nonminimal_bool
nonminimal_bool = { level = "allow", priority = 1 } # buggy: https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+is%3Aopen+nonminimal_bool
similar_names = { level = "allow", priority = 1 }
single_match = { level = "allow", priority = 1 }
single_match_else = { level = "allow", priority = 1 }

View File

@@ -21,26 +21,26 @@
}
},
"latest": {
"version": "1.6.5"
"version": "1.6.8"
},
"1.6.5": {
"1.6.8": {
"x86_64_linux_musl": {
"checksum": "cf75df98ab1cc87f10965bfb1860b30cf36772bc526a42032f54ea015715ff6d"
"checksum": "581eb7c97b2767a468afb0505c416eb727b469c029b36470288fc30b26517101"
},
"x86_64_macos": {
"checksum": "48fe250714e024c9613b2b40aeb23f36e38ea6ea6815bef113a6db2b3d6f6863"
"checksum": "590ff2a4b50d67ce52b35895e4cb8d75fefdc591988dafb2687c6461b50e3885"
},
"x86_64_windows": {
"checksum": "0da0dbdf8f6801f756f5e1d9324b6f495d5288d06550adba336a521fe28c338d"
"checksum": "0c1cd165f4460a9d5c1f5c2a67e5faf53913694ba207ddc18b44f6c5de6ba6c5"
},
"aarch64_linux_musl": {
"checksum": "39f8be366705021d56c07a01760ae8c37be9cd4fff72762f0303f0f8ddba0a17"
"checksum": "2433118983ade85388be17d442b430c4932eb2dad834143f9a6a25646563281f"
},
"aarch64_macos": {
"checksum": "2860674913f7f2ea7808b7f423a8a56f612a4f2971b87423c4d039e902eceaaa"
"checksum": "1b0ea154b639dc7d8b49c6a2fa300964357a67a1b2441e9f29b61c7b7b79d23d"
},
"aarch64_windows": {
"checksum": "f4d73bd068f0660bae395222b2414f0eb14b1492cb3a00bc354c852eefdccc64"
"checksum": "f440401a77b284a8b52ba0052fe26628e8658d4febc91108c28542a0843d341a"
}
}
}

View File

@@ -12,10 +12,21 @@
}
},
"latest": {
"version": "0.4.1"
"version": "0.4.2"
},
"0.4": {
"version": "0.4.1"
"version": "0.4.2"
},
"0.4.2": {
"x86_64_linux_musl": {
"checksum": "ee14c5796acab604714e358de11bf5204055410ae8fd4891df7f5d62461402c3"
},
"x86_64_macos": {
"checksum": "480efaf0a577161332b27ea13c8703ead1b6355b5c6541f5bd61d440440b4bde"
},
"x86_64_windows": {
"checksum": "ac374b7799a37e3ef21c6bfe409583c3acbc57242fbb32e8534269b5e97b8ee9"
}
},
"0.4.1": {
"x86_64_linux_musl": {

View File

@@ -23,10 +23,27 @@
}
},
"latest": {
"version": "0.14.23"
"version": "0.14.24"
},
"0.14": {
"version": "0.14.23"
"version": "0.14.24"
},
"0.14.24": {
"x86_64_linux_musl": {
"checksum": "df57dd1ccbc44c4445cb72974562ed934637d982fb0f6d62105dddc290beaaad"
},
"x86_64_macos": {
"checksum": "47b7b07fb210b871027adb3a08fe85fa1a54e4403b523feaa844f3db029e96c8"
},
"x86_64_windows": {
"checksum": "35e6709107c13d35b9c2a9ee6d9db4cdf52f008e84334597e796305b95a72bdd"
},
"aarch64_linux_musl": {
"checksum": "8b1142bc6b7968169781a0ce01c74dc553468d968eda931c0a9e7420ae82e20d"
},
"aarch64_macos": {
"checksum": "636f9e6e509bc43fab9ab6c2f2470dc027d05badce47b075bd27d9b05ffb162f"
}
},
"0.14.23": {
"x86_64_linux_musl": {

View File

@@ -18,10 +18,47 @@
}
},
"latest": {
"version": "0.29.1"
"version": "0.30.0"
},
"0.30": {
"version": "0.30.0"
},
"0.30.0": {
"x86_64_linux_musl": {
"checksum": "7adaec5afad826e8b758fffe3b9804d3a371553fa4cdb56ddd9a3592c08a03ac"
},
"x86_64_macos": {
"checksum": "cc2b8b84c0f19db57f00b5e2e322c3115a744d2fccc823700f3b7f60dd13a289"
},
"x86_64_windows": {
"checksum": "fa1dee30c073f72b03303c3d6479d0198eb0f8079e1b65582a502f411247754d"
},
"aarch64_linux_musl": {
"checksum": "e06ef0e98fc78da0a447f8560fbfe797a57cebe1b71a7161e0810f6d65151758"
},
"aarch64_macos": {
"checksum": "a7f582a21083f2be93aeb3f7d13d534ee5d63c1aec9e1f8c570253a970f4d18e"
}
},
"0.29": {
"version": "0.29.1"
"version": "0.29.2"
},
"0.29.2": {
"x86_64_linux_musl": {
"checksum": "d6ba7a39fa27c1792741860dc28225daaab9ba74f7ebdd5cf4f175009f079167"
},
"x86_64_macos": {
"checksum": "e489e193d0d520002ad10673f6027ff80cd516a5ffbc8f8e4269f2181428ae0d"
},
"x86_64_windows": {
"checksum": "f3e7bf5ea970d543b9b47cd4ad62fa9f6316fed61e57132abf085ddde6e60692"
},
"aarch64_linux_musl": {
"checksum": "3c8b9db1d5f38e741ee84e15e038216c7a74a5b550770f8a273296aea65e7292"
},
"aarch64_macos": {
"checksum": "15bc3f52422c8e72f1385a113d35a9e7b4ab6a15503fceef2155fe0fe5bbcb4f"
}
},
"0.29.1": {
"x86_64_linux_musl": {

39
manifests/dprint.json generated
View File

@@ -24,7 +24,44 @@
}
},
"latest": {
"version": "0.45.1"
"version": "0.46.1"
},
"0.46": {
"version": "0.46.1"
},
"0.46.1": {
"x86_64_linux_musl": {
"checksum": "4a7d6fa6b920ab150f580965556086cdd7992e07078e627ab9a9d1c3bd30ba85"
},
"x86_64_macos": {
"checksum": "cdea84bce1d84c26e8eced2265d246b79a849ec2e7d1377d98dd7bdb21c7ce83"
},
"x86_64_windows": {
"checksum": "74e5ab38c744d5903862c2b5174d0fef9759b5506da775e1fb93b6a68c63101d"
},
"aarch64_linux_musl": {
"checksum": "e2b6d87167d21f1f01571790e79526ef9caff3b8b75f5cac348c4f06f60a8c16"
},
"aarch64_macos": {
"checksum": "f3ff4faef83d14c3b4ae262e79a40d4e0fc3fa1903d0b6e9b82f0b25b00e9499"
}
},
"0.46.0": {
"x86_64_linux_musl": {
"checksum": "7a2c12edc868259be890174c4ec3bd51c81ec8773aa294e12fac0634f36d15f5"
},
"x86_64_macos": {
"checksum": "e339f1f891c60087676d72f70ba5f80dcaedde4bdc58730b9cb68a5483b3abfd"
},
"x86_64_windows": {
"checksum": "786201545938f6f7c6d407e6404b31ae9bbf9e5a4abc4c88dc9bd73da369a906"
},
"aarch64_linux_musl": {
"checksum": "e52c0a3398e34e88ffe560e719bf8361ba3f35b4e0927ab9ba0761796884ce24"
},
"aarch64_macos": {
"checksum": "4b608b3676f10e04328c3d8be396bded96328ebca9b95b70bf5baf67bed7b135"
}
},
"0.45": {
"version": "0.45.1"

View File

@@ -27,13 +27,33 @@
}
},
"latest": {
"version": "2.2.1"
"version": "2.2.2"
},
"2": {
"version": "2.2.1"
"version": "2.2.2"
},
"2.2": {
"version": "2.2.1"
"version": "2.2.2"
},
"2.2.2": {
"x86_64_linux_musl": {
"checksum": "3a199e08786eeb8801e40c6f2e022e236c1a640eb172695898ded679089eb5cf"
},
"x86_64_macos": {
"checksum": "3efc16a26b1e511f285395a241d338991dc89494a1d3b4fc4c67c99a5b8cedce"
},
"x86_64_windows": {
"checksum": "9e2956b4ec65dbf48ca9b9fa1815012ca9486c721a143b6eb35412f395f2fd7f"
},
"aarch64_linux_musl": {
"checksum": "a5484af486d8ac20748c681ae205c698415550783d3cf13d0a5e230c0cca5961"
},
"aarch64_macos": {
"checksum": "0f5b598795b6b6f2c6b7f683559ef90b2cbe59393c88c057892a12713e08d20b"
},
"aarch64_windows": {
"checksum": "919f5b90966dc90c695ab327cedd840ef2fe705270c3a0902d106abde8110c0f"
}
},
"2.2.1": {
"x86_64_linux_musl": {

44
manifests/just.json generated
View File

@@ -18,10 +18,50 @@
}
},
"latest": {
"version": "1.25.2"
"version": "1.27.0"
},
"1": {
"version": "1.25.2"
"version": "1.27.0"
},
"1.27": {
"version": "1.27.0"
},
"1.27.0": {
"x86_64_linux_musl": {
"checksum": "6cc91651c4dd5e287df8ea7b3087c44120ba95a32ee50497bb071695846ab086"
},
"x86_64_macos": {
"checksum": "ae5dae799d3dafeaf4d53e221e1efdeec88980a38375b0d6dbc9c9bb16eec273"
},
"x86_64_windows": {
"checksum": "08dca5c6e30258cbb24ec30eb8ea1e3ba5b2beb5349eaabee450230ce45ef585"
},
"aarch64_linux_musl": {
"checksum": "f049d134d311b3d2190d30a936e0a4257df156082cab37d4eb2ace1b760154ca"
},
"aarch64_macos": {
"checksum": "5d6b05ab581dca9346114df7c9f7285f54d4b80d8082e2c8fce51a42b3dbdb9c"
}
},
"1.26": {
"version": "1.26.0"
},
"1.26.0": {
"x86_64_linux_musl": {
"checksum": "be7233b3ebfd5bdda8cae6537c21c839d3d24ecf075f1494a2e67f93539b1e12"
},
"x86_64_macos": {
"checksum": "aa9ad8d097c4d3744c9d06520e28837c5e3fa50519a4cd657e0f2f7a226897af"
},
"x86_64_windows": {
"checksum": "e326f8552ac7119b643fed1b8af8fe392593280c185c44beadc313e0291f412a"
},
"aarch64_linux_musl": {
"checksum": "56352027a18e64bc58aa77d4c020bd79163f10cecc859595b0474b5a442369d3"
},
"aarch64_macos": {
"checksum": "1b8b12f348eea603ba935d0799e03b87adb9b15779ff21cd67b3ddb1e6ab21d2"
}
},
"1.25": {
"version": "1.25.2"

32
manifests/mdbook.json generated
View File

@@ -18,10 +18,38 @@
}
},
"latest": {
"version": "0.4.37"
"version": "0.4.40"
},
"0.4": {
"version": "0.4.37"
"version": "0.4.40"
},
"0.4.40": {
"x86_64_linux_musl": {
"checksum": "f7520ad60d1a6fe81c667d0da876a9ddd736f874eb61c01b025eafdc83381227"
},
"x86_64_macos": {
"checksum": "5783c09bb60b3e2e904d6839e3a1993a4ace1ca30a336a3c78bedac6e938817c"
},
"x86_64_windows": {
"checksum": "1470e5b06614cb2851e8b3c908dfdef2982b90e6cc6045662512ce66d6c7c5d9"
},
"aarch64_linux_musl": {
"checksum": "d5ebfd2e31755726f8c0988a423b1ab5d950bb894fbba170355bb7d1cb852586"
}
},
"0.4.39": {
"x86_64_linux_musl": {
"checksum": "25d66ee23c67815549a1517c484aad210c5e0f97c68bb990a93a34c03e859d47"
},
"x86_64_macos": {
"checksum": "dd52578a17c892afa805ec29b15c06f1e7c6e6707791ef840165fc3f1763c6bb"
},
"x86_64_windows": {
"checksum": "f8efb854df122d6d99189923d7fe61625f8931e0a46d38d8449fd850a67079d1"
},
"aarch64_linux_musl": {
"checksum": "68fc653b401b6d344eef77f9f119d262acadce248e23a4dd1ef2e958eabc2be8"
}
},
"0.4.37": {
"x86_64_linux_musl": {

29
manifests/protoc.json generated
View File

@@ -2,10 +2,35 @@
"rust_crate": null,
"template": null,
"latest": {
"version": "3.26.1"
"version": "3.27.0"
},
"3": {
"version": "3.26.1"
"version": "3.27.0"
},
"3.27": {
"version": "3.27.0"
},
"3.27.0": {
"x86_64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-linux-x86_64.zip",
"checksum": "e2bdce49564dbad4676023d174d9cdcf932238bc0b56a8349a5cb27bbafc26b0"
},
"x86_64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-osx-x86_64.zip",
"checksum": "d956cf3a9e91a687aa4d1026e9261e5a587e4e0b545db0174509f6c448b8ce21"
},
"x86_64_windows": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-win64.zip",
"checksum": "80888b2a38786861c7b3aaf4e0bd5b933a51d750219ee8c61093655fc2924926"
},
"aarch64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-linux-aarch_64.zip",
"checksum": "1e4b2d8b145afe99a36602f305165761e46d2525aa94cbb907e2e983be6717ac"
},
"aarch64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-osx-aarch_64.zip",
"checksum": "2cf59e3e3463bede1f10b7517efdddd97a3bd8cfd9cacc286407b657290dc781"
}
},
"3.26": {
"version": "3.26.1"

21
manifests/sccache.json generated
View File

@@ -23,10 +23,27 @@
}
},
"latest": {
"version": "0.8.0"
"version": "0.8.1"
},
"0.8": {
"version": "0.8.0"
"version": "0.8.1"
},
"0.8.1": {
"x86_64_linux_musl": {
"checksum": "e0ee621fb16b6940666cd770b091c62cadafd3e062dd12e3a49d9caaff3b795f"
},
"x86_64_macos": {
"checksum": "4306fb21606b14e2ce1266b25c40e55c090ea68c2cb54e1c39bfb9b81ea3e342"
},
"x86_64_windows": {
"checksum": "44249088926f52d1fee76cd1dcd1c061e2152a7feedb7ba43d4a4f50be805608"
},
"aarch64_linux_musl": {
"checksum": "452cef732b24415493a7c6bca6e13536eb9464593fa87c753b6b7cb4733e9c50"
},
"aarch64_macos": {
"checksum": "b4029ae790e29333ebcf52faa5bc0559945011d5fdbc7cc15812bc45fc6ea5d4"
}
},
"0.8.0": {
"x86_64_linux_musl": {

61
manifests/syft.json generated
View File

@@ -23,10 +23,67 @@
}
},
"latest": {
"version": "1.3.0"
"version": "1.5.0"
},
"1": {
"version": "1.3.0"
"version": "1.5.0"
},
"1.5": {
"version": "1.5.0"
},
"1.5.0": {
"x86_64_linux_musl": {
"checksum": "3d10023d46dfaf0fe75288df207b478b43597f7d2fff553f58430817166bd478"
},
"x86_64_macos": {
"checksum": "605322e3e7043a4f2f3d6e37f75a71389d38f6f290bff2e54bb2aaebbbf4829b"
},
"x86_64_windows": {
"checksum": "5079c6a88e130f8677d0701cb2689f9eae2088022ecf5fa2b9f341b96d9983d2"
},
"aarch64_linux_musl": {
"checksum": "ee2b1289a1e4b0de9409c3a78867949ca42788a5f50072b8a6e6e04e6a269f9c"
},
"aarch64_macos": {
"checksum": "fe02d072e7ec9a8eb4ac866ba973396a8beae79829ee870acaadd4d862e5e65a"
}
},
"1.4": {
"version": "1.4.1"
},
"1.4.1": {
"x86_64_linux_musl": {
"checksum": "5e4c6a0d1ca28d25e060a29c7cca0aedc50d951bfb270b45bc9a71e86ac6fbe2"
},
"x86_64_macos": {
"checksum": "c25872b4ddd6f0d06d8454cce6351469b51ee5c04939b5d4ea86c6048c9021e9"
},
"x86_64_windows": {
"checksum": "ac97125b56b21987d35bcb6b5d300a686bc241272b0b91a12a3c6c743a0567a9"
},
"aarch64_linux_musl": {
"checksum": "a28d63bb2bca96092a1a42cd5afdd0787633ae05998935a5e6e2aac8f2e2ec44"
},
"aarch64_macos": {
"checksum": "9e23ce6ab8e36c9fc102f21a47d0ae5cd39362f21ff58f33b09a58f456f36c03"
}
},
"1.4.0": {
"x86_64_linux_musl": {
"checksum": "b6c940a0ebc79840d1dd4049d481e0d7b7ea8b70a70ff9b4d10408ea226da9e9"
},
"x86_64_macos": {
"checksum": "235ec3197f15fb4f3cb509ef519b7281de7a1f4a5e43f9ade691791b31a6c44d"
},
"x86_64_windows": {
"checksum": "49742d3ba007a1c477f6c1b15ba19aed7592697d321eee2ef37902001b3dd5e6"
},
"aarch64_linux_musl": {
"checksum": "7cb482f7d7fc3fe8bc4d25673f17d5e4b81ac43a73e746f1862085276f523931"
},
"aarch64_macos": {
"checksum": "ecf2aa6c922fba65c9ecd9b5774770468e9bf083a4759fdc87e3a68733f1b677"
}
},
"1.3": {
"version": "1.3.0"

View File

@@ -23,7 +23,47 @@
}
},
"latest": {
"version": "20.0.2"
"version": "21.0.1"
},
"21": {
"version": "21.0.1"
},
"21.0": {
"version": "21.0.1"
},
"21.0.1": {
"x86_64_linux_gnu": {
"checksum": "d49619e38c660196a048e80d34292e458a11af010ab1780e7b3ae9a42df6e33b"
},
"x86_64_macos": {
"checksum": "8452dc6e865553cc7027d45a961f86440fd9459de7a48117236c386e4ceb2a1f"
},
"x86_64_windows": {
"checksum": "c2a1e23e2ab49f3f942e6a47aba8c60c863fd66166c3940fa3dd1f9a0286a4b6"
},
"aarch64_linux_gnu": {
"checksum": "77e8a381bbc54f39399c71ee305b6ce5b6807e7c088846ea1e406a3a62b38146"
},
"aarch64_macos": {
"checksum": "816a4a50c875de0804c316fc3171fb20a45fb82e4bf3e3313dec4f6d819df688"
}
},
"21.0.0": {
"x86_64_linux_gnu": {
"checksum": "605efdd4d073a7574b6d42ef0c9037c6c4e3933ed80615eab84f2d57cfeb3b28"
},
"x86_64_macos": {
"checksum": "7beb9f1b6789af74beef8354b675d5cab6477be708bf45aa86f411c4afe55dfd"
},
"x86_64_windows": {
"checksum": "e57345a2bd644e7f4d0a013617d64a3e16966b9483fee72bad2ab1eebabce59b"
},
"aarch64_linux_gnu": {
"checksum": "0fa42c4555617cb4a602216ec45b8dc43686733653ec07f9488ab5e2e3bf5ec8"
},
"aarch64_macos": {
"checksum": "b4a09d69c2cb4655e68895156a1de713b27a6e64796d9073108d20f55b8d5d5c"
}
},
"20": {
"version": "20.0.2"

View File

@@ -31,6 +31,7 @@ fn main() -> Result<()> {
std::process::exit(1);
}
let package = &args[0];
let skip_existing_manifest_versions = std::env::var("SKIP_EXISTING_MANIFEST_VERSIONS").is_ok();
let workspace_root = &workspace_root();
let manifest_path = &workspace_root.join("manifests").join(format!("{package}.json"));
@@ -53,7 +54,7 @@ fn main() -> Result<()> {
// is greater than 100, multiple fetches are needed.
for page in 1.. {
let per_page = 100;
let mut r: github::Releases = download(&format!(
let mut r: github::Releases = download_github(&format!(
"https://api.github.com/repos/{repo}/releases?per_page={per_page}&page={page}"
))?
.into_json()?;
@@ -179,6 +180,13 @@ fn main() -> Result<()> {
continue;
}
let reverse_semver = Reverse(semver_version.clone().into());
if skip_existing_manifest_versions && manifests.map.contains_key(&reverse_semver) {
eprintln!("Skipping {semver_version} already in manifest");
continue;
};
let mut download_info = BTreeMap::new();
let mut pubkey = None;
for (&platform, base_download_info) in &base_info.platform {
@@ -224,7 +232,7 @@ fn main() -> Result<()> {
eprintln!("already downloaded");
fs::File::open(download_cache)?.read_to_end(&mut buf)?;
} else {
download(&url)?.into_reader().read_to_end(&mut buf)?;
download_github(&url)?.into_reader().read_to_end(&mut buf)?;
eprintln!("download complete");
fs::write(download_cache, &buf)?;
}
@@ -246,7 +254,7 @@ fn main() -> Result<()> {
eprintln!("already downloaded");
minisign_verify::Signature::from_file(sig_download_cache)?
} else {
let buf = download(&url)?.into_string()?;
let buf = download_github(&url)?.into_string()?;
eprintln!("download complete");
fs::write(sig_download_cache, &buf)?;
minisign_verify::Signature::decode(&buf)?
@@ -357,10 +365,7 @@ fn main() -> Result<()> {
if semver_version.pre.is_empty() {
semver_versions.insert(semver_version.clone());
}
manifests.map.insert(
Reverse(semver_version.clone().into()),
ManifestRef::Real(Manifest { download_info }),
);
manifests.map.insert(reverse_semver, ManifestRef::Real(Manifest { download_info }));
}
if has_build_metadata {
eprintln!(
@@ -527,7 +532,9 @@ fn replace_vars(
Ok(s)
}
fn download(url: &str) -> Result<ureq::Response> {
/// Download using GITHUB_TOKEN.
#[allow(clippy::missing_panics_doc)]
fn download_github(url: &str) -> Result<ureq::Response> {
let mut token = env::var("GITHUB_TOKEN").ok().filter(|v| !v.is_empty());
let mut retry = 0;
let max_retry = 6;
@@ -554,6 +561,28 @@ fn download(url: &str) -> Result<ureq::Response> {
Err(last_error.unwrap().into())
}
/// Download without using GITHUB_TOKEN.
#[allow(clippy::missing_panics_doc)]
pub fn download(url: &str) -> Result<ureq::Response> {
let mut retry = 0;
let max_retry = 6;
let mut last_error;
loop {
let req = ureq::get(url);
match req.call() {
Ok(res) => return Ok(res),
Err(e) => last_error = Some(e),
}
retry += 1;
if retry > max_retry {
break;
}
eprintln!("download of {url} failed; retrying after {}s ({retry}/{max_retry})", retry * 2);
std::thread::sleep(Duration::from_secs(retry * 2));
}
Err(last_error.unwrap().into())
}
#[derive(Debug, Clone, PartialEq, Eq)]
struct Version {
major: Option<u64>,