Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/repo/binary  ·  View all commits
200 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
7 days ago 920c183
B
rwhich: implement file tracking and search for remote repositories
Baptiste Daroussin
8 days ago 9b1f2b1
B
ucl_parse: add 2 helpers on top of ucl to deduplicate code
Baptiste Daroussin
9 days ago b68de0a
B
fix build on macos
Baptiste Daroussin
12 days ago 7563a50
B
Now that we have cleanup the build system we can rename Makefiles
Baptiste Daroussin
12 days ago 72758d3
B
DB: in case of remote db corrompted destroy it to give a change to rebuild
Baptiste Daroussin
18 days ago 30a4ebb
B
revert the Makefile.autosetup -> Makefile.in
Baptiste Daroussin
21 days ago 61a7a2d
B
build: cleanly separate build system from vendored source
Baptiste Daroussin
22 days ago 7bba0f1
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
B
Honor --repository flag for disabled repos as documented
Baptiste Daroussin
22 days ago fcfe2f6
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
22 days ago abccdd3
B
curl: completly remove
Baptiste Daroussin
1 month ago ed905fc
B
search: add search -Scomment-description
Baptiste Daroussin
1 month ago a478b48
B
xmalloc: use its functions everywhere
Baptiste Daroussin
2 months ago e5baad4
P
pkg: avoid a bunch of warnings
Pierre Pronchery
2 months ago 3b9bfd7
V
fetch: add -s/--symlink option for mirror mode
Vsevolod Stakhov
3 months ago 5a98c3f
B
repo update: actually show the sql instead of 'grmbl'
Baptiste Daroussin
4 months ago 795e207
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
B
db: replace va_args with type safe arguments
Baptiste Daroussin
6 months ago bd2c8c4
M
libpkg: Mark some tables const
Mark Johnston
7 months ago aa43be2
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
7 months ago 7dccd36
M
libpkg: Avoid implicit fallthrough in pkg_repo_binary_groupsearch()
Mark Johnston
8 months ago 9e6fc73
S
Merge commit '1c5f88ead8e4239aed25ebf383117342c5c72850'
Shawn Webb
10 months ago 290e90b
B
sql: generalize the use of prepare_sql()
Baptiste Daroussin
11 months ago ea2a046
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
11 months ago ba89bd1
B
asan: fix issues detected on i386
Baptiste Daroussin
11 months ago 3deb492
B
vec: convert kvlist into vectors
Baptiste Daroussin
1 year ago 28aa748
B
pkg: convert stringlist_t to charv_t
Baptiste Daroussin
1 year ago 3c90262
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 89d30c6
B
update: remove unused variable
Baptiste Daroussin
1 year ago 3ae5eea
B
jsmn: do not use mmap
Baptiste Daroussin
1 year ago 12d870f
B
update: drastically reduce memory usage
Baptiste Daroussin
1 year ago 3a527e6
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago c3b674e
B
fix external build with BSD make
Baptiste Daroussin
1 year ago 0a8a2d0
S
Merge remote-tracking branch 'freebsd/main'
Shawn Webb
1 year ago 84c2214
B
altabi: rename the private field arch into altabi
Baptiste Daroussin
1 year ago 72cc0cd
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago c62eec6
K
Fix to really use libcurl from pkg-config
Keve
1 year ago 2cfb4f7
K
SQLite return const unsigned char*
Keve
1 year ago 2b26ec2
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 76191f7
G
Add support for storing a list of expired packages in the meta
Gleb Popov
1 year ago d8295ae
G
repo: Generalize save_groups() into save_ucl()
Gleb Popov
1 year ago b98c5c7
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 3088caa
V
Fix external libarchive support
Vsevolod Stakhov
1 year ago 4386e99
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 7c30b5f
B
utimensat: replace deprecated futimesat
Baptiste Daroussin
1 year ago f582afc
B
queries: make glob search case sensitive
Baptiste Daroussin
1 year ago d908ee6
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 851a6a4
B
groups: consider groups as always fully loaded
Baptiste Daroussin
1 year ago d6395d2
B
groups: load dependencies
Baptiste Daroussin
1 year ago 72a7f96
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
1 year ago 33f4711
B
STR*EQ: use macros where possible
Baptiste Daroussin
1 year ago 053f4a2
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago fd4c88b
M
repos: fix database path handling when PKG_DBDIR is overridden
Mark Johnston
2 years ago 481c87b
r
libpkg/../query.c: use constness, test branch once, and others
rilysh
2 years ago dc39cd3
r
libpkg/repo/binary/common.c: remove unused return
rilysh
2 years ago 3163dab
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 1959c9c
B
processing entries progress: fix spinner
Baptiste Daroussin
2 years ago 2e42c22
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago b98dd64
B
groups: implement the display part of pkg install @group
Baptiste Daroussin
2 years ago 63dd227
B
groups: defind uid for groups
Baptiste Daroussin
2 years ago a961579
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago a88747a
B
groups: implement pkg rquery
Baptiste Daroussin
2 years ago 962d403
B
groups: make pkg search -f groups work properly
Baptiste Daroussin
2 years ago 3b00326
B
groups: implement basic pkg search group
Baptiste Daroussin
2 years ago 6e20634
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago ffa5b3d
B
repos: remove dead code
Baptiste Daroussin
2 years ago 24b197c
B
repos: remove dead code
Baptiste Daroussin
2 years ago 9737cbf
B
repos: remove dead code
Baptiste Daroussin
2 years ago fdcb7bb
B
repos: improbe debug message
Baptiste Daroussin
2 years ago 5753a98
B
repos: only allocate once per repos the file path
Baptiste Daroussin
2 years ago 4596832
B
repos: remove dead code
Baptiste Daroussin
2 years ago b9896cc
B
repos: move repos database under /var/db/pkg/repos/<name>/db
Baptiste Daroussin
2 years ago 8ecdfa0
B
repos: remove deadcode
Baptiste Daroussin
2 years ago c76c232
B
repo: initialize data
Baptiste Daroussin
2 years ago 525b9cf
B
repos: fail when not able to parse data
Baptiste Daroussin
2 years ago 0cd7b95
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago c608efa
B
repos: move lock and meta under "/var/db/repos/<name>"
Baptiste Daroussin
2 years ago 76e201a
B
groups: export groups in the repo data
Baptiste Daroussin
2 years ago 76fc5eb
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago f17f98f
B
update: plug FD leak
Baptiste Daroussin
2 years ago 3a55690
B
update: cleanup unused argument
Baptiste Daroussin
2 years ago a2e0ace
B
update: remove unused variable
Baptiste Daroussin
2 years ago adc594c
B
repo: remove unused data_len
Baptiste Daroussin
2 years ago bd6fa5c
B
repo: prefer data.pkg over packagesite.pkg
Baptiste Daroussin
2 years ago a992cd2
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 76bfe81
B
repo locking: attempt to fix build on musl
Baptiste Daroussin
2 years ago 73b87c5
F
update: lock globally and sync return of concurrent process
Franco Fichtner
2 years ago 69e28e7
F
libpkg: path can be NULL in first cleanup goto
Franco Fichtner
2 years ago fc09e75
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 9ce36fc
B
repo: refactoring of pkg_repo_fetch_remote_extract_fd
Baptiste Daroussin
2 years ago 4d3acea
B
repo: simplify the signature of pkg_repo_fetch_remote_extract_fd
Baptiste Daroussin
2 years ago ec8db30
B
Repo: in debug respect the name from meta for packagesite.yaml
Baptiste Daroussin
2 years ago 117646d
B
pkgdb: use the new pkgdb_debug
Baptiste Daroussin
2 years ago 2427355
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago a1aca60
B
pkgdb query: really fix duplicated rquery
Baptiste Daroussin
2 years ago 3938618
M
repo: Improve error messages
Mark Johnston
2 years ago 48f2604
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago 5768655
G
Cancellation support for the "pkg update" path.
Gleb Popov
2 years ago e686c3f
G
Introduce PKG_EVENT_INCREMENTAL_UPDATE_BEGIN and emit it before starting the update.
Gleb Popov
2 years ago d187ac0
B
curl: readd support for SRV mirroring type
Baptiste Daroussin
2 years ago f06399c
G
Improve libpkg interface for plugins use.
Gleb Popov
2 years ago a2d1b9d
G
Support searching remote repositories with MATCH_ALL.
Gleb Popov
2 years ago 350c7f0
G
Add copyrights for files I touched.
Gleb Popov
2 years ago 41c892d
G
pkg_repo_binary_query: Remove DISTINCT from the SQL query.
Gleb Popov
3 years ago 5a94cde
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
J
Avoid SQLite3 database corruption.
John Hood
3 years ago d94168d
M
libpkg: Make pkgdb_ensure_loaded() behave consistently wrt config files
Mark Johnston
3 years ago 036375d
B
query: respect case when globing even for remote query
Baptiste Daroussin
3 years ago fc2a452
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago e294fea
N
Support out-of-tree builds
Nathaniel Wesley Filardo
3 years ago fbaaacc
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
fix upgrade performance issue
Baptiste Daroussin
3 years ago 7c47dfd
B
pkg: add the ability to query by flavors
Baptiste Daroussin
3 years ago 0b15679
B
query: accept every categories as A when looking for "<A>/<B>"
Baptiste Daroussin
3 years ago ade813b
B
repo: remove unused variable
Baptiste Daroussin
3 years ago ce74992
B
pkgdb: eliminate custom sqlite3 function "split_version"
Baptiste Daroussin
3 years ago 905ac5c
N
repo/binary/query.c: restore missing printf format directives
Nathaniel Wesley Filardo
4 years ago b791917
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
J
handle repo queries on installed packages better
John Hood
4 years ago c21c49a
J
Report errors for packages catalogued, but missing the package file
John Hood
4 years ago fa2c24c
B
hardlinks: rework handling of hardlinks
Baptiste Daroussin
4 years ago 70b98f1
B
convert from khash to pkghash
Baptiste Daroussin
4 years ago 438bcc6
S
Fix condition for passing of SQL query parameter
Stefan Eßer
4 years ago acc061f
S
Fix mismerge in repo_upgrades table
Stefan Eßer
4 years ago f68b17f
S
Small simplification of the empty pattern case
Stefan Eßer
4 years ago 6072e88
S
Fix passing of parameters to SQL query
Stefan Eßer
4 years ago fcc5bec
S
Small simplification of the empty pattern case
Stefan Eßer
4 years ago e9297fe
S
Fix pkg rquery -e processing
Stefan Eßer
4 years ago 5c357fb
S
Small simplification of the empty pattern case
Stefan Eßer
4 years ago 7456d48
S
Fix pkg rquery -e processing
Stefan Eßer
4 years ago 732c369
S
Add support for -e as additional condition to pkg-rquery
Stefan Eßer
4 years ago fc1d73c
S
Fix warning about incomplete initializer.
Stefan Eßer
4 years ago 22c0609
S
Make -e option orthogonal to other filter options
Stefan Eßer
4 years ago 25254bb
D
libpkg: fix a table drop statement
Daniel Kolesa
4 years ago 7562399
S
Merge branch 'upstream-master'
Shawn Webb
4 years ago 9b9eef5
B
SQL errors: further improve sql error reporting
Baptiste Daroussin
5 years ago 92c57f7
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
B
Get rid of the dirname and basename which implement differs depending on OSes
Baptiste Daroussin
5 years ago 3c5dde3
K
libpkg: correctly re-fetch meta.conf if it's missing
Kyle Evans
5 years ago 1e83bf5
B
repo query: avoid using xstring where unnecessary
Baptiste Daroussin
5 years ago b743dfd
B
Factorize some code in sqlite statement preparation
Baptiste Daroussin
5 years ago 3e8b322
B
repo query: Get rid utstring
Baptiste Daroussin
5 years ago cd7a63a
B
Factorize some repetitive code
Baptiste Daroussin
5 years ago 4304c24
S
Merge remote-tracking branch 'upstream/master' into master
Shawn Webb
5 years ago 7e2225c
E
pkg query: Include the files and sum in '%X'
Emmanuel Vadot
5 years ago c337c10
E
pkg query: Fix '%X' to not use the version
Emmanuel Vadot
5 years ago ed15479
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
J
Fix fetch checksum logic
Jason Montleon
5 years ago da3c96b
A
Add a 'hash' mode to pkg repo
Allan Jude
5 years ago 36dfb48
A
Constify the buffer passed to pkg_repo_binary_add_from_manifest() and pkg_parse_manifest() functions.
Alexey Dokuchaev
5 years ago 0de41e2
B
Speed up a few remote repo handling by using mmap in sqlite
Baptiste Daroussin
6 years ago 0d2d335
C
Fix custom destdir support in libpkg
Candy Gumdrop
6 years ago 599aff7
B
Give a tip in case of size mismatch when fetching
Baptiste Daroussin
6 years ago 3b04262
B
There is no no need to pass the path to the dbdir to the function that checks for this db access rights.
Baptiste Daroussin
6 years ago 97e214a
U
libpkg: correct schema syntax
User Idwer
6 years ago 917e4b4
B
Add a helper to get the dbdir and the cachedir path
Baptiste Daroussin
6 years ago 8dd464b
B
Remove a message that is never useful
Baptiste Daroussin
7 years ago 8e1edf3
B
Merge branch 'autosetup'
Baptiste Daroussin
7 years ago b9c18cf
B
Convert to autosetup
Baptiste Daroussin
8 years ago 6faf6c3
R
binary-repo: fix closing sqlite db
Ralf Hubert
8 years ago ac3dee4
B
Parse FreeBSD OS version and forbid to install too new packages
Baptiste Daroussin
8 years ago 6f7e273
B
Consider locking is always functional and tell the users if database if corrupted on nfs
Baptiste Daroussin
8 years ago 655ddff
D
update: check package abi if available
Dmitry Mikhirev
8 years ago 91d55ec
V
Merge branch 'master' of github.com:freebsd/pkg
Vsevolod Stakhov
9 years ago d7f6ae8
B
Simplify a bit the internal API by always trying to use fd
Baptiste Daroussin
9 years ago 8efc943
B
Use getline instead of mmap when parsing the manifest
Baptiste Daroussin
9 years ago 6812f8a
B
Ensure the path is allocated when unlinking
Baptiste Daroussin
9 years ago 4ee1f0d
V
Fix repos initialization
Vsevolod Stakhov
9 years ago c95bf07
B
Unregister the callback
Baptiste Daroussin
9 years ago b8708ae
B
abort() in case of memory failure
Baptiste Daroussin
9 years ago 2a1ca66
B
Remove remnant from libsbuf
Baptiste Daroussin
9 years ago 6cdb89a
B
Replace libsbuf with utstring.h to improve portability
Baptiste Daroussin
9 years ago f93c045
B
Readd temporary the dbdir
Baptiste Daroussin
9 years ago bc6cdd4
B
Reduce code duplication
Baptiste Daroussin
9 years ago 55b980e
B
Overload a couple of sqlite3 syscall to be able to use *at() functions
Baptiste Daroussin
9 years ago d9e4922
B
Finish killing FTS
Baptiste Daroussin
9 years ago ef1cba8
B
Remove all code related to FTS it has not been used ever
Baptiste Daroussin
9 years ago 36a79ce
B
Remove freebsdism not needed due to setting _BSD_SOURCE
Baptiste Daroussin
9 years ago 39ac3d6
B
Fix database being remove in case it was up to date
Baptiste Daroussin
10 years ago 9ddd356
B
Register a cleanup callback when updating the repos (fixes: #1418)
Baptiste Daroussin
10 years ago 2425e25
B
Return an error if a sqlite statement fails
Baptiste Daroussin
10 years ago c024637
B
- Fix a the vital type in the manifest - Chase a few more prepared statements missing vital
Brad Davis
10 years ago ec30257
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
B
Rename precious to vital on suggestion from wblock@
Brad Davis
10 years ago 8ab7285
B
First pass at implementing precious packages
Brad Davis
10 years ago 103076e
B
Relax fetch url to allow file://
Baptiste Daroussin
10 years ago baa4265
B
add a new event: PKG_EVENT_FILE_MISSING
Baptiste Daroussin
10 years ago 1ecbb20
B
Plug a memory leak
Baptiste Daroussin
10 years ago 2a20ee0
B
Restore dir order
Baptiste Daroussin
10 years ago 9d5af01
B
Restore files order
Baptiste Daroussin
10 years ago b0f1d58
B
Get rid of pkg_strel
Baptiste Daroussin
10 years ago ed5762b
B
Convert *provides/*requires to khash
Baptiste Daroussin
10 years ago f4dcde2
B
Remove EXCLUSIVE locking it is cause more troubles than it solves
Baptiste Daroussin
10 years ago 76aa6d1
B
We do not need synchronuous mode while updating (this improves speed a bit more)
Baptiste Daroussin
10 years ago 496ae97