Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kube-rs/k8s-pb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.0
Choose a base ref
...
head repository: kube-rs/k8s-pb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Jan 22, 2024

  1. Update env_logger requirement from 0.10.1 to 0.11.0 (#29)

    Updates the requirements on
    [env_logger](https://github.com/rust-cli/env_logger) to permit the
    latest version.
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md">env_logger's
    changelog</a>.</em></p>
    <blockquote>
    <h2>[0.11.0] - 2024-01-19</h2>
    <h3>Breaking Change</h3>
    <ul>
    <li>Removed bespoke styling API
    <ul>
    <li><code>env_logger::fmt::Formatter::style</code></li>
    <li><code>env_logger::fmt::Formatter::default_styled_level</code></li>
    <li><code>env_logger::fmt::Style</code></li>
    <li><code>env_logger::fmt::Color</code></li>
    <li><code>env_logger::fmt::StyledValue</code></li>
    </ul>
    </li>
    <li>Removed <code>env_logger::filter</code> in favor of
    <code>env_filter</code></li>
    </ul>
    <h3>Compatibility</h3>
    <p>MSRV changed to 1.71</p>
    <h3>Features</h3>
    <ul>
    <li>Automatically adapt ANSI escape codes in logged messages to the
    current terminal's capabilities</li>
    <li>Add support for <code>NO_COLOR</code> and
    <code>CLICOLOR_FORCE</code>, see <a
    href="https://bixense.com/clicolors/">https://bixense.com/clicolors/</a></li>
    </ul>
    <h3>Fixes</h3>
    <ul>
    <li>Print colors when <code>is_test(true)</code></li>
    <li>Allow styling with <code>Target::Pipe</code></li>
    </ul>
    <h2>[0.10.2] - 2024-01-18</h2>
    <h3>Performance</h3>
    <ul>
    <li>Avoid extra UTF-8 validation performed in some cases</li>
    </ul>
    <h3>Fixes</h3>
    <ul>
    <li>Ensure custom pipes/stdout get flushed</li>
    <li>Don't panic on broken pipes when <code>color</code> is disabled</li>
    </ul>
    <h2>[0.10.1] - 2023-11-10</h2>
    <h3>Performance</h3>
    <ul>
    <li>Avoid hashing directives and accessing RNG on startup</li>
    </ul>
    <h3>Documentation</h3>
    <ul>
    <li>Tweak <code>RUST_LOG</code> documentation</li>
    </ul>
    <h2>[0.10.0] - 2022-11-24</h2>
    <p>MSRV changed to 1.60 to hide optional dependencies</p>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/rust-cli/env_logger/commit/8f4361ba4439acb69068be0e181d2d1300b7218d"><code>8f4361b</code></a>
    chore: Release</li>
    <li><a
    href="https://github.com/rust-cli/env_logger/commit/ba41ebb6d2d726403560cd987b1c5b3c6797f817"><code>ba41ebb</code></a>
    docs: Update changelog</li>
    <li><a
    href="https://github.com/rust-cli/env_logger/commit/5e226cb2b73d6c9f1b21886a4b504afdea1ebfcf"><code>5e226cb</code></a>
    chore: Release</li>
    <li><a
    href="https://github.com/rust-cli/env_logger/commit/23441be565bcc4c65604a5e04d3990967e596ff4"><code>23441be</code></a>
    Merge pull request <a
    href="https://redirect.github.com/rust-cli/env_logger/issues/300">#300</a>
    from epage/other</li>
    <li><a
    href="https://github.com/rust-cli/env_logger/commit/6c2ea8028236fe80c1da0a354b19808bf440858d"><code>6c2ea80</code></a>
    style(filter): Clean up</li>
    <li><a
    href="https://github.com/rust-cli/env_logger/commit/2d3526001061bacbf4a4c47767a318986c2c61b0"><code>2d35260</code></a>
    feat(filter): Add a Logger decorator</li>
    <li><a
    href="https://github.com/rust-cli/env_logger/commit/e6e2b633688a56a53ad718b3b498243cb3893d52"><code>e6e2b63</code></a>
    fix(log)!: Dont re-export env_filter</li>
    <li><a
    href="https://github.com/rust-cli/env_logger/commit/841eba41feb44317facc586745b28707590d11fd"><code>841eba4</code></a>
    refactor(filter): Pull out filter mod</li>
    <li><a
    href="https://github.com/rust-cli/env_logger/commit/98c450f85b95779b60be37d847e176856305b6fd"><code>98c450f</code></a>
    refactor(filter): Pull out directive mod</li>
    <li><a
    href="https://github.com/rust-cli/env_logger/commit/c769e03f40e03e83b972c334195014eddf8b2c9a"><code>c769e03</code></a>
    refactor(filter): Flatten the mod</li>
    <li>Additional commits viewable in <a
    href="https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.11.0">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore <dependency name> major version` will close this
    group update PR and stop Dependabot creating any more for the specific
    dependency's major version (unless you unignore this specific
    dependency's major version or upgrade to it yourself)
    - `@dependabot ignore <dependency name> minor version` will close this
    group update PR and stop Dependabot creating any more for the specific
    dependency's minor version (unless you unignore this specific
    dependency's minor version or upgrade to it yourself)
    - `@dependabot ignore <dependency name>` will close this group update PR
    and stop Dependabot creating any more for the specific dependency
    (unless you unignore this specific dependency or upgrade to it yourself)
    - `@dependabot unignore <dependency name>` will remove all of the ignore
    conditions of the specified dependency
    - `@dependabot unignore <dependency name> <ignore condition>` will
    remove the ignore condition of the specified dependency and ignore
    conditions
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 22, 2024
    Copy the full SHA
    a3bee5b View commit details

Commits on Feb 5, 2024

  1. Bump arduino/setup-protoc from 2 to 3 (#30)

    Bumps [arduino/setup-protoc](https://github.com/arduino/setup-protoc)
    from 2 to 3.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/arduino/setup-protoc/releases">arduino/setup-protoc's
    releases</a>.</em></p>
    <blockquote>
    <h2>v3.0.0</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Correct <code>convetion</code> typo in README by <a
    href="https://github.com/nixpanic"><code>@​nixpanic</code></a> in <a
    href="https://redirect.github.com/arduino/setup-protoc/pull/91">arduino/setup-protoc#91</a></li>
    <li>Bump <code>@​babel/traverse</code> from 7.22.1 to 7.23.2 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/arduino/setup-protoc/pull/93">arduino/setup-protoc#93</a></li>
    <li>Upgrade to node 20 by <a
    href="https://github.com/alessio-perugini"><code>@​alessio-perugini</code></a>
    in <a
    href="https://redirect.github.com/arduino/setup-protoc/pull/95">arduino/setup-protoc#95</a></li>
    </ul>
    <h2>New Contributors</h2>
    <ul>
    <li><a href="https://github.com/nixpanic"><code>@​nixpanic</code></a>
    made their first contribution in <a
    href="https://redirect.github.com/arduino/setup-protoc/pull/91">arduino/setup-protoc#91</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/arduino/setup-protoc/compare/v2.1.0...v3.0.0">https://github.com/arduino/setup-protoc/compare/v2.1.0...v3.0.0</a></p>
    <h2>v2.1.0</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Expose <code>path</code> and <code>version</code> in
    <code>outputs</code> by <a
    href="https://github.com/sebastienvermeille"><code>@​sebastienvermeille</code></a>
    in <a
    href="https://redirect.github.com/arduino/setup-protoc/pull/89">arduino/setup-protoc#89</a></li>
    <li>Bump semver from 7.5.1 to 7.5.2 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/arduino/setup-protoc/pull/87">arduino/setup-protoc#87</a></li>
    <li>bump semver to 7.5.3 by <a
    href="https://github.com/alessio-perugini"><code>@​alessio-perugini</code></a>
    in <a
    href="https://redirect.github.com/arduino/setup-protoc/pull/90">arduino/setup-protoc#90</a></li>
    </ul>
    <h2>New Contributors</h2>
    <ul>
    <li><a
    href="https://github.com/sebastienvermeille"><code>@​sebastienvermeille</code></a>
    made their first contribution in <a
    href="https://redirect.github.com/arduino/setup-protoc/pull/89">arduino/setup-protoc#89</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/arduino/setup-protoc/compare/v2.0.0...v2.1.0">https://github.com/arduino/setup-protoc/compare/v2.0.0...v2.1.0</a></p>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/arduino/setup-protoc/commit/c65c819552d16ad3c9b72d9dfd5ba5237b9c906b"><code>c65c819</code></a>
    Upgrade to node 20 (<a
    href="https://redirect.github.com/arduino/setup-protoc/issues/95">#95</a>)</li>
    <li><a
    href="https://github.com/arduino/setup-protoc/commit/52a53b4e2d968277c5c749dac537d0b14a6f5272"><code>52a53b4</code></a>
    Merge pull request <a
    href="https://redirect.github.com/arduino/setup-protoc/issues/93">#93</a>
    from arduino/dependabot/npm_and_yarn/babel/traverse-7....</li>
    <li><a
    href="https://github.com/arduino/setup-protoc/commit/cf7ab7fe8696fefcafb8135834d49955e824a56b"><code>cf7ab7f</code></a>
    Bump <code>@​babel/traverse</code> from 7.22.1 to 7.23.2</li>
    <li><a
    href="https://github.com/arduino/setup-protoc/commit/e2995ba278e6b4bca9bac954e72667db122abed1"><code>e2995ba</code></a>
    Correct <code>convetion</code> typo in README (<a
    href="https://redirect.github.com/arduino/setup-protoc/issues/91">#91</a>)</li>
    <li>See full diff in <a
    href="https://github.com/arduino/setup-protoc/compare/v2...v3">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=arduino/setup-protoc&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 5, 2024
    Copy the full SHA
    32eef00 View commit details

Commits on Mar 4, 2024

  1. Bump extractions/setup-just from 1 to 2 (#31)

    Bumps
    [extractions/setup-just](https://github.com/extractions/setup-just) from
    1 to 2.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/extractions/setup-just/commit/dd310ad5a97d8e7b41793f8ef055398d51ad4de6"><code>dd310ad</code></a>
    This is 2.0.0</li>
    <li><a
    href="https://github.com/extractions/setup-just/commit/b88c09d1cb550e9284df14b6382c3558f51a1d96"><code>b88c09d</code></a>
    Upgrade GitHub Actions</li>
    <li><a
    href="https://github.com/extractions/setup-just/commit/dcec242065842e17e377d78f22614914acf4e530"><code>dcec242</code></a>
    Upgrade dependencies</li>
    <li><a
    href="https://github.com/extractions/setup-just/commit/fbd91a81bd6f8bbd62cc6c9e2e8540bac23b83c9"><code>fbd91a8</code></a>
    Use Node v20</li>
    <li><a
    href="https://github.com/extractions/setup-just/commit/502448742b9d90bbe0aec1ec3430857358327408"><code>5024487</code></a>
    Build: just v1.23.0 (<a
    href="https://redirect.github.com/extractions/setup-just/issues/15">#15</a>)</li>
    <li><a
    href="https://github.com/extractions/setup-just/commit/1b96160c16a7194488f07accd85a6b4c917b031b"><code>1b96160</code></a>
    doc: Fix invalid GHA syntax in github-token example (<a
    href="https://redirect.github.com/extractions/setup-just/issues/12">#12</a>)</li>
    <li>See full diff in <a
    href="https://github.com/extractions/setup-just/compare/v1...v2">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=extractions/setup-just&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 4, 2024
    Copy the full SHA
    01826aa View commit details

Commits on Mar 18, 2024

  1. Update heck requirement from 0.4 to 0.5 (#32)

    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 18, 2024
    Copy the full SHA
    d01b9bd View commit details

Commits on Mar 25, 2024

  1. Bump dependabot/fetch-metadata from 1 to 2 (#33)

    Bumps
    [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata)
    from 1 to 2.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/dependabot/fetch-metadata/releases">dependabot/fetch-metadata's
    releases</a>.</em></p>
    <blockquote>
    <h2>v2.0.0 - Switch to <code>node20</code></h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Upgrade from node16 to node20 by <a
    href="https://github.com/Nishnha"><code>@​Nishnha</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/443">dependabot/fetch-metadata#443</a>
    👈 this is a potentially breaking change for some workflows</li>
    <li><code>v2</code> is the new tracking tag by <a
    href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/506">dependabot/fetch-metadata#506</a></li>
    <li>v2.0.0 by <a
    href="https://github.com/fetch-metadata-action-automation"><code>@​fetch-metadata-action-automation</code></a>
    in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/508">dependabot/fetch-metadata#508</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/dependabot/fetch-metadata/compare/v1.7.0...v2.0.0">https://github.com/dependabot/fetch-metadata/compare/v1.7.0...v2.0.0</a></p>
    <h2>v1.7.0</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Bump dotenv from 16.0.3 to 16.3.1 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/404">dependabot/fetch-metadata#404</a></li>
    <li>Bump <code>@​types/node</code> from 20.2.3 to 20.3.3 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/407">dependabot/fetch-metadata#407</a></li>
    <li>Bump the eslint-dependencies group with 4 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/409">dependabot/fetch-metadata#409</a></li>
    <li>Update dependabot.yml by <a
    href="https://github.com/bdragon"><code>@​bdragon</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/410">dependabot/fetch-metadata#410</a></li>
    <li>Bump <code>@​types/node</code> from 20.3.3 to 20.4.0 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/411">dependabot/fetch-metadata#411</a></li>
    <li>Bump yaml from 2.2.1 to 2.3.1 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/390">dependabot/fetch-metadata#390</a></li>
    <li>Bump tough-cookie from 4.0.0 to 4.1.3 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/412">dependabot/fetch-metadata#412</a></li>
    <li>Bump <code>@​types/node</code> from 20.4.0 to 20.4.1 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/413">dependabot/fetch-metadata#413</a></li>
    <li>Generate Dependabot PRs on Sundays weekly by <a
    href="https://github.com/abdulapopoola"><code>@​abdulapopoola</code></a>
    in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/417">dependabot/fetch-metadata#417</a></li>
    <li>Aggressively group prod and dev dependencies for NPM by <a
    href="https://github.com/abdulapopoola"><code>@​abdulapopoola</code></a>
    in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/420">dependabot/fetch-metadata#420</a></li>
    <li>Update .nvmrc to latest node 16 LTS version by <a
    href="https://github.com/abdulapopoola"><code>@​abdulapopoola</code></a>
    in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/422">dependabot/fetch-metadata#422</a></li>
    <li>Bump the dev-dependencies group with 9 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/421">dependabot/fetch-metadata#421</a></li>
    <li>Bump the dev-dependencies group with 1 update by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/423">dependabot/fetch-metadata#423</a></li>
    <li>Check for uncommitted files beyond the <code>diff</code> directory
    by <a href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a>
    in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/278">dependabot/fetch-metadata#278</a></li>
    <li>Bump the dev-dependencies group with 6 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/424">dependabot/fetch-metadata#424</a></li>
    <li>Bump the dev-dependencies group with 3 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/425">dependabot/fetch-metadata#425</a></li>
    <li>Bump the dev-dependencies group with 6 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/428">dependabot/fetch-metadata#428</a></li>
    <li>Bump the dev-dependencies group with 7 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/429">dependabot/fetch-metadata#429</a></li>
    <li>Bump tibdex/github-app-token from 1.8.0 to 1.8.2 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/430">dependabot/fetch-metadata#430</a></li>
    <li>Bump the dev-dependencies group with 4 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/432">dependabot/fetch-metadata#432</a></li>
    <li>Bump actions/checkout from 3 to 4 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/436">dependabot/fetch-metadata#436</a></li>
    <li>Bump the dev-dependencies group with 6 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/440">dependabot/fetch-metadata#440</a></li>
    <li>Change actions/checkout@v3 to v4 in readme by <a
    href="https://github.com/Nishnha"><code>@​Nishnha</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/444">dependabot/fetch-metadata#444</a></li>
    <li>Bump the dev-dependencies group with 4 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/445">dependabot/fetch-metadata#445</a></li>
    <li>Bump <code>@​vercel/ncc</code> from 0.36.1 to 0.38.0 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/435">dependabot/fetch-metadata#435</a></li>
    <li>Bump the dev-dependencies group with 4 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/447">dependabot/fetch-metadata#447</a></li>
    <li>Bump the dev-dependencies group with 3 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/448">dependabot/fetch-metadata#448</a></li>
    <li>Bump <code>@​babel/traverse</code> from 7.22.8 to 7.23.2 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/457">dependabot/fetch-metadata#457</a></li>
    <li>Add blurbs about using a PAT to the readme by <a
    href="https://github.com/Nishnha"><code>@​Nishnha</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/466">dependabot/fetch-metadata#466</a></li>
    <li>Bump <code>@​vercel/ncc</code> from 0.38.0 to 0.38.1 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/462">dependabot/fetch-metadata#462</a></li>
    <li>Bump actions/setup-node from 3 to 4 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/461">dependabot/fetch-metadata#461</a></li>
    <li>Bump the dev-dependencies group with 13 updates by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/497">dependabot/fetch-metadata#497</a></li>
    <li>Bump tibdex/github-app-token from 1.8.2 to 2.1.0 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/442">dependabot/fetch-metadata#442</a></li>
    <li>Scope app token to only this repo for security by <a
    href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/501">dependabot/fetch-metadata#501</a></li>
    <li>Switch to the official action for managing app tokens by <a
    href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/504">dependabot/fetch-metadata#504</a></li>
    <li>v1.7.0 by <a
    href="https://github.com/fetch-metadata-action-automation"><code>@​fetch-metadata-action-automation</code></a>
    in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/505">dependabot/fetch-metadata#505</a></li>
    </ul>
    <h2>New Contributors</h2>
    <ul>
    <li><a href="https://github.com/bdragon"><code>@​bdragon</code></a> made
    their first contribution in <a
    href="https://redirect.github.com/dependabot/fetch-metadata/pull/410">dependabot/fetch-metadata#410</a></li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/dependabot/fetch-metadata/commit/0fb21704c18a42ce5aa8d720ea4b912f5e6babef"><code>0fb2170</code></a>
    v2.0.0 (<a
    href="https://redirect.github.com/dependabot/fetch-metadata/issues/508">#508</a>)</li>
    <li><a
    href="https://github.com/dependabot/fetch-metadata/commit/dc2c459ae6444ea1d108233ed87ce5ff16cf2fa2"><code>dc2c459</code></a>
    <code>v2</code> is the new tracking tag (<a
    href="https://redirect.github.com/dependabot/fetch-metadata/issues/506">#506</a>)</li>
    <li><a
    href="https://github.com/dependabot/fetch-metadata/commit/f2f0ad1522845af9cf040e91326888ed5d56e3f8"><code>f2f0ad1</code></a>
    Upgrade from node16 to node20 (<a
    href="https://redirect.github.com/dependabot/fetch-metadata/issues/443">#443</a>)</li>
    <li>See full diff in <a
    href="https://github.com/dependabot/fetch-metadata/compare/v1...v2">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dependabot/fetch-metadata&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 25, 2024
    Copy the full SHA
    14b77ae View commit details

Commits on Apr 21, 2024

  1. feat: Update to include Kubernetes 1.30

    Signed-off-by: Bryant Biggs <bryantbiggs@gmail.com>
    bryantbiggs committed Apr 21, 2024
    Copy the full SHA
    f2d65db View commit details
  2. feat: Update to include Kubernetes 1.30 (#34)

    - Updated `k8s-pb-codegen` edition to 2021
    - Updated Kubernetes version to `1.30.0`
    	- After updating version I ran:
    		- `just protos`
    		- `just swagger`
    		- `just codegen`
    clux authored Apr 21, 2024
    Copy the full SHA
    bd9e02d View commit details
  3. sort order

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Apr 21, 2024
    Copy the full SHA
    ef2e358 View commit details
  4. {{version}}

    clux committed Apr 21, 2024
    Copy the full SHA
    260e18d View commit details
  5. remove templated tag/release strings since they clearly do not work

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Apr 21, 2024
    Copy the full SHA
    2ace6e0 View commit details
  6. keep tag-name actually, that worked..

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Apr 21, 2024
    Copy the full SHA
    f4727f0 View commit details

Commits on May 29, 2024

  1. Bump 1.30.1

    also cargo-machete remove unused bytes from codegen
    
    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed May 29, 2024
    Copy the full SHA
    225d098 View commit details
  2. just protos && just swagger && just codegen

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed May 29, 2024
    Copy the full SHA
    8d4b890 View commit details
  3. Bump 1.30.1 (#35)

    also cargo-machete remove unused bytes from codegen
    clux authored May 29, 2024
    Copy the full SHA
    0c776d5 View commit details

Commits on Jun 8, 2024

  1. renovate setup for self-hosted renovate - for #36

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Jun 8, 2024
    Copy the full SHA
    5efca11 View commit details

Commits on Jul 15, 2024

  1. Update prost-build requirement from 0.12.3 to 0.13.1 (#37)

    Updates the requirements on
    [prost-build](https://github.com/tokio-rs/prost) to permit the latest
    version.
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md">prost-build's
    changelog</a>.</em></p>
    <blockquote>
    <h1>Prost version 0.13.1</h1>
    <p><em>PROST!</em> is a <a
    href="https://developers.google.com/protocol-buffers/">Protocol
    Buffers</a> implementation for the <a
    href="https://www.rust-lang.org/">Rust Language</a>. <code>prost</code>
    generates simple, idiomatic Rust code from <code>proto2</code> and
    <code>proto3</code> files.</p>
    <h2>Bug fixes</h2>
    <ul>
    <li>Enum variant named Error causes ambiguous item (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1098">#1098</a>)</li>
    </ul>
    <h1>PROST version 0.13.0</h1>
    <p><strong>note</strong>: this version was yanked in favor of 0.13.1</p>
    <p><em>PROST!</em> is a <a
    href="https://developers.google.com/protocol-buffers/">Protocol
    Buffers</a> implementation for the <a
    href="https://www.rust-lang.org/">Rust Language</a>. <code>prost</code>
    generates simple, idiomatic Rust code from <code>proto2</code> and
    <code>proto3</code> files.</p>
    <p>This major update brings new features and fixes:</p>
    <h2>Breaking changes</h2>
    <ul>
    <li>
    <p>derive Copy trait for messages where possible (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/950">#950</a>)</p>
    <p><code>prost-build</code> will automatically derive <code>trait
    Copy</code> for some messages. If you manually implement
    <code>Copy</code> you should remove your implementation.</p>
    </li>
    <li>
    <p>Change generated functions signatures to remove type parameters (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1045">#1045</a>)</p>
    <p>The function signature of <code>trait Message</code> is changed to
    use <code>impl Buf</code> instead of a named generic type. If you
    implement <code>trait Message</code>, you should change the function
    signature.</p>
    </li>
    <li>
    <p>Lightweight error value in TryFrom<!-- raw HTML omitted --> for enums
    (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1010">#1010</a>)</p>
    <p>When a <code>impl TryFrom&lt;i32&gt;</code> is generated by
    <code>prost</code> derive macros, it will now return the error type
    <code>UnknownEnumValue</code> instead of <code>DecodeError</code>. The
    new error can be used to retreive the integer value that failed to
    convert.</p>
    </li>
    </ul>
    <h2>Features</h2>
    <ul>
    <li>
    <p>fix: Only touch include file if contents is changed (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1058">#1058</a>)</p>
    <p>Most generated files are untouched when the contents doesn't change.
    Use the same mechanism for include file as well.</p>
    </li>
    </ul>
    <h2>Dependencies</h2>
    <ul>
    <li>update env_logger requirement from 0.10 to 0.11 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1074">#1074</a>)</li>
    <li>update criterion requirement from 0.4 to 0.5 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1071">#1071</a>)</li>
    <li>Remove unused libz-sys (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1077">#1077</a>)</li>
    <li>build(deps): update itertools requirement from &gt;=0.10, <!-- raw
    HTML omitted -->=0.10, &lt;=0.13 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1070">#1070</a>)</li>
    </ul>
    <h2>Documentation</h2>
    <ul>
    <li>better checking of tag duplicates, avoid discarding invalid variant
    errs (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/951">#951</a>)</li>
    <li>docs: Fix broken link warnings (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1056">#1056</a>)</li>
    <li>Add missing LICENSE symlink (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1086">#1086</a>)</li>
    </ul>
    <h2>Internal</h2>
    <ul>
    <li>workspace package metadata (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1036">#1036</a>)</li>
    <li>fix: Build error due to merge conflict (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1068">#1068</a>)</li>
    <li>build: Fix release scripts (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1055">#1055</a>)</li>
    <li>chore: Add ci to check MSRV (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1057">#1057</a>)</li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/f19104a3d4345f4635bbc5fd54cb5089572e2660"><code>f19104a</code></a>
    chore: prepare 0.13.1 release (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1099">#1099</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/26463f437e1a3445c9d3119cf9cf0f64f5b23dfa"><code>26463f4</code></a>
    fix: Enum variant named <code>Error</code> causes ambiguous item (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1098">#1098</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/23f71749696d5836afa143cbbb860fa8943e0640"><code>23f7174</code></a>
    chore: Release version 0.13.0 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1093">#1093</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/7a1424cf8c71c0c276970d1b8f1ef17c424d818d"><code>7a1424c</code></a>
    build: Fix prepare-release.sh (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1094">#1094</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/7790799b0dfc65f70cfde0a26e8f29f77510744a"><code>7790799</code></a>
    build(deps): update itertools requirement from &gt;=0.10, &lt;=0.12 to
    &gt;=0.10, &lt;=0....</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/4a0cc17102700d1215c791f1ee4b8df22481a19f"><code>4a0cc17</code></a>
    Add missing LICENSE symlink (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1086">#1086</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/ae33a5ea97ff2df8a508b6f80fa5b88c4bc0c0a6"><code>ae33a5e</code></a>
    ci: Set rust version of clippy job to a fixed version (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1090">#1090</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/ba776540834b0cecbbaa6ca98bd79d9682cd7e92"><code>ba77654</code></a>
    fix: Only touch include file if contents is changed (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1058">#1058</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/e7049d3eb20cf33bb1ac60bff19cc3a7bd48f6f2"><code>e7049d3</code></a>
    workspace package metadata (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1036">#1036</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/ef4930c140c639eaaa0362662d90e55a31977eb3"><code>ef4930c</code></a>
    docs: Fix broken link warnings (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1056">#1056</a>)</li>
    <li>Additional commits viewable in <a
    href="https://github.com/tokio-rs/prost/compare/v0.12.3...v0.13.1">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 15, 2024
    Copy the full SHA
    2b7bf1d View commit details
  2. Update prost-types requirement from 0.12.3 to 0.13.1 (#39)

    Updates the requirements on
    [prost-types](https://github.com/tokio-rs/prost) to permit the latest
    version.
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md">prost-types's
    changelog</a>.</em></p>
    <blockquote>
    <h1>Prost version 0.13.1</h1>
    <p><em>PROST!</em> is a <a
    href="https://developers.google.com/protocol-buffers/">Protocol
    Buffers</a> implementation for the <a
    href="https://www.rust-lang.org/">Rust Language</a>. <code>prost</code>
    generates simple, idiomatic Rust code from <code>proto2</code> and
    <code>proto3</code> files.</p>
    <h2>Bug fixes</h2>
    <ul>
    <li>Enum variant named Error causes ambiguous item (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1098">#1098</a>)</li>
    </ul>
    <h1>PROST version 0.13.0</h1>
    <p><strong>note</strong>: this version was yanked in favor of 0.13.1</p>
    <p><em>PROST!</em> is a <a
    href="https://developers.google.com/protocol-buffers/">Protocol
    Buffers</a> implementation for the <a
    href="https://www.rust-lang.org/">Rust Language</a>. <code>prost</code>
    generates simple, idiomatic Rust code from <code>proto2</code> and
    <code>proto3</code> files.</p>
    <p>This major update brings new features and fixes:</p>
    <h2>Breaking changes</h2>
    <ul>
    <li>
    <p>derive Copy trait for messages where possible (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/950">#950</a>)</p>
    <p><code>prost-build</code> will automatically derive <code>trait
    Copy</code> for some messages. If you manually implement
    <code>Copy</code> you should remove your implementation.</p>
    </li>
    <li>
    <p>Change generated functions signatures to remove type parameters (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1045">#1045</a>)</p>
    <p>The function signature of <code>trait Message</code> is changed to
    use <code>impl Buf</code> instead of a named generic type. If you
    implement <code>trait Message</code>, you should change the function
    signature.</p>
    </li>
    <li>
    <p>Lightweight error value in TryFrom<!-- raw HTML omitted --> for enums
    (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1010">#1010</a>)</p>
    <p>When a <code>impl TryFrom&lt;i32&gt;</code> is generated by
    <code>prost</code> derive macros, it will now return the error type
    <code>UnknownEnumValue</code> instead of <code>DecodeError</code>. The
    new error can be used to retreive the integer value that failed to
    convert.</p>
    </li>
    </ul>
    <h2>Features</h2>
    <ul>
    <li>
    <p>fix: Only touch include file if contents is changed (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1058">#1058</a>)</p>
    <p>Most generated files are untouched when the contents doesn't change.
    Use the same mechanism for include file as well.</p>
    </li>
    </ul>
    <h2>Dependencies</h2>
    <ul>
    <li>update env_logger requirement from 0.10 to 0.11 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1074">#1074</a>)</li>
    <li>update criterion requirement from 0.4 to 0.5 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1071">#1071</a>)</li>
    <li>Remove unused libz-sys (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1077">#1077</a>)</li>
    <li>build(deps): update itertools requirement from &gt;=0.10, <!-- raw
    HTML omitted -->=0.10, &lt;=0.13 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1070">#1070</a>)</li>
    </ul>
    <h2>Documentation</h2>
    <ul>
    <li>better checking of tag duplicates, avoid discarding invalid variant
    errs (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/951">#951</a>)</li>
    <li>docs: Fix broken link warnings (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1056">#1056</a>)</li>
    <li>Add missing LICENSE symlink (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1086">#1086</a>)</li>
    </ul>
    <h2>Internal</h2>
    <ul>
    <li>workspace package metadata (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1036">#1036</a>)</li>
    <li>fix: Build error due to merge conflict (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1068">#1068</a>)</li>
    <li>build: Fix release scripts (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1055">#1055</a>)</li>
    <li>chore: Add ci to check MSRV (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1057">#1057</a>)</li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/f19104a3d4345f4635bbc5fd54cb5089572e2660"><code>f19104a</code></a>
    chore: prepare 0.13.1 release (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1099">#1099</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/26463f437e1a3445c9d3119cf9cf0f64f5b23dfa"><code>26463f4</code></a>
    fix: Enum variant named <code>Error</code> causes ambiguous item (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1098">#1098</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/23f71749696d5836afa143cbbb860fa8943e0640"><code>23f7174</code></a>
    chore: Release version 0.13.0 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1093">#1093</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/7a1424cf8c71c0c276970d1b8f1ef17c424d818d"><code>7a1424c</code></a>
    build: Fix prepare-release.sh (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1094">#1094</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/7790799b0dfc65f70cfde0a26e8f29f77510744a"><code>7790799</code></a>
    build(deps): update itertools requirement from &gt;=0.10, &lt;=0.12 to
    &gt;=0.10, &lt;=0....</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/4a0cc17102700d1215c791f1ee4b8df22481a19f"><code>4a0cc17</code></a>
    Add missing LICENSE symlink (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1086">#1086</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/ae33a5ea97ff2df8a508b6f80fa5b88c4bc0c0a6"><code>ae33a5e</code></a>
    ci: Set rust version of clippy job to a fixed version (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1090">#1090</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/ba776540834b0cecbbaa6ca98bd79d9682cd7e92"><code>ba77654</code></a>
    fix: Only touch include file if contents is changed (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1058">#1058</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/e7049d3eb20cf33bb1ac60bff19cc3a7bd48f6f2"><code>e7049d3</code></a>
    workspace package metadata (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1036">#1036</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/ef4930c140c639eaaa0362662d90e55a31977eb3"><code>ef4930c</code></a>
    docs: Fix broken link warnings (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1056">#1056</a>)</li>
    <li>Additional commits viewable in <a
    href="https://github.com/tokio-rs/prost/compare/v0.12.3...v0.13.1">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 15, 2024
    Copy the full SHA
    54eee58 View commit details
  3. Update prost requirement from 0.12.3 to 0.13.1 (#38)

    Updates the requirements on [prost](https://github.com/tokio-rs/prost)
    to permit the latest version.
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md">prost's
    changelog</a>.</em></p>
    <blockquote>
    <h1>Prost version 0.13.1</h1>
    <p><em>PROST!</em> is a <a
    href="https://developers.google.com/protocol-buffers/">Protocol
    Buffers</a> implementation for the <a
    href="https://www.rust-lang.org/">Rust Language</a>. <code>prost</code>
    generates simple, idiomatic Rust code from <code>proto2</code> and
    <code>proto3</code> files.</p>
    <h2>Bug fixes</h2>
    <ul>
    <li>Enum variant named Error causes ambiguous item (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1098">#1098</a>)</li>
    </ul>
    <h1>PROST version 0.13.0</h1>
    <p><strong>note</strong>: this version was yanked in favor of 0.13.1</p>
    <p><em>PROST!</em> is a <a
    href="https://developers.google.com/protocol-buffers/">Protocol
    Buffers</a> implementation for the <a
    href="https://www.rust-lang.org/">Rust Language</a>. <code>prost</code>
    generates simple, idiomatic Rust code from <code>proto2</code> and
    <code>proto3</code> files.</p>
    <p>This major update brings new features and fixes:</p>
    <h2>Breaking changes</h2>
    <ul>
    <li>
    <p>derive Copy trait for messages where possible (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/950">#950</a>)</p>
    <p><code>prost-build</code> will automatically derive <code>trait
    Copy</code> for some messages. If you manually implement
    <code>Copy</code> you should remove your implementation.</p>
    </li>
    <li>
    <p>Change generated functions signatures to remove type parameters (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1045">#1045</a>)</p>
    <p>The function signature of <code>trait Message</code> is changed to
    use <code>impl Buf</code> instead of a named generic type. If you
    implement <code>trait Message</code>, you should change the function
    signature.</p>
    </li>
    <li>
    <p>Lightweight error value in TryFrom<!-- raw HTML omitted --> for enums
    (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1010">#1010</a>)</p>
    <p>When a <code>impl TryFrom&lt;i32&gt;</code> is generated by
    <code>prost</code> derive macros, it will now return the error type
    <code>UnknownEnumValue</code> instead of <code>DecodeError</code>. The
    new error can be used to retreive the integer value that failed to
    convert.</p>
    </li>
    </ul>
    <h2>Features</h2>
    <ul>
    <li>
    <p>fix: Only touch include file if contents is changed (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1058">#1058</a>)</p>
    <p>Most generated files are untouched when the contents doesn't change.
    Use the same mechanism for include file as well.</p>
    </li>
    </ul>
    <h2>Dependencies</h2>
    <ul>
    <li>update env_logger requirement from 0.10 to 0.11 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1074">#1074</a>)</li>
    <li>update criterion requirement from 0.4 to 0.5 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1071">#1071</a>)</li>
    <li>Remove unused libz-sys (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1077">#1077</a>)</li>
    <li>build(deps): update itertools requirement from &gt;=0.10, <!-- raw
    HTML omitted -->=0.10, &lt;=0.13 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1070">#1070</a>)</li>
    </ul>
    <h2>Documentation</h2>
    <ul>
    <li>better checking of tag duplicates, avoid discarding invalid variant
    errs (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/951">#951</a>)</li>
    <li>docs: Fix broken link warnings (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1056">#1056</a>)</li>
    <li>Add missing LICENSE symlink (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1086">#1086</a>)</li>
    </ul>
    <h2>Internal</h2>
    <ul>
    <li>workspace package metadata (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1036">#1036</a>)</li>
    <li>fix: Build error due to merge conflict (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1068">#1068</a>)</li>
    <li>build: Fix release scripts (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1055">#1055</a>)</li>
    <li>chore: Add ci to check MSRV (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1057">#1057</a>)</li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/f19104a3d4345f4635bbc5fd54cb5089572e2660"><code>f19104a</code></a>
    chore: prepare 0.13.1 release (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1099">#1099</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/26463f437e1a3445c9d3119cf9cf0f64f5b23dfa"><code>26463f4</code></a>
    fix: Enum variant named <code>Error</code> causes ambiguous item (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1098">#1098</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/23f71749696d5836afa143cbbb860fa8943e0640"><code>23f7174</code></a>
    chore: Release version 0.13.0 (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1093">#1093</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/7a1424cf8c71c0c276970d1b8f1ef17c424d818d"><code>7a1424c</code></a>
    build: Fix prepare-release.sh (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1094">#1094</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/7790799b0dfc65f70cfde0a26e8f29f77510744a"><code>7790799</code></a>
    build(deps): update itertools requirement from &gt;=0.10, &lt;=0.12 to
    &gt;=0.10, &lt;=0....</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/4a0cc17102700d1215c791f1ee4b8df22481a19f"><code>4a0cc17</code></a>
    Add missing LICENSE symlink (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1086">#1086</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/ae33a5ea97ff2df8a508b6f80fa5b88c4bc0c0a6"><code>ae33a5e</code></a>
    ci: Set rust version of clippy job to a fixed version (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1090">#1090</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/ba776540834b0cecbbaa6ca98bd79d9682cd7e92"><code>ba77654</code></a>
    fix: Only touch include file if contents is changed (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1058">#1058</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/e7049d3eb20cf33bb1ac60bff19cc3a7bd48f6f2"><code>e7049d3</code></a>
    workspace package metadata (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1036">#1036</a>)</li>
    <li><a
    href="https://github.com/tokio-rs/prost/commit/ef4930c140c639eaaa0362662d90e55a31977eb3"><code>ef4930c</code></a>
    docs: Fix broken link warnings (<a
    href="https://redirect.github.com/tokio-rs/prost/issues/1056">#1056</a>)</li>
    <li>Additional commits viewable in <a
    href="https://github.com/tokio-rs/prost/compare/v0.12.3...v0.13.1">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 15, 2024
    Copy the full SHA
    c2897b7 View commit details
  4. Fix build

    turned out to be a justfile issue rather than prost
    
    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Jul 15, 2024
    Copy the full SHA
    aca7d1f View commit details
  5. eehh. try to force a sort order better.

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Jul 15, 2024
    Copy the full SHA
    3570a1b View commit details
  6. ok wtf...

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Jul 15, 2024
    Copy the full SHA
    bffefea View commit details
  7. Fix build (#41)

    turned out to be a justfile issue rather than prost
    
    one line justfile change + run the normal build pipeline.
    clux authored Jul 15, 2024
    Copy the full SHA
    0ec5756 View commit details

Commits on Oct 11, 2024

  1. add renovate manager for #36

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 11, 2024
    Copy the full SHA
    8d12bb5 View commit details

Commits on Oct 12, 2024

  1. pr body notes - for #36

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    b43c1b9 View commit details
  2. commit with --signoff - for #36

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    6c6e53b View commit details
  3. fix renovate templating - for #36

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    399b239 View commit details
  4. renovate hunch #36

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    77d6508 View commit details
  5. not it

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    2a131a5 View commit details
  6. rust backtrace in justfile for renovate #36

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    c67490e View commit details
  7. full backtrace

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    81d5364 View commit details
  8. factor out fmt from codegen

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    b5eb1ee View commit details
  9. rustfmt line

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    df1d663 View commit details
  10. gen

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    4439fe0 View commit details
  11. resign ourselves to renovate not being able to fmt

    since renovate does not contain rustfmt NOR rustup.
    
    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    f2743b7 View commit details
  12. regen

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    0ae962f View commit details
  13. Factor out formatting from codegen (#44)

    Need to make it its own step because we cannot do it from renovate with
    shellouts because renovate does not have rustfmt.
    
    (It also cannot easily be installed because renovate image is no sudo,
    and rustfmt is designed to be installed with rustup these days with no
    releases for manual install, and rustup is not installed in the image).
    
    To make this less painful, and more sensible, we make cargo fmt an
    explicit last step of codegeneration and commit a small rustfmt rule
    file. No nightly this itme.
    clux authored Oct 12, 2024
    Copy the full SHA
    fe6bf22 View commit details
  14. try to make renovate run fmt

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    7248ba5 View commit details
  15. Update dependency kubernetes/kubernetes to v1.31.1

    Signed-off-by: Renovate <20075896+sszynrae@users.noreply.github.com>
    sszynrae committed Oct 12, 2024
    Copy the full SHA
    916dbf1 View commit details
  16. chore: Release

    clux committed Oct 12, 2024
    Copy the full SHA
    7497f1d View commit details
  17. fix validation

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    73a6fef View commit details
  18. automerge for dep prs

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 12, 2024
    Copy the full SHA
    42de953 View commit details

Commits on Oct 13, 2024

  1. minor doc update

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 13, 2024
    Copy the full SHA
    6b4dfbe View commit details
  2. Rename HasMetadata -> Metadata to align with k8s-openapi

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 13, 2024
    Copy the full SHA
    2a734c4 View commit details
  3. Rename HasMetadata -> Metadata to align with k8s-openapi (#46)

    trying to integrate a bit and this is an obvious thing to avoid
    
    Now trait matches
    [k8s-openapi::Metadata](https://docs.rs/k8s-openapi/latest/k8s_openapi/trait.Metadata.html)
    clux authored Oct 13, 2024
    Copy the full SHA
    16e029a View commit details
  4. chore: Release

    clux committed Oct 13, 2024
    Copy the full SHA
    f9b2b4d View commit details
  5. Move prost generation from HashMap to BTreeMap

    to match k8s-openapi
    
    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 13, 2024
    Copy the full SHA
    cdaea7a View commit details
  6. Move prost generation from HashMap to BTreeMap (#48)

    to match k8s-openapi
    clux authored Oct 13, 2024
    Copy the full SHA
    d825f20 View commit details
  7. Align type names with k8s-openapi

    Do not do the misguided replace of weird casing because it would make
    any migration between openapi -> pb more awkward.
    
    Besides, the names are what they are.
    
    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 13, 2024
    Copy the full SHA
    9116e5a View commit details
  8. uno reverse

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 13, 2024
    Copy the full SHA
    9896ce4 View commit details
  9. readme

    Signed-off-by: clux <sszynrae@gmail.com>
    clux committed Oct 13, 2024
    Copy the full SHA
    55e4cb4 View commit details
Showing with 28,872 additions and 19,355 deletions.
  1. +5 −5 .github/workflows/{dependabot.yml → automerge.yml}
  2. +17 −27 .github/workflows/ci.yml
  3. +8 −4 README.md
  4. +35 −4 justfile
  5. +6 −8 k8s-pb-codegen/Cargo.toml
  6. +20,002 −13,683 k8s-pb-codegen/openapi/swagger.json
  7. +271 −59 k8s-pb-codegen/openapi/transformed.json
  8. +33 −30 k8s-pb-codegen/protos.list
  9. +9 −9 k8s-pb-codegen/protos/api/admission/v1/generated.proto
  10. +9 −9 k8s-pb-codegen/protos/api/admission/v1beta1/generated.proto
  11. +569 −14 k8s-pb-codegen/protos/api/admissionregistration/v1/generated.proto
  12. +9 −9 k8s-pb-codegen/protos/api/admissionregistration/v1alpha1/generated.proto
  13. +28 −25 k8s-pb-codegen/protos/api/admissionregistration/v1beta1/generated.proto
  14. +156 −0 k8s-pb-codegen/protos/api/apidiscovery/v2/generated.proto
  15. +5 −5 k8s-pb-codegen/protos/api/apidiscovery/v2beta1/generated.proto
  16. +3 −4 k8s-pb-codegen/protos/api/apiserverinternal/v1alpha1/generated.proto
  17. +42 −34 k8s-pb-codegen/protos/api/apps/v1/generated.proto
  18. +25 −22 k8s-pb-codegen/protos/api/apps/v1beta1/generated.proto
  19. +41 −34 k8s-pb-codegen/protos/api/apps/v1beta2/generated.proto
  20. +8 −4 k8s-pb-codegen/protos/api/authentication/v1/generated.proto
  21. +2 −2 k8s-pb-codegen/protos/api/authentication/v1alpha1/generated.proto
  22. +6 −3 k8s-pb-codegen/protos/api/authentication/v1beta1/generated.proto
  23. +81 −4 k8s-pb-codegen/protos/api/authorization/v1/generated.proto
  24. +22 −4 k8s-pb-codegen/protos/api/authorization/v1beta1/generated.proto
  25. +25 −25 k8s-pb-codegen/protos/api/autoscaling/v1/generated.proto
  26. +9 −9 k8s-pb-codegen/protos/api/autoscaling/v2/generated.proto
  27. +27 −24 k8s-pb-codegen/protos/api/autoscaling/v2beta1/generated.proto
  28. +13 −9 k8s-pb-codegen/protos/api/autoscaling/v2beta2/generated.proto
  29. +110 −21 k8s-pb-codegen/protos/api/batch/v1/generated.proto
  30. +7 −7 k8s-pb-codegen/protos/api/batch/v1beta1/generated.proto
  31. +4 −4 k8s-pb-codegen/protos/api/certificates/v1/generated.proto
  32. +2 −2 k8s-pb-codegen/protos/api/certificates/v1alpha1/generated.proto
  33. +4 −4 k8s-pb-codegen/protos/api/certificates/v1beta1/generated.proto
  34. +21 −5 k8s-pb-codegen/protos/api/coordination/v1/generated.proto
  35. +105 −0 k8s-pb-codegen/protos/api/coordination/v1alpha1/generated.proto
  36. +19 −4 k8s-pb-codegen/protos/api/coordination/v1beta1/generated.proto
  37. +565 −163 k8s-pb-codegen/protos/api/core/v1/generated.proto
  38. +3 −3 k8s-pb-codegen/protos/api/discovery/v1/generated.proto
  39. +3 −3 k8s-pb-codegen/protos/api/discovery/v1beta1/generated.proto
  40. +9 −9 k8s-pb-codegen/protos/api/events/v1/generated.proto
  41. +9 −9 k8s-pb-codegen/protos/api/events/v1beta1/generated.proto
  42. +50 −31 k8s-pb-codegen/protos/api/extensions/v1beta1/generated.proto
  43. +6 −6 k8s-pb-codegen/protos/api/flowcontrol/v1/generated.proto
  44. +6 −6 k8s-pb-codegen/protos/api/flowcontrol/v1beta1/generated.proto
  45. +6 −6 k8s-pb-codegen/protos/api/flowcontrol/v1beta2/generated.proto
  46. +6 −6 k8s-pb-codegen/protos/api/flowcontrol/v1beta3/generated.proto
  47. +2 −1 k8s-pb-codegen/protos/api/imagepolicy/v1alpha1/generated.proto
  48. +21 −11 k8s-pb-codegen/protos/api/networking/v1/generated.proto
  49. +9 −5 k8s-pb-codegen/protos/api/networking/v1alpha1/generated.proto
  50. +120 −6 k8s-pb-codegen/protos/api/networking/v1beta1/generated.proto
  51. +4 −4 k8s-pb-codegen/protos/api/node/v1/generated.proto
  52. +4 −4 k8s-pb-codegen/protos/api/node/v1alpha1/generated.proto
  53. +4 −4 k8s-pb-codegen/protos/api/node/v1beta1/generated.proto
  54. +9 −9 k8s-pb-codegen/protos/api/policy/v1/generated.proto
  55. +9 −9 k8s-pb-codegen/protos/api/policy/v1beta1/generated.proto
  56. +19 −9 k8s-pb-codegen/protos/api/rbac/v1/generated.proto
  57. +19 −9 k8s-pb-codegen/protos/api/rbac/v1alpha1/generated.proto
  58. +19 −9 k8s-pb-codegen/protos/api/rbac/v1beta1/generated.proto
  59. +0 −400 k8s-pb-codegen/protos/api/resource/v1alpha2/generated.proto
  60. +912 −0 k8s-pb-codegen/protos/api/resource/v1alpha3/generated.proto
  61. +2 −2 k8s-pb-codegen/protos/api/scheduling/v1/generated.proto
  62. +2 −2 k8s-pb-codegen/protos/api/scheduling/v1alpha1/generated.proto
  63. +2 −2 k8s-pb-codegen/protos/api/scheduling/v1beta1/generated.proto
  64. +22 −20 k8s-pb-codegen/protos/api/storage/v1/generated.proto
  65. +11 −13 k8s-pb-codegen/protos/api/storage/v1alpha1/generated.proto
  66. +61 −18 k8s-pb-codegen/protos/api/storage/v1beta1/generated.proto
  67. +127 −0 k8s-pb-codegen/protos/api/storagemigration/v1alpha1/generated.proto
  68. +44 −7 k8s-pb-codegen/protos/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto
  69. +52 −7 k8s-pb-codegen/protos/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto
  70. +43 −2 k8s-pb-codegen/protos/apimachinery/pkg/apis/meta/v1/generated.proto
  71. +2 −2 k8s-pb-codegen/protos/apimachinery/pkg/apis/meta/v1beta1/generated.proto
  72. +6 −6 k8s-pb-codegen/protos/apimachinery/pkg/apis/testapigroup/v1/generated.proto
  73. +3 −3 k8s-pb-codegen/protos/kube-aggregator/pkg/apis/apiregistration/v1/generated.proto
  74. +3 −3 k8s-pb-codegen/protos/kube-aggregator/pkg/apis/apiregistration/v1beta1/generated.proto
  75. +5 −5 k8s-pb-codegen/protos/metrics/pkg/apis/custom_metrics/v1beta1/generated.proto
  76. +5 −5 k8s-pb-codegen/protos/metrics/pkg/apis/custom_metrics/v1beta2/generated.proto
  77. +3 −3 k8s-pb-codegen/protos/metrics/pkg/apis/external_metrics/v1beta1/generated.proto
  78. +11 −10 k8s-pb-codegen/protos/metrics/pkg/apis/metrics/v1alpha1/generated.proto
  79. +11 −10 k8s-pb-codegen/protos/metrics/pkg/apis/metrics/v1beta1/generated.proto
  80. +11 −42 k8s-pb-codegen/src/main.rs
  81. +3 −3 k8s-pb/Cargo.toml
  82. +16 −32 k8s-pb/src/api/admission/v1/mod.rs
  83. +16 −32 k8s-pb/src/api/admission/v1beta1/mod.rs
  84. +675 −56 k8s-pb/src/api/admissionregistration/v1/mod.rs
  85. +23 −57 k8s-pb/src/api/admissionregistration/v1alpha1/mod.rs
  86. +46 −101 k8s-pb/src/api/admissionregistration/v1beta1/mod.rs
  87. +1 −0 k8s-pb/src/api/apidiscovery/mod.rs
  88. +135 −0 k8s-pb/src/api/apidiscovery/v2/mod.rs
  89. +18 −29 k8s-pb/src/api/apidiscovery/v2beta1/mod.rs
  90. +11 −25 k8s-pb/src/api/apiserverinternal/v1alpha1/mod.rs
  91. +78 −153 k8s-pb/src/api/apps/v1/mod.rs
  92. +42 −93 k8s-pb/src/api/apps/v1beta1/mod.rs
  93. +57 −127 k8s-pb/src/api/apps/v1beta2/mod.rs
  94. +20 −35 k8s-pb/src/api/authentication/v1/mod.rs
  95. +6 −10 k8s-pb/src/api/authentication/v1alpha1/mod.rs
  96. +12 −20 k8s-pb/src/api/authentication/v1beta1/mod.rs
  97. +106 −48 k8s-pb/src/api/authorization/v1/mod.rs
  98. +24 −28 k8s-pb/src/api/authorization/v1beta1/mod.rs
  99. +51 −103 k8s-pb/src/api/autoscaling/v1/mod.rs
  100. +19 −59 k8s-pb/src/api/autoscaling/v2/mod.rs
  101. +47 −90 k8s-pb/src/api/autoscaling/v2beta1/mod.rs
  102. +18 −51 k8s-pb/src/api/autoscaling/v2beta2/mod.rs
  103. +125 −74 k8s-pb/src/api/batch/v1/mod.rs
  104. +8 −20 k8s-pb/src/api/batch/v1beta1/mod.rs
  105. +14 −28 k8s-pb/src/api/certificates/v1/mod.rs
  106. +7 −14 k8s-pb/src/api/certificates/v1alpha1/mod.rs
  107. +9 −20 k8s-pb/src/api/certificates/v1beta1/mod.rs
  108. +1 −0 k8s-pb/src/api/coordination/mod.rs
  109. +27 −21 k8s-pb/src/api/coordination/v1/mod.rs
  110. +105 −0 k8s-pb/src/api/coordination/v1alpha1/mod.rs
  111. +20 −15 k8s-pb/src/api/coordination/v1beta1/mod.rs
  112. +767 −799 k8s-pb/src/api/core/v1/mod.rs
  113. +11 −24 k8s-pb/src/api/discovery/v1/mod.rs
  114. +7 −19 k8s-pb/src/api/discovery/v1beta1/mod.rs
  115. +15 −27 k8s-pb/src/api/events/v1/mod.rs
  116. +11 −22 k8s-pb/src/api/events/v1beta1/mod.rs
  117. +69 −141 k8s-pb/src/api/extensions/v1beta1/mod.rs
  118. +22 −62 k8s-pb/src/api/flowcontrol/v1/mod.rs
  119. +12 −46 k8s-pb/src/api/flowcontrol/v1beta1/mod.rs
  120. +12 −46 k8s-pb/src/api/flowcontrol/v1beta2/mod.rs
  121. +22 −62 k8s-pb/src/api/flowcontrol/v1beta3/mod.rs
  122. +9 −17 k8s-pb/src/api/imagepolicy/v1alpha1/mod.rs
  123. +1 −0 k8s-pb/src/api/mod.rs
  124. +37 −75 k8s-pb/src/api/networking/v1/mod.rs
  125. +23 −111 k8s-pb/src/api/networking/v1alpha1/mod.rs
  126. +203 −35 k8s-pb/src/api/networking/v1beta1/mod.rs
  127. +12 −22 k8s-pb/src/api/node/v1/mod.rs
  128. +8 −18 k8s-pb/src/api/node/v1alpha1/mod.rs
  129. +8 −17 k8s-pb/src/api/node/v1beta1/mod.rs
  130. +22 −42 k8s-pb/src/api/policy/v1/mod.rs
  131. +17 −34 k8s-pb/src/api/policy/v1beta1/mod.rs
  132. +37 −59 k8s-pb/src/api/rbac/v1/mod.rs
  133. +21 −39 k8s-pb/src/api/rbac/v1alpha1/mod.rs
  134. +21 −39 k8s-pb/src/api/rbac/v1beta1/mod.rs
  135. +1 −1 k8s-pb/src/api/resource/mod.rs
  136. +0 −546 k8s-pb/src/api/resource/v1alpha2/mod.rs
  137. +1,073 −0 k8s-pb/src/api/resource/v1alpha3/mod.rs
  138. +7 −13 k8s-pb/src/api/scheduling/v1/mod.rs
  139. +3 −8 k8s-pb/src/api/scheduling/v1alpha1/mod.rs
  140. +3 −8 k8s-pb/src/api/scheduling/v1beta1/mod.rs
  141. +74 −129 k8s-pb/src/api/storage/v1/mod.rs
  142. +27 −63 k8s-pb/src/api/storage/v1alpha1/mod.rs
  143. +107 −95 k8s-pb/src/api/storage/v1beta1/mod.rs
  144. +1 −0 k8s-pb/src/api/storagemigration/mod.rs
  145. +149 −0 k8s-pb/src/api/storagemigration/v1alpha1/mod.rs
  146. +75 −90 k8s-pb/src/apiextensions_apiserver/pkg/apis/apiextensions/v1/mod.rs
  147. +74 −80 k8s-pb/src/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/mod.rs
  148. +1 −2 k8s-pb/src/apimachinery/pkg/api/resource/mod.rs
  149. +67 −78 k8s-pb/src/apimachinery/pkg/apis/meta/v1/mod.rs
  150. +1 −1 k8s-pb/src/apimachinery/pkg/apis/meta/v1beta1/mod.rs
  151. +5 −11 k8s-pb/src/apimachinery/pkg/apis/testapigroup/v1/mod.rs
  152. +1 −3 k8s-pb/src/apimachinery/pkg/runtime/mod.rs
  153. +1 −1 k8s-pb/src/apimachinery/pkg/util/intstr/mod.rs
  154. +24 −33 k8s-pb/src/kube_aggregator/pkg/apis/apiregistration/v1/mod.rs
  155. +12 −18 k8s-pb/src/kube_aggregator/pkg/apis/apiregistration/v1beta1/mod.rs
  156. +5 −5 k8s-pb/src/lib.rs
  157. +7 −12 k8s-pb/src/metrics/pkg/apis/custom_metrics/v1beta1/mod.rs
  158. +7 −13 k8s-pb/src/metrics/pkg/apis/custom_metrics/v1beta2/mod.rs
  159. +8 −13 k8s-pb/src/metrics/pkg/apis/external_metrics/v1beta1/mod.rs
  160. +10 −15 k8s-pb/src/metrics/pkg/apis/metrics/v1alpha1/mod.rs
  161. +10 −15 k8s-pb/src/metrics/pkg/apis/metrics/v1beta1/mod.rs
  162. +1 −2 release.toml
  163. +31 −0 renovate.json5
  164. +2 −0 rustfmt.toml
Original file line number Diff line number Diff line change
@@ -6,22 +6,22 @@ permissions:
pull-requests: write

jobs:
dependabot:
automerge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.actor == 'sszynrae' || github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
uses: dependabot/fetch-metadata@v2
if: ${{ github.actor == 'dependabot[bot]' }}
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
#if: ${{contains(steps.metadata.outputs.dependency-names, 'my-dependency') && steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
- name: Enable auto-merge for Dependency/Renovate PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
44 changes: 17 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -20,15 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
override: true
toolchain: stable
profile: minimal
# Smart caching for Rust projects.
# Includes workaround for macos cache corruption.
# - https://github.com/rust-lang/cargo/issues/8603
# - https://github.com/actions/cache/issues/403
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2

# Real CI work starts here
@@ -42,31 +34,29 @@ jobs:
if: false # currently go doc generates stuff that rust expects to be valid symbols

codegen:
strategy:
# Prevent GitHub from cancelling all in-progress jobs when a matrix job fails.
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
override: true
toolchain: stable
profile: minimal
# Smart caching for Rust projects.
# Includes workaround for macos cache corruption.
# - https://github.com/rust-lang/cargo/issues/8603
# - https://github.com/actions/cache/issues/403
# Dependencies
- uses: extractions/setup-just@v2
- uses: arduino/setup-protoc@v3
- name: install fd, sd, ripgrep
run: |
sudo apt-get install -y ripgrep
export FD_VER=10.2.0
export SD_VER=1.0.0
curl -sSL "https://github.com/sharkdp/fd/releases/download/v${FD_VER}/fd-v${FD_VER}-x86_64-unknown-linux-musl.tar.gz" \
| tar xz --strip-components=1 -C /usr/local/bin/
curl -sSL "https://github.com/chmln/sd/releases/download/v${SD_VER}/sd-v${SD_VER}-x86_64-unknown-linux-musl.tar.gz" \
| tar xz --strip-components=1 -C /usr/local/bin/
# Rust
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: extractions/setup-just@v1
- run: |-
curl -sSL https://github.com/sharkdp/fd/releases/download/v8.7.1/fd-v8.7.1-i686-unknown-linux-gnu.tar.gz | tar xz -C /usr/local/bin --strip-components=1
- run: |-
curl -sSL https://github.com/chmln/sd/releases/download/v1.0.0/sd-v1.0.0-x86_64-unknown-linux-gnu.tar.gz | tar xz -C /usr/local/bin --strip-components=1
- uses: arduino/setup-protoc@v2
# Run codegen step-by-step
- run: just protos
- run: just swagger
- run: just codegen
- run: just names
- name: Ensure generated output is committed
run: |
if ! git diff --exit-code .; then
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -10,11 +10,14 @@ For now consider these structs a reference location for Kubernetes structs that
See [docs.rs/k8s-pb](https://docs.rs/k8s-pb/latest/k8s_pb/).

## Build Process
The code generation process consists of 3 steps;
The code generation process consists of 4 steps;

1. `just protos` - download and patch protobufs
2. `just swagger` - download and transform openapi schema
3. `just codegen` - combine info and build with prost
4. `just names` - case alignment and `cargo fmt`

This can be run in one step with `just generate`.

The [k8s-pb](https://github.com/kube-rs/k8s-pb/tree/main/k8s-pb) crate is generated as a result of this process and then published periodically.

@@ -43,9 +46,7 @@ Runs [main.rs](https://github.com/kube-rs/k8s-pb/blob/main/k8s-pb-codegen/src/ma

- The protos are built with [prost](https://github.com/tokio-rs/prost) via `protoc` and provides a [`FileDescriptorSet`](https://docs.rs/prost-types/latest/prost_types/struct.FileDescriptorSet.html) via [`Config::file_descriptor_set_path`](https://docs.rs/prost-build/latest/prost_build/struct.Config.html#method.file_descriptor_set_path).
- The transformed swagger result json is deserialized through [lib.rs](https://github.com/kube-rs/k8s-pb/blob/main/k8s-pb-codegen/src/lib.rs) into a `HashMap<String, Resource>` where the string is a GVK string.
- We loop through all the generated modules and
* inject generics from this hashmap via `append_trait_impl`
* in memory `rustfmt` before finalising
- inject generics for each modules in hashmap via `append_trait_impl`
- Generate a module tree from the seen modules in the loop
- Attach our implemented traits to the [generated lib.rs](https://github.com/kube-rs/k8s-pb/blob/main/k8s-pb/src/lib.rs)

@@ -55,3 +56,6 @@ Runs [main.rs](https://github.com/kube-rs/k8s-pb/blob/main/k8s-pb-codegen/src/ma
- [jq](https://stedolan.github.io/jq/)
- [just](https://github.com/casey/just)
- [sd](https://github.com/chmln/sd)
- [ripgrep](https://github.com/BurntSushi/ripgrep)
- [protoc](https://github.com/protocolbuffers/protobuf)
- [rustmft](https://github.com/rust-lang/rustfmt)
39 changes: 35 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
VERSION := "1.29.0"
# renovate: datasource=github-releases depName=kubernetes/kubernetes
KUBERNETES_VERSION := "1.31.2"

export RUST_BACKTRACE := env_var_or_default("RUST_BACKTRACE", "full")

default:
@just --list
@@ -11,7 +14,7 @@ protos-dl:
rm -rf protos && mkdir protos && cd protos
for x in api apimachinery apiextensions-apiserver kube-aggregator metrics; do
mkdir -p ./$x
curl -sSL https://github.com/kubernetes/$x/archive/refs/tags/kubernetes-{{VERSION}}.tar.gz | tar xzf - -C ./$x/ --strip-components=1
curl -sSL https://github.com/kubernetes/$x/archive/refs/tags/kubernetes-{{KUBERNETES_VERSION}}.tar.gz | tar xzf - -C ./$x/ --strip-components=1
fd -e proto -x sh -c "mkdir -p k8s.io/'{//}'; mv '{}' k8s.io/'{}'" ';' . ./$x
rm -rf ./$x
done
@@ -31,7 +34,8 @@ protos-list:
#!/usr/bin/env bash
set -exuo pipefail
cd k8s-pb-codegen
fd -e proto | sort > protos.list
sort --version
fd -e proto | sort -fd > protos.list
# Download and generate all protos dependent files
protos: protos-dl protos-patch protos-list
@@ -41,7 +45,7 @@ swagger-dl:
#!/usr/bin/env bash
set -exuo pipefail
curl -sSL -o k8s-pb-codegen/openapi/swagger.json \
https://raw.githubusercontent.com/kubernetes/kubernetes/v{{VERSION}}/api/openapi-spec/swagger.json
https://raw.githubusercontent.com/kubernetes/kubernetes/v{{KUBERNETES_VERSION}}/api/openapi-spec/swagger.json
# Patch swagger schema for upstream bugs
swagger-patch:
@@ -71,3 +75,30 @@ codegen:
cd k8s-pb-codegen
rm -rf tmp/ && mkdir tmp
cargo run
# Align names and format
names:
#!/usr/bin/env bash
# Retain original names (prost doesn't let you bypass its renaming)
rg 'ApiService' k8s-pb -l | xargs sd 'ApiService' 'APIService'
rg 'ApiResource' k8s-pb -l | xargs sd 'ApiResource' 'APIResource'
rg 'ApiGroup' k8s-pb -l | xargs sd 'ApiGroup' 'APIGroup'
rg 'ApiVersion' k8s-pb -l | xargs sd 'ApiVersion' 'APIVersion'
rg 'ApiSubresource' k8s-pb -l | xargs sd 'ApiSubresource' 'APISubresource'
rg 'DownwardApi' k8s-pb -l | xargs sd 'DownwardApi' 'DownwardAPI'
rg 'CsiDriver' k8s-pb -l | xargs sd 'CsiDriver' 'CSIDriver'
rg 'CsiPersistent' k8s-pb -l | xargs sd 'CsiPersistent' 'CSIPersistent'
rg 'CsiVolume' k8s-pb -l | xargs sd 'CsiVolume' 'CSIVolume'
rg 'CsiStorage' k8s-pb -l | xargs sd 'CsiStorage' 'CSIStorage'
rg 'CsiNode' k8s-pb -l | xargs sd 'CsiNode' 'CSINode'
rg 'IpAddress' k8s-pb -l | xargs sd 'IpAddress' 'IPAddress'
rg 'ServiceCidr' k8s-pb -l | xargs sd 'ServiceCidr' 'ServiceCIDR'
rg 'ClusterCidr' k8s-pb -l | xargs sd 'ClusterCidr' 'ClusterCIDR'
rg 'ClientCidr' k8s-pb -l | xargs sd 'ClientCidr' 'ClientCIDR'
rg 'cluster_i_ps' k8s-pb -l | xargs sd 'cluster_i_ps' 'cluster_ips'
rg 'external_i_ps' k8s-pb -l | xargs sd 'external_i_ps' 'external_ips'
rg 'pod_i_ps' k8s-pb -l | xargs sd 'pod_i_ps' 'pod_ips'
rg 'host_i_ps' k8s-pb -l | xargs sd 'host_i_ps' 'host_ips'
cargo fmt
generate: swagger protos codegen names
14 changes: 6 additions & 8 deletions k8s-pb-codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
[package]
name = "k8s-pb-codegen"
version = "0.2.0"
edition = "2018"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
publish = false

[dependencies]
bytes = "1.0.1"
prost = "0.12.3"
prost-build = "0.12.3"
prost-types = "0.12.3"
prost = "0.13.1"
prost-build = "0.13.1"
prost-types = "0.13.1"
serde_json = "1.0.67"
serde = { version = "1.0.130", features = ["derive"] }
log = "0.4.14"
anyhow = "1.0.44"
env_logger = "0.10.1"
env_logger = "0.11.0"
quote = "1.0"
heck = "0.4"
Loading