Skip to main content

Contributing and releases

How to report a problem, propose a change across the repository and its forks, keep the docs in step, and make a release.

Report a problem

Open an issue at github.com/0xMuluh/omicsbase/issues. Every page of these docs also has a “Report an issue” link.

A good issue is short:

  1. What you did.
  2. What you expected.
  3. What happened instead, with the exact error text.
  4. Where: omicsbase.utu.fi or a local install, and which version.

Keep problems in separate issues, one each.

Branches

  1. Start from the current main of the omicsbase repository.
  2. Name the branch after the kind of change: feat/… for a feature, fix/… for a bug fix, docs/… for docs only, chore/… for upkeep. For example fix/install-progress-memory-arm.

Changes in a fork

If your change touches librechat/ or openhands/, it needs two pull requests: one in the fork, one in the omicsbase repository.

  1. Inside the submodule, start from the fork’s working branch:

    Submodule Start from
    librechat/ chore/librechat-upstream-20261021
    openhands/ chore/openhands-v1.41.0
  2. Use the same branch name in the fork and in the omicsbase repository, so the pair is easy to find.

  3. Open the fork’s pull request against that working branch.

  4. After it is merged, check out the merge commit inside the submodule.

  5. Commit the new submodule pointer in the omicsbase repository and open that pull request. Name the fork pull request in its description.

Pull requests

Keep the description short: what changed and why, in a few lines. The template asks one question: does this change what users or self-hosters see?

Update the docs in the same pull request

If your change alters what users or self-hosters see, update the docs page in the same pull request. Tick the box in the template, or say that no page is affected.

For a change in a fork, the docs live in the omicsbase repository. Put the docs change in the omicsbase pull request that moves the submodule pointer, and link the two.

The docs check

The workflow .github/workflows/docs.yml runs on every pull request that touches docs/, scripts/build_changelog.sh or the workflow itself. It:

  1. Writes the changelog from the GitHub releases.
  2. Renders the site with Quarto 1.11 and the publish profile.
  3. Checks that llms.txt was written.
  4. Checks every link between the site’s own pages, with the link checker lychee.

The pull request fails on a render error or a broken link. The same check runs on pushes to main. A weekly run, and a manual run, also check links to other sites.

To catch problems before you push, preview the site locally; see Preview these docs.

The engine image check

The workflow .github/workflows/engine-image.yml runs on every pull request that touches engine/ or knowledge/, and on every release tag. It builds knowledge.db from the pinned books in knowledge/sources.json and the committed help pages in engine/knowledge/package_docs.json, builds the engine image, runs each file in engine/tests inside it, and loads a few R packages as a random user in group 0, as on LUMI-K. It also extracts the help pages, vignettes and exports of the image’s R packages with scripts/build_package_knowledge.py and uploads them as the package-knowledge artifact; when the R packages change, commit its two files to engine/knowledge/. On a pull request it pushes nothing; on a release tag it pushes the engine image (see Make a release). The run takes about 35 minutes.

Make a release

A release is three things with the same version name, for example 2026.11.22:

  • the images, pushed to ghcr.io/0xmuluh/omicsbase-librechat, omicsbase-engine and omicsbase-reports with that tag and with latest;
  • a Git tag on the released commit of main;
  • a GitHub release with notes generated from the merged pull requests.

Local installs take their images by this name: OMICSBASE_VERSION in their .env is latest unless set to a version.

1. Build the images

  1. Check out the commit of main you want to release, with its submodules:

    git switch --detach <sha>
    git submodule update --init --recursive
  2. Build the Reports and LibreChat images, as in Build the images and Run the local install with your own images. The engine image is built in CI when you push the tag in step 3.

    python3 scripts/build_openhands.py --context default
    python3 scripts/build_librechat.py --context default
  3. Test them in a local install with OMICSBASE_VERSION=dev, as in Run the local install with your own images.

2. Push the images

  1. Sign in to the GitHub container registry with a token that has write:packages:

    docker login ghcr.io
  2. Tag and push each image with the version and with latest. For Reports:

    docker tag omicsbase-openhands:dev ghcr.io/0xmuluh/omicsbase-reports:<version>
    docker tag omicsbase-openhands:dev ghcr.io/0xmuluh/omicsbase-reports:latest
    docker push ghcr.io/0xmuluh/omicsbase-reports:<version>
    docker push ghcr.io/0xmuluh/omicsbase-reports:latest
  3. Do the same for omicsbase-librechat:<commit> as ghcr.io/0xmuluh/omicsbase-librechat.

3. Tag and publish the release

  1. Tag the released commit and push the tag:

    git tag <version> <sha>
    git push origin <version>
  2. Create the GitHub release, with notes generated from the merged pull requests:

    gh release create <version> --target <sha> --generate-notes

    gh prints the address of the new release.

  3. The tag starts the Engine image workflow, which builds, tests and pushes ghcr.io/0xmuluh/omicsbase-engine:<version> and latest in about 35 minutes. Check it with gh run list --workflow engine-image.yml --limit 1.

4. Publish the docs

  1. Publish the docs for this version:

    OMICSBASE_VM=<user>@<host> scripts/publish_docs.sh <version>

    It ends with:

    Published: https://omicsbase.utu.fi/docs/ and /docs/<version>/

The script first rebuilds docs/changelog.qmd from the GitHub releases (scripts/build_changelog.sh), so the new release appears on the Changelog. It then copies the site to /docs/ and keeps a copy at /docs/<version>/. See Publish the docs for what it needs.

The Reports image for Roihu and own computers

Roihu jobs and attached computers use a different image, built from deployment/roihu/Dockerfile. It is published to ghcr.io/0xmuluh/omicsbase-reports under its own tags, such as v1.41.0-roihu4. Installs choose it with ROIHU_IMAGE_TAG. See Reports on Roihu for how to build and roll it out.

Licence

  • Original OmicsBase code is under the MIT licence.
  • LibreChat’s MIT licence is kept in licenses/LIBRECHAT-LICENSE.
  • OpenHands’ notices are kept in licenses/OPENHANDS-LICENSE.
  • The vendored Prism syntax highlighter’s licence is kept in licenses/PRISM-LICENSE.
  • The books in the knowledge index keep their own licences. They are listed in knowledge/ATTRIBUTION.md and are not covered by the MIT licence.

THIRD_PARTY_NOTICES.md lists the third-party code. Dependencies installed by the upstream projects keep their own licences.