17
0

13 Commits

Author SHA256 Message Date
852fff3f91 Accepting request 1140218 from X11:common:Factory
- Update to version 20240120+git.efc3517:
  * Validate only entry ID part of paths, fixes #48
- Update to version 20231218+git.a09da69:
  * Document cache behavior caveat
  * tests: Don't implicitly test found entry order
  * README: Document checking order of found entries
  * find_entry_paths: Only use a single `find` call
  * xdg-terminal-exec: Reverse entry data search order
  * Fix typo
  * xdg-terminal-exec: Simplify entry search
  * [Breaking] Drop xdg-terminals dirs, discard explicit exec arg
  * set umask when saving cache
  * update readme
  * cleanups
  * improve debug, comments
  * only validate entries from config, mass validate filenames with find
  * aliases are not propagated to subshells in bash, future-proofing for cache
  * xdg-terminal-exec: Introduce `error`
  * xdg-terminal-exec: Don't check for duplicates
  * xdg-terminal-exec: Fix matching <hyphen-minus>
  * cleanups
  * Fix undefined var
  * Add XDG_CURRENT_DESKTOP to cache
  * optimize contains(), case is awesome
  * repeat small things from cache branch
  * simplify id validator, relax config id pattern
  * Cache tweaks, stricter entry IDs from configs
  * wording sync
  * Update readme
  * save cmd late, invalidate cache by missing cmd early
  * drop cache on missing command
  * working cache
  * initial funcions
  * [Semi-Breaking] flexible directives
  * drop /usr/etc from readme
  * [Breaking] use stock applications by default
  * action test fix
  * formatting and debug
  * ignore *ShowIn checks for explicitly selected entries, better debug
  * change wording on non-conforming entry IDs
  * add ID string validator
  * Fix entry heirarchy precedence.

OBS-URL: https://build.opensuse.org/request/show/1140218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdg-terminal-exec?expand=0&rev=5
2024-01-21 22:09:41 +00:00
5eacbd44c2 - Update to version 20240120+git.efc3517:
* Validate only entry ID part of paths, fixes #48

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-terminal-exec?expand=0&rev=12
2024-01-20 23:02:25 +00:00
b7169d76b0 - Update to version 20231218+git.a09da69:
* Document cache behavior caveat
  * tests: Don't implicitly test found entry order
  * README: Document checking order of found entries
  * find_entry_paths: Only use a single `find` call
  * xdg-terminal-exec: Reverse entry data search order
  * Fix typo
  * xdg-terminal-exec: Simplify entry search
  * [Breaking] Drop xdg-terminals dirs, discard explicit exec arg
  * set umask when saving cache
  * update readme
  * cleanups
  * improve debug, comments
  * only validate entries from config, mass validate filenames with find
  * aliases are not propagated to subshells in bash, future-proofing for cache
  * xdg-terminal-exec: Introduce `error`
  * xdg-terminal-exec: Don't check for duplicates
  * xdg-terminal-exec: Fix matching <hyphen-minus>
  * cleanups
  * Fix undefined var
  * Add XDG_CURRENT_DESKTOP to cache
  * optimize contains(), case is awesome
  * repeat small things from cache branch
  * simplify id validator, relax config id pattern
  * Cache tweaks, stricter entry IDs from configs
  * wording sync
  * Update readme
  * save cmd late, invalidate cache by missing cmd early
  * drop cache on missing command
  * working cache

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-terminal-exec?expand=0&rev=11
2024-01-19 15:00:33 +00:00
62cab07b08 Accepting request 1128631 from X11:common:Factory
- Update to version 20231124+git.fc8a6e0:
  * do not let alias chew on empty data
  * Support Desktop Actions, update docs
  * xdg-terminal-exec: Don't default to `xterm`
  * README: Reflect new `XTE_STOCK_TERMINALS` behaviour
  * xdg-terminal-exec: Convert all IDs in one `tr` call
  * xdg-terminal-exec: Map ID-path pairs using aliases
  * xdg-terminal-exec: Mask `IFS` inside functions
  * xdg-terminal-exec: Introduce `check_entry_key`
  * xdg-terminal-exec: Introduce `find_entry`
  * xdg-terminal-exec: Introduce `find_entry_paths`
  * xdg-terminal-exec: check `Categories` in `check_entry`
  * xdg-terminal-exec: Use `$XTE_STOCK_TERMINALS`
  * xdg-terminal-exec: Introduce `read_config_paths`
  * xdg-terminal-exec: Introduce `find_config_paths`
  * xdg-terminal-exec: Use `find -print`
  * xdg-terminal-exec: Make `find` call POSIX compliant
  * xdg-terminal-exec: match default paths with spec
  * xdg-terminal-exec: disable pathname expansion

OBS-URL: https://build.opensuse.org/request/show/1128631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdg-terminal-exec?expand=0&rev=4
2023-11-24 22:35:39 +00:00
4257557294 - Update to version 20231124+git.fc8a6e0:
* do not let alias chew on empty data
  * Support Desktop Actions, update docs
  * xdg-terminal-exec: Don't default to `xterm`
  * README: Reflect new `XTE_STOCK_TERMINALS` behaviour
  * xdg-terminal-exec: Convert all IDs in one `tr` call
  * xdg-terminal-exec: Map ID-path pairs using aliases
  * xdg-terminal-exec: Mask `IFS` inside functions
  * xdg-terminal-exec: Introduce `check_entry_key`
  * xdg-terminal-exec: Introduce `find_entry`
  * xdg-terminal-exec: Introduce `find_entry_paths`
  * xdg-terminal-exec: check `Categories` in `check_entry`
  * xdg-terminal-exec: Use `$XTE_STOCK_TERMINALS`
  * xdg-terminal-exec: Introduce `read_config_paths`
  * xdg-terminal-exec: Introduce `find_config_paths`
  * xdg-terminal-exec: Use `find -print`
  * xdg-terminal-exec: Make `find` call POSIX compliant
  * xdg-terminal-exec: match default paths with spec
  * xdg-terminal-exec: disable pathname expansion

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-terminal-exec?expand=0&rev=9
2023-11-24 17:33:08 +00:00
85691f76f8 Accepting request 1120603 from X11:common:Factory
- Update to version 20231014+git.b6d2874:
  * update readme
  * WIP #28 internal list deduplicator, formatting
  * WIP #28 add stock applications controls to configs
  * check_bool function
  * WIP #28 filter terminals from applications
  * tr is faster than xargs -n1 on lots of lines
- Store only *.obscpio, the tarball is generated in buildtime.

OBS-URL: https://build.opensuse.org/request/show/1120603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdg-terminal-exec?expand=0&rev=3
2023-10-27 20:28:09 +00:00
f86bbf994c - Update to version 20231014+git.b6d2874:
* update readme
  * WIP #28 internal list deduplicator, formatting
  * WIP #28 add stock applications controls to configs
  * check_bool function
  * WIP #28 filter terminals from applications
  * tr is faster than xargs -n1 on lots of lines

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-terminal-exec?expand=0&rev=7
2023-10-26 14:56:57 +00:00
47f7dcc060 Accepting request 1116205 from X11:common:Factory
- Update to version 20231003+git.e5c20d0:
  * test/tests.bats: Add a TODO for additional tests
  * Add myself as a contributor
  * xdg-terminal-exec: Remove now unused code
  * xdg-terminal-exec: Move entry ID loops out to main
  * xdg-terminal-exec: Use globals set by `find*entry`
  * xdg-terminal-exec: Parse config file using `case`
  * xdg-terminal-exec: Check entries using `case`
  * xdg-terminal-exec: Parse entry file using `case`
  * xdg-terminal-exec: set `errexit` and `nounset`
  * README: Small fixes and changes
  * default debug value (fixes #24)
  * xdg-terminal-exec: Remove empty variable assignments
  * xdg-terminal-exec: Normalise printing
  * xdg-terminal-exec: Normalise string quotes
  * xdg-terminal-exec: Indent here documents
  * tests: Make `tests.bats` executable
  * xdg-terminal-exec: run `shfmt`
  * xdg-terminal-exec: don't use `find -printf`

OBS-URL: https://build.opensuse.org/request/show/1116205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdg-terminal-exec?expand=0&rev=2
2023-10-08 10:18:46 +00:00
e0dfa48264 - Update to version 20231003+git.e5c20d0:
* test/tests.bats: Add a TODO for additional tests
  * Add myself as a contributor
  * xdg-terminal-exec: Remove now unused code
  * xdg-terminal-exec: Move entry ID loops out to main
  * xdg-terminal-exec: Use globals set by `find*entry`
  * xdg-terminal-exec: Parse config file using `case`
  * xdg-terminal-exec: Check entries using `case`
  * xdg-terminal-exec: Parse entry file using `case`
  * xdg-terminal-exec: set `errexit` and `nounset`
  * README: Small fixes and changes
  * default debug value (fixes #24)
  * xdg-terminal-exec: Remove empty variable assignments
  * xdg-terminal-exec: Normalise printing
  * xdg-terminal-exec: Normalise string quotes
  * xdg-terminal-exec: Indent here documents
  * tests: Make `tests.bats` executable
  * xdg-terminal-exec: run `shfmt`
  * xdg-terminal-exec: don't use `find -printf`

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-terminal-exec?expand=0&rev=5
2023-10-07 12:59:52 +00:00
b7fe3a2192 Accepting request 1101538 from X11:common:Factory
As used by Glib for defining the default terminal application, of great use in the non-Gnome desktops.

OBS-URL: https://build.opensuse.org/request/show/1101538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdg-terminal-exec?expand=0&rev=1
2023-08-01 12:15:38 +00:00
90fb1111d2 - Update to version 20230731+git.6426085:
* fix shellcheck warnings, fixes #20

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-terminal-exec?expand=0&rev=3
2023-07-31 12:34:09 +00:00
7f9154cb0d Accepting request 1101470 from home:mcepl
- Update to version 20230725+git.97162b5:
  * Update xdg-terminal-exec
  * replace bloated xargs -0/IFS sorcery with more compact and
    clean eval/set magic
  * Use ASCII chars as candidates for delimiter, fixes #12
  * Fix errors during tests
  * xdg-terminal-exec: add missed $ to CHAR variable
  * Fixes for missing executable and empty data dirs
  * account for explicitly empty EXECARG, construct_argv
    function, update doc
- Enable tests.

OBS-URL: https://build.opensuse.org/request/show/1101470
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-terminal-exec?expand=0&rev=2
2023-07-31 07:06:03 +00:00
787e6e308c Accepting request 1101399 from home:mcepl
It should be included in openSUSE:Factory (it could be very useful for non-Gnome desktops).

I am willing to be a co-maintainer of the package.

OBS-URL: https://build.opensuse.org/request/show/1101399
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-terminal-exec?expand=0&rev=1
2023-07-31 00:15:40 +00:00