Package Details: telepresence2 2.17.0-1

Git Clone URL: https://aur.archlinux.org/telepresence2.git (read-only, click to copy)
Package Base: telepresence2
Description: Local development against a remote Kubernetes or OpenShift cluster
Upstream URL: https://github.com/telepresenceio/telepresence
Licenses: Apache
Submitter: xiayesuifeng
Maintainer: xiayesuifeng (cwrau)
Last Packager: xiayesuifeng
Votes: 2
Popularity: 0.000000
First Submitted: 2021-08-05 12:59 (UTC)
Last Updated: 2023-12-06 09:46 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

pschichtel commented on 2025-01-14 20:53 (UTC)

2.21 is out, can this be updated? I'm also offering to co-maintain.

cwrau commented on 2023-09-20 08:32 (UTC)

@xiayesuifeng, yes but v2 is not working well for me in general, not just the building 😅

Awesome!

xiayesuifeng commented on 2023-09-20 08:28 (UTC)

@cwrau But telepresence v1 is no longer officially under maintenance. I tried the latest v2.15.1, and it can compile. I will update the version later

cwrau commented on 2023-09-20 08:19 (UTC)

@xiayesuifeng, sadly I'm not using this anymore, as I've switched to telepresence v1 😅

I looked at getting the completion working anyways, but I can't build it locally. A rough look gave me the impression that telepresence2 is not compatible with go 1.21?

package github.com/telepresenceio/telepresence/v2/cmd/telepresence
    imports github.com/telepresenceio/telepresence/v2/pkg/client/cli
    imports github.com/telepresenceio/telepresence/v2/pkg/client/rootd
    imports github.com/telepresenceio/telepresence/v2/pkg/client/rootd/dns
    imports github.com/telepresenceio/telepresence/v2/pkg/vif
    imports gvisor.dev/gvisor/pkg/tcpip/adapters/gonet
    imports gvisor.dev/gvisor/pkg/tcpip/stack
    imports gvisor.dev/gvisor/pkg/sync/locking
    imports gvisor.dev/gvisor/pkg/gohacks: build constraints exclude all Go files in /home/cwr/.local/share/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20221216231429-a78e892a26d2/pkg/gohacks

xiayesuifeng commented on 2023-09-20 07:44 (UTC)

@cwrau You are now a co-maintainer if you wish.

cwrau commented on 2023-06-29 07:45 (UTC)

Can you add completion?;

diff --git a/PKGBUILD b/PKGBUILD
index 2988b42..ec32619 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,8 +13,12 @@ depends=()
 source=("$pkgname-$pkgver.tar.gz::https://github.com/telepresenceio/telepresence/archive/refs/tags/v${pkgver}.tar.gz")
 md5sums=('c543fbcb3ae59f96703e342397a4c573')

-package(){
+package() {
   cd ${srcdir}/telepresence-${pkgver}
   TELEPRESENCE_VERSION=v${pkgver} make build
   install -Dm755 ./build-output/bin/telepresence ${pkgdir}/usr/bin/telepresence
+  ${pkgdir}/usr/bin/telepresence completion zsh >$srcdir/zsh_telepresence
+  ${pkgdir}/usr/bin/telepresence completion bash >$srcdir/bash_telepresence
+  install -D -m 0644 $srcdir/zsh_telepresence $pkgdir/usr/share/zsh/site-functions/_telepresence
+  install -D -m 0644 $srcdir/bash_telepresence $pkgdir/usr/share/bash-completion/completions/telepresence
 }

If you want I can take over / co-maintain this package, if you don't got the time

aquator commented on 2022-04-07 06:35 (UTC) (edited on 2022-04-08 06:04 (UTC) by aquator)

Edit: now it works fine, thanks!

git restore pkg/install/helm/telepresence-chart.tgz
fatal: not a git repository (or any of the parent directories): .git
make: *** [build-aux/main.mk:111: build] Error 128
==> ERROR: A failure occurred in package().
    Aborting...

aquator commented on 2022-01-26 07:31 (UTC)

jq should be at least a development dependency as it is used during installation