From nobody Tue Oct 18 08:17:17 2022 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 4Ms6Cx69SSz4gPKH; Tue, 18 Oct 2022 08:17:17 +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 4Ms6Cx5P7hz3nxp; Tue, 18 Oct 2022 08:17:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666081037; 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=3tbJZCusGGWrutlsiKRKHu8VPg7ES86Bll6tuIQ6wx0=; b=YNvqzAlUuZjqkbD9QRX7uu2xd+msUbkIr5U9OkO3QCrl3rdLJqO8cb/9l1xhf6FJBj0Cp4 H47eGZnN9qbFYG82R2D7iW1wHb+DBvtyhtNWCC/PTfV4+5NUxqXgC7xtDh3ud4F6PYQekP tAvin2mr8nDAToaYO0QO74wpV2FQCmGMGyY5Vh1klQ3mNLUHH/gboXXBZzWxxRQI96JgLO eGJbLVLyzDdglYFUjRpYKw2rPmF1rfJr5NRcpD90lOc+MnPz9L/qMX5tb39K+UAjAT5Y6U I1TKLK7ryuFWwM29OOxGCybYv2hpKkEJpN6e0vh+mQ+aZABnxFjwDi+J2hCYWA== 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 4Ms6Cx4Kpcz16cB; Tue, 18 Oct 2022 08:17:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29I8HHEt059577; Tue, 18 Oct 2022 08:17:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29I8HHn7059576; Tue, 18 Oct 2022 08:17:17 GMT (envelope-from git) Date: Tue, 18 Oct 2022 08:17:17 GMT Message-Id: <202210180817.29I8HHn7059576@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: 1f18b49a254e - main - devel/lefthook: New port: Fast and powerful Git hooks manager for any type of projects 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: 1f18b49a254e6969f37f8bdd72bbcd50d0434a8b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666081037; 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=3tbJZCusGGWrutlsiKRKHu8VPg7ES86Bll6tuIQ6wx0=; b=EjUhhtFgcbhso+PmWLK3HFGu8YpFmJNfi8ATzV9pIq+8yOIUW+Q8HP+PscBbph/lYtJU7M WOtkJHAXMnKBhCK3lFRyX8NUOek59Fxa/tm8vKelQNEoRbBrSIwotmZd92u8KtC2rYKZcC gtq9bghvI3vXPbbsVXGeDFMzLZytrp9BcJqIsuuS7eOQwM9yehY7zXVFm6bfgNlJckYXAk PHi+xzOvwE7MiGPUX7H5ycP8UGWvJHugpp6GLA7jDHcF+jtq+kCsvYOjcuuAz30pQMUeic UcdQ2iFwioEO/DXyatn0T/VNLV7Z3aFqkk0ls6dnqyRFBPUXqLwBTPrUxVeGng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666081037; a=rsa-sha256; cv=none; b=KoWesAbfjFRG6XD+VIbwK7gYhjZ2JvyzoRolrVAjS110UVUG+GP4wf6OWa70iUKnEAXwSu Ykl8W9VlezeXneI5X3pO8re8DL2/vEbV6Y5/xp/sACVfUS46Cxa5yK2jzjP+KXas/WGerN nIiWZ9XjGVNWQK4JKnEIszNR6STDaN5eXOV8EA0beGOhcx/7KzLSFy8Fr6EdQ2AmEWIxvn cdjlh6PvdGqkTFHv/DWv5vMHAXwQUWKw1Vr8eN9kjlcS6YvRxON0CoOMPpkdd8GLVCm7IO jr4EjS/nfGGh35ztJY4515ASiUV9gJiVJ37SAY7GvgwlFl/iFIuzvA/BtVo8aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f18b49a254e6969f37f8bdd72bbcd50d0434a8b commit 1f18b49a254e6969f37f8bdd72bbcd50d0434a8b Author: Yuri Victorovich AuthorDate: 2022-10-18 07:56:06 +0000 Commit: Yuri Victorovich CommitDate: 2022-10-18 08:17:14 +0000 devel/lefthook: New port: Fast and powerful Git hooks manager for any type of projects --- devel/Makefile | 1 + devel/lefthook/Makefile | 19 +++++++++++++++++++ devel/lefthook/distinfo | 5 +++++ devel/lefthook/pkg-descr | 8 ++++++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7518ca0b7b97..d72eb230e350 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1080,6 +1080,7 @@ SUBDIR += lcov SUBDIR += leaktracer SUBDIR += leatherman + SUBDIR += lefthook SUBDIR += leiningen SUBDIR += lemon SUBDIR += level-zero diff --git a/devel/lefthook/Makefile b/devel/lefthook/Makefile new file mode 100644 index 000000000000..adf7a014d288 --- /dev/null +++ b/devel/lefthook/Makefile @@ -0,0 +1,19 @@ +PORTNAME= lefthook +DISTVERSIONPREFIX= v +DISTVERSION= 1.1.3 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fast and powerful Git hooks manager for any type of projects +WWW= https://github.com/evilmartians/lefthook + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/evilmartians/lefthook + +PLIST_FILES= bin/${PORTNAME} + +.include diff --git a/devel/lefthook/distinfo b/devel/lefthook/distinfo new file mode 100644 index 000000000000..f28c16a91a79 --- /dev/null +++ b/devel/lefthook/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1666079292 +SHA256 (go/devel_lefthook/lefthook-v1.1.3/v1.1.3.mod) = e2e63c3c0da2f38175e0d091982730932e5e73122786bde34f8596190460a0d6 +SIZE (go/devel_lefthook/lefthook-v1.1.3/v1.1.3.mod) = 1403 +SHA256 (go/devel_lefthook/lefthook-v1.1.3/v1.1.3.zip) = 9af1df1d49155a58309ffe2d889f2ef9ae2b61d6f5ec1b3ef4edcb5a1e06a6e4 +SIZE (go/devel_lefthook/lefthook-v1.1.3/v1.1.3.zip) = 100605 diff --git a/devel/lefthook/pkg-descr b/devel/lefthook/pkg-descr new file mode 100644 index 000000000000..c68287df8f2a --- /dev/null +++ b/devel/lefthook/pkg-descr @@ -0,0 +1,8 @@ +lefthook is a fast and powerful Git hooks manager for Node.js, Ruby or any other +type of projects. + +Features: +* Fast. It is written in Go. Can run commands in parallel. +* Powerful. With a few lines in the config you can check only the changed files + on pre-push hook. +* Simple. It is single dependency-free binary which can work in any environment.