Received: by mail.netbsd.org (Postfix, from userid 605) id AF0DE84DC2; Fri, 5 May 2023 14:04:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DE58F84D2C for ; Fri, 5 May 2023 14:04:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id rxxRFdqXQXTG for ; Fri, 5 May 2023 14:04:18 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 48B7984CCF for ; Fri, 5 May 2023 14:04:18 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3CAA7FA87; Fri, 5 May 2023 14:04:18 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1683295458195790" MIME-Version: 1.0 Date: Fri, 5 May 2023 14:04:18 +0000 From: "Amitai Schleier" Subject: CVS commit: pkgsrc/misc/chatgpt-shell-cli To: pkgsrc-changes@NetBSD.org Reply-To: schmonz@netbsd.org X-Mailer: log_accum Message-Id: <20230505140418.3CAA7FA87@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1683295458195790 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: schmonz Date: Fri May 5 14:04:18 UTC 2023 Modified Files: pkgsrc/misc/chatgpt-shell-cli: Makefile distinfo Log Message: Update to 20230505. From the changelog: - Remove broken view count - Remove sed due to warning, replace with escape function, rename variables, autofor> - Rename to multiline prompt - formatting - Keep old OPENAI key name to maintain compatibility with the install script, add identation in elif - Safe escaping using jq - Refactoring to reduce the use global variables from functions - Safer quoting - rename(OPENAI_KEY): OPENAI_API_KEY is standardised across projects - feature(big-prompt): allow multi-line input during chat mode - optimize(exit): streamline exit conditions - add(list_models): Models can be queried via cli argument - refactor(usage()) Align help output To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/misc/chatgpt-shell-cli/Makefile \ pkgsrc/misc/chatgpt-shell-cli/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1683295458195790 Content-Disposition: inline Content-Length: 2439 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/misc/chatgpt-shell-cli/Makefile diff -u pkgsrc/misc/chatgpt-shell-cli/Makefile:1.1 pkgsrc/misc/chatgpt-shell-cli/Makefile:1.2 --- pkgsrc/misc/chatgpt-shell-cli/Makefile:1.1 Thu Apr 20 18:40:28 2023 +++ pkgsrc/misc/chatgpt-shell-cli/Makefile Fri May 5 14:04:18 2023 @@ -1,22 +1,22 @@ -# $NetBSD: Makefile,v 1.1 2023/04/20 18:40:28 schmonz Exp $ +# $NetBSD: Makefile,v 1.2 2023/05/05 14:04:18 schmonz Exp $ DISTNAME= ${GITHUB_PROJECT} -PKGNAME= ${GITHUB_PROJECT:tl}-0.0.20230420 +PKGNAME= ${GITHUB_PROJECT:tl}-0.0.20230505 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_GITHUB:=0xacx/} GITHUB_PROJECT= chatGPT-shell-cli -GITHUB_TAG= 42d82b9d651be9d43f7f2ae52dcfe6c56e12b171 +GITHUB_TAG= 2e25138caaad77b59edb9936798a92ae80a4e0cd MAINTAINER= schmonz@NetBSD.org HOMEPAGE= https://github.com/0xacx/chatGPT-shell-cli/ COMMENT= Shell script to use OpenAI's ChatGPT and DALL-E LICENSE= mit -DEPENDS+= bash-[0-9]*:../../shells/bash DEPENDS+= curl-[0-9]*:../../www/curl DEPENDS+= jq-[0-9]*:../../devel/jq USE_LANGUAGES= # none +USE_TOOLS+= bash:run NO_BUILD= yes INSTALLATION_DIRS= bin Index: pkgsrc/misc/chatgpt-shell-cli/distinfo diff -u pkgsrc/misc/chatgpt-shell-cli/distinfo:1.1 pkgsrc/misc/chatgpt-shell-cli/distinfo:1.2 --- pkgsrc/misc/chatgpt-shell-cli/distinfo:1.1 Thu Apr 20 18:40:28 2023 +++ pkgsrc/misc/chatgpt-shell-cli/distinfo Fri May 5 14:04:18 2023 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1 2023/04/20 18:40:28 schmonz Exp $ +$NetBSD: distinfo,v 1.2 2023/05/05 14:04:18 schmonz Exp $ -BLAKE2s (chatGPT-shell-cli-42d82b9d651be9d43f7f2ae52dcfe6c56e12b171.tar.gz) = 92d0efc2d66677a0ee4e0bc90417a5c92960bd0b6d2734353d3a6bd30b52c797 -SHA512 (chatGPT-shell-cli-42d82b9d651be9d43f7f2ae52dcfe6c56e12b171.tar.gz) = 63a954da3d950ededf79c087abf2d0a1a0267121b81b01ba5f1255139f933a1ad46a74e87022fceda7d24fc7733185927874d29d092dafb62216d74f1fd66eae -Size (chatGPT-shell-cli-42d82b9d651be9d43f7f2ae52dcfe6c56e12b171.tar.gz) = 9309 bytes +BLAKE2s (chatGPT-shell-cli-2e25138caaad77b59edb9936798a92ae80a4e0cd.tar.gz) = d4e6f603d6991d47fd485431ad6547d94678685c1e3ac92875ee5e93676ca3bc +SHA512 (chatGPT-shell-cli-2e25138caaad77b59edb9936798a92ae80a4e0cd.tar.gz) = b3d9441e0f0d6f6cbfae8a392826e7a9db77d5b5b1e7ed90d3f686f68c9d8ee2171db2fd71b6f39072bfaa2d4f45921699ac66ae6ba03ce9cf07d093a2cdb486 +Size (chatGPT-shell-cli-2e25138caaad77b59edb9936798a92ae80a4e0cd.tar.gz) = 9524 bytes --_----------=_1683295458195790--