-
Notifications
You must be signed in to change notification settings - Fork 77
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
Feature Request: opm dist-install
#39
Comments
@jvanasco Sounds good to me except that I don't like Pull requests welcome :) |
@jvanasco After some thinking, it seems to me that it might be tricky to implement since it would require many more dependencies if we want to go through all the real processing details on the package server. "Slim clients" might no longer be possible after introducing this. |
@agentzh I don't think it should install any dependencies, just the declared package(s). In one use case, I am porting something to |
@jvanasco It would depend on The following command should serve your purpose well already:
|
@jvanasco BTW, it's not hard to set up your local opm server for testing. Everything is in the opm git repos. |
@jvanasco Just remember to adjust your |
@jvanasco You'll also need to remember invoking |
Another way to tackle this is to add support for "developer releases" by differentiating such releases via special version number suffixes like "_1" and "_2". By default, users cannot install such versions unless explicitly specify the version number in the |
I do think the easiest way is to just have a hook to install a given tarball into the site (or The hidden "developer versions" are great for a todo, but they wouldn't allow for offline development. that's kind of big for us -- we'd need to build/test locally, then hit the cloud. running an OPM server might be an interim solution. i can see it as very useful for a full travis test. I'd really like to avoid that though, as it creates too many traps for people to fall into and use the wrong server. let's see if i can pull anything off tonight! |
@jvanasco Existing |
@jvanasco I just had another look. I now think
The last step can reuse the code starting from the following line: https://github.com/openresty/opm/blob/master/bin/opm#L1348 We do not need to re-invent anything here. Just some code refactoring in the |
@jvanasco Pull requests are very welcome. |
I will have the first suggestion of a PR shortly. The above functionality is working as I'm just cleaning up my work right now. |
It would be nice if there were a way to install a dist file (as built by
opm build
)It would also be nice if the output of
opm build
included the name of the distribution file that was just built.i imagine the syntax could be something like:
The text was updated successfully, but these errors were encountered: