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

Maybe ... metanorma-cli does not depend on the installation of metanorma #37

Closed
ronaldtse opened this issue Apr 3, 2019 · 4 comments
Closed
Labels
question Further information is requested

Comments

@ronaldtse
Copy link
Contributor

Think about it. Installation of metanorma is quite complex and requires development rights on the machine.

  • If the user already has metanorma installed, there's no need to run compilation on the remote end.

  • For example, without metanorma installed, the user can still run metanorma new -t iso -d standard my-standard, then metanorma compile my-standard. I think we need some YAML config file in the my-standard directory for this.

@ronaldtse ronaldtse added the question Further information is requested label Apr 3, 2019
@opoudjis
Copy link
Contributor

opoudjis commented Apr 3, 2019

... You've asked me to comment on this, @ronaldtse, but this truly makes no sense to me at all.

  • All metanorma-cli does is gather up some command line options, and pass them and a file name on to the metanorma gem. Of course it depends on the metanorma gem.
  • What you might be referring to instead is the installation of the Metanorma environment. And of course you're not going to be able to compile jack without the Metanorma environment in place.

I don't know what you're referring to with remote end, and I don't know how you expect metanorma compile my-standard to do anything meaningful without all that stuff installed on the local machine.

Please try again? What am I missing?

@ronaldtse
Copy link
Contributor Author

Imagine there is a command called metanorma-remote. It compiles everything remotely. This command does not rely on a local metanorma environment -- it is only a pure Ruby wrapper.

Everything it does is sent to a remote endpoint that can execute them.

@opoudjis
Copy link
Contributor

opoudjis commented Apr 3, 2019

It's still a command line. I don't see the attraction. If you can use a command line, it's not that difficult to install metanorma; the number of people who will want to run metanorma remotely, and will not want to use a Web UI, can't be big enough to bother supporting.

@ronaldtse
Copy link
Contributor Author

Closing this in favor of #156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants