Skip to content

Embedded stdlib - #120

Merged
aluzzardi merged 1 commit into
mainfrom
builtin-stdlib
Feb 17, 2021
Merged

aluzzardi merged 1 commit into
mainfrom
builtin-stdlib

Conversation

@aluzzardi

Copy link
Copy Markdown
Contributor

This PR embeds the stdlib into the dagger binary itself for convenience.
Long term we will want to source the stdlib directly from git.

  • Updated go to 1.16 to use the new built-in embedding functionality
  • The stdlib go package now contains an embed of the stdlib

/cc @shykes @verdverm

This PR embeds the stdlib into the dagger binary itself for convenience.
Long term we will want to source the stdlib directly from git.

- Updated go to 1.16 to use the new built-in embedding functionality
- The `stdlib` go package now contains an embed of the stdlib

Signed-off-by: Andrea Luzzardi <[email protected]>
@aluzzardi
aluzzardi merged commit eb0c0a9 into main Feb 17, 2021
@aluzzardi
aluzzardi deleted the builtin-stdlib branch February 17, 2021 18:16
shykes added a commit that referenced this pull request Jun 12, 2026
…state

The section's checkboxes had drifted — nearly everything implemented
shipped under a [ ] marker. Replace with explicit status legend:

  ✅ shipped on this branch
  🟡 partially shipped (different shape than design)
  ⬜ designed, not yet implemented

Categorized by surface area:
- Shipped — top-level / module / api / cloud / workspace / config /
  schema / flag rename / removals / hidden aliases
- 🟡 Partial — current --sdk-flag init shapes vs. designed positional
  dispatch (module init, api client init). Includes the note that
  --option on client init is dead plumbing today.
