Compare commits

...

26 Commits

Author SHA1 Message Date
Taiki Endo
e6ea94ade7 Release 2.41.9 2024-07-05 20:53:41 +09:00
Taiki Endo
175fa05d48 Update typos@latest to 1.23.0 2024-07-05 12:11:43 +09:00
Taiki Endo
4c4c02be3f Release 2.41.8 2024-07-05 01:16:41 +09:00
Taiki Endo
988eb8cb87 Update wasm-pack@latest to 0.13.0 2024-07-04 11:01:14 +09:00
Taiki Endo
d108325e53 Update editorconfig-checker@latest to 3.0.3 2024-07-04 11:01:14 +09:00
Taiki Endo
b794382280 Update cargo-udeps@latest to 0.1.49 2024-07-04 11:01:14 +09:00
Taiki Endo
509a1e8a43 ci: Update centos:7 to use vault repos 2024-07-04 10:45:59 +09:00
Taiki Endo
a4f3fb44a5 Ignore more clippy lints at workspace level 2024-07-02 00:32:42 +09:00
Taiki Endo
048abf9a2a Update dprint@latest to 0.47.0 2024-07-01 12:16:05 +09:00
Taiki Endo
331a600f1b Release 2.41.7 2024-06-28 00:22:43 +09:00
Taiki Endo
7fac9c0890 Update biome@latest to 1.8.3 2024-06-28 00:13:34 +09:00
Taiki Endo
b6880389f3 Release 2.41.6 2024-06-27 10:53:02 +09:00
Taiki Endo
a03b7590b9 Update jaq@latest to 1.5.0 2024-06-26 21:15:00 +09:00
Taiki Endo
956e07555c Update git-cliff@latest to 2.4.0 2024-06-26 21:15:00 +09:00
Taiki Endo
3b0d937160 Release 2.41.5 2024-06-26 08:36:09 +09:00
Taiki Endo
5a7b7e3798 Update protoc@latest to 3.27.2 2024-06-26 06:10:22 +09:00
Taiki Endo
c2c0b6efca Release 2.41.4 2024-06-25 10:56:15 +09:00
Taiki Endo
d6b632e36c Update zola@latest to 0.19.1 2024-06-25 09:29:53 +09:00
Taiki Endo
84749680f0 Update syft@latest to 1.8.0 2024-06-25 03:11:54 +09:00
Taiki Endo
e6c7481b70 Release 2.41.3 2024-06-24 10:52:31 +09:00
Taiki Endo
8a2a11266f Update cargo-binstall@latest to 1.7.3 2024-06-24 03:11:32 +09:00
Taiki Endo
77774d839c Release 2.41.2 2024-06-23 13:44:01 +09:00
Taiki Endo
481510ca72 Update typos@latest to 1.22.9 2024-06-23 03:11:19 +09:00
Taiki Endo
bb478bb090 Release 2.41.1 2024-06-22 12:44:37 +09:00
Jiahao XU
4558bb807b Speedup codegen by caching tools/codegen compilation (#554) 2024-06-22 12:43:03 +09:00
Taiki Endo
315e996a95 Update typos@latest to 1.22.8 2024-06-22 07:02:08 +09:00
19 changed files with 480 additions and 66 deletions

View File

@@ -1,6 +1,7 @@
# Clippy configuration
# https://doc.rust-lang.org/nightly/clippy/lint_configuration.html
allow-private-module-inception = true
avoid-breaking-exported-api = false
disallowed-names = []
disallowed-macros = [
@@ -10,4 +11,5 @@ disallowed-methods = [
{ path = "std::env::remove_var", reason = "this is not thread-safe and inherently unsafe; see <https://github.com/rust-lang/rust/issues/27970> for more" },
{ path = "std::env::set_var", reason = "this is not thread-safe and inherently unsafe; see <https://github.com/rust-lang/rust/issues/27970> for more" },
]
disallowed-types = []
disallowed-types = [
]

View File

@@ -15,12 +15,15 @@ endgroup
epel
espup
etag
fastestmirror
grcov
knope
linkcheck
mdbook
microdnf
mirrorlist
nextest
pluginconf
protoc
pubkey
pwsh

View File

@@ -83,6 +83,8 @@ jobs:
- uses: ./
with:
tool: ${{ steps.tool-list.outputs.tool }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
- name: Test bash
run: just --version && shfmt --version && protoc --version
@@ -138,6 +140,14 @@ jobs:
timeout-minutes: 60
container: ${{ matrix.container }}
steps:
- name: Install requirements (centos)
run: |
set -eEuxo pipefail
# https://github.com/rust-lang/rust/pull/126352
sed -i /etc/yum.repos.d/*.repo -e 's!^mirrorlist!#mirrorlist!' \
-e 's!^#baseurl=http://mirror.centos.org/!baseurl=https://vault.centos.org/!'
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
if: startsWith(matrix.container, 'centos')
- name: Install requirements (alpine)
run: apk --no-cache add bash
shell: sh
@@ -151,6 +161,8 @@ jobs:
- uses: ./
with:
tool: ${{ steps.tool-list.outputs.tool }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
manifest:
runs-on: ubuntu-latest
@@ -161,7 +173,12 @@ jobs:
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
run: rustup toolchain add nightly --no-self-update && rustup default nightly
run: rustup update stable --no-self-update
- name: Generate Cargo.lock
run: cargo update
- uses: Swatinem/rust-cache@v2
with:
cache-all-crates: 'true'
- run: tools/manifest.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -10,6 +10,52 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.41.9] - 2024-07-05
- Update `typos@latest` to 1.23.0.
## [2.41.8] - 2024-07-04
- Update `wasm-pack@latest` to 0.13.0.
- Update `editorconfig-checker@latest` to 3.0.3.
- Update `cargo-udeps@latest` to 0.1.49.
- Update `dprint@latest` to 0.47.0.
## [2.41.7] - 2024-06-27
- Update `biome@latest` to 1.8.3.
## [2.41.6] - 2024-06-27
- Update `jaq@latest` to 1.5.0.
- Update `git-cliff@latest` to 2.4.0.
## [2.41.5] - 2024-06-25
- Update `protoc@latest` to 3.27.2.
## [2.41.4] - 2024-06-25
- Update `zola@latest` to 0.19.1.
- Update `syft@latest` to 1.8.0.
## [2.41.3] - 2024-06-24
- Update `cargo-binstall@latest` to 1.7.3.
## [2.41.2] - 2024-06-23
- Update `typos@latest` to 1.22.9.
## [2.41.1] - 2024-06-22
- Update `typos@latest` to 1.22.8.
## [2.41.0] - 2024-06-21
- Support `knope`. ([#553](https://github.com/taiki-e/install-action/pull/553), thanks @jayvdb)
@@ -2376,7 +2422,16 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.41.0...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.41.9...HEAD
[2.41.9]: https://github.com/taiki-e/install-action/compare/v2.41.8...v2.41.9
[2.41.8]: https://github.com/taiki-e/install-action/compare/v2.41.7...v2.41.8
[2.41.7]: https://github.com/taiki-e/install-action/compare/v2.41.6...v2.41.7
[2.41.6]: https://github.com/taiki-e/install-action/compare/v2.41.5...v2.41.6
[2.41.5]: https://github.com/taiki-e/install-action/compare/v2.41.4...v2.41.5
[2.41.4]: https://github.com/taiki-e/install-action/compare/v2.41.3...v2.41.4
[2.41.3]: https://github.com/taiki-e/install-action/compare/v2.41.2...v2.41.3
[2.41.2]: https://github.com/taiki-e/install-action/compare/v2.41.1...v2.41.2
[2.41.1]: https://github.com/taiki-e/install-action/compare/v2.41.0...v2.41.1
[2.41.0]: https://github.com/taiki-e/install-action/compare/v2.40.2...v2.41.0
[2.40.2]: https://github.com/taiki-e/install-action/compare/v2.40.1...v2.40.2
[2.40.1]: https://github.com/taiki-e/install-action/compare/v2.40.0...v2.40.1

View File

@@ -31,12 +31,13 @@ declare_interior_mutable_const = { level = "allow", priority = 1 } # https://git
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
lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12920
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 }
module_name_repetitions = { level = "allow", priority = 1 } # buggy: https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+is%3Aopen+module_name_repetitions
nonminimal_bool = { level = "allow", priority = 1 } # buggy: https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+is%3Aopen+nonminimal_bool
range_plus_one = { level = "allow", priority = 1 } # buggy: https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+is%3Aopen+range_plus_one
similar_names = { level = "allow", priority = 1 }
single_match = { level = "allow", priority = 1 }
single_match_else = { level = "allow", priority = 1 }

32
manifests/biome.json generated
View File

@@ -36,13 +36,39 @@
},
"license_markdown": "[Apache-2.0](https://github.com/biomejs/biome/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/biomejs/biome/blob/main/LICENSE-MIT)",
"latest": {
"version": "1.8.2"
"version": "1.8.3"
},
"1": {
"version": "1.8.2"
"version": "1.8.3"
},
"1.8": {
"version": "1.8.2"
"version": "1.8.3"
},
"1.8.3": {
"x86_64_linux_musl": {
"etag": "0x8DC96B6585206DE",
"checksum": "f3db16d376d77cdc28f8031d2e2db95f3620c6f1e463e555bb5f3c441b6b96e5"
},
"x86_64_macos": {
"etag": "0x8DC96B65864DD5B",
"checksum": "2cc112178363fa0e11d8f26e0d80598eff6ce481a1ee224b8a8ae2b8a5185124"
},
"x86_64_windows": {
"etag": "0x8DC96B6585BE6C4",
"checksum": "541f9a1caa226e6fbb872f16009ac554b16e149c10f9096ebe3f08867c9dbf31"
},
"aarch64_linux_musl": {
"etag": "0x8DC96B65838811D",
"checksum": "4f9f2a63255b335a80a197b80a0b2d5d00086c29205dfe7b9b6138c010777987"
},
"aarch64_macos": {
"etag": "0x8DC96B65804B322",
"checksum": "9d707c28ee8e13158d2b9890dd9faf064a4ea6dabde2009a6a8607480ae8c24a"
},
"aarch64_windows": {
"etag": "0x8DC96B65827565F",
"checksum": "d888438925f2d5627afb6be11389c0893070c75b7d9b2d10f196fba910dc3b37"
}
},
"1.8.2": {
"x86_64_linux_musl": {

View File

@@ -22,32 +22,32 @@
},
"license_markdown": "[GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE)",
"latest": {
"version": "1.7.2"
"version": "1.7.3"
},
"1.7.2": {
"1.7.3": {
"x86_64_linux_musl": {
"etag": "0x8DC9117B0D35BB5",
"checksum": "08b6969c86471ecd1b9b6fbbd6508014d22dadda29fdd47ffb871d297ac49a8b"
"etag": "0x8DC9395574A8C69",
"checksum": "1dda17f293757b9f22b0669ca4471db3315ce01252ec6025f5859adbe00a77cf"
},
"x86_64_macos": {
"etag": "0x8DC911760808EC8",
"checksum": "7fa85fd3fda3c9e4962f16f8b9400e97ff2773e0481fc63a9cb882fe80115b7f"
"etag": "0x8DC9395170D1071",
"checksum": "5f899d270f78fd7798b4aa847a28fbb4eb6fddaa7209abb82fc2452ffbd85d2d"
},
"x86_64_windows": {
"etag": "0x8DC9118FAF6A549",
"checksum": "ee4da8bfaf25c84f0b67d5fd8e96f1243df4379f8dad64ffe2f82416198b7b35"
"etag": "0x8DC9396630C249A",
"checksum": "5f68171fdcbc96f7647ca6585ae4a94149a3abf84f9504146991c2d8f834350e"
},
"aarch64_linux_musl": {
"etag": "0x8DC9117827C4F23",
"checksum": "4342cfa8dc1033d2942270e8c4f7a63ef6953632ec3dbfacd7bebd4894e2ece8"
"etag": "0x8DC93952A779501",
"checksum": "52b5bda4920965a56b9936afa9cb5e90d2081799ad23f4a63f79b82baa0d70b8"
},
"aarch64_macos": {
"etag": "0x8DC9117A4F64EA0",
"checksum": "68157004ca95c2c3d4fae16246751317d2d6be32911cbdb04a06580d0c3aa43e"
"etag": "0x8DC93954D97DFC2",
"checksum": "ff87036ee1ae98bc953cfda9d30cdd7ab37357e82adbe0108bab09454224f172"
},
"aarch64_windows": {
"etag": "0x8DC9118BFC4D5AC",
"checksum": "baf1c6d5729b629015e199e7739a4f76bd40d9c4a90883ecb1d2c33c16240190"
"etag": "0x8DC939621E46FDD",
"checksum": "66d6252f41233962d00d196935b98974975ae4a62a6b0ca26e98d0b2ddc25fb8"
}
}
}

View File

@@ -32,10 +32,36 @@
},
"license_markdown": "[Apache-2.0 OR MIT](https://github.com/est31/cargo-udeps/blob/HEAD/LICENSE)",
"latest": {
"version": "0.1.47"
"version": "0.1.49"
},
"0.1": {
"version": "0.1.47"
"version": "0.1.49"
},
"0.1.49": {
"x86_64_linux_musl": {
"etag": "0x8DC99D41E6DD27F",
"checksum": "6560e6c3552aad9e0fc8f22e5da037dda9bf59679b24ac356e52ca3a39643cf9"
},
"x86_64_macos": {
"etag": "0x8DC99D3C31AF8EA",
"checksum": "e003456220751afe3fa41becaeacbbcc5616351be94873100c2c11a784e1e9a6"
},
"x86_64_windows": {
"etag": "0x8DC99D4A352D0EF",
"checksum": "f6b592e436d862b51a52ff0a7ecd91057d54495682cce8db1efe9711e60f122b"
},
"aarch64_linux_musl": {
"etag": "0x8DC99D423CED395",
"checksum": "060fa3900ec5b6644351887b7fd649dcf89e425cb0926f704b24914474d760ce"
},
"aarch64_macos": {
"etag": "0x8DC99D436444D90",
"checksum": "1a66df7bae93dba126f0027fab1b92124e9302f65a3c56184c5a1e5134817136"
},
"aarch64_windows": {
"etag": "0x8DC99D4CEF35FB2",
"checksum": "9c84272c91c516b305bb6d9e6c342b8b30e28f05d476e86b052baad4a330f676"
}
},
"0.1.47": {
"x86_64_linux_musl": {

27
manifests/dprint.json generated
View File

@@ -25,7 +25,32 @@
},
"license_markdown": "[MIT](https://github.com/dprint/dprint/blob/main/LICENSE)",
"latest": {
"version": "0.46.3"
"version": "0.47.0"
},
"0.47": {
"version": "0.47.0"
},
"0.47.0": {
"x86_64_linux_musl": {
"etag": "0x8DC996BDF0F00D2",
"checksum": "37f2df1ff56398bad8846dde56013c1e299738f1c0875cb7b64deab7ce5591a4"
},
"x86_64_macos": {
"etag": "0x8DC996BDEFC77F4",
"checksum": "9235688846867abdd69c214a1cade5fd4348be82bcc1075b2b447d535bf483a2"
},
"x86_64_windows": {
"etag": "0x8DC996BDF056E92",
"checksum": "3ef87318905ae627d2a4c8ad4938161c3ef11cd10cd5fdf74fff89343bcca3f5"
},
"aarch64_linux_musl": {
"etag": "0x8DC996BDF0E1779",
"checksum": "913d0b9fb38aa6a8025f07ea562aec9a471284b4ebfc85331a3e5336f1e76187"
},
"aarch64_macos": {
"etag": "0x8DC996BDF06F37D",
"checksum": "78d939c95291dabadde7c05ceb32f5e6c4616b5f1896b8881f974f5553868c6d"
}
},
"0.46": {
"version": "0.46.3"

View File

@@ -28,13 +28,65 @@
},
"license_markdown": "[MIT](https://github.com/editorconfig-checker/editorconfig-checker/blob/main/LICENSE)",
"latest": {
"version": "3.0.1"
"version": "3.0.3"
},
"3": {
"version": "3.0.1"
"version": "3.0.3"
},
"3.0": {
"version": "3.0.1"
"version": "3.0.3"
},
"3.0.3": {
"x86_64_linux_gnu": {
"etag": "0x8DC9B4F6F214767",
"checksum": "fc698b0bf5bca0d42e28dd59d72e25487a51f645ca242c5f74bae975369f16aa"
},
"x86_64_macos": {
"etag": "0x8DC9B4F53C6A5D4",
"checksum": "34bb2f4f34c4909b4ff415a5054ed47a6162f4e03857bdf2cfd7d166bbc91ce0"
},
"x86_64_windows": {
"etag": "0x8DC9B4FAFC7A9F3",
"checksum": "97d7b0530a172e49310010408286176665bbeedf6b38058ac3f125409c3a3b82"
},
"aarch64_linux_gnu": {
"etag": "0x8DC9B4F74C548E5",
"checksum": "d5991ae92170af79ec2052840176bf155d00eaf6eb5a2c8ffbf46f6378c21776"
},
"aarch64_macos": {
"etag": "0x8DC9B4F56839C1F",
"checksum": "70b7f80dbfa89454dfa68f40c5d2f871bd8c311f01c822f78455b94536d87995"
},
"aarch64_windows": {
"etag": "0x8DC9B4FB58861E0",
"checksum": "6561c4a34c9e7df7e3f5abfaed5bbe5e43317db222b637f4b3a6d8e298120384"
}
},
"3.0.2": {
"x86_64_linux_gnu": {
"etag": "0x8DC9A9036E834A7",
"checksum": "2f11b26b34d97f07120038bf517af029b99f90fe96b77369fd66a301ab7a557e"
},
"x86_64_macos": {
"etag": "0x8DC9A901B300824",
"checksum": "8e935c86dc9c8b4156ae96292b7f490b73cb8c50a3ab3943792dcbe6b7474764"
},
"x86_64_windows": {
"etag": "0x8DC9A9078A4F62F",
"checksum": "74ecb356917a55ad4276b09ae2cd0fe28ab8878121c5173a35b5acadd50e7bf1"
},
"aarch64_linux_gnu": {
"etag": "0x8DC9A903C7370B0",
"checksum": "8836eabc57daf4717b55ae2ce002469f8a14123c2129b7a9cf0597c98acfe928"
},
"aarch64_macos": {
"etag": "0x8DC9A901E0A289A",
"checksum": "0eb627ea862b81c7645052a142fc0ff882fe491aad040a8be6a80f2d36a8635f"
},
"aarch64_windows": {
"etag": "0x8DC9A907E6D6B4A",
"checksum": "3eb2ea381ad5c621f41a8c1bd2fc9312b5aabfa904078f4a4875302f4a8434ec"
}
},
"3.0.1": {
"x86_64_linux_gnu": {

View File

@@ -28,10 +28,39 @@
},
"license_markdown": "[MIT](https://github.com/orhun/git-cliff/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/orhun/git-cliff/blob/main/LICENSE-APACHE)",
"latest": {
"version": "2.3.0"
"version": "2.4.0"
},
"2": {
"version": "2.3.0"
"version": "2.4.0"
},
"2.4": {
"version": "2.4.0"
},
"2.4.0": {
"x86_64_linux_musl": {
"etag": "0x8DC95C89990A18C",
"checksum": "4c84e437937b3d6796e8305069bda416cc86245deb6f4f4775314e61501e8460"
},
"x86_64_macos": {
"etag": "0x8DC95C8604ACF69",
"checksum": "ae0826f29f0d2e4b6c1d85ed763772d19dce24e70c3f5ecfff48e9f8b4d44b96"
},
"x86_64_windows": {
"etag": "0x8DC95C99F4C8069",
"checksum": "787d216a589573917c0279cc53c328d1f64ed88b2e9c4a467647527a207698e8"
},
"aarch64_linux_musl": {
"etag": "0x8DC95C89B11E691",
"checksum": "2b2b1b175f5fc9198f5033fddf9aabf3ca048aca5c9751eef85d91572d8bbc3c"
},
"aarch64_macos": {
"etag": "0x8DC95C86B530214",
"checksum": "9674684fc544333f25c04a867316c12d66f9357c12010bdef919feca0ca2e4c7"
},
"aarch64_windows": {
"etag": "0x8DC95C97CB64DA6",
"checksum": "51cd00f04e3187a36a6b5ab65d699f329187083b4c2e8849bf5f0e70dd7d3266"
}
},
"2.3": {
"version": "2.3.0"

29
manifests/jaq.json generated
View File

@@ -19,10 +19,35 @@
},
"license_markdown": "[MIT](https://github.com/01mf02/jaq/blob/main/LICENSE-MIT)",
"latest": {
"version": "1.4.0"
"version": "1.5.0"
},
"1": {
"version": "1.4.0"
"version": "1.5.0"
},
"1.5": {
"version": "1.5.0"
},
"1.5.0": {
"x86_64_linux_musl": {
"etag": "0x8DC95C7C0742176",
"checksum": "36095f210f014670b50d5d8d447a3978abb6a919227f7f6140e7cb673d7503f0"
},
"x86_64_macos": {
"etag": "0x8DC95C7D06D3AE9",
"checksum": "fb15e68e47ad19dfa15dcec1adb41104e9ff7b1a6b2af8325fe21f7a239cdeae"
},
"x86_64_windows": {
"etag": "0x8DC95C80589FC91",
"checksum": "b8aad49b6186446f726a90816814201e2d3f8574cd6c399087e507e68f6f708b"
},
"aarch64_linux_gnu": {
"etag": "0x8DC95C7C4D0BF9A",
"checksum": "a04f2cd1be227acc596dda7015da53f57b012951cf8234a230641ca7f700b602"
},
"aarch64_macos": {
"etag": "0x8DC95C7D5667A65",
"checksum": "963b0261155f9d78b04d30372f2bb772623fc5402057c767c002211f9a744958"
}
},
"1.4": {
"version": "1.4.0"

33
manifests/protoc.json generated
View File

@@ -3,13 +3,40 @@
"template": null,
"license_markdown": "[BSD-3-Clause](https://github.com/protocolbuffers/protobuf/blob/HEAD/LICENSE)",
"latest": {
"version": "3.27.1"
"version": "3.27.2"
},
"3": {
"version": "3.27.1"
"version": "3.27.2"
},
"3.27": {
"version": "3.27.1"
"version": "3.27.2"
},
"3.27.2": {
"x86_64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.2/protoc-27.2-linux-x86_64.zip",
"etag": "0x8DC9550B6231BCD",
"checksum": "4a95e0ea2e51720af86a92f48d4997c8756923a9d0c58fd8a850657cd7479caf"
},
"x86_64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.2/protoc-27.2-osx-x86_64.zip",
"etag": "0x8DC9550B67D0B8E",
"checksum": "abc25a236571612d45eb4b6b6e6abe3ac9aecc34b195f76f248786844f5619c7"
},
"x86_64_windows": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.2/protoc-27.2-win64.zip",
"etag": "0x8DC9550B68E8419",
"checksum": "a1ea403f845ff4819163ac9da01b14d1d88056231f185f3d83fa7efe542e31f7"
},
"aarch64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.2/protoc-27.2-linux-aarch_64.zip",
"etag": "0x8DC9550B5DB4011",
"checksum": "ff4760bd4ae510d533e528cc6deb8e32e53f383f0ec01b0327233b4c2e8db314"
},
"aarch64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.2/protoc-27.2-osx-aarch_64.zip",
"etag": "0x8DC9550B65A4164",
"checksum": "877de17b5d2662b96e68a6e208cb1851437ab3e2b419c2ef5b7b873ffac5357d"
}
},
"3.27.1": {
"x86_64_linux_gnu": {

29
manifests/syft.json generated
View File

@@ -24,10 +24,35 @@
},
"license_markdown": "[Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE)",
"latest": {
"version": "1.7.0"
"version": "1.8.0"
},
"1": {
"version": "1.7.0"
"version": "1.8.0"
},
"1.8": {
"version": "1.8.0"
},
"1.8.0": {
"x86_64_linux_musl": {
"etag": "0x8DC94658785D869",
"checksum": "b487ee715e715e960f0d327b49ed9f5926b82bfa2f7283942f9631c41e7c0545"
},
"x86_64_macos": {
"etag": "0x8DC946588776645",
"checksum": "4ef1e2949ff85af2558d3e0ea94f78cc284a667ad790446460d7970757ebb353"
},
"x86_64_windows": {
"etag": "0x8DC94658880D18F",
"checksum": "984d41fc0d2a9c4b1e4f76a7fa0eb786dc35568e19b3cbea2e355644a9c693c6"
},
"aarch64_linux_musl": {
"etag": "0x8DC9465876AA6CF",
"checksum": "df764e35f3d6def7bafd87a9f4a0526c226ae70ec2d7262f6484840c35977f03"
},
"aarch64_macos": {
"etag": "0x8DC9465884D5141",
"checksum": "4bd5c905c8b751492ed95d486663b92757249a5f25526cbf480fd2b42fadf055"
}
},
"1.7": {
"version": "1.7.0"

63
manifests/typos.json generated
View File

@@ -16,13 +16,70 @@
},
"license_markdown": "[MIT](https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE)",
"latest": {
"version": "1.22.7"
"version": "1.23.0"
},
"1": {
"version": "1.22.7"
"version": "1.23.0"
},
"1.23": {
"version": "1.23.0"
},
"1.23.0": {
"x86_64_linux_musl": {
"etag": "0x8DC9C92901CC59E",
"checksum": "de3c8b40567fbf361bac403168324924278c9174b180d3efc61867a148d6a386"
},
"x86_64_macos": {
"etag": "0x8DC9C92AB288164",
"checksum": "c7ef5fad02f594b887e71d31a3737fd2e00776bf3fa3e422b8f20ad8d2695d5a"
},
"x86_64_windows": {
"etag": "0x8DC9C92D6D68B29",
"checksum": "d36a35248ca60fa67a98d62913a42b5caf5e42f16e11f76f0bb6f9ca3585bfbf"
},
"aarch64_macos": {
"etag": "0x8DC9C92AA66F5C6",
"checksum": "1f7e90b85ff6becb3363aad8b1ffe2d9588e649c65547b9d6665792521aa77ec"
}
},
"1.22": {
"version": "1.22.7"
"version": "1.22.9"
},
"1.22.9": {
"x86_64_linux_musl": {
"etag": "0x8DC92DF1EA8F56F",
"checksum": "01e336ec8fa9b15a35ecb899e7175bb69956272840e28daeeeea3d56de73f39a"
},
"x86_64_macos": {
"etag": "0x8DC92DF2CCE194B",
"checksum": "7bf1cb6710601519d3fb860db2f613e5f652693f42590739eaa0e2826e3ebf3e"
},
"x86_64_windows": {
"etag": "0x8DC92DF4F04D52B",
"checksum": "0f28edc8c5d611dc6eb773958a553a411d4728d8f14af77152926da5eedb5f05"
},
"aarch64_macos": {
"etag": "0x8DC92DF5CDB6DFA",
"checksum": "b7b742b28bab6b2022557a7fb9e2d9af9b78f131ea700cd3615cdfda0dda7b53"
}
},
"1.22.8": {
"x86_64_linux_musl": {
"etag": "0x8DC9221550C37C8",
"checksum": "4f919cc3a8ce9d0290e0d7923893dcdc37f3e5c7e29ed1f360484e35c2ec560b"
},
"x86_64_macos": {
"etag": "0x8DC92217C08D7BD",
"checksum": "bfc6d0369c4ec8e5d24a58d7ee0f4fd05c14f5de7506cf1cbd2c3d0742ff06fa"
},
"x86_64_windows": {
"etag": "0x8DC9221705C4AA4",
"checksum": "a0e1a80c2d6bf6226a20648cb82a58b0b272a0f414491d93b3a18a692f5b8d42"
},
"aarch64_macos": {
"etag": "0x8DC922172FCD647",
"checksum": "4a5677d83d72a93a25f426fab39ec9c747d47b8de25323bd2cf8fcad90a49ce1"
}
},
"1.22.7": {
"x86_64_linux_musl": {

View File

@@ -20,7 +20,28 @@
},
"license_markdown": "[MIT](https://github.com/rustwasm/wasm-pack/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/rustwasm/wasm-pack/blob/master/LICENSE-APACHE)",
"latest": {
"version": "0.12.1"
"version": "0.13.0"
},
"0.13": {
"version": "0.13.0"
},
"0.13.0": {
"x86_64_linux_musl": {
"etag": "0x8DC99FFA65482D0",
"checksum": "1da923cf0ebbbe335bf60795e192b34d6de9076703391e76c9df6fbcf0737d18"
},
"x86_64_macos": {
"etag": "0x8DC99FFA8BA1C8E",
"checksum": "1f2fd284558c90f618e821ea0508a6298f97fcdf2387154e1f60664b7777ac3e"
},
"x86_64_windows": {
"etag": "0x8DC99FFA778F477",
"checksum": "d8f7a22cb638396cdebf42bbd9c8540a03887b2b53a8871b82cef3109641b27f"
},
"aarch64_linux_musl": {
"etag": "0x8DC99FFA6E7DF50",
"checksum": "e491a03df34a6e4a1df168cb4d16a4ebda368d681864644b4b97472fa9877713"
}
},
"0.12": {
"version": "0.12.1"

22
manifests/zola.json generated
View File

@@ -16,10 +16,28 @@
},
"license_markdown": "[MIT](https://github.com/getzola/zola/blob/master/LICENSE)",
"latest": {
"version": "0.19.0"
"version": "0.19.1"
},
"0.19": {
"version": "0.19.0"
"version": "0.19.1"
},
"0.19.1": {
"x86_64_linux_gnu": {
"etag": "0x8DC949544635A86",
"checksum": "90b49041ccab8fbb6955914c41e72774771a6dcbd58936fb107aa8409cb44aa0"
},
"x86_64_macos": {
"etag": "0x8DC94956219151C",
"checksum": "fa7b14ab74dab6cd1f49948bb018a8f2c02c662144a25795c067dd482ac1fe7f"
},
"x86_64_windows": {
"etag": "0x8DC949675FDE404",
"checksum": "78517521b2db147428ec3f2a7b3a2f7a24d3901509bce56cff44d6de1d369c26"
},
"aarch64_macos": {
"etag": "0x8DC94960573E19B",
"checksum": "e867e04eb9af37726b6e1a8f72224ef80c2d307286f700cea5f2c21f63f8ebd5"
}
},
"0.19.0": {
"x86_64_linux_gnu": {

View File

@@ -7,7 +7,7 @@ use std::{
ffi::OsStr,
io::Read,
path::Path,
sync::{LazyLock, RwLock},
sync::{OnceLock, RwLock},
time::Duration,
};
@@ -649,38 +649,43 @@ struct GitHubTokens {
other: RwLock<Option<String>>,
}
impl GitHubTokens {
fn get(&self, url: &str) -> Option<String> {
// TODO: Use std::sync::LazyLock once 1.80 is released
fn get_github_tokens() -> &'static GitHubTokens {
static GITHUB_TOKENS: OnceLock<GitHubTokens> = OnceLock::new();
GITHUB_TOKENS.get_or_init(|| {
let token = env::var("GITHUB_TOKEN").ok().filter(|v| !v.is_empty());
GitHubTokens {
raw: RwLock::new(token.clone()),
api: RwLock::new(token.clone()),
other: RwLock::new(token),
}
})
}
fn get(url: &str) -> Option<String> {
if url.starts_with("https://raw.githubusercontent.com/") {
self.raw.read().unwrap().clone()
Self::get_github_tokens().raw.read().unwrap().clone()
} else if url.starts_with("https://api.github.com/") {
self.api.read().unwrap().clone()
Self::get_github_tokens().api.read().unwrap().clone()
} else if url.starts_with("https://github.com/") {
self.other.read().unwrap().clone()
Self::get_github_tokens().other.read().unwrap().clone()
} else {
None
}
}
fn clear(&self, url: &str) {
fn clear(url: &str) {
if url.starts_with("https://raw.githubusercontent.com/") {
*self.raw.write().unwrap() = None;
*Self::get_github_tokens().raw.write().unwrap() = None;
} else if url.starts_with("https://api.github.com/") {
*self.api.write().unwrap() = None;
*Self::get_github_tokens().api.write().unwrap() = None;
} else if url.starts_with("https://github.com/") {
*self.other.write().unwrap() = None;
*Self::get_github_tokens().other.write().unwrap() = None;
}
}
}
static GITHUB_TOKENS: LazyLock<GitHubTokens> = LazyLock::new(|| {
let token = env::var("GITHUB_TOKEN").ok().filter(|v| !v.is_empty());
GitHubTokens {
raw: RwLock::new(token.clone()),
api: RwLock::new(token.clone()),
other: RwLock::new(token),
}
});
fn download(url: &str) -> Result<ureq::Response> {
let mut token = GITHUB_TOKENS.get(url);
let mut token = GitHubTokens::get(url);
let mut retry = 0;
let mut retry_time = 0;
let mut max_retry = 6;
@@ -702,7 +707,7 @@ fn download(url: &str) -> Result<ureq::Response> {
retry_time = 0;
token = None;
// rate limit
GITHUB_TOKENS.clear(url);
GitHubTokens::clear(url);
}
retry += 1;
if retry > max_retry {
@@ -716,7 +721,7 @@ fn download(url: &str) -> Result<ureq::Response> {
fn github_head(url: &str) -> Result<()> {
eprintln!("fetching head of {url} ..");
let mut token = GITHUB_TOKENS.get(url);
let mut token = GitHubTokens::get(url);
let mut retry = 0;
let mut retry_time = 0;
let mut max_retry = 2;
@@ -739,7 +744,7 @@ fn github_head(url: &str) -> Result<()> {
if token.is_some() && retry == max_retry / 2 {
retry_time = 0;
token = None;
GITHUB_TOKENS.clear(url);
GitHubTokens::clear(url);
}
retry += 1;
if retry > max_retry {

View File

@@ -10,11 +10,11 @@ cd "$(dirname "$0")"/..
# ./tools/manifest.sh [PACKAGE [VERSION_REQ]]
if [[ $# -gt 0 ]]; then
cargo +nightly run --manifest-path tools/codegen/Cargo.toml --release -- "$@"
cargo run --manifest-path tools/codegen/Cargo.toml --release -- "$@"
exit 0
fi
for manifest in tools/codegen/base/*.json; do
package=$(basename "${manifest%.*}")
cargo +nightly run --manifest-path tools/codegen/Cargo.toml --release -- "${package}" latest
cargo run --manifest-path tools/codegen/Cargo.toml --release -- "${package}" latest
done