Repository navigation
Add rev parameter - #251
Conversation
|
Warning Rate limit exceeded@RossComputerGuy has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 4 minutes and 41 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (5)
WalkthroughAdds an optional Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant Action as Action runtime (TS)
participant CLI as flakehub-push CLI
participant GC as GitContext
participant GH as GitHub GraphQL
participant LG as Local Git
User->>Action: trigger action (inputs: rev?)
Action->>Action: read inputs.getString("rev")
Action->>Environment: set FLAKEHUB_PUSH_REV
User->>CLI: run CLI / pass flags or env
CLI->>GC: initialize (cli args, env)
alt rev provided (cli or env)
GC->>GC: use cli.rev as revision
note right of GC #E6F7FF: revision = explicit rev\ncommit_count from local Git
else
GC->>GH: fetch revision & rev_count (if GitHub flow)
GH-->>GC: revision, rev_count
GC->>LG: read local revision and commit_count
GC-->>GC: choose fetched or local revision\nretain commit_count from local
end
GC-->>CLI: return RevisionInfo { revision, commit_count }
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Pre-merge checks (2 passed, 1 warning)❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
Poem
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (3)
src/cli/mod.rs (1)
32-33: Add help text and (optionally) validate rev as a SHA.The flag looks good. Consider adding a brief help message so
--helpsurfaces intent. Optionally validate the value to a hex SHA (full or abbreviated) to fail fast on bad input.+ /// The Git revision SHA to use for non-rolling releases (accepts full or abbreviated SHA). #[clap(long, env = "FLAKEHUB_PUSH_REV", value_parser = StringToNoneParser, default_value = "")] pub(crate) rev: OptionString,If you want lightweight validation without a new parser:
- #[clap(long, env = "FLAKEHUB_PUSH_REV", value_parser = StringToNoneParser, default_value = "")] + #[clap( + long, + env = "FLAKEHUB_PUSH_REV", + value_parser = StringToNoneParser, // keep None semantics + default_value = "" + )] pub(crate) rev: OptionString,And later (where you resolve
rev), validate with a simple regex like^[0-9a-fA-F]{7,40}$before using it.README.md (1)
199-199: Clarify accepted formats and env mapping for rev.Minor doc tweak: note that
revmay be a full or abbreviated commit SHA and can also be provided viaFLAKEHUB_PUSH_REV.-| `rev` | The Git revision SHA to use for non-rolling releases. | string | | | +| `rev` | The Git revision SHA (full or abbreviated) to use for non-rolling releases. Can also be set via `FLAKEHUB_PUSH_REV`. | string | | |src/git_context.rs (1)
68-73: DRY up rev selection across constructors.The rev-override logic is duplicated in three constructors. Consider a tiny helper to centralize this and ensure consistent behavior if validation rules change.
+impl GitContext { + #[inline] + fn pick_rev(cli: &FlakeHubPushCli, fallback: &str) -> String { + cli.rev.0.clone().unwrap_or_else(|| fallback.to_string()) + } +}Then:
- let rev = if let Some(rev) = &cli.rev.0 { rev } else { &local_revision_info.revision }; + let rev = Self::pick_rev(cli, &local_revision_info.revision); ... - revision: rev.to_string(), + revision: rev,Also applies to: 91-96
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
README.md(1 hunks)src/cli/mod.rs(1 hunks)src/git_context.rs(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: DeterminateCI / build (aarch64-darwin, namespace-profile-mac-m2-12c28g)
- GitHub Check: DeterminateCI / build (aarch64-linux, UbuntuLatest32Cores128GArm)
- GitHub Check: DeterminateCI / build (x86_64-linux, UbuntuLatest32Cores128G)
| revision_info: RevisionInfo { | ||
| commit_count: local_revision_info.commit_count, | ||
| revision: rev.to_string(), | ||
| }, | ||
| }; |
There was a problem hiding this comment.
💡 Verification agent
🧩 Analysis chain
Confirm commit_count availability for non-rolling paths.
You changed GitLab/local paths to source commit_count locally (good), but release_version unconditionally errors if commit_count is None, even for tagged releases where it’s unused. Verify all code paths still set commit_count reliably or relax that requirement when rolling == false.
Also applies to: 100-104
🏁 Script executed:
#!/bin/bash
# Inspect release_version gating and all constructors for commit_count population
rg -nC2 'release_version\s*\(' src | cat
rg -nC2 'struct RevisionInfo' src | cat
rg -nC2 '\bcommit_count\b' src | catLength of output: 4457
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "=== src/cli/mod.rs (around release_version) ==="
sed -n '360,440p' src/cli/mod.rs || true
echo
echo "=== src/release_metadata.rs (full file) ==="
sed -n '1,220p' src/release_metadata.rs || true
echo
echo "=== src/revision_info.rs (full file) ==="
sed -n '1,220p' src/revision_info.rs || true
echo
echo "=== src/git_context.rs (full file) ==="
sed -n '1,240p' src/git_context.rs || trueLength of output: 16457
Don't require commit_count for tag-only (non-rolling) releases
release_version unconditionally errors when git_ctx.revision_info.commit_count is None even for tagged (non-rolling) releases where commit_count is not used. Move the commit_count check into the rolling branch or ensure commit_count is always populated.
- Change: src/cli/mod.rs::release_version — remove the early
let Some(commit_count) = ...check and only require/unwrap commit_count inside the branch that builds the rolling string (where it’s actually used). - Note: src/release_metadata.rs::ReleaseMetadata::new currently also requires commit_count; decide whether release metadata must always require commit_count or whether it should tolerate None for tag-only uploads and adjust accordingly.
- Context: GitContext constructors (src/git_context.rs and revision_info.rs) sometimes set commit_count to None; handle that flow either by backfilling commit_count or by relaxing the checks above.
🤖 Prompt for AI Agents
In src/git_context.rs around lines 77-81, the RevisionInfo struct is being
populated with commit_count which may be None for tag-only releases; update the
release flow so that release_version in src/cli/mod.rs no longer performs an
early unconditional unwrap/check of git_ctx.revision_info.commit_count —
instead, remove that check and only require/unwrap commit_count inside the
branch that constructs the rolling version string (where commit_count is
actually used). Also review src/release_metadata.rs::ReleaseMetadata::new and
make it tolerate a None commit_count for tag-only uploads (or only
validate/require commit_count when creating metadata for rolling releases) so
constructors that set commit_count to None do not cause spurious errors.
eef16b4 to
83d20d0
Compare
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
action.yaml (1)
35-38: Clarify rev semantics and guard against "null" leakage to env.Good addition. Two small asks:
- Make format explicit (allow 7–40 hex? full SHA only?) and state interaction with rolling releases and tags (e.g., precedence or expected correspondence).
- Verify
default: nulldoesn’t surface as the literal string "null" via@actions/core.getInput('rev'), which would propagate toFLAKEHUB_PUSH_REV. If uncertain, preferdefault: ""or strip"null"before exporting.Proposed tweak:
rev: - description: The Git revision SHA to use for non-rolling releases. + description: The Git revision SHA (7–40 hex). For rolling releases, this overrides the SHA used in the version metadata. If both `tag` and `rev` are set, `rev` must point to the tagged commit. required: false - default: null + default: ""
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (5)
README.md(1 hunks)action.yaml(1 hunks)src/cli/mod.rs(1 hunks)src/git_context.rs(3 hunks)ts/index.ts(4 hunks)
🚧 Files skipped from review as they are similar to previous changes (4)
- src/cli/mod.rs
- ts/index.ts
- README.md
- src/git_context.rs
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
- GitHub Check: DeterminateCI / build (aarch64-linux, UbuntuLatest32Cores128GArm)
- GitHub Check: DeterminateCI / build (aarch64-darwin, namespace-profile-mac-m2-12c28g)
- GitHub Check: DeterminateCI / build (x86_64-linux, UbuntuLatest32Cores128G)
- GitHub Check: Check the dist/ folder is up to date
83d20d0 to
9600eb2
Compare
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [DeterminateSystems/flakehub-push](https://github.com/DeterminateSystems/flakehub-push) | action | major | `v6` → `v7` | --- ### Release Notes <details> <summary>DeterminateSystems/flakehub-push (DeterminateSystems/flakehub-push)</summary> ### [`v7`](https://github.com/DeterminateSystems/flakehub-push/releases/tag/v7) [Compare Source](DeterminateSystems/flakehub-push@v6...v7) #### What's Changed - Update Nix flake inputs by [@​github-actions](https://github.com/github-actions)\[bot] in [#​240](DeterminateSystems/flakehub-push#240) - Update `detsys-ts`: Merge pull request [#​106](DeterminateSystems/flakehub-push#106) from DeterminateSystems/fix-dependabot-warning by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​244](DeterminateSystems/flakehub-push#244) - Add success or failure checks for nix and cache actions by [@​RossComputerGuy](https://github.com/RossComputerGuy) in [#​252](DeterminateSystems/flakehub-push#252) - Add rev parameter by [@​RossComputerGuy](https://github.com/RossComputerGuy) in [#​251](DeterminateSystems/flakehub-push#251) - Update `detsys-ts`: Merge pull request [#​109](DeterminateSystems/flakehub-push#109) from DeterminateSystems/tsup-to-tsdown by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​253](DeterminateSystems/flakehub-push#253) - Bump tracing-subscriber from 0.3.18 to 0.3.20 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​248](DeterminateSystems/flakehub-push#248) - Update Nix flake inputs by [@​github-actions](https://github.com/github-actions)\[bot] in [#​245](DeterminateSystems/flakehub-push#245) - fixup: allow overriding rev via --rev flag by [@​cole-h](https://github.com/cole-h) in [#​256](DeterminateSystems/flakehub-push#256) - Update `detsys-ts`: Merge pull request [#​114](DeterminateSystems/flakehub-push#114) from DeterminateSystems/dependabot/npm\_and\_yarn/npm-deps-47c548f420 by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​257](DeterminateSystems/flakehub-push#257) - Update Nix flake inputs by [@​github-actions](https://github.com/github-actions)\[bot] in [#​254](DeterminateSystems/flakehub-push#254) - Switch to secure packages by [@​lucperkins](https://github.com/lucperkins) in [#​258](DeterminateSystems/flakehub-push#258) - Grahamc/upgrade deps eslint use npm by [@​grahamc](https://github.com/grahamc) in [#​260](DeterminateSystems/flakehub-push#260) - Update Nix flake inputs by [@​github-actions](https://github.com/github-actions)\[bot] in [#​259](DeterminateSystems/flakehub-push#259) - Update Nix flake inputs by [@​github-actions](https://github.com/github-actions)\[bot] in [#​264](DeterminateSystems/flakehub-push#264) - Push olmrksvwrpko by [@​grahamc](https://github.com/grahamc) in [#​267](DeterminateSystems/flakehub-push#267) - Bump lodash from 4.17.21 to 4.17.23 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​265](DeterminateSystems/flakehub-push#265) - Update `detsys-ts`: Bump fast-xml-parser from 5.3.3 to 5.3.4 ([#​134](DeterminateSystems/flakehub-push#134)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​271](DeterminateSystems/flakehub-push#271) - Update `detsys-ts`: Bump the npm-deps group across 1 directory with 9 updates ([#​138](DeterminateSystems/flakehub-push#138)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​274](DeterminateSystems/flakehub-push#274) - Bump bytes from 1.7.1 to 1.11.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​270](DeterminateSystems/flakehub-push#270) - Enable provenance in CI by [@​lucperkins](https://github.com/lucperkins) in [#​278](DeterminateSystems/flakehub-push#278) - Update flake inputs by [@​lucperkins](https://github.com/lucperkins) in [#​279](DeterminateSystems/flakehub-push#279) - Update `detsys-ts`: Bump fast-xml-parser from 5.3.4 to 5.3.6 ([#​140](DeterminateSystems/flakehub-push#140)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​281](DeterminateSystems/flakehub-push#281) - Update `detsys-ts`: Fix default value for Action option ([#​144](DeterminateSystems/flakehub-push#144)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​285](DeterminateSystems/flakehub-push#285) - Use flake-schemas crate for output collection by [@​gustavderdrache](https://github.com/gustavderdrache) in [#​289](DeterminateSystems/flakehub-push#289) - fixup: update flake-schemas so we can see the stderr for execution errors by [@​cole-h](https://github.com/cole-h) in [#​292](DeterminateSystems/flakehub-push#292) - flake-schemas: 0.2.0 -> 0.3.0 for null what support by [@​grahamc](https://github.com/grahamc) in [#​294](DeterminateSystems/flakehub-push#294) - fix: defer OIDC token acquisition until after Nix evaluation by [@​flexiondotorg](https://github.com/flexiondotorg) in [#​276](DeterminateSystems/flakehub-push#276) - Update `detsys-ts`: Drop the old schemas and integrate the open PRs ([#​162](DeterminateSystems/flakehub-push#162)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​297](DeterminateSystems/flakehub-push#297) - Update deps by [@​grahamc](https://github.com/grahamc) in [#​299](DeterminateSystems/flakehub-push#299) - Update deps by [@​grahamc](https://github.com/grahamc) in [#​298](DeterminateSystems/flakehub-push#298) - unlisted: alias for clap by [@​grahamc](https://github.com/grahamc) in [#​300](DeterminateSystems/flakehub-push#300) - Update gix by [@​cole-h](https://github.com/cole-h) in [#​286](DeterminateSystems/flakehub-push#286) - Autodiscover the GitHub GraphQL API URL base by [@​cole-h](https://github.com/cole-h) in [#​301](DeterminateSystems/flakehub-push#301) - Update `detsys-ts`: Merge pull request [#​171](DeterminateSystems/flakehub-push#171) from DeterminateSystems/update-deps by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​304](DeterminateSystems/flakehub-push#304) - fixup: rewrite libiconv reference on macOS by [@​cole-h](https://github.com/cole-h) in [#​309](DeterminateSystems/flakehub-push#309) - Update `detsys-ts`: Populate group properties ([#​176](DeterminateSystems/flakehub-push#176)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​310](DeterminateSystems/flakehub-push#310) - Bump rustls-webpki from 0.103.10 to 0.103.13 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​308](DeterminateSystems/flakehub-push#308) - Bump fast-xml-builder from 1.1.5 to 1.2.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​312](DeterminateSystems/flakehub-push#312) - Bump rand from 0.8.5 to 0.8.6 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​306](DeterminateSystems/flakehub-push#306) - Bump gix from 0.80.0 to 0.83.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​311](DeterminateSystems/flakehub-push#311) - Update `detsys-ts`: Merge pull request [#​177](DeterminateSystems/flakehub-push#177) from DeterminateSystems/dependabot/npm\_and\_yarn/fast-xml-parser-5.7.3 by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​313](DeterminateSystems/flakehub-push#313) - Update `detsys-ts`: Merge pull request [#​181](DeterminateSystems/flakehub-push#181) from DeterminateSystems/update-node by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​316](DeterminateSystems/flakehub-push#316) - Update rand 0.9 to 0.9.4 by [@​cole-h](https://github.com/cole-h) in [#​318](DeterminateSystems/flakehub-push#318) - Provide pinning for GitHub Actions and cooldown for npm updates by [@​lucperkins](https://github.com/lucperkins) in [#​315](DeterminateSystems/flakehub-push#315) - Update `detsys-ts`: Merge pull request [#​182](DeterminateSystems/flakehub-push#182) from DeterminateSystems/actions-pinning by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​320](DeterminateSystems/flakehub-push#320) - Manually construct flake archive, update tar by [@​cole-h](https://github.com/cole-h) in [#​317](DeterminateSystems/flakehub-push#317) - Allow configuring the rolling major by [@​cole-h](https://github.com/cole-h) in [#​323](DeterminateSystems/flakehub-push#323) - fixup: use filesets by [@​cole-h](https://github.com/cole-h) in [#​328](DeterminateSystems/flakehub-push#328) - Drop cargo-watch by [@​cole-h](https://github.com/cole-h) in [#​337](DeterminateSystems/flakehub-push#337) - Update `detsys-ts`: Merge pull request [#​196](DeterminateSystems/flakehub-push#196) from DeterminateSystems/undici by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​336](DeterminateSystems/flakehub-push#336) - fixup: give required presigned headers directly to the client by [@​cole-h](https://github.com/cole-h) in [#​334](DeterminateSystems/flakehub-push#334) - Support uploading SBOMs associated with the uploaded flake by [@​cole-h](https://github.com/cole-h) in [#​350](DeterminateSystems/flakehub-push#350) - Update `detsys-ts`: Merge pull request [#​206](DeterminateSystems/flakehub-push#206) from DeterminateSystems/deps/dependabot-sweep by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​349](DeterminateSystems/flakehub-push#349) - build(deps): bump quinn-proto from 0.11.14 to 0.11.16 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​340](DeterminateSystems/flakehub-push#340) - Depend on detsys-ts from npm by [@​grahamc](https://github.com/grahamc) in [#​354](DeterminateSystems/flakehub-push#354) - Grahamc/otel by [@​grahamc](https://github.com/grahamc) in [#​357](DeterminateSystems/flakehub-push#357) - Update npm dependencies, fix esbuild advisory, and update flake inputs by [@​lucperkins](https://github.com/lucperkins) in [#​358](DeterminateSystems/flakehub-push#358) - Update `detsys-ts` to `v2.1.1` by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​360](DeterminateSystems/flakehub-push#360) - Update `detsys-ts` to `v2.1.2` by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​361](DeterminateSystems/flakehub-push#361) - Update `detsys-ts` to `v2.1.3` by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​362](DeterminateSystems/flakehub-push#362) #### New Contributors - [@​github-actions](https://github.com/github-actions)\[bot] made their first contribution in [#​240](DeterminateSystems/flakehub-push#240) - [@​RossComputerGuy](https://github.com/RossComputerGuy) made their first contribution in [#​252](DeterminateSystems/flakehub-push#252) - [@​gustavderdrache](https://github.com/gustavderdrache) made their first contribution in [#​289](DeterminateSystems/flakehub-push#289) **Full Changelog**: <DeterminateSystems/flakehub-push@v6...v7> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYWN0aW9ucyIsImRlcCJdfQ==--> Reviewed-on: https://trev.zip/llc/stack/pulls/119
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [DeterminateSystems/flakehub-push](https://github.com/DeterminateSystems/flakehub-push) | action | major | `v6` → `v7` | --- ### Release Notes <details> <summary>DeterminateSystems/flakehub-push (DeterminateSystems/flakehub-push)</summary> ### [`v7`](https://github.com/DeterminateSystems/flakehub-push/releases/tag/v7) [Compare Source](DeterminateSystems/flakehub-push@v6...v7) #### What's Changed - Update Nix flake inputs by [@​github-actions](https://github.com/github-actions)\[bot] in [#​240](DeterminateSystems/flakehub-push#240) - Update `detsys-ts`: Merge pull request [#​106](DeterminateSystems/flakehub-push#106) from DeterminateSystems/fix-dependabot-warning by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​244](DeterminateSystems/flakehub-push#244) - Add success or failure checks for nix and cache actions by [@​RossComputerGuy](https://github.com/RossComputerGuy) in [#​252](DeterminateSystems/flakehub-push#252) - Add rev parameter by [@​RossComputerGuy](https://github.com/RossComputerGuy) in [#​251](DeterminateSystems/flakehub-push#251) - Update `detsys-ts`: Merge pull request [#​109](DeterminateSystems/flakehub-push#109) from DeterminateSystems/tsup-to-tsdown by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​253](DeterminateSystems/flakehub-push#253) - Bump tracing-subscriber from 0.3.18 to 0.3.20 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​248](DeterminateSystems/flakehub-push#248) - Update Nix flake inputs by [@​github-actions](https://github.com/github-actions)\[bot] in [#​245](DeterminateSystems/flakehub-push#245) - fixup: allow overriding rev via --rev flag by [@​cole-h](https://github.com/cole-h) in [#​256](DeterminateSystems/flakehub-push#256) - Update `detsys-ts`: Merge pull request [#​114](DeterminateSystems/flakehub-push#114) from DeterminateSystems/dependabot/npm\_and\_yarn/npm-deps-47c548f420 by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​257](DeterminateSystems/flakehub-push#257) - Update Nix flake inputs by [@​github-actions](https://github.com/github-actions)\[bot] in [#​254](DeterminateSystems/flakehub-push#254) - Switch to secure packages by [@​lucperkins](https://github.com/lucperkins) in [#​258](DeterminateSystems/flakehub-push#258) - Grahamc/upgrade deps eslint use npm by [@​grahamc](https://github.com/grahamc) in [#​260](DeterminateSystems/flakehub-push#260) - Update Nix flake inputs by [@​github-actions](https://github.com/github-actions)\[bot] in [#​259](DeterminateSystems/flakehub-push#259) - Update Nix flake inputs by [@​github-actions](https://github.com/github-actions)\[bot] in [#​264](DeterminateSystems/flakehub-push#264) - Push olmrksvwrpko by [@​grahamc](https://github.com/grahamc) in [#​267](DeterminateSystems/flakehub-push#267) - Bump lodash from 4.17.21 to 4.17.23 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​265](DeterminateSystems/flakehub-push#265) - Update `detsys-ts`: Bump fast-xml-parser from 5.3.3 to 5.3.4 ([#​134](DeterminateSystems/flakehub-push#134)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​271](DeterminateSystems/flakehub-push#271) - Update `detsys-ts`: Bump the npm-deps group across 1 directory with 9 updates ([#​138](DeterminateSystems/flakehub-push#138)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​274](DeterminateSystems/flakehub-push#274) - Bump bytes from 1.7.1 to 1.11.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​270](DeterminateSystems/flakehub-push#270) - Enable provenance in CI by [@​lucperkins](https://github.com/lucperkins) in [#​278](DeterminateSystems/flakehub-push#278) - Update flake inputs by [@​lucperkins](https://github.com/lucperkins) in [#​279](DeterminateSystems/flakehub-push#279) - Update `detsys-ts`: Bump fast-xml-parser from 5.3.4 to 5.3.6 ([#​140](DeterminateSystems/flakehub-push#140)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​281](DeterminateSystems/flakehub-push#281) - Update `detsys-ts`: Fix default value for Action option ([#​144](DeterminateSystems/flakehub-push#144)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​285](DeterminateSystems/flakehub-push#285) - Use flake-schemas crate for output collection by [@​gustavderdrache](https://github.com/gustavderdrache) in [#​289](DeterminateSystems/flakehub-push#289) - fixup: update flake-schemas so we can see the stderr for execution errors by [@​cole-h](https://github.com/cole-h) in [#​292](DeterminateSystems/flakehub-push#292) - flake-schemas: 0.2.0 -> 0.3.0 for null what support by [@​grahamc](https://github.com/grahamc) in [#​294](DeterminateSystems/flakehub-push#294) - fix: defer OIDC token acquisition until after Nix evaluation by [@​flexiondotorg](https://github.com/flexiondotorg) in [#​276](DeterminateSystems/flakehub-push#276) - Update `detsys-ts`: Drop the old schemas and integrate the open PRs ([#​162](DeterminateSystems/flakehub-push#162)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​297](DeterminateSystems/flakehub-push#297) - Update deps by [@​grahamc](https://github.com/grahamc) in [#​299](DeterminateSystems/flakehub-push#299) - Update deps by [@​grahamc](https://github.com/grahamc) in [#​298](DeterminateSystems/flakehub-push#298) - unlisted: alias for clap by [@​grahamc](https://github.com/grahamc) in [#​300](DeterminateSystems/flakehub-push#300) - Update gix by [@​cole-h](https://github.com/cole-h) in [#​286](DeterminateSystems/flakehub-push#286) - Autodiscover the GitHub GraphQL API URL base by [@​cole-h](https://github.com/cole-h) in [#​301](DeterminateSystems/flakehub-push#301) - Update `detsys-ts`: Merge pull request [#​171](DeterminateSystems/flakehub-push#171) from DeterminateSystems/update-deps by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​304](DeterminateSystems/flakehub-push#304) - fixup: rewrite libiconv reference on macOS by [@​cole-h](https://github.com/cole-h) in [#​309](DeterminateSystems/flakehub-push#309) - Update `detsys-ts`: Populate group properties ([#​176](DeterminateSystems/flakehub-push#176)) by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​310](DeterminateSystems/flakehub-push#310) - Bump rustls-webpki from 0.103.10 to 0.103.13 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​308](DeterminateSystems/flakehub-push#308) - Bump fast-xml-builder from 1.1.5 to 1.2.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​312](DeterminateSystems/flakehub-push#312) - Bump rand from 0.8.5 to 0.8.6 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​306](DeterminateSystems/flakehub-push#306) - Bump gix from 0.80.0 to 0.83.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​311](DeterminateSystems/flakehub-push#311) - Update `detsys-ts`: Merge pull request [#​177](DeterminateSystems/flakehub-push#177) from DeterminateSystems/dependabot/npm\_and\_yarn/fast-xml-parser-5.7.3 by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​313](DeterminateSystems/flakehub-push#313) - Update `detsys-ts`: Merge pull request [#​181](DeterminateSystems/flakehub-push#181) from DeterminateSystems/update-node by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​316](DeterminateSystems/flakehub-push#316) - Update rand 0.9 to 0.9.4 by [@​cole-h](https://github.com/cole-h) in [#​318](DeterminateSystems/flakehub-push#318) - Provide pinning for GitHub Actions and cooldown for npm updates by [@​lucperkins](https://github.com/lucperkins) in [#​315](DeterminateSystems/flakehub-push#315) - Update `detsys-ts`: Merge pull request [#​182](DeterminateSystems/flakehub-push#182) from DeterminateSystems/actions-pinning by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​320](DeterminateSystems/flakehub-push#320) - Manually construct flake archive, update tar by [@​cole-h](https://github.com/cole-h) in [#​317](DeterminateSystems/flakehub-push#317) - Allow configuring the rolling major by [@​cole-h](https://github.com/cole-h) in [#​323](DeterminateSystems/flakehub-push#323) - fixup: use filesets by [@​cole-h](https://github.com/cole-h) in [#​328](DeterminateSystems/flakehub-push#328) - Drop cargo-watch by [@​cole-h](https://github.com/cole-h) in [#​337](DeterminateSystems/flakehub-push#337) - Update `detsys-ts`: Merge pull request [#​196](DeterminateSystems/flakehub-push#196) from DeterminateSystems/undici by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​336](DeterminateSystems/flakehub-push#336) - fixup: give required presigned headers directly to the client by [@​cole-h](https://github.com/cole-h) in [#​334](DeterminateSystems/flakehub-push#334) - Support uploading SBOMs associated with the uploaded flake by [@​cole-h](https://github.com/cole-h) in [#​350](DeterminateSystems/flakehub-push#350) - Update `detsys-ts`: Merge pull request [#​206](DeterminateSystems/flakehub-push#206) from DeterminateSystems/deps/dependabot-sweep by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​349](DeterminateSystems/flakehub-push#349) - build(deps): bump quinn-proto from 0.11.14 to 0.11.16 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​340](DeterminateSystems/flakehub-push#340) - Depend on detsys-ts from npm by [@​grahamc](https://github.com/grahamc) in [#​354](DeterminateSystems/flakehub-push#354) - Grahamc/otel by [@​grahamc](https://github.com/grahamc) in [#​357](DeterminateSystems/flakehub-push#357) - Update npm dependencies, fix esbuild advisory, and update flake inputs by [@​lucperkins](https://github.com/lucperkins) in [#​358](DeterminateSystems/flakehub-push#358) - Update `detsys-ts` to `v2.1.1` by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​360](DeterminateSystems/flakehub-push#360) - Update `detsys-ts` to `v2.1.2` by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​361](DeterminateSystems/flakehub-push#361) - Update `detsys-ts` to `v2.1.3` by [@​detsys-pr-bot](https://github.com/detsys-pr-bot) in [#​362](DeterminateSystems/flakehub-push#362) #### New Contributors - [@​github-actions](https://github.com/github-actions)\[bot] made their first contribution in [#​240](DeterminateSystems/flakehub-push#240) - [@​RossComputerGuy](https://github.com/RossComputerGuy) made their first contribution in [#​252](DeterminateSystems/flakehub-push#252) - [@​gustavderdrache](https://github.com/gustavderdrache) made their first contribution in [#​289](DeterminateSystems/flakehub-push#289) **Full Changelog**: <DeterminateSystems/flakehub-push@v6...v7> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYWN0aW9ucyIsImRlcCJdfQ==--> Reviewed-on: https://trev.zip/llc/bumper/pulls/37
Adds a rev parameter to allow for overriding the git revision. It is possible for FlakeHub to have a repo that is different than the one it was made from.
Summary by CodeRabbit
New Features
Documentation