[PATCH 0/2] Update borgmatic to 1.8.14

  • Done
  • quality assurance status badge
Details
2 participants
  • jgart
  • Your Name
Owner
unassigned
Submitted by
Your Name
Severity
normal

Debbugs page

Y
Y
Your Name wrote on 5 Sep 06:00 -0700
(address . guix-patches@gnu.org)(name . Your Name)(address . steve@futurile.net)
cover.1725538532.git.steve@futurile.net
Series to update borgmatic to 1.8.14

Steve George (2):
gnu: python-apprise: Fix build.
gnu: borgmatic: Update to 1.8.14.

gnu/packages/backup.scm | 4 ++--
gnu/packages/python-xyz.scm | 17 ++++++++++-------
2 files changed, 12 insertions(+), 9 deletions(-)


base-commit: f42427046b11029faaa69b7f10c77b45240e1111
--
2.45.2
S
S
Steve George wrote on 5 Sep 07:36 -0700
[PATCH 2/2] gnu: borgmatic: Update to 1.8.14.
(address . 73038@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
bbc19f5cb7807021e3105f012cb3aefbff17d031.1725545669.git.steve@futurile.net
* gnu/packages/backup.scm (borgmatic): Update to 1.8.14.

Change-Id: Ib3af35971d1f8822562bbce2f191f292eb9badfe
---
gnu/packages/backup.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (22 lines)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 155e90e34e..b5ebafb254 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -1308,13 +1308,13 @@ (define-public disarchive
(define-public borgmatic
(package
(name "borgmatic")
- (version "1.8.13")
+ (version "1.8.14")
(source
(origin
(method url-fetch)
(uri (pypi-uri "borgmatic" version))
(sha256
- (base32 "08vlknlhczi98kwcrkaqvrwfxm9v284b4iaagrwgfzk32fdn57p1"))))
+ (base32 "0im7kx9mq1gymid88wa6yxcif4bdqpz5lag5fp9kpm8r5k13p2sr"))))
(build-system python-build-system)
(arguments
(list
--
2.45.2
Y
Y
Your Name wrote on 5 Sep 07:16 -0700
[PATCH 1/2] gnu: python-apprise: Fix build.
(address . 73038@debbugs.gnu.org)(name . Your Name)(address . steve@futurile.net)
fb4ceceb92c6d61056dce8b7e0d7d11849df3a75.1725545669.git.steve@futurile.net
* gnu/packages/python-xyz.scm (python-apprise): fix build failures
[native-inputs]: Remove unused python-flake8
[arguments]: turn off mqltt_tls tests that fail

Change-Id: Ia1a5b3d6ff284dc57f083c4bdbd1f6356be7a700
---
gnu/packages/python-xyz.scm | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 650220b71c..87c27beb55 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -324,7 +324,6 @@ (define-public python-apprise
(native-inputs (list python-babel
python-coverage
python-cryptography
- python-flake8
python-paho-mqtt
python-pytest
python-pytest-cov
@@ -333,12 +332,16 @@ (define-public python-apprise
python-wheel))
(arguments
(list
- #:phases #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (delete-file "test/test_plugin_macosx.py")
- (invoke "pytest")))))))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (delete-file "test/test_plugin_macosx.py")
+ (invoke "pytest" "-vv" "-k"
+ (string-append
+ "not test_plugin_mqtt_tls_connect_success"
+ " and not test_plugin_mqtt_tls_no_verify_success"))))))))
(home-page "https://github.com/caronc/apprise")
(synopsis
"Push notification Python library that works with many platforms")

base-commit: f42427046b11029faaa69b7f10c77b45240e1111
--
2.45.2
S
S
Steve George wrote on 5 Sep 07:57 -0700
(address . 73038@debbugs.gnu.org)(name . Your Name)(address . steve@futurile.net)
fb4ceceb92c6d61056dce8b7e0d7d11849df3a75.1725548201.git.steve@futurile.net
From: Your Name <steve@futurile.net>

* gnu/packages/python-xyz.scm (python-apprise): fix build failures
[native-inputs]: Remove unused python-flake8
[arguments]: turn off mqltt_tls tests that fail

