Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] transifex-cli: update to 1.3.0, disable self-updates
Date: Fri, 29 Jul 2022 09:03:43 +0200	[thread overview]
Message-ID: <20220729070343.uvLz9fNo3aPu7ItUHd-K3eA09pED-pwCzzSKsF3fCu0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38330@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]

There is an updated pull request by tranzystorek-io against master on the void-packages repository

https://github.com/tranzystorek-io/void-packages transifex-cli
https://github.com/void-linux/void-packages/pull/38330

transifex-cli: update to 1.3.0, disable self-updates
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38330.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-transifex-cli-38330.patch --]
[-- Type: text/x-diff, Size: 1975 bytes --]

From dd2a3436405ba4d8f165f565f2770b31dad7a572 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Thu, 28 Jul 2022 10:11:14 +0200
Subject: [PATCH] transifex-cli: update to 1.3.0, disable self-updates

---
 .../patches/disable-self-updates.patch             | 14 ++++++++++++++
 srcpkgs/transifex-cli/template                     |  4 ++--
 2 files changed, 16 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/transifex-cli/patches/disable-self-updates.patch

diff --git a/srcpkgs/transifex-cli/patches/disable-self-updates.patch b/srcpkgs/transifex-cli/patches/disable-self-updates.patch
new file mode 100644
index 000000000000..b2ae0b0fd224
--- /dev/null
+++ b/srcpkgs/transifex-cli/patches/disable-self-updates.patch
@@ -0,0 +1,14 @@
+diff --git a/internal/txlib/update.go b/internal/txlib/update.go
+index 98b6f6d..8b397a9 100644
+--- a/internal/txlib/update.go
++++ b/internal/txlib/update.go
+@@ -18,6 +18,9 @@ type UpdateCommandArguments struct {
+ }
+ 
+ func UpdateCommand(arguments UpdateCommandArguments) error {
++	fmt.Println("This version cannot perform self-updates")
++	return nil
++
+ 	if arguments.Debug {
+ 		selfupdate.EnableLog()
+ 	}
diff --git a/srcpkgs/transifex-cli/template b/srcpkgs/transifex-cli/template
index 999b461c7c51..c8d753ad7226 100644
--- a/srcpkgs/transifex-cli/template
+++ b/srcpkgs/transifex-cli/template
@@ -1,6 +1,6 @@
 # Template file for 'transifex-cli'
 pkgname=transifex-cli
-version=1.2.1
+version=1.3.0
 revision=1
 wrksrc="cli-${version}"
 build_style=go
@@ -12,7 +12,7 @@ license="Apache-2.0"
 homepage="https://github.com/transifex/cli"
 changelog="https://github.com/transifex/cli/releases"
 distfiles="https://github.com/transifex/cli/archive/refs/tags/v${version}.tar.gz"
-checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be
+checksum=e1cbf24e4c0dcb08d3d13c543e36156b50d420e6cc6198f30fba354016f4fd32
 
 post_install() {
 	mv ${DESTDIR}/usr/bin/{cli,transifex}

  parent reply	other threads:[~2022-07-29  7:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-28  8:12 [PR PATCH] transifex-cli: update to 1.3.0 tranzystorek-io
2022-07-28 14:21 ` [PR PATCH] [Updated] " tranzystorek-io
2022-07-28 14:29 ` [PR PATCH] [Updated] transifex-cli: update to 1.3.0, disable self-updates tranzystorek-io
2022-07-28 14:53 ` tranzystorek-io
2022-07-28 15:35 ` tranzystorek-io
2022-07-29  5:27 ` tranzystorek-io
2022-07-29  6:54 ` classabbyamp
2022-07-29  7:03 ` tranzystorek-io [this message]
2022-07-29  7:08 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220729070343.uvLz9fNo3aPu7ItUHd-K3eA09pED-pwCzzSKsF3fCu0@z \
    --to=tranzystorek-io@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).