bottlerocket-os / bottlerocket-os/bottlerocket-core-kit

Clean up extra dependencies added by zbus

Open
#674 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
34
Forks
77
Avg merge
2d 23h
Merged PRs (30d)
23

Description

Zbus was added as part of https://github.com/bottlerocket-os/bottlerocket-core-kit/pull/661 is merged, which brought a new set of dependencies that are newer than those in the current first party sources, specifically:

- nix
- rand
- rand_chacha
- rand_core
- winnow

I tried to update `nix` but it requires some refactor in `apiserver`, `apiclient` and `thar-be-updates`. I have not tried with all the others.

Contributor guide

Open the contributing guide

Research direction

Review pull request 661 and the current first-party dependency sources to see how zbus introduced nix, rand, rand_chacha, rand_core, and winnow. Then inspect the dependency usage in apiserver, apiclient, and thar-be-updates, starting with nix since the issue notes required refactoring there. Done means the redundant newer dependencies are cleaned up without breaking these components.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Refactor
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.