Change-Id: Ia1a5b3d6ff284dc57f083c4bdbd1f6356be7a700
---
gnu/packages/python-xyz.scm | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 650220b71c..87c27beb55 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -324,7 +324,6 @@ (define-public python-apprise
(native-inputs (list python-babel
python-coverage
python-cryptography
- python-flake8
python-paho-mqtt
python-pytest
python-pytest-cov
@@ -333,12 +332,16 @@ (define-public python-apprise
python-wheel))
(arguments
(list
- #:phases #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (delete-file "test/test_plugin_macosx.py")
- (invoke "pytest")))))))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (delete-file "test/test_plugin_macosx.py")
+ (invoke "pytest" "-vv" "-k"
+ (string-append
+ "not test_plugin_mqtt_tls_connect_success"
+ " and not test_plugin_mqtt_tls_no_verify_success"))))))))
(home-page "https://github.com/caronc/apprise")
(synopsis
"Push notification Python library that works with many platforms")

base-commit: f42427046b11029faaa69b7f10c77b45240e1111
--
2.45.2
S
S
Steve George wrote on 7 Sep 01:32 -0700
[PATCH v2 0/2] Series to update borgmatic to 1.8.14
(address . 73038@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
cover.1725697758.git.steve@futurile.net
- Re-roll so QA can pick it up correctly

Steve George (2):
gnu: python-apprise: Fix build.
gnu: borgmatic: Update to 1.8.14.

gnu/packages/backup.scm | 4 ++--
gnu/packages/python-xyz.scm | 17 ++++++++++-------
2 files changed, 12 insertions(+), 9 deletions(-)


base-commit: f42427046b11029faaa69b7f10c77b45240e1111
--
2.45.2
S
S
Steve George wrote on 7 Sep 01:32 -0700
[PATCH v2 1/2] gnu: python-apprise: Fix build.
(address . 73038@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
602b373f7c6cdc56e17a49847f54356e6ad2582f.1725697758.git.steve@futurile.net
* gnu/packages/python-xyz.scm (python-apprise): fix build failures
[native-inputs]: Remove unused python-flake8
[arguments]: turn off mqltt_tls tests that fail

Change-Id: Ia1a5b3d6ff284dc57f083c4bdbd1f6356be7a700
---
gnu/packages/python-xyz.scm | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)

Toggle diff (37 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 650220b71c..87c27beb55 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -324,7 +324,6 @@ (define-public python-apprise
(native-inputs (list python-babel
python-coverage
python-cryptography
- python-flake8
python-paho-mqtt
python-pytest
python-pytest-cov
@@ -333,12 +332,16 @@ (define-public python-apprise
python-wheel))
(arguments
(list
- #:phases #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (delete-file "test/test_plugin_macosx.py")
- (invoke "pytest")))))))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (delete-file "test/test_plugin_macosx.py")
+ (invoke "pytest" "-vv" "-k"
+ (string-append
+ "not test_plugin_mqtt_tls_connect_success"
+ " and not test_plugin_mqtt_tls_no_verify_success"))))))))
(home-page "https://github.com/caronc/apprise")
(synopsis
"Push notification Python library that works with many platforms")
--
2.45.2
S
S
Steve George wrote on 7 Sep 01:32 -0700
[PATCH v2 2/2] gnu: borgmatic: Update to 1.8.14.
(address . 73038@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
6f955435210117be318754d224dab9dcb7af31cf.1725697758.git.steve@futurile.net
* gnu/packages/backup.scm (borgmatic): Update to 1.8.14.

Change-Id: I96d24d305d34fbd2555c009cb694c274eaf64844
---
gnu/packages/backup.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (22 lines)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 155e90e34e..b5ebafb254 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -1308,13 +1308,13 @@ (define-public disarchive
(define-public borgmatic
(package
(name "borgmatic")
- (version "1.8.13")
+ (version "1.8.14")
(source
(origin
(method url-fetch)
(uri (pypi-uri "borgmatic" version))
(sha256
- (base32 "08vlknlhczi98kwcrkaqvrwfxm9v284b4iaagrwgfzk32fdn57p1"))))
+ (base32 "0im7kx9mq1gymid88wa6yxcif4bdqpz5lag5fp9kpm8r5k13p2sr"))))
(build-system python-build-system)
(arguments
(list
--
2.45.2
J
Re: [PATCH 0/2] Update borgmatic to 1.8.14
(address . 73038@debbugs.gnu.org)(name . Steve George)(address . steve@futurile.net)
874j6rp8gq.fsf@dismail.de
hi,

it looks like the patch does not apply.

can you send a v3 after rebasing?

$ mumi am v2 -- -s -S
Applying: gnu: python-apprise: Fix build.
Applying: gnu: python-apprise: Fix build.
error: patch failed: gnu/packages/python-xyz.scm:324
error: gnu/packages/python-xyz.scm: patch does not apply
Patch failed at 0001 gnu: python-apprise: Fix build.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Backtrace:
2 (primitive-load "/gnu/store/bj3yzpfpmxxwxl02gr7lby212c5…")
In srfi/srfi-1.scm:
634:9 1 (for-each #<procedure 7f1ae6cc31e0 at mumi/client.scm:…> …)
In mumi/client.scm:
249:12 0 (call-with-output-pipe* _ _ . _)

mumi/client.scm:249:12: In procedure call-with-output-pipe*:
Command invocation failed failed ("git" "am" "-s" "-S")

--
mumi the world,
jgart
S
S
Steve George wrote on 9 Sep 05:15 -0700
(name . jgart)(address . jgart@dismail.de)(address . 73038@debbugs.gnu.org)
Zt7m8iwAaG66tdPE@dragon2
Hi,

I've confused Mumi somehow, it's not that the patch is malformed. This works for applying:

## apply v2 by downloading it from Debbugs as Mumi gets confused
guix shell --development guix mumi git git:send-email wget

# base commit for v2 series from cover-letter
git branch borgmatic-v2-tst5-apply f42427046b11029faaa69b7f10c77b45240e1111
git switch borgmatic-v2-tst5-apply

# Dezyne commit from Janneke
git log


git am -s python-apprise-v2.mbx
git am borgmatic-1.8.14-v2.mbx

I seem to keep getting the python apprise patch when I try and download the borgmatic patch v2 patch from Guix Issues:


Which maybe why the Mumi cli tool gets confused because it's processing the same patch twice.

Pretty sure I messed it up by accidently sending the first patch with the incorrect email details and I've just confused th heck out of everything. Anyway, the above works to get the v2 patches and apply them.

Thanks,

Steve


On 7 Sep, jgart wrote:
Toggle quote (31 lines)
>
> hi,
>
> it looks like the patch does not apply.
>
> can you send a v3 after rebasing?
>
> $ mumi am v2 -- -s -S
> Applying: gnu: python-apprise: Fix build.
> Applying: gnu: python-apprise: Fix build.
> error: patch failed: gnu/packages/python-xyz.scm:324
> error: gnu/packages/python-xyz.scm: patch does not apply
> Patch failed at 0001 gnu: python-apprise: Fix build.
> hint: Use 'git am --show-current-patch=diff' to see the failed patch
> hint: When you have resolved this problem, run "git am --continue".
> hint: If you prefer to skip this patch, run "git am --skip" instead.
> hint: To restore the original branch and stop patching, run "git am --abort".
> hint: Disable this message with "git config advice.mergeConflict false"
> Backtrace:
> 2 (primitive-load "/gnu/store/bj3yzpfpmxxwxl02gr7lby212c5…")
> In srfi/srfi-1.scm:
> 634:9 1 (for-each #<procedure 7f1ae6cc31e0 at mumi/client.scm:…> …)
> In mumi/client.scm:
> 249:12 0 (call-with-output-pipe* _ _ . _)
>
> mumi/client.scm:249:12: In procedure call-with-output-pipe*:
> Command invocation failed failed ("git" "am" "-s" "-S")
>
> --
> mumi the world,
> jgart
J
J
jgart wrote 7 days ago
(address . 73038-done@debbugs.gnu.org)
87cylct8pq.fsf@dismail.de
Applied, thanks!

--
all the best,
jgart
Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 73038@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73038
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch