Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/repo/binary/update.c  ·  View all commits
158 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
DB: in case of remote db corrompted destroy it to give a change to rebuild
Baptiste Daroussin
19 days ago 30a4ebb
B
options: now that options are simple name/value tuples make them kvlist_t
Baptiste Daroussin
22 days ago a25ae64
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
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
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 '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
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 7c30b5f
B
utimensat: replace deprecated futimesat
Baptiste Daroussin
1 year ago f582afc
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
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 ffa5b3d
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: move repos database under /var/db/pkg/repos/<name>/db
Baptiste Daroussin
2 years ago 8ecdfa0
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
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
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
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
repo: remove unused variable
Baptiste Daroussin
3 years ago ce74992
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
convert from khash to pkghash
Baptiste Daroussin
4 years ago 438bcc6
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
K
libpkg: correctly re-fetch meta.conf if it's missing
Kyle Evans
5 years ago 1e83bf5
B
Factorize some code in sqlite statement preparation
Baptiste Daroussin
5 years ago 3e8b322
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
A
Constify the buffer passed to pkg_repo_binary_add_from_manifest() and pkg_parse_manifest() functions.
Alexey Dokuchaev
5 years ago 0de41e2
B
Add a helper to get the dbdir and the cachedir path
Baptiste Daroussin
6 years ago 8dd464b
B
Parse FreeBSD OS version and forbid to install too new packages
Baptiste Daroussin
8 years ago 6f7e273
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
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
B
Unregister the callback
Baptiste Daroussin
9 years ago b8708ae
B
abort() in case of memory failure
Baptiste Daroussin
9 years ago 2a1ca66
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
- 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
Plug a memory leak
Baptiste Daroussin
10 years ago 2a20ee0
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
B
Speed up pkg update by turning locking_mode into exclusive
Baptiste Daroussin
10 years ago 5fb2434
B
Setting specific cache_size is not needed anymore with mmap
Baptiste Daroussin
10 years ago e9b9020
B
Only use mmap during pkg update
Baptiste Daroussin
10 years ago c50ff99
B
Add support for provides/requires
Baptiste Daroussin
11 years ago a8b55d0
B
Merge pull request #1170 from Rolinh/fix-unused-param
Baptiste Daroussin
11 years ago 82be7f2
R
libpkg: remove some unused function parameters
Robin Hahling
11 years ago b8ab113
B
Remove dead assignement
Baptiste Daroussin
11 years ago c3e5591
B
Merge pull request #1113 from landonf/osx/release/0.1
Baptiste Daroussin
11 years ago 3eafef1
L
Initial adoption of OS X compatibility shims.
Landon Fuller
11 years ago 753c3af
V
Add public API for pkgdb transactions.
Vsevolod Stakhov
11 years ago 7782333
A
Cosmetic changes
Alexandre Perrin
11 years ago 7349434
B
Remove useless sbuf Remove useless accessor
Baptiste Daroussin
11 years ago 363b22e
B
Remove useless use of sbuf Remove useless accessor
Baptiste Daroussin
11 years ago 093841f
B
Do not use sbuf in pkg_dep and avoid accessors in library
Baptiste Daroussin
11 years ago e9eced8
B
Remove more useless comments
Baptiste Daroussin
11 years ago f8b90d7
B
Remove wrong comment
Baptiste Daroussin
11 years ago 7feb1f2
B
Finish converting struct pkg into a proper structure
Baptiste Daroussin
11 years ago eab4f94
B
Make struct pkg a proper structure
Baptiste Daroussin
11 years ago 99c2768
B
More speed up for pkg update
Baptiste Daroussin
11 years ago 4f78ea2
B
Dynamically get the proper pagesize
Baptiste Daroussin
11 years ago 9886d86
B
Significant update performance update playing with page_size and cache_size
Baptiste Daroussin
11 years ago 66330a6
B
No need to walk twice on the buffer for updates
Baptiste Daroussin
11 years ago a051937
B
Adapt use message to the new update system
Baptiste Daroussin
11 years ago dbccbf6
B
speed up a bit by updating the processbar less often
Baptiste Daroussin
11 years ago ca4c763
B
Drop incremental support for pkg update
Baptiste Daroussin
11 years ago dabdd2c
B
Finish changing uniqueid to pkgname
Baptiste Daroussin
11 years ago 3857c22
B
consider "abi" now in the binary updates
Baptiste Daroussin
11 years ago 5339d16
B
Fix initialization of length and checksum.
Bryan Drewery
11 years ago 8fb732a
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
Don't show repo update messages with no work
Bryan Drewery
11 years ago b76358f
B
pkg update: Rework output slightly to make it more clear what is happening
Bryan Drewery
11 years ago 913f461
B
Update progress bars: Ensure these always display.
Bryan Drewery
11 years ago 088db6e
B
Remove stale comment
Bryan Drewery
11 years ago fe32488
B
Consistently spell catalogue the same
Bryan Drewery
11 years ago 311c904
B
Fix forced repo update when checksum is changed
Bryan Drewery
11 years ago 989447d
V
Merge branch 'master' into imax-rework
Vsevolod Stakhov
11 years ago 810a097
V
Fix processing by striping trailing \n.
Vsevolod Stakhov
11 years ago c06f81e
V
Use checksums for repo update.
Vsevolod Stakhov
11 years ago 1954975
V
Turn off broken incremental update for now.
Vsevolod Stakhov
11 years ago 2ee4015
V
Check repository and force update if it is not valid.
Vsevolod Stakhov
11 years ago e4d5611
V
EORDER.
Vsevolod Stakhov
11 years ago 2904489
V
Refactor update.
Vsevolod Stakhov
11 years ago 756862d
V
EORDER.
Vsevolod Stakhov
11 years ago ae5f5c5
V
Refactor update.
Vsevolod Stakhov
11 years ago 67d863a
V
Use one mtime, not the most recent one.
Vsevolod Stakhov
11 years ago 3eb77bb
V
Fix warnings.
Vsevolod Stakhov
11 years ago 37330a1
V
Fix forced update.
Vsevolod Stakhov
11 years ago 46654bb
V
Rework repo update to avoid early repo destruction.
Vsevolod Stakhov
11 years ago 7b9dd51
V
Improve errors reporting when updating multirepo.
Vsevolod Stakhov
11 years ago 8f1c93c
V
Check for meta mtime before update.
Vsevolod Stakhov
11 years ago e230daa
V
Fix interrupted updates.
Vsevolod Stakhov
11 years ago 0659705
V
Use meta for names of repo files.
Vsevolod Stakhov
11 years ago fec4658
V
Merge branch 'gsoc2014'
Vsevolod Stakhov
11 years ago 17804c4
V
Fix issues with update and prepared statements.
Vsevolod Stakhov
11 years ago 8a45247
V
Implement abstract iterator.
Vsevolod Stakhov
11 years ago d8dae8f
V
Change name of pkgdb_it_new.
Vsevolod Stakhov
11 years ago 32cfcc7
V
Move specific function to binary repo.
Vsevolod Stakhov
11 years ago 45e6fb4
V
No more repo ident/name.
Vsevolod Stakhov
11 years ago 6cbd570
V
More cleanups.
Vsevolod Stakhov
11 years ago 2dd7bca
V
Fix repo initialization.
Vsevolod Stakhov
11 years ago ce8bc21
V
Fix access check for a repo.
Vsevolod Stakhov
11 years ago 121576a
V
Start moving init functions.
Vsevolod Stakhov
11 years ago cae07a8
V
Move binary update.
Vsevolod Stakhov
11 years ago bdd4397