Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

separate deploy modules from rest extensions and transforms #231

Closed
peetkes opened this issue May 1, 2014 · 8 comments
Closed

separate deploy modules from rest extensions and transforms #231

peetkes opened this issue May 1, 2014 · 8 comments

Comments

@peetkes
Copy link
Contributor

peetkes commented May 1, 2014

Is it an idea to add extra commands for deployment of the src folder (only the website and libraries if any), deployment of rest extensions and deployment of custom transforms?
So when you do deploy modules it will deploy everything
deploy rest will deploy only the rest extensions, with an extra option to just deploy a single extension if you specify the name of the extension and deploy transform will deploy only the transforms , with an extra option to just deploy a single transform when you specify the name of the transform.

@dmcassel
Copy link
Collaborator

dmcassel commented May 1, 2014

Sounds like a reasonable idea to me. I'd say:

# deploy everything:
ml {env} deploy modules

# deploy just the src folder
ml {env} deploy src

# deploy properties, extensions, and transforms
ml {env} deploy rest

# deploy just extensions
ml {env} deploy ext

# deploy just one extension (--filename provides path relative to ml.rest-ext.dir)
ml {env} deploy ext --filename=foo.xqy

# deploy just transforms
ml {env} deploy transforms

# deploy just one transform
ml {env} deploy transform --filename=foo.xqy

Does that cover what you're looking for?

@peetkes
Copy link
Contributor Author

peetkes commented May 1, 2014

Even better than I just did in my fork;-)

@peetkes peetkes closed this as completed May 1, 2014
@peetkes
Copy link
Contributor Author

peetkes commented May 1, 2014

Think I accidentally closed it

@peetkes peetkes reopened this May 1, 2014
@dmcassel
Copy link
Collaborator

dmcassel commented May 1, 2014

I'd be happy to get a pull request with the commands outlined above. :) Please make it on the dev branch if you pursue this (dev is where it will go, so that would let me get it integrated sooner).

@peetkes
Copy link
Contributor Author

peetkes commented May 1, 2014

I am working on it now. You'll get the pull request as soon as I'm ready

@paxtonhare
Copy link
Contributor

I already added ml deploy rest a while ago.

@grtjn
Copy link
Contributor

grtjn commented May 2, 2014

Yes, but this goes further, upto the level of single extensions and transforms you want to get deployed..

@grtjn
Copy link
Contributor

grtjn commented Apr 29, 2015

Fixed in dev (and master?)

@grtjn grtjn closed this as completed Apr 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants