{"id":37431191,"url":"https://github.com/xapi-project/xs-opam","last_synced_at":"2026-02-19T15:04:44.781Z","repository":{"id":14736779,"uuid":"76967088","full_name":"xapi-project/xs-opam","owner":"xapi-project","description":"Opam repository for OCaml libraries to build Citrix Hypervisor toolstack components","archived":false,"fork":false,"pushed_at":"2026-01-16T15:48:27.000Z","size":3460,"stargazers_count":18,"open_issues_count":2,"forks_count":25,"subscribers_count":14,"default_branch":"master","last_synced_at":"2026-01-16T18:39:25.850Z","etag":null,"topics":["ocaml","opam","xenserver"],"latest_commit_sha":null,"homepage":"https://xapi-project.github.io/","language":"Shell","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/xapi-project.png","metadata":{"files":{"readme":"README.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":"2016-12-20T15:16:46.000Z","updated_at":"2026-01-13T11:14:49.000Z","dependencies_parsed_at":"2026-01-16T08:08:00.855Z","dependency_job_id":null,"html_url":"https://github.com/xapi-project/xs-opam","commit_stats":null,"previous_names":[],"tags_count":245,"template":false,"template_full_name":null,"purl":"pkg:github/xapi-project/xs-opam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xapi-project%2Fxs-opam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xapi-project%2Fxs-opam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xapi-project%2Fxs-opam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xapi-project%2Fxs-opam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xapi-project","download_url":"https://codeload.github.com/xapi-project/xs-opam/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xapi-project%2Fxs-opam/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29619224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ocaml","opam","xenserver"],"created_at":"2026-01-16T06:35:19.499Z","updated_at":"2026-02-19T15:04:44.763Z","avatar_url":"https://github.com/xapi-project.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Opam Repository for the xapi components of xenserver\n\n[![Build Status](https://github.com/xapi-project/xs-opam/actions/workflows/main.yml/badge.svg)](https://github.com/xapi-project/xs-opam/actions/workflows/main.yml)\n[![LCM Build Status](https://github.com/xapi-project/xs-opam/actions/workflows/lcm.yml/badge.svg)](https://github.com/xapi-project/xs-opam/actions/workflows/lcm.yml)\n[![LCM Scheduled Build Status](https://github.com/xapi-project/xs-opam/actions/workflows/yangtze-lcm.yml/badge.svg)](https://github.com/xapi-project/xs-opam/actions/workflows/yangtze-lcm.yml)\n[![Old LCM Scheduled Build Status](https://github.com/xapi-project/xs-opam/actions/workflows/stockholm-lcm.yml/badge.svg)](https://github.com/xapi-project/xs-opam/actions/workflows/stockholm-lcm.yml)\n\nThis [Opam] repository contains the [OCaml] components of the XenServer\ntoolstack and their upstream dependencies. This is just package metadata\n(not the actual source code) that tells [Opam] how to download source\ncode, compile, and install packages.\n\n## Using this OPAM Repository for Dev Work\n\nYou can add this Git repository as a remote [Opam] repository to your\nlocal [Opam] setup in order to install XenServer packages. See\nbelow for an alternative using Docker when you don't want to use [Opam]\nnatively. Please be aware that this is not giving you a working XenServer\ninstallation because this depends on other components. It is\nmost useful for development outside a build system for the complete\nXenServer distribution.\n\n```bash\nopam repo add xs-opam https://github.com/xapi-project/xs-opam.git\n```\n\n### Installing packages\n\nTo install all dependencies of xapi, use the xs-toolstack metapackage:\n\n```bash\nopam install -t xs-toolstack\n```\n\nAdditionally, there are developer tools, like utop, merlin or the lsp server:\n\n```bash\nopam install dev-tools\n```\n\n## Continuous Integration\n\nGithub Actions builds the entire universe represented by this Opam repository.\n\n[Opam]:    http://opam.ocaml.org\n[OCaml]:   http:/ocaml.org\n[Docker]:  https://www.docker.com/\n\n### Using xs-opam on github actions builds\n\nTo use the repository in github actions 3 steps are needed to set up the opam environment:\n- One to download the .env file\n- One to load it into the environment\n- One to initialize the opam environment\n\nHere's an example template for the standard `.github/workflows/main.yml`, package should be change to include the opam packages available in the repository and the build and test steps adapted to the repository.\n\n```yaml\nname: Build and test\n\non:\n  push:\n  pull_request:\n\njobs:\n  ocaml-test:\n    name: Ocaml tests\n    runs-on: ubuntu-20.04\n    env:\n      package: \"EXAMPLE-BINARY EXAMPLE-LIBRARY\"\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Pull configuration from xs-opam\n        run: |\n          curl --fail --silent https://raw.githubusercontent.com/xapi-project/xs-opam/master/tools/xs-opam-ci.env | cut -f2 -d \" \" \u003e .env\n\n      - name: Load environment file\n        id: dotenv\n        uses: falti/dotenv-action@v0.2.4\n\n      - name: Use ocaml\n        uses: avsm/setup-ocaml@v1\n        with:\n          ocaml-version: ${{ steps.dotenv.outputs.ocaml_version_full }}\n          opam-repository: ${{ steps.dotenv.outputs.repository }}\n\n      - name: Install dependencies\n        run: |\n          opam pin add . --no-action\n          opam depext -u ${{ env.package }}\n          opam install ${{ env.package }} --deps-only --with-test -v\n\n      - name: Build\n        run: |\n          opam exec -- ./configure\n          opam exec -- make\n\n      - name: Run tests\n        run: opam exec -- make test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxapi-project%2Fxs-opam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxapi-project%2Fxs-opam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxapi-project%2Fxs-opam/lists"}