Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

Project generation flexibility via environment variables/logic #57

@noelmcloughlin

Description

@noelmcloughlin

Here are issues I have been experiencing with linkml-cookiecutter:

Per #51 we have limited control over linkml generators via gen-project. Furthermore, we cannot pass arguments to GitHub Actions to control documentation generation.Environment variables are good practice (see https://12factor.net/config) so enhanced support would be useful. To implement a good solution I propose:

  • keep existing behavior and do not force anything on existing happy users.
  • store environment variables in a common file named custom.env.
  • Enhance Makefile and GitHub actions to read environment variables from that file.
  • enhance Makefile to run custom generators if a environment variable was set.
  • enhance GitHub Actions to run custom doc-generation if environment variable was set.
  • during testing, update Makefile to fix any bugs noticed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions