Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add comamnd should use project manager POST endpoint #110

Open
tlugger opened this issue Aug 1, 2018 · 0 comments
Open

add comamnd should use project manager POST endpoint #110

tlugger opened this issue Aug 1, 2018 · 0 comments

Comments

@tlugger
Copy link
Contributor

tlugger commented Aug 1, 2018

When a nio add <block> is run, the cli manually creates the submodule in the blocks/ directory, installs dependencies from requirements.txt, and updates etc/blocks.cfg with the new block data.

The project manager component in nio currently opens up an endpoint where one could POST to /project/blocks with data like:

 {
        "branch": null,
        "path": null,
        "tag": null,
        "url": "git://github.com/nio-blocks/<blockType>.git"
}

Which allows nio download the new block and its dependencies without manually changing the files running on the machine.

@tlugger tlugger added change/change possibly breaking changes, changes to existing features, version bumps enhancement and removed change/change possibly breaking changes, changes to existing features, version bumps labels Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant