Skip to content

Don't clone dkan for moduledev init if already there #5

@dafeder

Description

@dafeder

https://github.com/GetDKAN/dkan-ddev-addon/blob/e092657465b1752103d66bc91dbb49590718e58a/commands/host/dkan-init#L47

Check if /dkan already exists. If it does, don't run git clone.

Also, we should detect the version constraint from the git repo. See

https://github.com/GetDKAN/dkan-tools/blob/master/src/Command/InitCommands.php#L243

for how this was done in dkan-tools

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions