{"id":50510309,"url":"https://github.com/dagger/dang-sdk","last_synced_at":"2026-06-24T19:01:19.857Z","repository":{"id":365905640,"uuid":"1244039741","full_name":"dagger/dang-sdk","owner":"dagger","description":"A SDK to develop with Dang, Dagger's native scripting language","archived":false,"fork":false,"pushed_at":"2026-06-02T16:42:21.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-19T13:04:44.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dagger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-19T23:00:47.000Z","updated_at":"2026-06-02T16:42:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dagger/dang-sdk","commit_stats":null,"previous_names":["dagger/dang-sdk"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dagger/dang-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagger%2Fdang-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagger%2Fdang-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagger%2Fdang-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagger%2Fdang-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dagger","download_url":"https://codeload.github.com/dagger/dang-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dagger%2Fdang-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34745456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-02T20:00:22.165Z","updated_at":"2026-06-24T19:01:19.846Z","avatar_url":"https://github.com/dagger.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# dang-sdk\n\nA Dagger module for managing Dagger modules that use the built-in Dang SDK.\n\nThe Dagger CLI ships without built-in module-management commands like `init`\nor `develop`. Those operations live in SDK-specific modules like this one,\ncalled through `dagger call`.\n\nBacked by [`github.com/dagger/sdk-sdk/polyfill`](https://github.com/dagger/sdk-sdk/tree/main/polyfill).\n\n## Install\n\nFrom your workspace root:\n\n```sh\ndagger install github.com/dagger/dang-sdk\n```\n\nAfter install, the module is available in `dagger call` as `dang-sdk`.\n\nCalls that return a `Changeset` will print the diff and prompt you to confirm\nbefore writing anything to your workspace.\n\n## Create A New Module\n\nCreate a Dang SDK module under the nearest `.dagger/modules/\u003cname\u003e/`:\n\n```sh\ndagger call dang-sdk init --name my-module\n```\n\nPick a different location:\n\n```sh\ndagger call dang-sdk init --name my-module --path some/dir/my-module\n```\n\n`init` only seeds template files. Run `mod ... generate` to refresh generated\nSDK files when generation produces any.\n\n## Generate SDK Files\n\nFor a single module:\n\n```sh\ndagger call dang-sdk mod --path my-module generate\n```\n\nFor every Dang SDK module in the workspace, skipping any with a\n`.dagger-dang-sdk-skip-generate` marker at or above the module root:\n\n```sh\ndagger call dang-sdk generate-all\n```\n\n## Manage Dependencies\n\nList:\n\n```sh\ndagger call dang-sdk mod --path my-module deps list\n```\n\nAdd:\n\n```sh\ndagger call dang-sdk mod --path my-module \\\n    deps add --source github.com/some/module\n```\n\nAdd with a custom local name:\n\n```sh\ndagger call dang-sdk mod --path my-module \\\n    deps add --source github.com/some/module --name alias\n```\n\nRemove by name or source:\n\n```sh\ndagger call dang-sdk mod --path my-module deps remove --name alias\n```\n\nUpdate one remote dependency, or all of them:\n\n```sh\ndagger call dang-sdk mod --path my-module deps update\ndagger call dang-sdk mod --path my-module deps update --name some-dep\n```\n\n## Manage The Required Engine Version\n\n```sh\n# Read the version pinned in dagger.json\ndagger call dang-sdk mod --path my-module engine required\n\n# Pin to a specific version\ndagger call dang-sdk mod --path my-module engine require --version 0.20.8\n\n# Pin to the engine version you're currently running\ndagger call dang-sdk mod --path my-module engine require-current\n\n# Pin to \"latest\"\ndagger call dang-sdk mod --path my-module engine require-latest\n```\n\n## Discover Modules In A Workspace\n\n```sh\ndagger call dang-sdk modules path\n```\n\nSee [`dang-sdk.dang`](./dang-sdk.dang) for the full type surface.\n\n## Skipping Generation\n\nTo exclude a directory tree from `generate-all`, drop an empty\n`.dagger-dang-sdk-skip-generate` file at or above the module root. Useful for\nfixtures, vendored modules, or anything you do not want regenerated in bulk.\n\n```sh\ntouch some/fixture/.dagger-dang-sdk-skip-generate\n```\n\n## Test\n\nRun shared SDK helper contract checks from this repository with:\n\n```sh\ndagger -m github.com/dagger/sdk-sdk check\n```\n\nRun this repo's e2e module with:\n\n```sh\ndagger -m .dagger/modules/e2e check\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdagger%2Fdang-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdagger%2Fdang-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdagger%2Fdang-sdk/lists"}