From nobody Sat Mar 11 06:16:24 2023 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 4PYXk10HwWz3xFB9; Sat, 11 Mar 2023 06:16: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 4PYXk04pQfz3ntm; Sat, 11 Mar 2023 06:16:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678515384; 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=uRsFoyr57XDfLogCHR+5HbjneJpUkwRQibSN6Qz4h7I=; b=WXg0ji05ogOp/YxOgJ8RjTvE7W9hXuJqyzNYul7x1AoMBG2I+PD2tI0jO1nahfAbqMPxW7 Eqs9VbBky25kJPDPBcI7YF0LnwXC6w4wEuzYIFP9TlfKOIvBgo3B4ZIL/LAR1cWzae4Nc6 ZRABIAG+hat2dICN78/b6X+g4HGxOcZahqB5sRBhr64fqzccDwsSU/oWFJqNqCrVey4o44 5ZL9v17txwbJxtEUUspfzpkMy54t2qP48WAYxNZ1fub2iaFDOgM+q55m4u72ksizMXiX+5 /GhPtUFAyyhF+JZQTZFZbN0HS7uS4Cn/4KpbUGWzuCKPLRLMNyrW3eusHNU9Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678515384; 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=uRsFoyr57XDfLogCHR+5HbjneJpUkwRQibSN6Qz4h7I=; b=Efey45YxL/j1fYJfeTNoEQvjQZR18arYQ/xgi3QyKGpZBfgWgwQoEEMZ+DdowT++GhStX7 ULnK41bT2oMWYUcKgAxSt+52xY091XBbhOdhYIEa9xho8vYDnLrFuI3tLzfaR1D7PsmkOF NvnDVV55G6mxkRS4YKPXz0xJFOZSCjHRFSpykFeldJdFk3paWpY5VIzWVOvqWY917xs4h1 yXfYt5Or7IjRIjJVbA1yD055iVZdkTX+wpkj9uHvfOXnesobp+P0nMAhd4lsS3aVBc65k2 Sow/jkxI2yPevGsqCsDVfuwA20pcHI4wO16WHjDJMqpWtip851qUYSpkrhy0Rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678515384; a=rsa-sha256; cv=none; b=a2NNzkPXPi9e2B7XzjhFZviyHip6mbkHf6/fz7CR23OqAFSmyjCpbOU1Qs6ZO7sOnNT9ro CUY8Nz9qJ4r1LdLCXqoObv26pVVbiL3g8pRoAZmUGtwCyBgPvAD6k6Y00bMVCOOJeqa2ad ksL2HfLNuW6oevTMCEVsJYEH+jfN43gUDuGqM+3MRrpyAcf+eTF0P2x+LpOBsKlhFrlLX9 1HJNC9YZocBP/I94u3aGl6TEVZKEnbifDu0u/s0YuQDWLw1y1sGZfB7TjEymDz7kqPEg// LHFqyoiKoegjSJppA0z+RFHHKtnUL4yhWEhMupSiAfivt5aJHnkUInw4BAMmnA== 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 4PYXk03szSzK2Q; Sat, 11 Mar 2023 06:16:24 +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 32B6GOdt051632; Sat, 11 Mar 2023 06:16:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32B6GOsL051631; Sat, 11 Mar 2023 06:16:24 GMT (envelope-from git) Date: Sat, 11 Mar 2023 06:16:24 GMT Message-Id: <202303110616.32B6GOsL051631@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lewis Cook Subject: git: 2ca054695cd3 - main - devel/glab: Update to 1.26.0 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: lcook X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2ca054695cd31fc2b73c84800021ddcdc3341ac7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lcook: URL: https://cgit.FreeBSD.org/ports/commit/?id=2ca054695cd31fc2b73c84800021ddcdc3341ac7 commit 2ca054695cd31fc2b73c84800021ddcdc3341ac7 Author: Lewis Cook AuthorDate: 2023-03-11 06:01:42 +0000 Commit: Lewis Cook CommitDate: 2023-03-11 06:15:51 +0000 devel/glab: Update to 1.26.0 Changes: https://gitlab.com/gitlab-org/cli/-/releases/v1.26.0 --- devel/glab/Makefile | 40 ++++++++++++++------ devel/glab/distinfo | 10 ++--- devel/glab/pkg-descr | 13 +++---- devel/glab/pkg-plist | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 144 insertions(+), 23 deletions(-) diff --git a/devel/glab/Makefile b/devel/glab/Makefile index c74bdaef4561..360fdf5fb569 100644 --- a/devel/glab/Makefile +++ b/devel/glab/Makefile @@ -1,12 +1,11 @@ PORTNAME= glab DISTVERSIONPREFIX= v -DISTVERSION= 1.22.0 -PORTREVISION= 11 +DISTVERSION= 1.26.0 CATEGORIES= devel MAINTAINER= lcook@FreeBSD.org -COMMENT= Open-source GitLab command line tool -WWW= https://glab.readthedocs.io/ +COMMENT= GitLab CLI tool bringing GitLab to your command line +WWW= https://gitlab.com/gitlab-org/cli LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE @@ -15,24 +14,43 @@ RUN_DEPENDS= git:devel/git USES= go:modules,1.19 -_BUILD_VERSION= ${DISTVERSION} -_BUILD_DATE= $$(date +%d/%m/%Y) +_BUILD_COMMIT= ef363646 +_BUILD_VERSION= ${DISTVERSION}-${_BUILD_COMMIT} +_BUILD_PLATFORM= ${OPSYS:tl} +_BUILD_DATE= $$(date +%Y-%m-%d) -GO_MODULE= github.com/profclems/${PORTNAME} +GO_MODULE= gitlab.com/gitlab-org/cli GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -s -w \ + -X main.buildDate=${_BUILD_DATE} \ -X main.version=${_BUILD_VERSION} \ - -X main.build=${_BUILD_DATE}" + -X main.platform=${_BUILD_PLATFORM}" -PLIST_FILES= bin/${PORTNAME} -PORTDOCS= README.md SECURITY.md +PORTDOCS= CONTRIBUTING.md README.md SECURITY.md -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= COMPLETIONS DOCS MANPAGES +OPTIONS_DEFAULT= COMPLETIONS MANPAGES +OPTIONS_SUB= yes + +COMPLETIONS_DESC= Build and install bash, fish and zsh shell completions +COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ + share/fish/vendor_completions.d/${PORTNAME}.fish \ + share/zsh/site-functions/_${PORTNAME} + +post-install-COMPLETIONS-on: +.for _shell in bash fish zsh + ${GO_WRKDIR_BIN}/${PORTNAME} completion -s ${_shell} \ + >${STAGEDIR}${PREFIX}/${COMPLETIONS_PLIST_FILES:M*${_shell}*} +.endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR} +post-install-MANPAGES-on: + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} run \ + ./cmd/gen-docs --manpage --path ${STAGEDIR}${MAN1PREFIX}/man/man1) + .include diff --git a/devel/glab/distinfo b/devel/glab/distinfo index 98ec73188497..507139a86481 100644 --- a/devel/glab/distinfo +++ b/devel/glab/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1643917248 -SHA256 (go/devel_glab/glab-v1.22.0/v1.22.0.mod) = 04e40d15d57951ff4b9dca2e16a693eda23383276e89ddde072cf3f68b439a41 -SIZE (go/devel_glab/glab-v1.22.0/v1.22.0.mod) = 3269 -SHA256 (go/devel_glab/glab-v1.22.0/v1.22.0.zip) = 0c1a886e25d76f2815eec048f82b4ac0df9b3b6fe4ee9ab7cc2776b5b110d632 -SIZE (go/devel_glab/glab-v1.22.0/v1.22.0.zip) = 16698655 +TIMESTAMP = 1678509970 +SHA256 (go/devel_glab/glab-v1.26.0/v1.26.0.mod) = ff1ae739eb14b10168dd7e5e31393bf38157d184149a78f81508b9d2b0792811 +SIZE (go/devel_glab/glab-v1.26.0/v1.26.0.mod) = 3728 +SHA256 (go/devel_glab/glab-v1.26.0/v1.26.0.zip) = 958b80614432cc35ef2ed45d7827274f922e20331163f298a910a7b1e85bbc15 +SIZE (go/devel_glab/glab-v1.26.0/v1.26.0.zip) = 17001561 diff --git a/devel/glab/pkg-descr b/devel/glab/pkg-descr index 80c1535c3768..c4ccbdcc1290 100644 --- a/devel/glab/pkg-descr +++ b/devel/glab/pkg-descr @@ -4,11 +4,10 @@ with git and your code without switching between windows and browser tabs. Work with issues, merge requests, watch running pipelines -directly from your CLI among other features. Inspired by gh, -the official GitHub CLI tool. +directly from your CLI among other features. -GLab is available for repositories hosted on GitLab.com and -self-hosted GitLab Instances. glab supports multiple -authenticated GitLab instances and automatically detects the -authenticated hostname from the remotes available in -the working git directory. +glab is available for repositories hosted on GitLab.com +and self-managed GitLab instances. glab supports multiple +authenticated GitLab instances and automatically detects +the authenticated hostname from the remotes available in +the working Git directory. diff --git a/devel/glab/pkg-plist b/devel/glab/pkg-plist new file mode 100644 index 000000000000..ae15a7cfa4e1 --- /dev/null +++ b/devel/glab/pkg-plist @@ -0,0 +1,104 @@ +%%MANPAGES%%man/man1/glab-alias-delete.1.gz +%%MANPAGES%%man/man1/glab-alias-list.1.gz +%%MANPAGES%%man/man1/glab-alias-set.1.gz +%%MANPAGES%%man/man1/glab-alias.1.gz +%%MANPAGES%%man/man1/glab-api.1.gz +%%MANPAGES%%man/man1/glab-auth-login.1.gz +%%MANPAGES%%man/man1/glab-auth-status.1.gz +%%MANPAGES%%man/man1/glab-auth.1.gz +%%MANPAGES%%man/man1/glab-check-update.1.gz +%%MANPAGES%%man/man1/glab-ci-artifact.1.gz +%%MANPAGES%%man/man1/glab-ci-delete.1.gz +%%MANPAGES%%man/man1/glab-ci-get.1.gz +%%MANPAGES%%man/man1/glab-ci-lint.1.gz +%%MANPAGES%%man/man1/glab-ci-list.1.gz +%%MANPAGES%%man/man1/glab-ci-retry.1.gz +%%MANPAGES%%man/man1/glab-ci-run.1.gz +%%MANPAGES%%man/man1/glab-ci-status.1.gz +%%MANPAGES%%man/man1/glab-ci-trace.1.gz +%%MANPAGES%%man/man1/glab-ci-view.1.gz +%%MANPAGES%%man/man1/glab-ci.1.gz +%%MANPAGES%%man/man1/glab-completion.1.gz +%%MANPAGES%%man/man1/glab-config-get.1.gz +%%MANPAGES%%man/man1/glab-config-set.1.gz +%%MANPAGES%%man/man1/glab-config.1.gz +%%MANPAGES%%man/man1/glab-incident-list.1.gz +%%MANPAGES%%man/man1/glab-incident-view.1.gz +%%MANPAGES%%man/man1/glab-incident.1.gz +%%MANPAGES%%man/man1/glab-issue-board-create.1.gz +%%MANPAGES%%man/man1/glab-issue-board-view.1.gz +%%MANPAGES%%man/man1/glab-issue-board.1.gz +%%MANPAGES%%man/man1/glab-issue-close.1.gz +%%MANPAGES%%man/man1/glab-issue-create.1.gz +%%MANPAGES%%man/man1/glab-issue-delete.1.gz +%%MANPAGES%%man/man1/glab-issue-list.1.gz +%%MANPAGES%%man/man1/glab-issue-note.1.gz +%%MANPAGES%%man/man1/glab-issue-reopen.1.gz +%%MANPAGES%%man/man1/glab-issue-subscribe.1.gz +%%MANPAGES%%man/man1/glab-issue-unsubscribe.1.gz +%%MANPAGES%%man/man1/glab-issue-update.1.gz +%%MANPAGES%%man/man1/glab-issue-view.1.gz +%%MANPAGES%%man/man1/glab-issue.1.gz +%%MANPAGES%%man/man1/glab-label-create.1.gz +%%MANPAGES%%man/man1/glab-label-list.1.gz +%%MANPAGES%%man/man1/glab-label.1.gz +%%MANPAGES%%man/man1/glab-mr-approve.1.gz +%%MANPAGES%%man/man1/glab-mr-approvers.1.gz +%%MANPAGES%%man/man1/glab-mr-checkout.1.gz +%%MANPAGES%%man/man1/glab-mr-close.1.gz +%%MANPAGES%%man/man1/glab-mr-create.1.gz +%%MANPAGES%%man/man1/glab-mr-delete.1.gz +%%MANPAGES%%man/man1/glab-mr-diff.1.gz +%%MANPAGES%%man/man1/glab-mr-issues.1.gz +%%MANPAGES%%man/man1/glab-mr-list.1.gz +%%MANPAGES%%man/man1/glab-mr-merge.1.gz +%%MANPAGES%%man/man1/glab-mr-note.1.gz +%%MANPAGES%%man/man1/glab-mr-rebase.1.gz +%%MANPAGES%%man/man1/glab-mr-reopen.1.gz +%%MANPAGES%%man/man1/glab-mr-revoke.1.gz +%%MANPAGES%%man/man1/glab-mr-subscribe.1.gz +%%MANPAGES%%man/man1/glab-mr-todo.1.gz +%%MANPAGES%%man/man1/glab-mr-unsubscribe.1.gz +%%MANPAGES%%man/man1/glab-mr-update.1.gz +%%MANPAGES%%man/man1/glab-mr-view.1.gz +%%MANPAGES%%man/man1/glab-mr.1.gz +%%MANPAGES%%man/man1/glab-release-create.1.gz +%%MANPAGES%%man/man1/glab-release-delete.1.gz +%%MANPAGES%%man/man1/glab-release-download.1.gz +%%MANPAGES%%man/man1/glab-release-list.1.gz +%%MANPAGES%%man/man1/glab-release-upload.1.gz +%%MANPAGES%%man/man1/glab-release-view.1.gz +%%MANPAGES%%man/man1/glab-release.1.gz +%%MANPAGES%%man/man1/glab-repo-archive.1.gz +%%MANPAGES%%man/man1/glab-repo-clone.1.gz +%%MANPAGES%%man/man1/glab-repo-contributors.1.gz +%%MANPAGES%%man/man1/glab-repo-create.1.gz +%%MANPAGES%%man/man1/glab-repo-delete.1.gz +%%MANPAGES%%man/man1/glab-repo-fork.1.gz +%%MANPAGES%%man/man1/glab-repo-list.1.gz +%%MANPAGES%%man/man1/glab-repo-mirror.1.gz +%%MANPAGES%%man/man1/glab-repo-search.1.gz +%%MANPAGES%%man/man1/glab-repo-transfer.1.gz +%%MANPAGES%%man/man1/glab-repo-view.1.gz +%%MANPAGES%%man/man1/glab-repo.1.gz +%%MANPAGES%%man/man1/glab-schedule-list.1.gz +%%MANPAGES%%man/man1/glab-schedule-run.1.gz +%%MANPAGES%%man/man1/glab-schedule.1.gz +%%MANPAGES%%man/man1/glab-snippet-create.1.gz +%%MANPAGES%%man/man1/glab-snippet.1.gz +%%MANPAGES%%man/man1/glab-ssh-key-add.1.gz +%%MANPAGES%%man/man1/glab-ssh-key-get.1.gz +%%MANPAGES%%man/man1/glab-ssh-key-list.1.gz +%%MANPAGES%%man/man1/glab-ssh-key.1.gz +%%MANPAGES%%man/man1/glab-user-events.1.gz +%%MANPAGES%%man/man1/glab-user.1.gz +%%MANPAGES%%man/man1/glab-variable-delete.1.gz +%%MANPAGES%%man/man1/glab-variable-export.1.gz +%%MANPAGES%%man/man1/glab-variable-get.1.gz +%%MANPAGES%%man/man1/glab-variable-list.1.gz +%%MANPAGES%%man/man1/glab-variable-set.1.gz +%%MANPAGES%%man/man1/glab-variable-update.1.gz +%%MANPAGES%%man/man1/glab-variable.1.gz +%%MANPAGES%%man/man1/glab-version.1.gz +%%MANPAGES%%man/man1/glab.1.gz +bin/glab