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

Nested namespaces #152

Open
diegobernardes opened this issue Sep 8, 2018 · 3 comments · May be fixed by #433
Open

Nested namespaces #152

diegobernardes opened this issue Sep 8, 2018 · 3 comments · May be fixed by #433

Comments

@diegobernardes
Copy link

diegobernardes commented Sep 8, 2018

It's possible or there is any roadmap to support nested namespaces? This is useful during complex workflows:

mage docker:ci:build
mage docker:ci:push
mage docker:app:build
mage docker:app:push
@diegobernardes diegobernardes changed the title Multiple namespace Multiple namespaces Sep 8, 2018
@natefinch
Copy link
Member

Ahh like nested namespaces? yeah, I've been thinking about that. Seems doable.

@diegobernardes diegobernardes changed the title Multiple namespaces Nested namespaces Sep 8, 2018
@diegobernardes
Copy link
Author

Don't know why I wrote multiple 😅, yep, it's nested namespaces.
The implementation could be something like this:

type Docker mg.Namespace

type CI Docker

func (CI) Build() error { return nil }

That will create this key: docker:ci:build.

@aluzzardi
Copy link

Would love to have this -- looks like there's a PR open by @56KBs #433

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants