GNU bug report logs - #61823
[PATCH] gnu: Add tmux-plugin-continuum.

Previous Next

Package: guix-patches;

Reported by: EuAndreh <eu <at> euandre.org>

Date: Sun, 26 Feb 2023 20:16:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61823 in the body.
You can then email your comments to 61823 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#61823; Package guix-patches. (Sun, 26 Feb 2023 20:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to EuAndreh <eu <at> euandre.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 26 Feb 2023 20:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: EuAndreh <eu <at> euandre.org>
To: guix-patches <at> gnu.org
Cc: EuAndreh <eu <at> euandre.org>
Subject: [PATCH] gnu: Add tmux-plugin-continuum.
Date: Sun, 26 Feb 2023 17:14:56 -0300
* gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.
---

Notes:
    I've ran guix lint and style locally successfully, and also built twice
    with --rounds=2 to verify determinism.
    
    The lint says it can be upgraded to v3.1.0, but that version is older
    then the packaged commit, from around ~2015.  There hasn't been any Git
    tag ever since.

 gnu/packages/tmux.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 67ce18fea1..ec6bf78559 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -317,3 +317,43 @@ (define-public tmux-plugin-resurrect
 @end itemize")
       (home-page "https://github.com/tmux-plugins/tmux-resurrect/")
       (license license:expat))))
+
+(define-public tmux-plugin-continuum
+  (let ((commit "3e4bc35da41f956c873aea716c97555bf1afce5d")
+        (revision "0"))
+    (package
+      (name "tmux-plugin-continuum")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/tmux-plugins/tmux-continuum/")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "1py8qfs2f93hkxhk039m813bjgcs5k54si662gx05g3czqy06pb7"))))
+      (build-system trivial-build-system)
+      (arguments
+       `(#:modules ((guix build utils))
+         #:builder (begin
+                     (use-modules (guix build utils))
+                     (let ((out (string-append %output
+                                 "/share/tmux-plugins/continuum/")))
+                       (mkdir-p out)
+                       (copy-recursively (assoc-ref %build-inputs "source")
+                                         out)))))
+      (synopsis "Continous saving of tmux environment")
+      (description
+       "Features:
+
+@itemize
+@item continuous saving of tmux environment
+@item automatic tmux start when computer/server is turned on
+@item automatic restore when tmux is started
+@end itemize
+
+Together, these features enable uninterrupted tmux usage.  No matter the
+computer or server restarts, if the machine is on, tmux will be there how you
+left it off the last time it was used.")
+      (home-page "https://github.com/tmux-plugins/tmux-continuum/")
+      (license license:expat))))
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61823; Package guix-patches. (Sat, 11 Mar 2023 21:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 61823 <at> debbugs.gnu.org (full text, mbox):

From: EuAndreh <eu <at> euandre.org>
To: 61823 <at> debbugs.gnu.org
Cc: EuAndreh <eu <at> euandre.org>
Subject: [PATCH] gnu: Add tmux-plugin-continuum.
Date: Sat, 11 Mar 2023 18:01:34 -0300
* gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.
---

This version addresses the new linter offense that the CI raised.

 gnu/packages/tmux.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 67ce18fea1..9a2ab7ffbe 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -317,3 +317,44 @@ (define-public tmux-plugin-resurrect
 @end itemize")
       (home-page "https://github.com/tmux-plugins/tmux-resurrect/")
       (license license:expat))))
+
+(define-public tmux-plugin-continuum
+  (let ((commit "3e4bc35da41f956c873aea716c97555bf1afce5d")
+        (revision "0"))
+    (package
+      (name "tmux-plugin-continuum")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/tmux-plugins/tmux-continuum/")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1py8qfs2f93hkxhk039m813bjgcs5k54si662gx05g3czqy06pb7"))))
+      (build-system trivial-build-system)
+      (arguments
+       `(#:modules ((guix build utils))
+         #:builder (begin
+                     (use-modules (guix build utils))
+                     (let ((out (string-append %output
+                                 "/share/tmux-plugins/continuum/")))
+                       (mkdir-p out)
+                       (copy-recursively (assoc-ref %build-inputs "source")
+                                         out)))))
+      (synopsis "Continous saving of tmux environment")
+      (description
+       "Features:
+
+@itemize
+@item continuous saving of tmux environment
+@item automatic tmux start when computer/server is turned on
+@item automatic restore when tmux is started
+@end itemize
+
+Together, these features enable uninterrupted tmux usage.  No matter the
+computer or server restarts, if the machine is on, tmux will be there how you
+left it off the last time it was used.")
+      (home-page "https://github.com/tmux-plugins/tmux-continuum/")
+      (license license:expat))))
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#61823; Package guix-patches. (Tue, 16 May 2023 20:02:01 GMT) Full text and rfc822 format available.

