Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: tere-1.5.1
@ 2023-12-28 17:29 zen0bit
  2023-12-28 18:29 ` zen0bit
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zen0bit @ 2023-12-28 17:29 UTC (permalink / raw)
  To: ml

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

There is a new pull request by zen0bit against master on the void-packages repository

https://github.com/oSoWoSo/VUR tere
https://github.com/void-linux/void-packages/pull/47947

New package: tere-1.5.1
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x64 glibc)

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

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

From 2fc2b3bafe2f9014a5597172a21169c753b28fc4 Mon Sep 17 00:00:00 2001
From: zenobit <zenobit@disroot.org>
Date: Thu, 28 Dec 2023 18:25:02 +0100
Subject: [PATCH] New package: tere-1.5.1

---
 srcpkgs/tere/template | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 srcpkgs/tere/template

diff --git a/srcpkgs/tere/template b/srcpkgs/tere/template
new file mode 100644
index 0000000000000..73f502bbb029b
--- /dev/null
+++ b/srcpkgs/tere/template
@@ -0,0 +1,11 @@
+# Template file for 'tere'
+pkgname=tere
+version=1.5.1
+revision=1
+build_style=cargo
+short_desc="Faster alternative to cd + ls"
+maintainer="zenobit <zenobit@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mgunyho/tere"
+distfiles="https://github.com/mgunyho/tere/archive/refs/tags/v${version}.tar.gz"
+checksum=d7f657371ffbd469c4d8855c2a2734c20b53ae632fe3cbf9bb7cab94bd726326

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: tere-1.5.1
  2023-12-28 17:29 [PR PATCH] New package: tere-1.5.1 zen0bit
@ 2023-12-28 18:29 ` zen0bit
  2023-12-28 23:09 ` [PR PATCH] [Updated] " zen0bit
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: zen0bit @ 2023-12-28 18:29 UTC (permalink / raw)
  To: ml

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

New comment by zen0bit on void-packages repository

https://github.com/void-linux/void-packages/pull/47947#issuecomment-1871402200

Comment:
[issue](https://github.com/mgunyho/tere/issues/93)

will try patch later [merged](https://github.com/mgunyho/tere/commit/8cadf56d5a835da844c70c54f026a22f6c640c8f) not yet released

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: tere-1.5.1
  2023-12-28 17:29 [PR PATCH] New package: tere-1.5.1 zen0bit
  2023-12-28 18:29 ` zen0bit
@ 2023-12-28 23:09 ` zen0bit
  2023-12-29 17:13 ` icp1994
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: zen0bit @ 2023-12-28 23:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/oSoWoSo/VUR tere
https://github.com/void-linux/void-packages/pull/47947

New package: tere-1.5.1
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x64 glibc

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

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

From 76d55c8bb3da952bdb9a643d04cc7964d5303fc0 Mon Sep 17 00:00:00 2001
From: zenobit <zenobit@disroot.org>
Date: Thu, 28 Dec 2023 18:25:02 +0100
Subject: [PATCH] New package: tere-1.5.1

---
 .../patches/case_sensitive_mode_test.patch    | 43 +++++++++++++++++++
 srcpkgs/tere/template                         | 11 +++++
 2 files changed, 54 insertions(+)
 create mode 100644 srcpkgs/tere/patches/case_sensitive_mode_test.patch
 create mode 100644 srcpkgs/tere/template

