Skip to content
This repository was archived by the owner on Apr 7, 2024. It is now read-only.
This repository was archived by the owner on Apr 7, 2024. It is now read-only.

DKTL_MODE and DKTL_PROJECT_DIRECTORY broken #336

@paul-m

Description

@paul-m

Describe the bug

In support of WCMS-9796, I tried to get dktl to run under ddev.

This was unsuccessful, until I discovered I could use DKTL_MODE=HOST to force dktl to not manage the Docker containers.

However, this also did not work, because the dktl shell script ignores DKTL_PROJECT_DIRECTORY in a few important places.

Steps To Reproduce

Expected behavior

** Proposed Resolution **

Generally improve dktl so that it can run under vendor/bin/ in a project, and so that it can switch to DKTL_MODE=HOST while honoring DKTL_PROJECT_DIRECTORY.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions