From owner-svn-ports-all@freebsd.org Fri Oct 2 21:26:38 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F00C0437B98; Fri, 2 Oct 2020 21:26:38 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C333262Hsz4h5y; Fri, 2 Oct 2020 21:26:38 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B35F2889D; Fri, 2 Oct 2020 21:26:38 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 092LQcDJ036180; Fri, 2 Oct 2020 21:26:38 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 092LQbow036175; Fri, 2 Oct 2020 21:26:37 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <202010022126.092LQbow036175@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Fri, 2 Oct 2020 21:26:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r551233 - in head/sysutils: . terraform-docs X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: in head/sysutils: . terraform-docs X-SVN-Commit-Revision: 551233 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2020 21:26:39 -0000 Author: dbaio Date: Fri Oct 2 21:26:37 2020 New Revision: 551233 URL: https://svnweb.freebsd.org/changeset/ports/551233 Log: Add sysutils/terraform-docs: Generate documentation from Terraform modules A utility to generate documentation from Terraform modules in various output formats. terraform-docs asciidoc ./my-terraform-module # asciidoc table terraform-docs asciidoc table ./my-terraform-module # asciidoc table terraform-docs asciidoc document ./my-terraform-module # asciidoc document terraform-docs json ./my-terraform-module # json terraform-docs markdown ./my-terraform-module # markdown table terraform-docs markdown table ./my-terraform-module # markdown table terraform-docs markdown document ./my-terraform-module # markdown document terraform-docs pretty ./my-terraform-module # colorized pretty terraform-docs tfvars hcl ./my-terraform-module # hcl format of terraform.tfvars terraform-docs tfvars json ./my-terraform-module # json format of terraform.tfvars terraform-docs toml ./my-terraform-module # toml terraform-docs xml ./my-terraform-module # xml terraform-docs yaml ./my-terraform-module # yaml WWW: https://github.com/terraform-docs/terraform-docs PR: 249903 Submitted by: Gabriel Dutra <0xdutra@gmail.com> Added: head/sysutils/terraform-docs/ head/sysutils/terraform-docs/Makefile (contents, props changed) head/sysutils/terraform-docs/distinfo (contents, props changed) head/sysutils/terraform-docs/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Fri Oct 2 20:47:44 2020 (r551232) +++ head/sysutils/Makefile Fri Oct 2 21:26:37 2020 (r551233) @@ -1298,6 +1298,7 @@ SUBDIR += tealdeer SUBDIR += tenshi SUBDIR += terraform + SUBDIR += terraform-docs SUBDIR += terraform-provider-gridscale SUBDIR += terraform-provider-vultr SUBDIR += terragrunt Added: head/sysutils/terraform-docs/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/terraform-docs/Makefile Fri Oct 2 21:26:37 2020 (r551233) @@ -0,0 +1,43 @@ +# $FreeBSD$ + +PORTNAME= terraform-docs +PORTVERSION= 0.10.1 +DISTVERSIONPREFIX= v +CATEGORIES= sysutils textproc + +MAINTAINER= 0xdutra@gmail.com +COMMENT= Generate documentation from Terraform modules + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +USE_GITHUB= yes +GH_ACCOUNT= terraform-docs + +PLIST_FILES= bin/${PORTNAME} + +GH_TUPLE= \ + BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \ + agext:levenshtein:v1.2.1:agext_levenshtein/vendor/github.com/agext/levenshtein \ + apparentlymart:go-textseg:v12.0.0:apparentlymart_go_textseg_v12/vendor/github.com/apparentlymart/go-textseg/v12 \ + davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ + go-test:deep:v1.0.7:go_test_deep/vendor/github.com/go-test/deep \ + go-yaml:yaml:2ff61e1afc86:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ + golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \ + google:go-cmp:v0.3.1:google_go_cmp/vendor/github.com/google/go-cmp \ + hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ + hashicorp:hcl:v2.6.0:hashicorp_hcl_v2/vendor/github.com/hashicorp/hcl/v2 \ + iancoleman:orderedmap:ac98e3ecb4b0:iancoleman_orderedmap/vendor/github.com/iancoleman/orderedmap \ + imdario:mergo:v0.3.11:imdario_mergo/vendor/github.com/imdario/mergo \ + inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ + mitchellh:go-wordwrap:ad45545899c7:mitchellh_go_wordwrap/vendor/github.com/mitchellh/go-wordwrap \ + mvdan:xurls:v2.2.0:mvdan_xurls/vendor/mvdan.cc/xurls/v2 \ + pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ + spf13:cobra:v1.0.0:spf13_cobra/vendor/github.com/spf13/cobra \ + spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ + stretchr:testify:v1.6.1:stretchr_testify/vendor/github.com/stretchr/testify \ + zclconf:go-cty:v1.6.1:zclconf_go_cty/vendor/github.com/zclconf/go-cty + +.include Added: head/sysutils/terraform-docs/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/terraform-docs/distinfo Fri Oct 2 21:26:37 2020 (r551233) @@ -0,0 +1,43 @@ +TIMESTAMP = 1601431747 +SHA256 (terraform-docs-terraform-docs-v0.10.1_GH0.tar.gz) = f3cc429d8edd129c73ca18feafd17bf1aacb0397b3653b7f65aa3978c4d6c337 +SIZE (terraform-docs-terraform-docs-v0.10.1_GH0.tar.gz) = 164235 +SHA256 (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 6593da894578ba510a470735ffbdc88ce88033094dc5a8f4d3957ab87e18803f +SIZE (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 42077 +SHA256 (agext-levenshtein-v1.2.1_GH0.tar.gz) = c6e4bc2db1f0d9bc57fd3f1887567d527f6df1bcfbb079d1d1c4eab17f320b50 +SIZE (agext-levenshtein-v1.2.1_GH0.tar.gz) = 12728 +SHA256 (apparentlymart-go-textseg-v12.0.0_GH0.tar.gz) = f1d930b0902eccbb8264b368ffc77d73fc1f759aa1d4b7d97e1aed9635334f63 +SIZE (apparentlymart-go-textseg-v12.0.0_GH0.tar.gz) = 125616 +SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e +SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152 +SHA256 (go-test-deep-v1.0.7_GH0.tar.gz) = c4c8e26ec8924e4608b669a4234f8b8880db8bb1f47ec6f22da0d4e8634fc849 +SIZE (go-test-deep-v1.0.7_GH0.tar.gz) = 10199 +SHA256 (go-yaml-yaml-2ff61e1afc86_GH0.tar.gz) = 3526f7d8921c73c4a8a950d37f2d1a4cb71655a6b85e7ebf0d96f779c27a301c +SIZE (go-yaml-yaml-2ff61e1afc86_GH0.tar.gz) = 87072 +SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22 +SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069 +SHA256 (google-go-cmp-v0.3.1_GH0.tar.gz) = a95fa266e5c2283b813102f265c1bdf5b78100f9889b984aef828eb094efe6e3 +SIZE (google-go-cmp-v0.3.1_GH0.tar.gz) = 76403 +SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2 +SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658 +SHA256 (hashicorp-hcl-v2.6.0_GH0.tar.gz) = 172ae4f4a6fd1f47c27e40f033dcb9e2bf51baca9824e0b37fe3cfbfff3c8ff4 +SIZE (hashicorp-hcl-v2.6.0_GH0.tar.gz) = 392313 +SHA256 (iancoleman-orderedmap-ac98e3ecb4b0_GH0.tar.gz) = 22c48471185f1458ad79ab0eb6ecf59dda6cc03bec72cde893bbec9df48b167f +SIZE (iancoleman-orderedmap-ac98e3ecb4b0_GH0.tar.gz) = 5897 +SHA256 (imdario-mergo-v0.3.11_GH0.tar.gz) = 36544167ad735d458781b89ce3c3bfd56dd6ebdeadd5f3b4e1e0c6e0ab4f2191 +SIZE (imdario-mergo-v0.3.11_GH0.tar.gz) = 22060 +SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6 +SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290 +SHA256 (mitchellh-go-wordwrap-ad45545899c7_GH0.tar.gz) = 917005b52e496fda7f702a88fb65a90cc5f2c8d5a569cf39aeaf1b536dd582d9 +SIZE (mitchellh-go-wordwrap-ad45545899c7_GH0.tar.gz) = 2740 +SHA256 (mvdan-xurls-v2.2.0_GH0.tar.gz) = 795d7febcf73503bca2ac9806f12ff6b33b47c13eef2d50b81b10e241d9bdb22 +SIZE (mvdan-xurls-v2.2.0_GH0.tar.gz) = 18747 +SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda +SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398 +SHA256 (spf13-cobra-v1.0.0_GH0.tar.gz) = 58dbfe1b4dbc6751575e94d1e62d073098e0b41790bc1c7a7a95ec6b870ac697 +SIZE (spf13-cobra-v1.0.0_GH0.tar.gz) = 128897 +SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808 +SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796 +SHA256 (stretchr-testify-v1.6.1_GH0.tar.gz) = 40fd7204ab72ca9d8759f1cc3604dd17f556a0f9177f6fc05dd0cad9f06e708f +SIZE (stretchr-testify-v1.6.1_GH0.tar.gz) = 84215 +SHA256 (zclconf-go-cty-v1.6.1_GH0.tar.gz) = 02ba73f1a317f0cbe1886c9dbec851b64a654da1abf5726d2bc8b0a654c02409 +SIZE (zclconf-go-cty-v1.6.1_GH0.tar.gz) = 180813 Added: head/sysutils/terraform-docs/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/terraform-docs/pkg-descr Fri Oct 2 21:26:37 2020 (r551233) @@ -0,0 +1,20 @@ +A utility to generate documentation from Terraform modules in various output +formats. + + terraform-docs asciidoc ./my-terraform-module # asciidoc table + terraform-docs asciidoc table ./my-terraform-module # asciidoc table + terraform-docs asciidoc document ./my-terraform-module # asciidoc document + terraform-docs json ./my-terraform-module # json + terraform-docs markdown ./my-terraform-module # markdown table + terraform-docs markdown table ./my-terraform-module # markdown table + terraform-docs markdown document ./my-terraform-module # markdown document + terraform-docs pretty ./my-terraform-module # colorized pretty + terraform-docs tfvars hcl ./my-terraform-module # hcl format of + terraform.tfvars + terraform-docs tfvars json ./my-terraform-module # json format of + terraform.tfvars + terraform-docs toml ./my-terraform-module # toml + terraform-docs xml ./my-terraform-module # xml + terraform-docs yaml ./my-terraform-module # yaml + +WWW: https://github.com/terraform-docs/terraform-docs