Skip to content

Navigation Menu

Sign in
Sign up

refactor: update core/ scripts and add confdb support - #25

Open
st3v3nmw wants to merge 2 commits into
canonical:main from
st3v3nmw:update-core-scripts-to-use-modern-snap-http
Open

refactor: update core/ scripts and add confdb support #25
st3v3nmw wants to merge 2 commits into
canonical:main from
st3v3nmw:update-core-scripts-to-use-modern-snap-http

Conversation

@st3v3nmw

@st3v3nmw st3v3nmw commented Apr 17, 2026
edited
Loading

Copy link
Copy Markdown
Member

The snap_http library has gained first-class support for operations that previously required dropping down to raw snapd socket calls or calling internal methods like snap_http.http.get() directly. Things like fetching logs and connecting interfaces now have proper high level APIs.

The example scripts in core/ were written before many of these improvements landed, so this PR migrates them to use the snap_http API as it stands today. It also reorganizes core/ into subdirectories that better reflect what each script does and updates the README to match.


This PR also introduces a new core/confdb/ section covering the full confdb workflow: enabling experimental flags, acknowledging a confdb-schema assertion, getting and setting confdb view values, delegating & revoking operator access, and retrieving the resulting confdb-control assertion.

@st3v3nmw st3v3nmw changed the title (削除) refactor: update core/ scripts to use modern snap_http (削除ここまで) (追記) refactor: update core/ scripts and add confdb support (追記ここまで) Apr 21, 2026

Copy link
Copy Markdown
Member Author

Hey @rajannpatel, @wck0, @Perfect5th, requesting a review for this.

rajannpatel reacted with eyes emoji

Copy link
Copy Markdown
Collaborator

On the surface, this looks like a huge leap forward. @wck0 or @Perfect5th should weigh in

st3v3nmw reacted with thumbs up emoji

Perfect5th commented Apr 21, 2026
edited
Loading

Copy link
Copy Markdown

This is really great and I hope I have time to test the scripts out soon, but I don't think we can merge until they are validated.

I kind of wish this repository had some kind of automated testing.

st3v3nmw reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /