{"id":51182052,"url":"https://github.com/gepheum/skir-zig-client","last_synced_at":"2026-06-27T07:30:42.867Z","repository":{"id":353857688,"uuid":"1221139290","full_name":"gepheum/skir-zig-client","owner":"gepheum","description":"Runtime dependency for Zig code generated from .skir files","archived":false,"fork":false,"pushed_at":"2026-04-25T21:57:09.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-25T23:31:11.686Z","etag":null,"topics":["codegen","rpc-framework","serialization","skir","zig"],"latest_commit_sha":null,"homepage":"https://skir.build/","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gepheum.png","metadata":{"files":{"readme":"README.dev.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04-25T20:01:46.000Z","updated_at":"2026-04-25T21:57:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gepheum/skir-zig-client","commit_stats":null,"previous_names":["gepheum/skir-zig-client"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gepheum/skir-zig-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gepheum%2Fskir-zig-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gepheum%2Fskir-zig-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gepheum%2Fskir-zig-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gepheum%2Fskir-zig-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gepheum","download_url":"https://codeload.github.com/gepheum/skir-zig-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gepheum%2Fskir-zig-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34845749,"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-27T02:00:06.362Z","response_time":126,"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":["codegen","rpc-framework","serialization","skir","zig"],"created_at":"2026-06-27T07:30:42.229Z","updated_at":"2026-06-27T07:30:42.859Z","avatar_url":"https://github.com/gepheum.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Publishing skir_client to the Zig Package Manager\n\nZig does not have a central hosted registry (like crates.io or Hex.pm).\nPackages are distributed as **GitHub releases** and referenced by URL + hash\nin consumers' `build.zig.zon`. The steps below describe the full release flow.\n\n## Prerequisites\n\n- Zig 0.15.0 or later installed locally (`zig version`)\n- Push access to the `gepheum/skir` GitHub repository (or your fork)\n- The GitHub Actions workflows in `.github/workflows/` already handle CI and\n  release creation automatically once you push a tag\n\n## Release process\n\n### 1. Update the version\n\nEdit `build.zig.zon` and increment `.version`:\n\n```zig\n.version = \"0.2.0\",\n```\n\n### 2. Run local checks\n\n```sh\n./pre_commit.sh\n```\n\nThis verifies formatting and runs tests in both `Debug` and `ReleaseSafe` modes.\n\n### 3. Commit and tag\n\n```sh\ngit add build.zig.zon\ngit commit -m \"chore: release v0.2.0\"\ngit tag v0.2.0\ngit push origin main --tags\n```\n\nPushing the tag triggers the `deploy.yml` workflow which:\n- Re-runs the tests\n- Creates a GitHub Release with auto-generated release notes\n\n### 4. Obtain the package hash (for the release notes / consumers)\n\nAfter the release is published, fetch the hash so consumers can paste it into\ntheir `build.zig.zon`:\n\n```sh\nzig fetch https://github.com/gepheum/skir/archive/refs/tags/v0.2.0.tar.gz\n```\n\nThis prints a `.hash` value. Include it in the release description so users\ncan reference the package without running `zig fetch` themselves.\n\n## How consumers add this package\n\nIn their project's `build.zig.zon`:\n\n```zig\n.dependencies = .{\n    .skir_client = .{\n        .url = \"https://github.com/gepheum/skir/archive/refs/tags/v0.2.0.tar.gz\",\n        .hash = \"\u003chash printed by zig fetch\u003e\",\n    },\n},\n```\n\nAnd in their `build.zig`:\n\n```zig\nconst skir_client = b.dependency(\"skir_client\", .{\n    .target = target,\n    .optimize = optimize,\n});\nexe.root_module.addImport(\"skir_client\", skir_client.module(\"skir_client\"));\n```\n\n## Optional: list on zigpm.dev\n\nThe community index at \u003chttps://zigpm.dev\u003e lets users discover Zig packages.\nTo list `skir_client`:\n\n1. Go to \u003chttps://zigpm.dev/submit\u003e (or follow the instructions on the site).\n2. Provide the GitHub repository URL.\n3. The index will track future releases automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgepheum%2Fskir-zig-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgepheum%2Fskir-zig-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgepheum%2Fskir-zig-client/lists"}