oxidecomputer / oxidecomputer/omicron

Make renovate work with cargo-hakari

Open
#4,166 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Description

The workspace-hack package results in two issues with dependabot:

  1. For some updates, the workspace-hack would need to be regenerated. A workaround is to fetch the branch locally, then run cargo hakari generate and push it to the branch.
  2. Dependabot will try and do updates to crates that are only referred to in workspace-hack.

We can solve both these issues with Renovate's support for excluding particular paths, and running post-upgrade commands.

Useful links:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository's existing dependency automation and the linked Renovate GitHub Action, post-upgrade task, and ignorePaths documentation. Confirm how cargo-hakari generates workspace-hack and which crates it references. Done means Renovate can update dependencies, regenerate workspace-hack before committing, and avoid updating crates referenced only there.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, rust
Domain
build-system, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.