Message #11 received at 61823 <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: EuAndreh <eu <at> euandre.org>
Cc: 61823 <at> debbugs.gnu.org
Subject: Re: [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum.
Date: Tue, 16 May 2023 16:01:29 -0400
On Sat, Mar 11, 2023 at 4:21 PM EuAndreh via Guix-patches via
<guix-patches <at> gnu.org> wrote:
>
> * gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.
> ---
>
> This version addresses the new linter offense that the CI raised.
>
>  gnu/packages/tmux.scm | 41 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 41 insertions(+)
>
> diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
> index 67ce18fea1..9a2ab7ffbe 100644
> --- a/gnu/packages/tmux.scm
> +++ b/gnu/packages/tmux.scm
> @@ -317,3 +317,44 @@ (define-public tmux-plugin-resurrect
>  @end itemize")
>        (home-page "https://github.com/tmux-plugins/tmux-resurrect/")
>        (license license:expat))))
> +
> +(define-public tmux-plugin-continuum
> +  (let ((commit "3e4bc35da41f956c873aea716c97555bf1afce5d")
> +        (revision "0"))
> +    (package
> +      (name "tmux-plugin-continuum")
> +      (version (git-version "0" revision commit))
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "https://github.com/tmux-plugins/tmux-continuum/")
> +                      (commit commit)))
> +                (file-name (git-file-name name version))
> +                (sha256
> +                 (base32
> +                  "1py8qfs2f93hkxhk039m813bjgcs5k54si662gx05g3czqy06pb7"))))
> +      (build-system trivial-build-system)
> +      (arguments
> +       `(#:modules ((guix build utils))
> +         #:builder (begin
> +                     (use-modules (guix build utils))
> +                     (let ((out (string-append %output
> +                                 "/share/tmux-plugins/continuum/")))
> +                       (mkdir-p out)
> +                       (copy-recursively (assoc-ref %build-inputs "source")
> +                                         out)))))
> +      (synopsis "Continous saving of tmux environment")

Continous -> Continuous (thanks spell check!)

> +      (description
> +       "Features:
> +
> +@itemize
> +@item continuous saving of tmux environment
> +@item automatic tmux start when computer/server is turned on
> +@item automatic restore when tmux is started
> +@end itemize
> +
> +Together, these features enable uninterrupted tmux usage.  No matter the
> +computer or server restarts, if the machine is on, tmux will be there how you
> +left it off the last time it was used.")
> +      (home-page "https://github.com/tmux-plugins/tmux-continuum/")
> +      (license license:expat))))
> --
> 2.39.2

I am able to load and configure settings for this plugin. I have not
been able to fully test the operation due to my use of "oh my tmux"
and the challenges of integrating into the status bar. The patch looks
good to my eyes other than the synopsis spelling noted above.




Information forwarded to guix-patches <at> gnu.org:
bug#61823; Package guix-patches. (Wed, 17 May 2023 12:25:02 GMT) Full text and rfc822 format available.

Message #14 received at 61823 <at> debbugs.gnu.org (full text, mbox):

From: EuAndreh <eu <at> euandre.org>
To: 61823 <at> debbugs.gnu.org
Cc: EuAndreh <eu <at> euandre.org>
Subject: [PATCH] gnu: Add tmux-plugin-continuum.
Date: Wed, 17 May 2023 09:24:05 -0300
* gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.
---

Notes:
    Fixed the spelling XD

 gnu/packages/tmux.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 67ce18fea1..7ed3c6aef3 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -317,3 +317,44 @@ (define-public tmux-plugin-resurrect
 @end itemize")
       (home-page "https://github.com/tmux-plugins/tmux-resurrect/")
       (license license:expat))))
+
+(define-public tmux-plugin-continuum
+  (let ((commit "3e4bc35da41f956c873aea716c97555bf1afce5d")
+        (revision "0"))
+    (package
+      (name "tmux-plugin-continuum")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/tmux-plugins/tmux-continuum/")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1py8qfs2f93hkxhk039m813bjgcs5k54si662gx05g3czqy06pb7"))))
+      (build-system trivial-build-system)
+      (arguments
+       `(#:modules ((guix build utils))
+         #:builder (begin
+                     (use-modules (guix build utils))
+                     (let ((out (string-append %output
+                                 "/share/tmux-plugins/continuum/")))
+                       (mkdir-p out)
+                       (copy-recursively (assoc-ref %build-inputs "source")
+                                         out)))))
+      (synopsis "Continuous saving of tmux environment")
+      (description
+       "Features:
+
+@itemize
+@item continuous saving of tmux environment
+@item automatic tmux start when computer/server is turned on
+@item automatic restore when tmux is started
+@end itemize
+
+Together, these features enable uninterrupted tmux usage.  No matter the
+computer or server restarts, if the machine is on, tmux will be there how you
+left it off the last time it was used.")
+      (home-page "https://github.com/tmux-plugins/tmux-continuum/")
+      (license license:expat))))

