Skip to content

Add sourcetool package, move setup logic #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 21, 2025
Merged

Conversation

puerco
Copy link
Collaborator

@puerco puerco commented Jun 21, 2025

This PR introduces the public package sourcetool that is intended to expose the tool's functionality as a public API.

Internally, the tool implementation uses a mockable interface that, in this PR, only exposes one method. The upcoming PRs will start adding the repository onboarding logic to the tool implementation.

The single method included moves the sourcetool status logic to the new package with the aim of making the CLI just a thin layer that calls the new sourcetool package.

Signed-off-by: Adolfo García Veytia (Puerco) puerco@carabiner.dev

puerco added 3 commits June 20, 2025 23:01

Unverified

The signing certificate or its chain could not be verified.
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@carabiner.dev>

Unverified

The signing certificate or its chain could not be verified.
This commit introduces the sourcetool package which is intended to expose
the tool's functionality as a stable public API. This initial commit contains
just one method that moves the logic that is currently implemented in the
status subcommand.

Signed-off-by: Adolfo García Veytia (Puerco) <puerco@carabiner.dev>

Unverified

The signing certificate or its chain could not be verified.
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@carabiner.dev>
@puerco puerco merged commit f12f128 into slsa-framework:main Jun 21, 2025
2 checks passed
@puerco puerco deleted the setup branch June 21, 2025 06:30
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.

None yet

1 participant