diff --git a/srcpkgs/tere/patches/case_sensitive_mode_test.patch b/srcpkgs/tere/patches/case_sensitive_mode_test.patch
new file mode 100644
index 0000000000000..01b54e8b80266
--- /dev/null
+++ b/srcpkgs/tere/patches/case_sensitive_mode_test.patch
@@ -0,0 +1,43 @@
+From 8cadf56d5a835da844c70c54f026a22f6c640c8f Mon Sep 17 00:00:00 2001
+From: mgunyho <20118130+mgunyho@users.noreply.github.com>
+Date: Thu, 21 Dec 2023 15:21:37 +0200
+Subject: [PATCH] Fix and improve case sensitive mode test
+
+Not sure why it was broken in the first place...
+
+See also discussion in Github issue #93
+---
+ src/app_state.rs | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/src/app_state.rs b/src/app_state.rs
+index 5dcdc52e..eb17465b 100644
+--- a/src/app_state.rs
++++ b/src/app_state.rs
+@@ -1696,20 +1696,20 @@ mod tests {
+     fn test_case_sensitive_mode_change() {
+         let tmp = TempDir::new().unwrap();
+         let mut s = create_test_state_with_folders(&tmp, 10, vec!["A", "a"]);
+-        s.cursor_pos = 2;
++        s.cursor_pos = 1;
+         s.advance_search("a");
+ 
+         // current state: ('*' shows the matches)
+         //   ..
+-        //   A  *
+-        // > a  *
++        // > A  *
++        //   a  *
+ 
+         assert_eq!(s.visible_match_indices(), vec![1, 2]);
+-        assert_eq!(s.cursor_pos, 2);
++        assert_eq!(s.cursor_pos, 1);
+ 
+         s.set_case_sensitive(CaseSensitiveMode::CaseSensitive);
+-        assert_eq!(s.visible_match_indices(), vec![1]);
+-        assert_eq!(s.cursor_pos, 1);
++        assert_eq!(s.visible_match_indices(), vec![2]);
++        assert_eq!(s.cursor_pos, 2);
+     }
+ 
+     #[test]
diff --git a/srcpkgs/tere/template b/srcpkgs/tere/template
new file mode 100644
index 0000000000000..73f502bbb029b
--- /dev/null
+++ b/srcpkgs/tere/template
@@ -0,0 +1,11 @@
+# Template file for 'tere'
+pkgname=tere
+version=1.5.1
+revision=1
+build_style=cargo
+short_desc="Faster alternative to cd + ls"
+maintainer="zenobit <zenobit@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mgunyho/tere"
+distfiles="https://github.com/mgunyho/tere/archive/refs/tags/v${version}.tar.gz"
+checksum=d7f657371ffbd469c4d8855c2a2734c20b53ae632fe3cbf9bb7cab94bd726326

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: tere-1.5.1
  2023-12-28 17:29 [PR PATCH] New package: tere-1.5.1 zen0bit
  2023-12-28 18:29 ` zen0bit
  2023-12-28 23:09 ` [PR PATCH] [Updated] " zen0bit
@ 2023-12-29 17:13 ` icp1994
  2024-01-10  2:42 ` [PR PATCH] [Updated] " zen0bit
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: icp1994 @ 2023-12-29 17:13 UTC (permalink / raw)
  To: ml

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

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/47947#issuecomment-1872227546

Comment:
Can confirm this is a nice utility, has been using it since quite some time now.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: tere-1.5.1
  2023-12-28 17:29 [PR PATCH] New package: tere-1.5.1 zen0bit
                   ` (2 preceding siblings ...)
  2023-12-29 17:13 ` icp1994
@ 2024-01-10  2:42 ` zen0bit
  2024-04-10  1:45 ` github-actions
  2024-04-11 14:57 ` [PR PATCH] [Updated] " zen0bit
  5 siblings, 0 replies; 7+ messages in thread
From: zen0bit @ 2024-01-10  2:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/oSoWoSo/VUR tere
https://github.com/void-linux/void-packages/pull/47947

New package: tere-1.5.1
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x64 glibc

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

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

From b1268d0386a0b73483cf8a3a27af5b7ac7cd4eca Mon Sep 17 00:00:00 2001
From: zenobit <zenobit@disroot.org>
Date: Thu, 28 Dec 2023 18:25:02 +0100
Subject: [PATCH] New package: tere-1.5.1

---
 .../patches/case_sensitive_mode_test.patch    | 43 +++++++++++++++++++
 srcpkgs/tere/template                         | 11 +++++
 2 files changed, 54 insertions(+)
 create mode 100644 srcpkgs/tere/patches/case_sensitive_mode_test.patch
 create mode 100644 srcpkgs/tere/template

diff --git a/srcpkgs/tere/patches/case_sensitive_mode_test.patch b/srcpkgs/tere/patches/case_sensitive_mode_test.patch
new file mode 100644
index 0000000000000..01b54e8b80266
--- /dev/null
+++ b/srcpkgs/tere/patches/case_sensitive_mode_test.patch
@@ -0,0 +1,43 @@
+From 8cadf56d5a835da844c70c54f026a22f6c640c8f Mon Sep 17 00:00:00 2001
+From: mgunyho <20118130+mgunyho@users.noreply.github.com>
+Date: Thu, 21 Dec 2023 15:21:37 +0200
+Subject: [PATCH] Fix and improve case sensitive mode test
+
+Not sure why it was broken in the first place...
+
+See also discussion in Github issue #93
+---
+ src/app_state.rs | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/src/app_state.rs b/src/app_state.rs
+index 5dcdc52e..eb17465b 100644
+--- a/src/app_state.rs
++++ b/src/app_state.rs
+@@ -1696,20 +1696,20 @@ mod tests {
+     fn test_case_sensitive_mode_change() {
+         let tmp = TempDir::new().unwrap();
+         let mut s = create_test_state_with_folders(&tmp, 10, vec!["A", "a"]);
+-        s.cursor_pos = 2;
++        s.cursor_pos = 1;
+         s.advance_search("a");
+ 
+         // current state: ('*' shows the matches)
+         //   ..
+-        //   A  *
+-        // > a  *
++        // > A  *
++        //   a  *
+ 
+         assert_eq!(s.visible_match_indices(), vec![1, 2]);
+-        assert_eq!(s.cursor_pos, 2);
++        assert_eq!(s.cursor_pos, 1);
+ 
+         s.set_case_sensitive(CaseSensitiveMode::CaseSensitive);
+-        assert_eq!(s.visible_match_indices(), vec![1]);
+-        assert_eq!(s.cursor_pos, 1);
++        assert_eq!(s.visible_match_indices(), vec![2]);
++        assert_eq!(s.cursor_pos, 2);
+     }
+ 
+     #[test]
diff --git a/srcpkgs/tere/template b/srcpkgs/tere/template
new file mode 100644
index 0000000000000..73f502bbb029b
--- /dev/null
+++ b/srcpkgs/tere/template
@@ -0,0 +1,11 @@
+# Template file for 'tere'
+pkgname=tere
+version=1.5.1
+revision=1
+build_style=cargo
+short_desc="Faster alternative to cd + ls"
+maintainer="zenobit <zenobit@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mgunyho/tere"
+distfiles="https://github.com/mgunyho/tere/archive/refs/tags/v${version}.tar.gz"
+checksum=d7f657371ffbd469c4d8855c2a2734c20b53ae632fe3cbf9bb7cab94bd726326

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: tere-1.5.1
  2023-12-28 17:29 [PR PATCH] New package: tere-1.5.1 zen0bit
                   ` (3 preceding siblings ...)
  2024-01-10  2:42 ` [PR PATCH] [Updated] " zen0bit
@ 2024-04-10  1:45 ` github-actions
  2024-04-11 14:57 ` [PR PATCH] [Updated] " zen0bit
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2024-04-10  1:45 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/47947#issuecomment-2046309667

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: tere-1.5.1
  2023-12-28 17:29 [PR PATCH] New package: tere-1.5.1 zen0bit
                   ` (4 preceding siblings ...)
  2024-04-10  1:45 ` github-actions
@ 2024-04-11 14:57 ` zen0bit
  5 siblings, 0 replies; 7+ messages in thread
From: zen0bit @ 2024-04-11 14:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/oSoWoSo/VUR tere
https://github.com/void-linux/void-packages/pull/47947

New package: tere-1.5.1
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x64 glibc

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

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

From 873c59103faab30ece28fbb88416151d933b37c2 Mon Sep 17 00:00:00 2001
From: zenobit <zenobit@disroot.org>
Date: Thu, 28 Dec 2023 18:25:02 +0100
Subject: [PATCH] New package: tere-1.5.1

---
 .../patches/case_sensitive_mode_test.patch    | 43 +++++++++++++++++++
 srcpkgs/tere/template                         | 11 +++++
 2 files changed, 54 insertions(+)
 create mode 100644 srcpkgs/tere/patches/case_sensitive_mode_test.patch
 create mode 100644 srcpkgs/tere/template

diff --git a/srcpkgs/tere/patches/case_sensitive_mode_test.patch b/srcpkgs/tere/patches/case_sensitive_mode_test.patch
new file mode 100644
index 00000000000000..01b54e8b80266d
--- /dev/null
+++ b/srcpkgs/tere/patches/case_sensitive_mode_test.patch
@@ -0,0 +1,43 @@
+From 8cadf56d5a835da844c70c54f026a22f6c640c8f Mon Sep 17 00:00:00 2001
+From: mgunyho <20118130+mgunyho@users.noreply.github.com>
+Date: Thu, 21 Dec 2023 15:21:37 +0200
+Subject: [PATCH] Fix and improve case sensitive mode test
+
+Not sure why it was broken in the first place...
+
+See also discussion in Github issue #93
+---
+ src/app_state.rs | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/src/app_state.rs b/src/app_state.rs
+index 5dcdc52e..eb17465b 100644
+--- a/src/app_state.rs
++++ b/src/app_state.rs
+@@ -1696,20 +1696,20 @@ mod tests {
+     fn test_case_sensitive_mode_change() {
+         let tmp = TempDir::new().unwrap();
+         let mut s = create_test_state_with_folders(&tmp, 10, vec!["A", "a"]);
+-        s.cursor_pos = 2;
++        s.cursor_pos = 1;
+         s.advance_search("a");
+ 
+         // current state: ('*' shows the matches)
+         //   ..
+-        //   A  *
+-        // > a  *
++        // > A  *
++        //   a  *
+ 
+         assert_eq!(s.visible_match_indices(), vec![1, 2]);
+-        assert_eq!(s.cursor_pos, 2);
++        assert_eq!(s.cursor_pos, 1);
+ 
+         s.set_case_sensitive(CaseSensitiveMode::CaseSensitive);
+-        assert_eq!(s.visible_match_indices(), vec![1]);
+-        assert_eq!(s.cursor_pos, 1);
++        assert_eq!(s.visible_match_indices(), vec![2]);
++        assert_eq!(s.cursor_pos, 2);
+     }
+ 
+     #[test]
diff --git a/srcpkgs/tere/template b/srcpkgs/tere/template
new file mode 100644
index 00000000000000..73f502bbb029ba
--- /dev/null
+++ b/srcpkgs/tere/template
@@ -0,0 +1,11 @@
+# Template file for 'tere'
+pkgname=tere
+version=1.5.1
+revision=1
+build_style=cargo
+short_desc="Faster alternative to cd + ls"
+maintainer="zenobit <zenobit@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mgunyho/tere"
+distfiles="https://github.com/mgunyho/tere/archive/refs/tags/v${version}.tar.gz"
+checksum=d7f657371ffbd469c4d8855c2a2734c20b53ae632fe3cbf9bb7cab94bd726326

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-11 14:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-28 17:29 [PR PATCH] New package: tere-1.5.1 zen0bit
2023-12-28 18:29 ` zen0bit
2023-12-28 23:09 ` [PR PATCH] [Updated] " zen0bit
2023-12-29 17:13 ` icp1994
2024-01-10  2:42 ` [PR PATCH] [Updated] " zen0bit
2024-04-10  1:45 ` github-actions
2024-04-11 14:57 ` [PR PATCH] [Updated] " zen0bit

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).