Skip to content

Releases: metanorma/metanorma-cli

v1.2.7

27 Sep 11:57
Compare
Choose a tag to compare
  • Improve error reporting: #115
  • Add IEC templates: 885c1f4
  • Update template generation message: 4a446b5
  • Add base template metanorma.yml: f10830a
  • Clean up error messages: 70d4a5b

v1.2.6

14 Sep 12:44
Compare
Choose a tag to compare
  • Add IEC flavour: #116

v1.2.5

02 Sep 10:14
Compare
Choose a tag to compare

v1.2.4

20 Aug 13:37
Compare
Choose a tag to compare
  • Major versions of metanorma gems
  • Separate out private supported gems: #104

There are couple of private gems includes in our supported gem list
and this also make it bit harder to identify those private gems, so
this commit separate out those gems and silently ignores the loading
issue for those private gems.

In the future, we might also consider having those as configuration
so user can specify those private gems & require those as necessary

  • Disable git http authentication: #107

Running the test suite prompt the git http authentication dialog
and it hangs there until we actually provide some input. But in
reality we are only using public repo for the test suite, so lets
disable the http authentication for now.

So, from now on our test suite won't prompt http authentication
dialog anymore, even if the user doesn't have anything configured

This commit also adds a metanorma specific errors when user didn't
provide a valid file, so now we can be very specific in our rescue
block and only handle metanorma raised issues.

v1.2.3

29 Jul 12:50
Compare
Choose a tag to compare
  • Do not exclude dofiles during packaging: #91

Currently, our gemspec is excluding all dotfiles, so whenever we
try to use the bundled version then it doesn't generate those file.
This commit explicitly include those dotfiles so it should work as
expected.

  • Add ITU as official type: #97
  • Fix inconsistency for version interface: #98

There are some inconsistency in the version interface, one of
command shows version for default backend, but other doesn't.

This commit changes this, so if the user doesn't provide any
type, it will display versions for all supported dependencies.
But user can also retrieve a specific version by adding it to
the type option.

v1.2.2

08 Jul 03:19
Compare
Choose a tag to compare
  • Add IETF template repository #93
  • Remove old codes from the executable #47

There was some major migration in the CLI lately, but we kept
some of the existing codes as there was an way to switch back
to that one using an environment variable.

But since the new version has been published for a while now
and it is stable, so this commit removes those existing code
form the library.

This also removes the bundler/setup from the executable

v1.2.1

30 Jun 09:53
Compare
Choose a tag to compare
  • Add interface to store template repository: #66

Currently, we are allowing user to use their template repo to
generate a new document, but they need to provide the repo details
every time they want to create a new document using a template.

Which is quite repetitive for some user, so this commit tries
to simplify that process, and now they can store those template
repository and later they will only need to provide the name and
metanorma will automatically find the other details.

This commit only added the configuration setup for now, up next
we are actually gonna use this configuration during generation.

metanorma template-repo add my-iso https://github.com/you/my-iso-template

v1.2.0

16 Jun 04:31
Compare
Choose a tag to compare
  • Remove MPFD, RSD gems as dependencies: #70
  • Fix -r flag: #49
  • Return correct exit code on failure: #74
  • Add interface to list supported extensions: #76
  • List supported extensions for all types: #78

v1.1.8

06 May 22:29
Compare
Choose a tag to compare

Include dot files in the base templates:

Currently, we do not include dot files in the base templates, but
we actually do want to include those in document we generate, so
this commit add those common files in this repo and this also do
some modification do support this dot files.

Fixes #51

Fix travis file & check for all base templates …

  • Remove unnecessary step from the .travis.yml file
  • Clean up the spec to validate the base templates

Gracefully fail for invalid commands

Since, we have invoked our custom command as root command, so
every single command is going through our main compile command
and this shouting out loud in the console.

This commit changes this behavior, so if user pass an invalid
command or that's not a document name then it will show the
error and suggest them to use the metanorma help instead.

Fixes #52

Move templates directory out of gem directory to ~/.metanorma/templates

Add support local templates

Fix the broken test, and clean up stuffs

  • Clean up some of code in the document generator
  • Simplify permission checking for template directory
  • Remove re-redundant test to check if templates are empty

Related: #57

Update base template for new document

This commit updates the base templates as described in issue - #60

Do not ignore generated document files for deployment

v1.1.7

25 Apr 10:51
Compare
Choose a tag to compare
  • Improve error messages and customize gem's help documentation
  • Migrate the CLI to Thor to improve performance basic CLI interfaces
  • Add support to create a new document with standard/custom template