Downloads:

9,627

Downloads of v 1.0.10:

203

Last Update:

20 Dec 2018

Package Maintainer(s):

Software Author(s):

  • Ribose Inc.

Tags:

metanorma documentation generator

metanorma

This is not the latest version of metanorma available.

  • 1
  • 2
  • 3

1.0.10 | Updated: 20 Dec 2018

Downloads:

9,627

Downloads of v 1.0.10:

203

Maintainer(s):

Software Author(s):

  • Ribose Inc.

  • 1
  • 2
  • 3
metanorma 1.0.10

This is not the latest version of metanorma available.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Package installs fine on Chocolatey Test Environment.

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install metanorma, run the following command from the command line or from PowerShell:

>

To upgrade metanorma, run the following command from the command line or from PowerShell:

>

To uninstall metanorma, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade metanorma -y --source="'INTERNAL REPO URL'" --version="'1.0.10'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade metanorma -y --source="'INTERNAL REPO URL'" --version="'1.0.10'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install metanorma
  win_chocolatey:
    name: metanorma
    version: '1.0.10'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'metanorma' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.0.10'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller metanorma
{
    Name     = "metanorma"
    Version  = "1.0.10"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'metanorma':
  ensure   => '1.0.10',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved by moderator gep13 on 21 Dec 2018.

Description

Metanorma an open-source framework for writing and publishing standards documents with a focus on semantic authoring and flexible output support. Here’s what you can do with Metanorma:

  • Build tools for authoring standards and formatting them in accordance with your organization’s practices
  • Use the existing processor ecosystem to create documents compliant to the requirements of ISO, RFC, CalConnect, and others.

tools\chocolateyinstall.ps1
Set-Content $Env:ChocolateyInstall\bin\xml2-config.bat "@ECHO OFF" -Encoding ASCII
Set-Content $Env:ChocolateyInstall\bin\xslt-config.bat "@ECHO OFF" -Encoding ASCII

$XsltDist = ${Env:ChocolateyInstall} + "\lib\xsltproc\dist"
$XsltInclude = $XsltDist + "\include"
$XsltLib = $XsltDist + "\lib"

Write-Host Installing gems...

# Copy with removing version from filename (need because xslt_lib.so expect such names)
Copy-Item -Force $XsltDist\bin\libxml2-*.dll $XsltDist\bin\libxml2.dll 
Copy-Item -Force $XsltDist\bin\libxslt-*.dll $XsltDist\bin\libxslt.dll
Copy-Item -Force $XsltDist\bin\libexslt-*.dll $XsltDist\bin\libexslt.dll

Get-ToolsLocation
$RubyGem = "$Env:ChocolateyToolsLocation\ruby25\bin"

& $RubyGem\gem.cmd -v
& $RubyGem\gem.cmd install bundler
& $RubyGem\gem.cmd install metanorma-cli -v $Env:ChocolateyPackageVersion -- `
  --with-xml2-include=$XsltInclude\libxml2 `
  --with-xslt-include=$XsltInclude `
  --with-xml2-lib=$XsltLib `
  --with-xslt-lib=$XsltLib

& SETX /M RUBY_DLL_PATH "${Env:ChocolateyInstall}\lib\xsltproc\dist\bin;${Env:RUBY_DLL_PATH}"
refreshenv

Write-Host Checking metanorma-cli
Get-Command metanorma | Select-Object -ExpandProperty Definition
tools\chocolateyuninstall.ps1
Get-ToolsLocation
$RubyGem = "$Env:ChocolateyToolsLocation\ruby25\bin"

Write-Host Uninstalling gems...

& $RubyGem\gem.cmd uninstall --all -x metanorma-cli

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Metanorma 1.5.19-pre 0 Monday, July 4, 2022 Pending Automated Review
Metanorma 1.5.17 39 Tuesday, June 7, 2022 Approved
Metanorma 1.5.17-pre 10 Monday, June 6, 2022 Approved
Metanorma 1.5.16 22 Wednesday, June 1, 2022 Approved
Metanorma 1.5.15.2 14 Friday, May 13, 2022 Exempted
Metanorma 1.5.15.1 18 Wednesday, May 18, 2022 Approved
Metanorma 1.5.15.1-pre 22 Wednesday, May 4, 2022 Approved
Metanorma 1.5.15 33 Wednesday, May 11, 2022 Approved
Metanorma 1.5.15-pre 17 Friday, April 29, 2022 Approved
Discussion for the metanorma Package

Ground Rules:

  • This discussion is only about metanorma and the metanorma package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or metanorma, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus