37 Commits

Author SHA256 Message Date
6ad47a464f Accepting request 1302885 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1302885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=18
2025-09-05 19:43:57 +00:00
dcfefa4ddf Fix Factory build
- Add trurl-395-exculdes-uppercase.patch to fix failing test,
  upstream from https://github.com/curl/trurl/pull/395

OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=36
2025-09-05 08:21:40 +00:00
9556561989 Accepting request 1279341 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1279341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=17
2025-05-23 12:31:22 +00:00
e8689a8872 Accepting request 1278217 from home:mnhauke
- Update to version 0.16.1
  * Generate ZSH completions base on trurl.md.
  * Makefile: only create MANDIR when manpage is installed.
  * trurl: handle zero length query pairs.
- Create subpackage for zsh-completion

OBS-URL: https://build.opensuse.org/request/show/1278217
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=34
2025-05-22 18:36:43 +00:00
3465375799 Accepting request 1202235 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1202235
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=16
2024-09-22 09:06:05 +00:00
989e504e88 OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=32 2024-09-20 14:33:36 +00:00
ced7dcf2bc - Update to version 0.16
* tests.json: add tests extracing URL encoded components.
  * trurl: normalize the fragment.
  * trurl: make sure URL encoded %-hex is done lowercase.
  * README: minor language polish.
  * trurl: silence --replace-append when appending.
  * trurl.md: document URL component details.
  * trurl.md: extend the component sections with more examples.
  * trurl: introduce --qtrim for trimming queries (only).
  * trurl.c: clarify the --help text for --urlencode.
  * tests.json: add more tests.
  * trurl: fix a few returns codes for out of memory.
  * tests: verify --get + --json rejects.
  * trurl.md: provide examples to more option descriptions.

OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=31
2024-09-20 13:45:51 +00:00
3c239b6f0c Accepting request 1201561 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1201561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=15
2024-09-17 16:19:08 +00:00
ffdc6d8a0d - Update to version 0.15.1
* manpage: fix 0.15 mistakes.
  * Makefile: check for trurl.1 before installing.
  * trurl: fix misbehavior on empty query param.
  * trurl: fix handling of query pair with blank left side by.

OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=29
2024-09-17 09:57:16 +00:00
87e6302d43 Accepting request 1197483 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1197483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=14
2024-09-01 17:21:04 +00:00
d4b7e03845 - Update to version 0.15
- Makefile: fix LDFLAGS order; and don't force -Werror.
 - singleurl: fix query_is_modified.
 - trurl: "normalize" query pairs.
 - trurl: accept "control codes" in get output.
 - trurl: allow "control bytes" in JSON output
 - trurl: canonicalize the path.
 - trurl: fix silent error in json json function.
 - trurl: make --replace URL encode the provided data argument.
 - trurl: make must: prefix for gets return error for missing part.
 - trurl: on strdup() failures, exit immediately.
 - trurl: optimize the path append loop.
 - trurl: rename --force-replace to --replace-append.
 - trurl: use casecompare instead of a strncasecmp define.

OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=27
2024-08-29 15:21:18 +00:00
e5f044ebb1 Accepting request 1191036 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1191036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=13
2024-08-02 15:26:58 +00:00
8baf59afdc Accepting request 1190337 from home:mnhauke
- Update to version 0.14
  * remove a suprious trailing newline from a warning.
  * trurl.1: document the exit codes.
  * add "strict:" as prefix to a get component.
  * casecompare: a strncasemp replacement.
  * support conditionally set scheme.

OBS-URL: https://build.opensuse.org/request/show/1190337
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=25
2024-08-01 18:12:58 +00:00
e9f93d855f Accepting request 1178135 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1178135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=12
2024-06-03 15:43:24 +00:00
a3f66a23b3 Accepting request 1174277 from home:mnhauke
- Update to version 0.13
  * Free allocated pointer on OOM error.
  * short options need no space separation for the argument anymore
  * trurl.1: use present tense.
  * trurl: only append the first iterate loop.
  * fix Coverity nits.

OBS-URL: https://build.opensuse.org/request/show/1174277
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=23
2024-06-02 10:01:56 +00:00
9f6d4f7676 Accepting request 1169797 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1169797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=11
2024-04-23 16:56:57 +00:00
b532aaa93d Accepting request 1168951 from home:mnhauke
- Update to version 0.12
  * This is the same as 0.11 but with the version string set
    correctly.

- Update to version 0.11
  * Added UTF-8 detection to test runner.
  * use of free() instead of curl_free().
  * output the list of components correctly in the help output.
  * if query is not updated, leave it untouched.
  * expand the warning on "internal problem".
  * error when using an unrecognized URL component.

OBS-URL: https://build.opensuse.org/request/show/1168951
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=21
2024-04-23 05:55:28 +00:00
fbcb07af2b Accepting request 1149120 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1149120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=10
2024-02-22 19:59:45 +00:00
c544a86d3b Accepting request 1148888 from home:mnhauke
- Update to version 0.10
  Changes:
  * add --replace
  Bugfixes:
  * fixed buffer overflows on %00 use
  * enable more C compiler warnings and fix them

OBS-URL: https://build.opensuse.org/request/show/1148888
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=19
2024-02-22 09:29:09 +00:00
db3c09102c Accepting request 1121574 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1121574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=9
2023-11-01 21:10:31 +00:00
bbc51baa04 Accepting request 1121481 from home:mnhauke
- Update to version 0.9
  Changes:
  * add --as-idn and punycode to IDN conversion
  * add --curl to only count as valid URLs supported by libcurl
  Bugfixes:
  * accept * as a trim name to trim a literal asterisk name
  * format null as \u0000 for --json
  * run --trim query before --append query
- Drop patch
  * trurl-disable-broken-tests.patch (fixed by upstream)

OBS-URL: https://build.opensuse.org/request/show/1121481
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=17
2023-11-01 09:18:05 +00:00
ef257965bd Accepting request 1117909 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1117909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=8
2023-10-16 20:33:17 +00:00
bf221f547b Accepting request 1112938 from home:mnhauke
- Add patch:
  * trurl-disable-broken-tests.patch

OBS-URL: https://build.opensuse.org/request/show/1112938
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=15
2023-10-15 22:04:28 +00:00
668a3cc348 Accepting request 1096031 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1096031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=7
2023-06-30 17:58:47 +00:00
ffdb0ad439 Accepting request 1093579 from home:mnhauke
- Update to version 0.8
  Changes:
  * add --urlencode
  Bugfixes:
  * --json/--get: .[].parts and {component} should be urldecoded
    not encoded
  * tests: use empty file instead of /dev/null
  * typos in manpage
  * Makefile: Allow CFLAGS to be appendable
  * Makefile: be explicit in C standard to use

OBS-URL: https://build.opensuse.org/request/show/1093579
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=13
2023-06-29 20:17:23 +00:00
86c5f51bbe Accepting request 1092974 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1092974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=6
2023-06-14 14:29:43 +00:00
dc04a25a32 Accepting request 1092885 from home:amanzini:branches:network:utilities
- Update to version 0.7
  * Changes:
    --default-port to ask for the default to be used if not present
    --keep-port to ask for the port number to be there even if default
    --no-guess-scheme option to disable scheme guessing
    --punycode to ask for the punycode version in output
  * Bugfixes:
    --help returns 0 instead of 1
    --json: print empty arrays
    --redirect: don't silently ignore failed redirections.
    refuse setting same component in --set as --iterate
    restructure the JSON output object
    send -h output to stdout, not stderr

OBS-URL: https://build.opensuse.org/request/show/1092885
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=11
2023-06-13 19:00:34 +00:00
55ce2bd5b1 Accepting request 1083110 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1083110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=5
2023-04-27 18:01:06 +00:00
5e2e4e6000 Accepting request 1083077 from home:mnhauke
- Update to version 0.6
  * offer {puny:host} and {puny:url} for --get
  * provide built-with libcurl version info for --version
  * support for skipping tests
  * test.py replaced test.pl
  * test.py supports --with-valgrind
  * tests.json: extended and updated
  * URL-QUIRKS: specify if they are build-time or run-time
    requirements

OBS-URL: https://build.opensuse.org/request/show/1083077
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=9
2023-04-26 20:30:17 +00:00
3ae8a1724a Accepting request 1081952 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1081952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=4
2023-04-21 16:48:14 +00:00
33d51c3a9d Accepting request 1080010 from home:mnhauke
- Update to version 0.5
  Changes since previous release
  * --get supports variables in [brackets] as well
  * --get {query-all:key} outputs all values for 'key' in the
    query
  * switched to test.py for tests
  * --iterate is a new option.
  Bugfixes since previous release
  * handle %00 sequences in {query:key} output
  * support reading URL from a file without a newline
  * fixed a json memory-leak

OBS-URL: https://build.opensuse.org/request/show/1080010
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=7
2023-04-21 14:45:51 +00:00
74d065d555 Accepting request 1078501 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1078501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=3
2023-04-12 10:51:29 +00:00
73b78a47c2 Accepting request 1078266 from home:mnhauke
- Update to version 0.4
  Changes
  * --get supports showing {query:key}
  * --json outputs query pairs under "params"
  * -a is an --append shortcut
  * add --query-separator
  * add --sort-query
  Bugfixes
  * components names are lower case and case sensitive
  * fixed the json output of UTF-8 sequences
  * flush stdout after handling every URL
  * mixing --json with --get is an error
  * more test cases
  * show error messsage when component setting fails
  * support "--" end-of-options argument
  * support for building with older libcurl versions

OBS-URL: https://build.opensuse.org/request/show/1078266
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=5
2023-04-11 18:26:21 +00:00
8a543dce16 Accepting request 1077979 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1077979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=2
2023-04-08 15:39:21 +00:00
840524f6c9 Accepting request 1077736 from home:mnhauke
- Update to version 0.3
  Changes
  * the set port is the same as the scheme-default, don't show
  * many more tests
  * https://curl.se/trurl is now the project's website
  * added --accept-space
  * added --trim
  Bugfixes
  * setting port to a blank now clears it
  * improved the man page
  * fix --append query when no previous query exists
  * output JSON as an array
  * provide the -h list in pure alphabetical order
  * use 0644 for the man page install
  * use Test::More inside of test.pl
  * nicer JSON tests and test output
- Drop patch:
  * trurl-manpage-fix-spurious-executable-perm-manpage.patch
- Run testsuite

OBS-URL: https://build.opensuse.org/request/show/1077736
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=3
2023-04-08 09:22:32 +00:00
2d1daa36ad Accepting request 1077241 from network:utilities
I want to maintain trurl in Factory

OBS-URL: https://build.opensuse.org/request/show/1077241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trurl?expand=0&rev=1
2023-04-04 19:27:37 +00:00
5530c65bdd Accepting request 1077086 from home:mnhauke
Initial package for trurl

OBS-URL: https://build.opensuse.org/request/show/1077086
OBS-URL: https://build.opensuse.org/package/show/network:utilities/trurl?expand=0&rev=1
2023-04-04 07:11:49 +00:00