Skip to content

chore: Remove tools directory#10

Merged
bschimke95 merged 1 commit into
mainfrom
KU-5058/move-k8sd-out-of-snap-regctl
Jan 30, 2026
Merged

chore: Remove tools directory#10
bschimke95 merged 1 commit into
mainfrom
KU-5058/move-k8sd-out-of-snap-regctl

Conversation

@bschimke95

@bschimke95 bschimke95 commented Jan 30, 2026

Copy link
Copy Markdown
Collaborator

The tools directory contains the reg* utils. The idea of shipping it as
part of the k8sd code was to track this dependency. However, we never
really used that tool apart e.g. from airgapped instructions.
We decided to remove this tools and instead update the documentation.

Related k8s-snap PR: canonical/k8s-snap#2348

Copilot AI review requested due to automatic review settings January 30, 2026 10:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a Makefile-driven workflow for building and shipping external registry tooling binaries (regctl/regsync) as part of the project, removing the prior “go run” wrapper scripts.

Changes:

  • Removed tools/regsync.sh and tools/regctl.sh wrapper scripts that executed tools via go run.
  • Added make tools targets to build regsync and regctl into tools/bin/.
  • Added tools/README.md and tools/.gitignore to document and ignore built tool binaries.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tools/regsync.sh Removed go run wrapper for regsync.
tools/regctl.sh Removed go run wrapper for regctl.
tools/README.md Documents how to build tools and what they’re used for.
tools/.gitignore Ignores generated tool binaries under tools/bin/.
Makefile Adds tools build targets and cleans $(TOOLS_DIR)/bin.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread tools/README.md Outdated
The tools directory contains the reg* utils. The idea of shipping it as
part of the k8sd code was to track this dependency. However, we never
really used that tool apart e.g. from airgapped instructions.
We decided to remove this tools and instead update the documentation.
@bschimke95 bschimke95 force-pushed the KU-5058/move-k8sd-out-of-snap-regctl branch from b8e1912 to 6da5da2 Compare January 30, 2026 10:41
@bschimke95 bschimke95 changed the title build: Create k8sd tools via Makefile chore: Remove tools directory Jan 30, 2026

@berkayoz berkayoz 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.

LGTM

@bschimke95 bschimke95 merged commit 2c535e0 into main Jan 30, 2026
7 checks passed
@bschimke95 bschimke95 deleted the KU-5058/move-k8sd-out-of-snap-regctl branch January 30, 2026 11:01
ktsakalozos-canonical pushed a commit that referenced this pull request May 28, 2026
The tools directory contains the reg* utils. The idea of shipping it as
part of the k8sd code was to track this dependency. However, we never
really used that tool apart e.g. from airgapped instructions.
We decided to remove this tools and instead update the documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants