{"id":43963120,"url":"https://github.com/danceaway-app/vcpkg","last_synced_at":"2026-06-13T05:01:24.749Z","repository":{"id":333691822,"uuid":"902644396","full_name":"danceaway-app/vcpkg","owner":"danceaway-app","description":"Collection of libraries used in DanceAway projects","archived":false,"fork":false,"pushed_at":"2026-04-15T07:56:43.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-16T22:38:34.678Z","etag":null,"topics":["react-native","sqlite","sqlite-vec","vcpkg"],"latest_commit_sha":null,"homepage":"","language":"CMake","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/danceaway-app.png","metadata":{"files":{"readme":".github/readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-12-13T01:28:49.000Z","updated_at":"2026-04-09T00:49:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/danceaway-app/vcpkg","commit_stats":null,"previous_names":["danceaway-app/vcpkg"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/danceaway-app/vcpkg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danceaway-app%2Fvcpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danceaway-app%2Fvcpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danceaway-app%2Fvcpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danceaway-app%2Fvcpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danceaway-app","download_url":"https://codeload.github.com/danceaway-app/vcpkg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danceaway-app%2Fvcpkg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34272603,"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-13T02:00:06.617Z","response_time":62,"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":["react-native","sqlite","sqlite-vec","vcpkg"],"created_at":"2026-02-07T06:03:48.518Z","updated_at":"2026-06-13T05:01:24.696Z","avatar_url":"https://github.com/danceaway-app.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vcpkg\n\n[Package a public Github repo](https://learn.microsoft.com/en-gb/vcpkg/examples/packaging-github-repos)\n\n## Init registry\n\n- Create repo\n- Create `ports` and `versions` directories\n- Create `versions/baseline.json`\n\n## Add / modify a package\n\n- Add `ports/\u003cname\u003e/portfile.cmake` with a CMake instructions on how to obtain the sources\n- Add `ports/\u003cname\u003e/vcpkg.json` with the package details and dependencies\n- Add patches if required\n- Add `ports/\u003cname\u003e/CMakeLists.txt` with build instructions\n- Test the build with `vcpkg install \u003cportname\u003e --overlay-ports=./port/\u003cname\u003e`\n- Commit port content\n- Add `versions/\u003cfirst-letter-of-name-and-minus\u003e/\u003cname\u003e.json` with the desired version and point git-tree field to the commit of the port, using an output of `git rev-parse HEAD:ports/\u003cname\u003e`\n- Add (if it's the first one added) or update package's version in `versions/baseline.json` (it always points to the latest within the registry)\n- `vcpkg --x-builtin-ports-root=./ports --x-builtin-registry-versions-dir=./versions x-add-version --all --verbose` in the root directory\n\n### Devcontainer commands\n\nClang\n```sh\n# vcpkg --help\n# vcpkg install --debug --clean-buildtrees-after-build --no-print-usage --overlay-ports=./ports/ \u003cportname\u003e\n# vcpkg x-ci-clean\n# vcpkg x-add-version --x-builtin-ports-root=./ports --x-builtin-registry-versions-dir=./versions --all --verbose\ndevcontainer up --config=.devcontainer/clang/devcontainer.json --remove-existing-container --id-label=label=vcpkg-clang --workspace-folder .\n# devcontainer exec --id-label=label=vcpkg-clang --config=.devcontainer/clang/devcontainer.json --workspace-folder . \u003ccommand\u003e\ndevcontainer exec --id-label=label=vcpkg-clang --config=.devcontainer/clang/devcontainer.json --workspace-folder . vcpkg install --debug --clean-buildtrees-after-build --no-print-usage --overlay-ports=./ports/ hermes\ndevcontainer exec --id-label=label=vcpkg-clang --config=.devcontainer/clang/devcontainer.json --workspace-folder . vcpkg x-ci-clean\ndevcontainer exec --id-label=label=vcpkg-clang --config=.devcontainer/clang/devcontainer.json --workspace-folder . vcpkg remove hermes\ndevcontainer exec --id-label=label=vcpkg-clang --config=.devcontainer/clang/devcontainer.json --workspace-folder . vcpkg x-add-version --x-builtin-ports-root=./ports --x-builtin-registry-versions-dir=./versions  --all --verbose\n```\n\nGCC\n```sh\n# vcpkg --help\n# vcpkg install --debug --clean-buildtrees-after-build --no-print-usage --overlay-ports=./ports/ \u003cportname\u003e\n# vcpkg x-ci-clean\n# vcpkg x-add-version --x-builtin-ports-root=./ports --x-builtin-registry-versions-dir=./versions --all --verbose\ndevcontainer up --config=.devcontainer/gnu/devcontainer.json --remove-existing-container --id-label=label=vcpkg-gcc --workspace-folder .\n# devcontainer exec --id-label=label=vcpkg-gcc --config=.devcontainer/gnu/devcontainer.json --workspace-folder . \u003ccommand\u003e\ndevcontainer exec --id-label=label=vcpkg-gcc --config=.devcontainer/gnu/devcontainer.json --workspace-folder . vcpkg install --debug --clean-buildtrees-after-build --no-print-usage --overlay-ports=./ports/ hermes\ndevcontainer exec --id-label=label=vcpkg-gcc --config=.devcontainer/gnu/devcontainer.json --workspace-folder . vcpkg x-ci-clean\ndevcontainer exec --id-label=label=vcpkg-gcc --config=.devcontainer/gnu/devcontainer.json --workspace-folder . vcpkg remove hermes\ndevcontainer exec --id-label=label=vcpkg-gcc --config=.devcontainer/gnu/devcontainer.json --workspace-folder . vcpkg x-add-version --x-builtin-ports-root=./ports --x-builtin-registry-versions-dir=./versions  --all --verbose\n```\n\n### Example\n\nImagine that we're at the moment of RN 0.76.6 release, while this registry points to the RN 0.76.5 as the latest. Our goal is to update `react-native-jsi` port to the latest version.\n\n- Prerequisites: `vcpkg` binary or container (`ghcr.io/danceaway-app/vcpkg:latest`), `danceaway-app/vcpkg` repo cloned\n- Modify `ports/react-native-jsi/portfile.cmake`: set `REF` to the new tag, 0.76.6; set `SHA512` to any value, like 0\n- Modify `ports/react-native-jsi/vcpkg.json`: set `version-string` to the new tag, 0.76.6\n- If any dependencies like folly are updated, change them accordingly\n- Run `devcontainer up --workspace-folder .` once to setup build container (CLang and vcpkg environment)\n- Run `devcontainer exec --workspace-folder . vcpkg install react-native-jsi --overlay-ports=./ports/react-native-jsi` to evaluate new version - could you build it. If there are any errors, review output and logs (recommended to attach to building container in a separate terminal and troubleshoot build issues\n- There would be at least one error caused by the `SHA512` being set to 0 previously. In the output the correct hash is printed, use it to modify `portfile.cmake`'s `SHA512` (this is DA official WAY, btw)\n- If needed, build state in the container could be reset with `devcontainer exec --workspace-folder . vcpkg x-ci-clean` (other commands are described by `vcpkg help commands`)\n- Once the new version builds and installed, commit changes in the `port` directory. I suggest to form commit message as \"[react-native-jsi] 0.76.6 port files\"\n- Now, adding the changes to the history (baseline) could be done either manually or by vcpkg command, choose your poison:\n- Manually:\n    - Run `git rev-parse HEAD:ports/react-native-jsi` to obtain commit hash\n    - Modify `versions/r-/react-native-jsi.json`: add new version object, use commit hash from previous step to fill `git-tree` field value\n    - Modify `versions/baseline.json`: change `baseline` version to the latest, 0.76.6 in this example\n    - Commit change in the `versions` directory. I suggest to form commit message as \"[react-native-jsi] 0.76.6 add to baseline\"\n    - Run `devcontainer exec --workspace-folder . vcpkg x-add-version --x-builtin-ports-root=./ports --x-builtin-registry-versions-dir=./versions --all --verbose`: if everything is done correctly, green output is printed. Otherwise, error in red would be present and (!) versions in baseline.json and react-native-jsi.json would be reverted\n- Via vcpkg:\n    - Run `devcontainer exec --workspace-folder . vcpkg x-add-version --x-builtin-ports-root=./ports --x-builtin-registry-versions-dir=./versions --all --verbose`\n    - Commit change in the `versions` directory. I suggest to form commit message as \"[react-native-jsi] 0.76.6 add to baseline\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanceaway-app%2Fvcpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanceaway-app%2Fvcpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanceaway-app%2Fvcpkg/lists"}