base-commit: c8e599b9391f789a8a3e2183fc8f0c2a5061ceb0
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#61823; Package guix-patches. (Wed, 17 May 2023 12:28:01 GMT) Full text and rfc822 format available.

Message #17 received at 61823 <at> debbugs.gnu.org (full text, mbox):

From: EuAndreh <eu <at> euandre.org>
To: Greg Hogan <code <at> greghogan.com>
Cc: 61823 <at> debbugs.gnu.org
Subject: Re: [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum.
Date: Wed, 17 May 2023 09:27:40 -0300
Also, I have been running the 
tmux-plugin-continuum+tmux-plugin-resurrect combo for some months now 
with no hiccups so far.




Information forwarded to guix-patches <at> gnu.org:
bug#61823; Package guix-patches. (Wed, 17 May 2023 12:29:02 GMT) Full text and rfc822 format available.

Message #20 received at 61823 <at> debbugs.gnu.org (full text, mbox):

From: EuAndreh <eu <at> euandre.org>
To: 61823 <at> debbugs.gnu.org
Subject: Re: [bug#61823] [PATCH] gnu: Add tmux-plugin-continuum.
Date: Wed, 17 May 2023 09:28:44 -0300
This version was rebased with master.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 08 Jun 2023 21:44:02 GMT) Full text and rfc822 format available.

Notification sent to EuAndreh <eu <at> euandre.org>:
bug acknowledged by developer. (Thu, 08 Jun 2023 21:44:02 GMT) Full text and rfc822 format available.

Message #25 received at 61823-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: EuAndreh <eu <at> euandre.org>
Cc: 61823-done <at> debbugs.gnu.org
Subject: Re: bug#61823: [PATCH] gnu: Add tmux-plugin-continuum.
Date: Thu, 08 Jun 2023 23:43:11 +0200
Hi,

EuAndreh <eu <at> euandre.org> skribis:

> * gnu/packages/tmux.scm (tmux-plugin-continuum): New variable.

Finally applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Jul 2023 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.