From nobody Sat Jan 20 09:29:25 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4THB5K6qYzz56gPL; Sat, 20 Jan 2024 09:29:25 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4THB5K6C8jz4Ls9; Sat, 20 Jan 2024 09:29:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705742965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PziOhqBFcXh11etPFx0tSiVd79P2aggHwCqcnT5tnsk=; b=FOossh1iFaarocq9vrHruceaI2fv/Y7V0oKFIp7OqXy7H8mhSq3NH6F1e3N8jcoZ6kF/Ma iOwftKjBZV7nhCkOHvnYVUgfSnANdJlDAUanN6WM0YQOBYjUduM3PC1Gi4cfi2Hd8laon8 7t8trQbuQSmAm2lgkPbH29EbgsvyyBzIntttK7NKX04mPaI/XUXygYhPQaW60cRQuViQ2b kCPA2D9pl6ApnkGg4Sr33xULglycKBKpdvJ9BctnbGWyWLlWwL221GIkamI7IQvrRPUkY0 ruL798bw/LoKpOMTkTWEvDWkDubXVTup5F5HJHEyB71pmQ1Z8ujmpBvKVzK4zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705742965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PziOhqBFcXh11etPFx0tSiVd79P2aggHwCqcnT5tnsk=; b=TH4x5uPUupTIbn2sSjDE8XlyTmq9aNzQl6K4sPW/Zrg0P4VKCLDpBGv58jnPJKrQ/KVOpp yKdbnhdSojliSwFhtHiHe7iC3eRIb+BGmUUHy146l2iFHX3qucYXK5JJPqFOuXbf7NOUnH 8Z4JnFhqe4zGSt8QWVWBOTAuNQGBn7kt1StgyyhdL3NnNFZLBszXbCj8nGB4gjpmZf9JjK 0u7JQmSsTjmn+GEMzwMVHjP0U1ZN++VwqtYu1Dqsi5UFQz8U4Jo2dQ11Q6sc2HgkrbQU28 ASnJSDXQqjJp+SShQ8VD7pWcPvsr3lDMgXxie12ruZ/lE6QVavyEJz/Xf8Sd/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705742965; a=rsa-sha256; cv=none; b=YZME/VRCS1vxEru978ac9J1Hzm0/OnQrkS4Qs1R/wmYpLfDEWIKYGNOedQNarEbUnYHPut nxuOLQOszyw9cwHcsFj8LZD91sIIlNugq2aeIjZdjPg4i29kiMfqG1TkUiVPY0j2vH62H/ ZNxpssLnTx1uSxp1o/xLv6C2pxlhFQHzZL37CSEOl1bZRPteCSCSH6QmZpCM8VJZAOoNXS 7mC0pB11WgGUkVob3SOFec4rPSwl7GSN/Mt+r53EAjdSwIgsuXDKEmdSXYeivCtJ8OjXH5 m1TY8CIrhQc2GvAXpBw9f/QD+OfYIkio/I/QfmPilQdi7jsRsFXg5jcYSCYUTg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4THB5K5G6GzV4q; Sat, 20 Jan 2024 09:29:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40K9TP4S030451; Sat, 20 Jan 2024 09:29:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40K9TPHe030448; Sat, 20 Jan 2024 09:29:25 GMT (envelope-from git) Date: Sat, 20 Jan 2024 09:29:25 GMT Message-Id: <202401200929.40K9TPHe030448@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: d42dbe928bf9 - main - textproc/ytt: New port: YAML templating tool that works on YAML structure instead of text List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d42dbe928bf90336c9e368e81522ba3080d25aa9 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d42dbe928bf90336c9e368e81522ba3080d25aa9 commit d42dbe928bf90336c9e368e81522ba3080d25aa9 Author: Yuri Victorovich AuthorDate: 2024-01-20 09:28:49 +0000 Commit: Yuri Victorovich CommitDate: 2024-01-20 09:29:23 +0000 textproc/ytt: New port: YAML templating tool that works on YAML structure instead of text --- textproc/Makefile | 1 + textproc/ytt/Makefile | 20 ++++++++++++++++++++ textproc/ytt/distinfo | 5 +++++ textproc/ytt/pkg-descr | 20 ++++++++++++++++++++ 4 files changed, 46 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index a14a48e96a9d..90f64280219b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -2137,6 +2137,7 @@ SUBDIR += yi-hunspell SUBDIR += yodl SUBDIR += yq + SUBDIR += ytt SUBDIR += zed SUBDIR += zenxml SUBDIR += zorba diff --git a/textproc/ytt/Makefile b/textproc/ytt/Makefile new file mode 100644 index 000000000000..f032c05c529a --- /dev/null +++ b/textproc/ytt/Makefile @@ -0,0 +1,20 @@ +PORTNAME= ytt +DISTVERSIONPREFIX= v +DISTVERSION= 0.47.0 +CATEGORIES= textproc + +MAINTAINER= yuri@FreeBSD.org +COMMENT= YAML templating tool that works on YAML structure instead of text +WWW= https://carvel.dev/ytt/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/carvel-dev/ytt +GO_TARGET= ./cmd/ytt/ + +PLIST_FILES= bin/${PORTNAME} + +.include diff --git a/textproc/ytt/distinfo b/textproc/ytt/distinfo new file mode 100644 index 000000000000..76e26686b11d --- /dev/null +++ b/textproc/ytt/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1705742601 +SHA256 (go/textproc_ytt/ytt-v0.47.0/v0.47.0.mod) = 7e6d12ba01dea00e3d1dea89d8f5a9734f79ac58517fb5b35f1d0b54b85746a1 +SIZE (go/textproc_ytt/ytt-v0.47.0/v0.47.0.mod) = 918 +SHA256 (go/textproc_ytt/ytt-v0.47.0/v0.47.0.zip) = 57076539715972fe79d1f4b1c4d6ee299e6e1135455c6568291593134c43a49c +SIZE (go/textproc_ytt/ytt-v0.47.0/v0.47.0.zip) = 1193366 diff --git a/textproc/ytt/pkg-descr b/textproc/ytt/pkg-descr new file mode 100644 index 000000000000..93e55874bd87 --- /dev/null +++ b/textproc/ytt/pkg-descr @@ -0,0 +1,20 @@ +ytt (pronounced spelled out) is a templating tool that understands YAML +structure. It helps you easily configure complex software via reusable +templates and user provided values. Ytt includes the following features: + +* Structural templating: understands yaml structure so users can focus on their + configuration instead of issues associated with text templating, such as YAML + value quoting or manual template indentation +* Built-in programming language: includes the "fully featured" Python-like + programming language Starlark which helps ease the burden of configuring + complex software through a richer set of functionality. +* Reusable configuration: You can reuse the same configuration in different + environments by applying environment-specific values. +* Custom validations: coupled with the fast and deterministic execution, allows + you to take advantage of faster feedback loops when creating and testing + templates. +* Overlays: this advanced configuration helps users manage the customization + required for complex software. For more, see this example in the online + playground. +* Sandboxing: provides a secure, deterministic environment for execution of + templates.