Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for src/query.c  ·  View all commits
94 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
6 days ago 920c183
B
(r)query: if %{ is encountered fallback on using directly pkg_printf(3)
Baptiste Daroussin
19 days ago 5a0342c
B
query: fix ℅y/%Y
Baptiste Daroussin
20 days ago f8ef4af
B
options: now that options are simple name/value tuples make them kvlist_t
Baptiste Daroussin
22 days ago a25ae64
B
options: remove %Od and %OD they where never used and populated
Baptiste Daroussin
22 days ago 903337f
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
22 days ago abccdd3
B
query: do not print empty line for purely multiline formats
Baptiste Daroussin
1 month ago d12cf2b
B
query: fix multiline SIGBUS on case like %dn with no deps
Baptiste Daroussin
1 month ago a8a53cf
B
query: add %y and %Y for provides/requires
Baptiste Daroussin
1 month ago 7b50923
B
db: only open the db readonly when write is not needed
Baptiste Daroussin
1 month ago 6a93ea1
B
query: for multiline print en empty line if no information to display
Baptiste Daroussin
1 month ago 5e8bc8c
B
query: use fputc instead of fprintf when possible
Baptiste Daroussin
2 months ago 08c5749
B
query: factorize code
Baptiste Daroussin
2 months ago e5f4a57
N
pkg-query: Add support query evaluation of complex attributes
Norikatsu Shigemura
3 months ago 9cd02de
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
s
pkgdb: track mtime in pkgdb
strssndktn
7 months ago 08bf9b3
s
pkgdb: track uname, gname, permissions and fflags in pkgdb
strssndktn
7 months ago 699f92e
M
pkg-query: Fix memory leaks
Mark Johnston
7 months ago bc1ad77
M
libpkg: Mark some tables const
Mark Johnston
7 months ago aa43be2
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 25ee7d0
K
More leak fixes as well as skipped leaks.
Keve
1 year ago 306fc12
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 7c30b5f
r
src/query.c: keep the string length in a variable
rilysh
1 year ago 43fa0b6
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 9856def
G
Sink PKG_EVENT_SANDBOX_* handlers into libpkg.
Gleb Popov
2 years ago 7a630cf
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago 5768655
S
Restore support of -e with other options
Stefan Eßer
2 years ago 73daf7b
B
libpkg: add a _Generic pkg_get()
Baptiste Daroussin
3 years ago 2f040df
B
pkg_attribute: avoid collision with pkg_list
Baptiste Daroussin
3 years ago d9c65f6
B
libpkg: kill useless pkg_manifest_key API
Baptiste Daroussin
3 years ago eec0e90
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago fa6223f
B
(r)query: stricter argument validation
Baptiste Daroussin
3 years ago c40314f
B
(r)query: fix typo
Baptiste Daroussin
3 years ago cfe41ee
B
(r)query: new case insensitives operators for -e
Baptiste Daroussin
3 years ago 78ddf46
B
(r)query: error when using any argument along with -e
Baptiste Daroussin
3 years ago cacd3d7
T
query: Fix unicity issue, long ago we moved unicity from origin to name
Tatsuki Makino
3 years ago a1f6f62
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
query: accept every categories as A when looking for "<A>/<B>"
Baptiste Daroussin
3 years ago ade813b
B
API: convert all abused hash table into stringlist
Baptiste Daroussin
4 years ago 9b49b83
B
libpkg: convert annotation to kvlist
Baptiste Daroussin
4 years ago a37bc66
B
libpkg: Convert licenses and categories to stringlist
Baptiste Daroussin
4 years ago b5eefda
B
API: replace generic pkg_get with typesafe version
Baptiste Daroussin
4 years ago 7bb8d7e
S
Use break to exit loop instead of goto cleanup
Stefan Eßer
4 years ago 1e4e135
S
Return exit status 1 for additional cases
Stefan Eßer
4 years ago 1cec8b5
S
Make -e option orthogonal to other filter options
Stefan Eßer
4 years ago 25254bb
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
B
Get rid of sysexits
Baptiste Daroussin
5 years ago f446c79
J
Read manifests only, for pkg query -F
John Hood
5 years ago 495723f
B
tests: get rid of utstring
Baptiste Daroussin
5 years ago 29aebd8
B
Use open_memstream p1
Baptiste Daroussin
5 years ago 383d27c
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
5 years ago d871ad5
E
query: Add %X to get the internal checksum of the package
Emmanuel Vadot
5 years ago 366e2df
B
teach pkg query about %Q
Baptiste Daroussin
8 years ago 1008819
B
Replace libsbuf with utstring.h to improve portability
Baptiste Daroussin
9 years ago f93c045
B
drop privileges for pkg (r)query
Baptiste Daroussin
9 years ago 5aac9da
B
- Add missing plumbing for pkg_set and pkg_get to enable: - Add support to pkg set to toggle the vital flag - Add a pkg query flag (%V) - Add a testcase for the vital flag using set/query
Brad Davis
10 years ago ba6202d
D
Implement the !~ operator (negated glob match) for query strings.
Dag-Erling Smørgrav
10 years ago 6a87076
B
Get rid of pkg_strel
Baptiste Daroussin
10 years ago ed5762b
B
Convert pkg_users pkg_groups to strings hash map
Baptiste Daroussin
10 years ago 2d6c6e0
B
Convert *provides/*requires to khash
Baptiste Daroussin
10 years ago f4dcde2
B
Merge pull request #1289 from andrejzverev/issue1282
Baptiste Daroussin
10 years ago b55188f
A
Use power of two suffixes for humanized output form
Andrej Zverev
10 years ago bde5c51
B
Fix $# evaluation string in pkg query
Baptiste Daroussin
11 years ago 017d5a4
B
Fix regression in pkg query
Baptiste Daroussin
11 years ago 8f67c17
A
Cosmetic changes
Alexandre Perrin
11 years ago 7349434
B
Finish converting struct pkg into a proper structure
Baptiste Daroussin
11 years ago eab4f94
B
Use facilities from pkg_printf(3) instead of reinventing wheel
Baptiste Daroussin
11 years ago bfc0da2
B
Fix indentation and catchup some missed in previous commit
Baptiste Daroussin
11 years ago f085c1c
B
Remove useless comparison to NULL before freeing variables
Baptiste Daroussin
11 years ago aed2ce7
B
Fix pkg query with complex evaluation string
Baptiste Daroussin
11 years ago 6953eb4
B
Be posixly correction with long options
Baptiste Daroussin
11 years ago 20c3c38
V
Merge pull request #855 from dag-erling/query-R
Vsevolod Stakhov
11 years ago 9014833
D
In format_repo_ident(), look for the "repository" annotation if PKG_REPONAME is undefined. Use this to implement the %R query pattern.
Dag-Erling Smørgrav
11 years ago bbb4f6f
M
Merge branch 'long-opts'
Matthew Seaman
11 years ago c3c200b
M
--read-file -> --file for consistency
Matthew Seaman
11 years ago 2a43be6
V
Merge branch 'globals-rework'
Vsevolod Stakhov
11 years ago e3eb7f3
V
Rework all tools to use globals.
Vsevolod Stakhov
11 years ago 08be5cc
B
pkg-query: correct grammar
Bryan Drewery
11 years ago 49e1618
M
Long opts.
Matthew Seaman
11 years ago 7993e68
M
Merge branch 'master' of github.com:freebsd/pkg
Matthew Seaman
11 years ago 9eecfc4
V
Merge branch 'pkg-lock-config'
Vsevolod Stakhov
11 years ago e850b07
V
Update utilities for lock API.
Vsevolod Stakhov
11 years ago 8f1235f
M
Partially revert case insensitivity fixes. Apparently REG_ICASE has quite a severe performance impact. Therefore make the compiled-in default case sensitive again. Only apply the run-time default setting from CASE_SENSITIVE_MATCH to the verbs that offer options to set the matching type -- ie.
Matthew Seaman
12 years ago d8585bf
M
Everywhere there is an option to match a package name (substring, regexp), add a -C option to force the match to be case sensitive.
Matthew Seaman
12 years ago 68736e5
B
Merge categories, licenses, annotations into pkg->fields
Baptiste Daroussin
12 years ago 4feccaf
B
Convert struct pkg to mostly be a ucl_object_t and chase libucl changes
Baptiste Daroussin
12 years ago 3a72e6b
M
Merge branch 'master' into indexfile
Matthew Seaman
12 years ago 669b695
B
turn struct pkg_license into a pkg_object
Baptiste Daroussin
12 years ago 2addf97
B
Remove unused variable
Baptiste Daroussin
12 years ago cea707b
B
Turn struct pkg_categories into a pkg_object
Baptiste Daroussin
12 years ago a9a44e7
M
Merge branch 'master' into indexfile
Matthew Seaman
12 years ago 859bbf1
B
Fix pkg query
Baptiste Daroussin
12 years ago 1865673
B
Convert pkg_note and annotations into a pkg_object
Baptiste Daroussin
12 years ago 6f18a14
B
Autotoolizing
Baptiste Daroussin
12 years ago c5d6dde