Skip to content

chore: Import config-utils - #1268

Merged
Techassi merged 33 commits into
mainfrom
chore/import-config-utils
Sep 1, 2026
Merged

chore: Import config-utils#1268
Techassi merged 33 commits into
mainfrom
chore/import-config-utils

Conversation

@Techassi

@Techassi Techassi commented Aug 25, 2026

Copy link
Copy Markdown
Member

This PR imports config-utils, similar to what we already did for containerdebug back in #1233.

Originally implemented in and imported from https://github.com/stackabletech/config-utils.

Import commands
cd /tmp

git clone git@github.com:stackabletech/config-utils.git
git clone git@github.com:stackabletech/operator-rs.git

touch message.py
touch committer.py

cd config-utils
git filter-repo \
  --path src/ \
  --path tests/ \
  --path .gitattributes \
  --path .gitignore \
  --path Cargo.toml \
  --path README.md \
  --path CHANGELOG.md \
  --path LICENSE \
  --message-callback ../message.py \
  --commit-callback ../committer.py \
  --to-subdirectory-filter \
  crates/config-util

cd ../operator-rs
git remote add config-utils ../config-utils
git fetch config-utils --no-tags
git merge --allow-unrelated-histories --message "chore: Import config-utils" config-utils/main
git rebase --exec 'git commit --amend --no-edit --no-verify' origin/main
git checkout -b chore/import-config-utils
# Do cleanup/integration
git push

See more details here: https://github.com/stackabletech/snippets/blob/main/snippets/import-repo-into-repo.md

@Techassi Techassi self-assigned this Aug 25, 2026
sbernauer and others added 29 commits August 26, 2026 15:29
Originally implemented in and imported from https://github.com/stackabletech/config-utils
Originally implemented in and imported from https://github.com/stackabletech/config-utils
Originally implemented in and imported from https://github.com/stackabletech/config-utils
Originally implemented in and imported from https://github.com/stackabletech/config-utils
Originally implemented in and imported from https://github.com/stackabletech/config-utils
Originally implemented in and imported from https://github.com/stackabletech/config-utils
* feat: Support escaped command invocations (as needed by Druid)

* refactor

Originally implemented in and imported from stackabletech/config-utils#8
Originally implemented in and imported from stackabletech/config-utils#9
* Bump Rust to 1.93.0 and dependecies

Also add deny.toml, so `cargo deny check` passes

* clippy

* Bump Rust in CI as well

* Bump snafu

Originally implemented in and imported from stackabletech/config-utils#12
* chore: Dependecy bumps

* Bump to Rust 2024 edition

* changelog

* cargo fmt

* Replace `lazy_static` with `std::sync::LazyLock`

Originally implemented in and imported from stackabletech/config-utils#13
0.3.0 was only release as tag (but not in the Cargo.toml), so we
actually need to release 0.4.0 instead of 0.3.0

Originally implemented in and imported from stackabletech/config-utils#14
* chore: Bump dependencies

* chore: Add changelog entry

Originally implemented in and imported from stackabletech/config-utils#15
Originally implemented in and imported from stackabletech/config-utils#16
@Techassi
Techassi force-pushed the chore/import-config-utils branch from b4a57a9 to 13c94dd Compare August 26, 2026 15:03
@Techassi Techassi moved this to Development: Waiting for Review in Stackable Engineering Aug 27, 2026
@Techassi
Techassi marked this pull request as ready for review August 27, 2026 06:31
dervoeti
dervoeti previously approved these changes Aug 31, 2026

@dervoeti dervoeti left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one optional nit

Comment thread crates/config-utils/Cargo.toml Outdated
Version 0.10.1 was yanked and reported by cargo-deny.
@Techassi Techassi moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Sep 1, 2026
@Techassi
Techassi added this pull request to the merge queue Sep 1, 2026
@Techassi Techassi moved this from Development: In Review to Development: Done in Stackable Engineering Sep 1, 2026
Merged via the queue into main with commit f0ccfb0 Sep 1, 2026
5 checks passed
@Techassi
Techassi deleted the chore/import-config-utils branch September 1, 2026 12:22
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

5 participants