Skip to content

chore: Import config-utils - #1268

Open
Techassi wants to merge 31 commits into
mainfrom
chore/import-config-utils
Open

chore: Import config-utils#1268
Techassi wants to merge 31 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

I will post a more detailed write-up of the process and the contents of the Python files soon.

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: Waiting for Review

Development

Successfully merging this pull request may close these issues.

3 participants