- ⬜ Not yet implemented — handoff items with task references:
  - dagger sdk top-level group (tasks #120, #122-#124)
  - init reshape to positional + dynamic SDK flags (tasks #125-#128)
  - initModule/initClient capability semantics + targetRuntime wiring
    (task #129)
  - dagger exec → dagger api exec (task #130)
  - cloneModuleAsSDK empty-marker preservation (task #121)
  - Default-SDK inference, SDK codegen regen, --option removal
- Known unfixed items reduced to just the legitimate one (workspace
  concept needs a one-liner definition).

Status line updated from "Proposed" to reflect actual landing state.
eunomie pushed a commit to eunomie/dagger that referenced this pull request Jun 16, 2026
…state

The section's checkboxes had drifted — nearly everything implemented
shipped under a [ ] marker. Replace with explicit status legend:

  ✅ shipped on this branch
  🟡 partially shipped (different shape than design)
  ⬜ designed, not yet implemented

Categorized by surface area:
- Shipped — top-level / module / api / cloud / workspace / config /
  schema / flag rename / removals / hidden aliases
- 🟡 Partial — current --sdk-flag init shapes vs. designed positional
  dispatch (module init, api client init). Includes the note that
  --option on client init is dead plumbing today.
- ⬜ Not yet implemented — handoff items with task references:
  - dagger sdk top-level group (tasks dagger#120, dagger#122-dagger#124)
  - init reshape to positional + dynamic SDK flags (tasks dagger#125-dagger#128)
  - initModule/initClient capability semantics + targetRuntime wiring
    (task dagger#129)
  - dagger exec → dagger api exec (task dagger#130)
  - cloneModuleAsSDK empty-marker preservation (task dagger#121)
  - Default-SDK inference, SDK codegen regen, --option removal
- Known unfixed items reduced to just the legitimate one (workspace
  concept needs a one-liner definition).

Status line updated from "Proposed" to reflect actual landing state.

Signed-off-by: Solomon Hykes <[email protected]>
eunomie pushed a commit to eunomie/dagger that referenced this pull request Jun 16, 2026
…state

The section's checkboxes had drifted — nearly everything implemented
shipped under a [ ] marker. Replace with explicit status legend:

  ✅ shipped on this branch
  🟡 partially shipped (different shape than design)
  ⬜ designed, not yet implemented

Categorized by surface area:
- Shipped — top-level / module / api / cloud / workspace / config /
  schema / flag rename / removals / hidden aliases
- 🟡 Partial — current --sdk-flag init shapes vs. designed positional
  dispatch (module init, api client init). Includes the note that
  --option on client init is dead plumbing today.
- ⬜ Not yet implemented — handoff items with task references:
  - dagger sdk top-level group (tasks dagger#120, dagger#122-dagger#124)
  - init reshape to positional + dynamic SDK flags (tasks dagger#125-dagger#128)
  - initModule/initClient capability semantics + targetRuntime wiring
    (task dagger#129)
  - dagger exec → dagger api exec (task dagger#130)
  - cloneModuleAsSDK empty-marker preservation (task dagger#121)
  - Default-SDK inference, SDK codegen regen, --option removal
- Known unfixed items reduced to just the legitimate one (workspace
  concept needs a one-liner definition).

Status line updated from "Proposed" to reflect actual landing state.

Signed-off-by: Solomon Hykes <[email protected]>
eunomie pushed a commit that referenced this pull request Jun 17, 2026
…state

The section's checkboxes had drifted — nearly everything implemented
shipped under a [ ] marker. Replace with explicit status legend:

  ✅ shipped on this branch
  🟡 partially shipped (different shape than design)
  ⬜ designed, not yet implemented

Categorized by surface area:
- Shipped — top-level / module / api / cloud / workspace / config /
  schema / flag rename / removals / hidden aliases
- 🟡 Partial — current --sdk-flag init shapes vs. designed positional
  dispatch (module init, api client init). Includes the note that
  --option on client init is dead plumbing today.
- ⬜ Not yet implemented — handoff items with task references:
  - dagger sdk top-level group (tasks #120, #122-#124)
  - init reshape to positional + dynamic SDK flags (tasks #125-#128)
  - initModule/initClient capability semantics + targetRuntime wiring
    (task #129)
  - dagger exec → dagger api exec (task #130)
  - cloneModuleAsSDK empty-marker preservation (task #121)
  - Default-SDK inference, SDK codegen regen, --option removal
- Known unfixed items reduced to just the legitimate one (workspace
  concept needs a one-liner definition).

Status line updated from "Proposed" to reflect actual landing state.

Signed-off-by: Solomon Hykes <[email protected]>
eunomie pushed a commit that referenced this pull request Jun 18, 2026
…state

The section's checkboxes had drifted — nearly everything implemented
shipped under a [ ] marker. Replace with explicit status legend:

  ✅ shipped on this branch
  🟡 partially shipped (different shape than design)
  ⬜ designed, not yet implemented

Categorized by surface area:
- Shipped — top-level / module / api / cloud / workspace / config /
  schema / flag rename / removals / hidden aliases
- 🟡 Partial — current --sdk-flag init shapes vs. designed positional
  dispatch (module init, api client init). Includes the note that
  --option on client init is dead plumbing today.
- ⬜ Not yet implemented — handoff items with task references:
  - dagger sdk top-level group (tasks #120, #122-#124)
  - init reshape to positional + dynamic SDK flags (tasks #125-#128)
  - initModule/initClient capability semantics + targetRuntime wiring
    (task #129)
  - dagger exec → dagger api exec (task #130)
  - cloneModuleAsSDK empty-marker preservation (task #121)
  - Default-SDK inference, SDK codegen regen, --option removal
- Known unfixed items reduced to just the legitimate one (workspace
  concept needs a one-liner definition).

Status line updated from "Proposed" to reflect actual landing state.

Signed-off-by: Solomon Hykes <[email protected]>
tiborvass pushed a commit that referenced this pull request Jun 19, 2026
…state

The section's checkboxes had drifted — nearly everything implemented
shipped under a [ ] marker. Replace with explicit status legend:

  ✅ shipped on this branch
  🟡 partially shipped (different shape than design)
  ⬜ designed, not yet implemented

Categorized by surface area:
- Shipped — top-level / module / api / cloud / workspace / config /
  schema / flag rename / removals / hidden aliases
- 🟡 Partial — current --sdk-flag init shapes vs. designed positional
  dispatch (module init, api client init). Includes the note that
  --option on client init is dead plumbing today.
- ⬜ Not yet implemented — handoff items with task references:
  - dagger sdk top-level group (tasks #120, #122-#124)
  - init reshape to positional + dynamic SDK flags (tasks #125-#128)
  - initModule/initClient capability semantics + targetRuntime wiring
    (task #129)
  - dagger exec → dagger api exec (task #130)
  - cloneModuleAsSDK empty-marker preservation (task #121)
  - Default-SDK inference, SDK codegen regen, --option removal
- Known unfixed items reduced to just the legitimate one (workspace
  concept needs a one-liner definition).

Status line updated from "Proposed" to reflect actual landing state.

Signed-off-by: Solomon Hykes <[email protected]>
TomChv added a commit that referenced this pull request Nov 26, 2026
v1.3.0 is the first release carrying #120, which has the bindings generators
style identifiers through the engine's `Naming.formatIdentifiers` rather than
guessing from schema names. v1.1.0's codegen guessed, and guessed wrong for API
newer than its own pairing: `ArtifactUriOpts` and `ImageMediaTypes.Oci` where
this engine says `ArtifactURIOpts` and `OCI`.

It also carries the codegen module (#149), so the renderer arrives as a
dependency instead of a `go build` recipe kept here — the thing the two sides
agreeing was never checked against.

Signed-off-by: Tom Chauveau <[email protected]>
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.

1 participant