* [gentoo-commits] repo/proj/guru:master commit in: app-admin/bitwarden-cli/
@ 2024-02-26 16:30 Viorel Munteanu
0 siblings, 0 replies; 6+ messages in thread
From: Viorel Munteanu @ 2024-02-26 16:30 UTC (permalink / raw
To: gentoo-commits
commit: 53c5090f8e9afbef708796f16c8ddd08ebd70c59
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Mon Feb 26 06:18:04 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 06:18:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53c5090f
app-admin/bitwarden-cli: line break, fix metadata.xml
I always forget about running pkgcheck prior to pushing
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild | 3 ++-
app-admin/bitwarden-cli/metadata.xml | 2 --
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
index 8258f2c576..7d6bf1c2a0 100644
--- a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
+++ b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
@@ -51,7 +51,8 @@ src_prepare() {
src_compile() {
pushd apps/cli
- PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin"
+ PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin \
+ || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin"
./dist/linux/bw completion --shell zsh > bw.zsh
}
diff --git a/app-admin/bitwarden-cli/metadata.xml b/app-admin/bitwarden-cli/metadata.xml
index 120e3e571a..32c863c574 100644
--- a/app-admin/bitwarden-cli/metadata.xml
+++ b/app-admin/bitwarden-cli/metadata.xml
@@ -9,7 +9,5 @@
<remote-id type="github">bitwarden/clients</remote-id>
<bugs-to>https://github.com/bitwarden/clients/issues</bugs-to>
<doc>https://github.com/bitwarden/clients/tree/main/apps/cli</doc>
- <doc>https://contributing.bitwarden.com/getting-started/clients/cli/</doc>
- <doc>https://bitwarden.com/help/cli/</doc>
</upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-admin/bitwarden-cli/
@ 2024-02-26 16:30 Viorel Munteanu
0 siblings, 0 replies; 6+ messages in thread
From: Viorel Munteanu @ 2024-02-26 16:30 UTC (permalink / raw
To: gentoo-commits
commit: c7737650e9b4faaa9069cf70a62d4816a16e4238
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sun Feb 25 01:06:24 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 05:47:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7737650
app-admin/bitwarden-cli: frontend to Bitwarden compatible servers
Initial 2024.2.0
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-admin/bitwarden-cli/Manifest | 3 ++
.../bitwarden-cli/bitwarden-cli-2024.2.0.ebuild | 61 ++++++++++++++++++++++
app-admin/bitwarden-cli/metadata.xml | 15 ++++++
3 files changed, 79 insertions(+)
diff --git a/app-admin/bitwarden-cli/Manifest b/app-admin/bitwarden-cli/Manifest
new file mode 100644
index 0000000000..c7b8232019
--- /dev/null
+++ b/app-admin/bitwarden-cli/Manifest
@@ -0,0 +1,3 @@
+DIST bitwarden-cli-2024.2.0-pkg-cache.tar.xz 13081348 BLAKE2B c0f56169752a8659f4a42b36a1fb48604d968a82853f8a860fb03455b499be03ba6cdacc643188b86c3673ffa26ab8ed2a825bdf6a37996189f851ad5e638b5b SHA512 f1de3477537b9f95dc38353ce1bf1d22e7cf8b92b0012befe2c0db4c62dd1f7fc419ba06518318fed90deb9a8627e35422daee8ba70f07e02f3c8eb43678a7c1
+DIST bitwarden-cli-2024.2.0.tar.gz 20328706 BLAKE2B 0f8120b7ddbf74a6e5c3d7a63ad72dd3ecea3f32c46b488b21bfa2ca877724841a5dd9318854a0204dc7015ea104ffed0783a8301bf57a53f9a5d4b9d1ff18e1 SHA512 8a9f69242a945b17c944c699649b9f2524d5ae3b07f97d296ae01bde44b9081b9262fa80028c28a1f876ce789d4daac103d2c15c01a9af07e5c7159f43d427b6
+DIST bitwarden-clients-a1a5c4b.tar.xz 204680568 BLAKE2B dd7ae09792831dacf9e7c110a508315e8d57c3231c6c32014e7b842ffc01a046fec03f375c48afd40379ba2853159e594a54b3f8ec229c1568ba3d1b8c054335 SHA512 5644d0b53c525164c2af14036dd7d432be9a943b55df2aef9922329326b164b31336bd53e2f9f2eb35a858f974d8fc0a3bd3aac6e42b821d5d4634ca714a51c3
diff --git a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
new file mode 100644
index 0000000000..8258f2c576
--- /dev/null
+++ b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit check-reqs shell-completion
+
+DESCRIPTION="CLI frontend client connects to Bitwarden comapatible password manager server"
+HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli"
+
+BW_CLIENTS_COMMIT="a1a5c4b"
+SRC_URI="
+ https://github.com/bitwarden/clients/archive/refs/tags/cli-v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/rahilarious/gentoo-distfiles/releases/download/bitwarden-clients-${BW_CLIENTS_COMMIT}/deps.tar.xz -> bitwarden-clients-${BW_CLIENTS_COMMIT}.tar.xz
+ https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/pkg-cache.tar.xz -> ${P}-pkg-cache.tar.xz
+"
+
+S="${WORKDIR}/clients-cli-v${PV}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# non-stripped binary is of 99M but works
+# stripped bianry is of 44M but doesnt work
+RESTRICT='strip'
+
+RDEPEND="!app-admin/bitwarden-cli-bin"
+BDEPEND="
+ net-libs/nodejs:0/18[npm]
+"
+
+QA_PRESTRIPPED="usr/bin/bw"
+
+CHECKREQS_MEMORY=2G
+CHECKREQS_DISK_BUILD=2G
+
+pkg_pretend() {
+ einfo ""
+ einfo "#################################################"
+ einfo "Precompiled alternative to this package is available:"
+ einfo " ${CATEGORY}/${PN}-bin"
+ einfo "#################################################"
+ einfo ""
+ check-reqs_pkg_pretend
+}
+
+src_prepare() {
+ default
+ mv -v ../node_modules ./ || die
+}
+
+src_compile() {
+ pushd apps/cli
+ PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin"
+ ./dist/linux/bw completion --shell zsh > bw.zsh
+}
+
+src_install() {
+ dobin apps/cli/dist/linux/bw
+ newzshcomp apps/cli/bw.zsh _bw
+}
diff --git a/app-admin/bitwarden-cli/metadata.xml b/app-admin/bitwarden-cli/metadata.xml
new file mode 100644
index 0000000000..120e3e571a
--- /dev/null
+++ b/app-admin/bitwarden-cli/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>me@rahil.rocks</email>
+ <name>Rahil Bhimjiani</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bitwarden/clients</remote-id>
+ <bugs-to>https://github.com/bitwarden/clients/issues</bugs-to>
+ <doc>https://github.com/bitwarden/clients/tree/main/apps/cli</doc>
+ <doc>https://contributing.bitwarden.com/getting-started/clients/cli/</doc>
+ <doc>https://bitwarden.com/help/cli/</doc>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-admin/bitwarden-cli/
@ 2024-02-27 6:31 Haelwenn Monnier
0 siblings, 0 replies; 6+ messages in thread
From: Haelwenn Monnier @ 2024-02-27 6:31 UTC (permalink / raw
To: gentoo-commits
commit: c4def3f6f4b0ee781566975b1fc7a31e44337086
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Mon Feb 26 21:41:09 2024 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Feb 26 21:41:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c4def3f6
app-admin/bitwarden-cli: die multiple times
Clauses -
https://github.com/gentoo/guru/commit/1e15d68eb375d7e1ceb3796314ca69aa8b4a596d#r139080432
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
index d6eb78d6ef..14a95f9cc5 100644
--- a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
+++ b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
@@ -50,11 +50,11 @@ src_prepare() {
}
src_compile() {
- pushd apps/cli
+ pushd apps/cli || die
PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin \
|| die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin"
- ./dist/linux/bw completion --shell zsh > bw.zsh
- popd
+ ./dist/linux/bw completion --shell zsh > bw.zsh || die
+ popd || die
}
src_install() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-admin/bitwarden-cli/
@ 2024-02-27 6:31 Haelwenn Monnier
0 siblings, 0 replies; 6+ messages in thread
From: Haelwenn Monnier @ 2024-02-27 6:31 UTC (permalink / raw
To: gentoo-commits
commit: 1e15d68eb375d7e1ceb3796314ca69aa8b4a596d
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Mon Feb 26 17:46:22 2024 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Feb 26 20:24:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1e15d68e
app-admin/bitwarden-cli: what is pushd must be popd
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
index 7d6bf1c2a0..d6eb78d6ef 100644
--- a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
+++ b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild
@@ -54,6 +54,7 @@ src_compile() {
PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin \
|| die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin"
./dist/linux/bw completion --shell zsh > bw.zsh
+ popd
}
src_install() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-admin/bitwarden-cli/
@ 2024-03-07 13:24 Viorel Munteanu
0 siblings, 0 replies; 6+ messages in thread
From: Viorel Munteanu @ 2024-03-07 13:24 UTC (permalink / raw
To: gentoo-commits
commit: fea8b9625e9f98ff31942b7ead26208aaafe1634
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Thu Mar 7 11:57:58 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Mar 7 11:59:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fea8b962
app-admin/bitwarden-cli: add 2024.2.1
1. fix QA warning
Closes: https://bugs.gentoo.org/925573
Closes: https://bugs.gentoo.org/925572
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-admin/bitwarden-cli/Manifest | 2 +
.../bitwarden-cli/bitwarden-cli-2024.2.1.ebuild | 64 ++++++++++++++++++++++
2 files changed, 66 insertions(+)
diff --git a/app-admin/bitwarden-cli/Manifest b/app-admin/bitwarden-cli/Manifest
index c7b8232019..7c5d3dd61b 100644
--- a/app-admin/bitwarden-cli/Manifest
+++ b/app-admin/bitwarden-cli/Manifest
@@ -1,3 +1,5 @@
DIST bitwarden-cli-2024.2.0-pkg-cache.tar.xz 13081348 BLAKE2B c0f56169752a8659f4a42b36a1fb48604d968a82853f8a860fb03455b499be03ba6cdacc643188b86c3673ffa26ab8ed2a825bdf6a37996189f851ad5e638b5b SHA512 f1de3477537b9f95dc38353ce1bf1d22e7cf8b92b0012befe2c0db4c62dd1f7fc419ba06518318fed90deb9a8627e35422daee8ba70f07e02f3c8eb43678a7c1
DIST bitwarden-cli-2024.2.0.tar.gz 20328706 BLAKE2B 0f8120b7ddbf74a6e5c3d7a63ad72dd3ecea3f32c46b488b21bfa2ca877724841a5dd9318854a0204dc7015ea104ffed0783a8301bf57a53f9a5d4b9d1ff18e1 SHA512 8a9f69242a945b17c944c699649b9f2524d5ae3b07f97d296ae01bde44b9081b9262fa80028c28a1f876ce789d4daac103d2c15c01a9af07e5c7159f43d427b6
+DIST bitwarden-cli-2024.2.1.tar.gz 20495977 BLAKE2B 18059a640669ed6f62afcca8b49279f5e3be4c9bf750c3d96de1533895fa49c50ec9d640a79175d9fc4a059108c2c818110fa636513ba056bec90ea36d595114 SHA512 4fa123b9081b81e9df02cde85b61e673d5da4c3d65ebbe298633eadf773065a0108dfc43a44e07e54fd7c085d09a97f797b5f2c6139850c445d282785075196c
+DIST bitwarden-clients-82998d8.tar.xz 206299056 BLAKE2B 3ffeedfebfa18c4dee6148da47d1942dbb15890ffb7c6469f53d349c8233204950be09cb83542b1bc1cba4f099bc3d51e7f2ababd9eb871373183837f31d2f07 SHA512 c5e4bd8163e2d3d505aea3719ef675bf525ca37e3451c8e12d3a3c69a91cdf8184f83ec3033f61c7ab3d70a288d5c0f5e6c739eff5542454ecb9979e5a3a558d
DIST bitwarden-clients-a1a5c4b.tar.xz 204680568 BLAKE2B dd7ae09792831dacf9e7c110a508315e8d57c3231c6c32014e7b842ffc01a046fec03f375c48afd40379ba2853159e594a54b3f8ec229c1568ba3d1b8c054335 SHA512 5644d0b53c525164c2af14036dd7d432be9a943b55df2aef9922329326b164b31336bd53e2f9f2eb35a858f974d8fc0a3bd3aac6e42b821d5d4634ca714a51c3
diff --git a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.1.ebuild b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.1.ebuild
new file mode 100644
index 0000000000..ec43c46165
--- /dev/null
+++ b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit check-reqs shell-completion
+
+DESCRIPTION="CLI frontend client connects to Bitwarden comapatible password manager server"
+HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli"
+
+BW_CLIENTS_COMMIT="82998d8"
+SRC_URI="
+ https://github.com/bitwarden/clients/archive/refs/tags/cli-v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/rahilarious/gentoo-distfiles/releases/download/bitwarden-clients-${BW_CLIENTS_COMMIT}/deps.tar.xz -> bitwarden-clients-${BW_CLIENTS_COMMIT}.tar.xz
+ https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-2024.2.0/pkg-cache.tar.xz -> ${PN}-2024.2.0-pkg-cache.tar.xz
+"
+
+S="${WORKDIR}/clients-cli-v${PV}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# non-stripped binary is of 99M but works
+# stripped bianry is of 44M but doesnt work
+RESTRICT='strip'
+
+RDEPEND="!app-admin/bitwarden-cli-bin"
+BDEPEND="
+ net-libs/nodejs:0/18[npm]
+"
+
+QA_PRESTRIPPED="usr/bin/bw"
+QA_FLAGS_IGNORED="${QA_PRESTRIPPED}"
+
+CHECKREQS_MEMORY=2G
+CHECKREQS_DISK_BUILD=2G
+
+pkg_pretend() {
+ einfo ""
+ einfo "#################################################"
+ einfo "Precompiled alternative to this package is available:"
+ einfo " ${CATEGORY}/${PN}-bin"
+ einfo "#################################################"
+ einfo ""
+ check-reqs_pkg_pretend
+}
+
+src_prepare() {
+ default
+ mv -v ../node_modules ./ || die
+}
+
+src_compile() {
+ pushd apps/cli || die
+ PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin \
+ || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin"
+ ./dist/linux/bw completion --shell zsh > bw.zsh || die
+ popd || die
+}
+
+src_install() {
+ dobin apps/cli/dist/linux/bw
+ newzshcomp apps/cli/bw.zsh _bw
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-admin/bitwarden-cli/
@ 2025-03-18 9:25 David Roman
0 siblings, 0 replies; 6+ messages in thread
From: David Roman @ 2025-03-18 9:25 UTC (permalink / raw
To: gentoo-commits
commit: 37aaa4541a227353d9acdc590efd1fa16a72545b
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Mon Mar 17 16:42:20 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Mar 17 16:42:20 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37aaa454
app-admin/bitwarden-cli: remove myself as maintainer
* no longer seeing worth in maintaining this package
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
app-admin/bitwarden-cli/metadata.xml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/app-admin/bitwarden-cli/metadata.xml b/app-admin/bitwarden-cli/metadata.xml
index 32c863c57..2c704a48e 100644
--- a/app-admin/bitwarden-cli/metadata.xml
+++ b/app-admin/bitwarden-cli/metadata.xml
@@ -1,10 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>me@rahil.rocks</email>
- <name>Rahil Bhimjiani</name>
- </maintainer>
+ <!-- maintainer-needed -->
<upstream>
<remote-id type="github">bitwarden/clients</remote-id>
<bugs-to>https://github.com/bitwarden/clients/issues</bugs-to>
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-03-18 9:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 16:30 [gentoo-commits] repo/proj/guru:master commit in: app-admin/bitwarden-cli/ Viorel Munteanu
-- strict thread matches above, loose matches on Subject: below --
2025-03-18 9:25 David Roman
2024-03-07 13:24 Viorel Munteanu
2024-02-27 6:31 Haelwenn Monnier
2024-02-27 6:31 Haelwenn Monnier
2024-02-26 16:30 Viorel Munteanu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox