Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/pkg_jobs.c  ·  View all commits
200 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
6 days ago 920c183
B
rcscript: rewrite entirely to be safer
Baptiste Daroussin
9 days ago 2e3e34b
B
jobs: avoid magic numbers
Baptiste Daroussin
9 days ago 5d62c0d
B
upgrade: clarify the message when a package it not found
Baptiste Daroussin
16 days ago a80e094
B
upgrade: generalize the more verbose explanation of changes
Baptiste Daroussin
19 days ago 9a0557c
B
options: give more explanation on option change
Baptiste Daroussin
19 days ago c58a26b
B
options: now that options are simple name/value tuples make them kvlist_t
Baptiste Daroussin
22 days ago a25ae64
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
22 days ago abccdd3
I
libpkg: attempt config file merge for force install
Isaac Freund
1 month ago 9169aa5
B
install -A: do not mark upgraded/reinstalled packages as automatic
Baptiste Daroussin
1 month ago dd08b14
B
delete: fix -fR
Baptiste Daroussin
1 month ago 95a90f1
B
jobs: honor PKG_FLAG_DRY_RUN in pkg_jobs_execute()
Baptiste Daroussin
1 month ago da3a159
B
install: emit a message when trying to install -f a locked package
Baptiste Daroussin
1 month ago 46aa15e
B
install: accept http:// https:// file:// url to install pkg
Baptiste Daroussin
1 month ago 44e68ad
B
jobs: hide jails and secure level restrictions behind HAVE_CHFLAGSAT
Baptiste Daroussin
1 month ago 4ca226d
B
portability: securelevels are only available on systems also having chflagsat
Baptiste Daroussin
1 month ago ebee824
B
jobs: only include sys/sysctl.h if it exists
Baptiste Daroussin
1 month ago c52e14b
B
bsd's securelevel: check for bsd securelevel and report errors
Baptiste Daroussin
1 month ago ffc5a16
B
fflags: test if we are running in a jail
Baptiste Daroussin
1 month ago bc91eea
B
pkg: messages improvements
Baptiste Daroussin
2 months ago b21ebf9
B
jobs: remove dead code
Baptiste Daroussin
2 months ago bbe320d
B
triggers: add per package triggers
Baptiste Daroussin
2 months ago c0006d2
B
delete: reinstantiate the original -f behaviour
Baptiste Daroussin
2 months ago 6c4e197
P
pkg: avoid a bunch of warnings
Pierre Pronchery
2 months ago 3b9bfd7
E
pkg_autoremove/force delete: Fix order
Emmanuel Vadot
2 months ago b67e56f
B
jobs: plug a memory leak
Baptiste Daroussin
2 months ago dc198c7
B
jobs: prevent double fetch
Baptiste Daroussin
2 months ago 910336f
B
jobs: fix NULL dereference
Baptiste Daroussin
2 months ago 041107e
B
upgrade: Fix crash in pkg upgrade
Baptiste Daroussin
2 months ago f648e3d
B
upgrade: multiple fixes on how decisions are taken
Baptiste Daroussin
2 months ago cf77f94
B
pkg_jobs: try to break potential infinite recursion
Baptiste Daroussin
2 months ago 8f790d4
B
statvfs: it is portable enough
Baptiste Daroussin
3 months ago beeb445
B
C23: first round at using __has_include
Baptiste Daroussin
3 months ago 0f84b83
V
fetch: add -s/--symlink option for mirror mode
Vsevolod Stakhov
3 months ago 5a98c3f
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
E
pkg_install: Add --register-only
Emmanuel Vadot
5 months ago cb296b1
E
Add unregister
Emmanuel Vadot
5 months ago e133b21
B
job: explain why a packages which vital flag has changed is reinstalled.
Baptiste Daroussin
7 months ago 5d52075
B
cleanup: remove useless assert
Baptiste Daroussin
7 months ago cc5c44a
M
libpkg: Remove an unused parameter from pkg_jobs_universe_add_pkg()
Mark Johnston
7 months ago f88fd01
M
libpkg: Remove unneeded frees
Mark Johnston
7 months ago bc63748
M
libpkg: Simplify a helper function
Mark Johnston
7 months ago ab4f7b5
M
libpkg: Simplify control flow in pkg_jobs_find_remote_pattern()
Mark Johnston
7 months ago fa0897f
M
libpkg: Narrow the scope of a local variable in pkg_jobs_run_solver()
Mark Johnston
7 months ago 7bd7670
M
libpkg: Remove unneeded parentheses in jobs_solve_install_upgrade()
Mark Johnston
7 months ago 5182e4e
M
libpkg: Remove dead code in pkg_jobs_new()
Mark Johnston
7 months ago 4f366c4
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
7 months ago 7dccd36
M
libpkg: Micro-optimize upgrade candidate checking
Mark Johnston
8 months ago 93e6ca0
M
libpkg: Clean up subroutines which fetch upgrade candidates
Mark Johnston
8 months ago 7351237
B
upgrade: only upgrade install things on partial upgrades
Baptiste Daroussin
8 months ago f37bdac
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
11 months ago ba89bd1
B
schedule: convert to vector
Baptiste Daroussin
1 year ago fef3ef2
B
triggers: convert to vector
Baptiste Daroussin
1 year ago dfef457
B
vec: simplify vec_init() usage
Baptiste Daroussin
1 year ago 6401b82
B
candidates: replace tll with vector
Baptiste Daroussin
1 year ago 3c88d19
B
non pkgbase: convert system shlibs to vector of char *
Baptiste Daroussin
1 year ago b8cd71e
B
upgrade: fix and simplify detection of upgrade requirements
Baptiste Daroussin
1 year ago e9ddeea
B
pkg: convert stringlist_t to charv_t
Baptiste Daroussin
1 year ago 3c90262
B
delete: use vector
Baptiste Daroussin
1 year ago 0128bc6
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 89d30c6
B
delete: consider base provides
Baptiste Daroussin
1 year ago 94a8523
B
progress: fix progression and job count
Baptiste Daroussin
1 year ago 777ce1f
B
compat32: ignore on systems without lib32 set
Baptiste Daroussin
1 year ago e245b7a
B
pkg_jobs: fix wrong assert()
Baptiste Daroussin
1 year ago d48ad4c
B
Revert 885cf0ddd08fd7348442ab16b0086b7fee13b0d8
Baptiste Daroussin
1 year ago f506b5d
B
Revert "pkg_jobs: fix regression preventing fetching some packages"
Baptiste Daroussin
1 year ago a4d7455
B
Revert "pkg_jobs: fix behaviour changed from 885cf0ddd08fd"
Baptiste Daroussin
1 year ago b19a031
B
pkg_jobs: fix behaviour changed from 885cf0ddd08fd
Baptiste Daroussin
1 year ago b650ba0
B
pkg_jobs: fix regression preventing fetching some packages
Baptiste Daroussin
1 year ago 169448a
B
solver: do not consider shlibs_required from base on system not running pkgbase
Baptiste Daroussin
1 year ago b6e3941
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 2498431
B
vec: rename pkgvec.h into pkg/vec.h
Baptiste Daroussin
1 year ago 22dddf2
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 25ee7d0
I
libpkg: make shlib handling portable
Isaac Freund
1 year ago 6462d8a
K
More leak fixes as well as skipped leaks.
Keve
1 year ago 306fc12
S
Merge remote-tracking branch 'freebsd/main'
Shawn Webb
1 year ago 84c2214
B
abi: only check abi and no more altabi for abi changes
Baptiste Daroussin
1 year ago bebccb9
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
B
db: allow passing multiple -r options
Baptiste Daroussin
1 year ago a9eccd9
I
libpkg: implement new job scheduler
Isaac Freund
1 year ago d71e177
I
libpkg: remove redundant pkg_jobs->count field
Isaac Freund
1 year ago 2e1ff21
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 76191f7
I
libpkg: make pkg_jobs->solved a boolean
Isaac Freund
1 year ago 41302b2
I
libpkg: extract duplicated logic to a new function
Isaac Freund
1 year ago 885cf0d
I
libpkg: eliminate recursion in pkg_jobs_solve()
Isaac Freund
1 year ago 6d4a6a2
I
libpkg: cleanup pkg_jobs_check_conflicts() callsites
Isaac Freund
1 year ago 3986259
I
jobs: drop pkg_jobs_universe_change_uid()
Isaac Freund
1 year ago 27b0e2b
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 851a6a4
B
vital: adapt the upgrade test to the new behaviour
Baptiste Daroussin
1 year ago 2883c71
B
vital: fix regression: allow for remove with --force
Baptiste Daroussin
1 year ago 539f55a
G
Take PKG_ATTR_{VITAL,LOCKED} into account at the solver level.
Gleb Popov
1 year ago 052a2d3
B
jobs: allow user to not reinstall on option change
Baptiste Daroussin
1 year ago c3d0c24
G
Small cleanup: remove useless code
Gleb Popov
1 year ago 254f158
B
jobs: avoid going through replacement when not needed
Baptiste Daroussin
1 year ago 9393a2d
B
debug: move all "jobs" debug message into the proper namespace
Baptiste Daroussin
1 year ago 4e4056f
B
groups: register installed groups in /var/db/pkg/groups
Baptiste Daroussin
1 year ago 7c89c85
B
debug: add a "jobs" namespace
Baptiste Daroussin
1 year ago 36a3d2d
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
B
jobs: remove useless continue
Baptiste Daroussin
1 year ago a3109ca
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
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago a88747a
B
groups: implement pkg rquery
Baptiste Daroussin
2 years ago 962d403
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 7649071
r
libpkg/pkg_jobs.c: use pkg_mkdirs() and not mkdirs()
rilysh
2 years ago b280e58
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 9ce36fc
B
pkg_jobs: plug memory leaks in autoremove
Baptiste Daroussin
2 years ago 79f37e1
B
orphans: cache the status of a packages
Baptiste Daroussin
2 years ago 7a07756
B
autoremove: remove the locked packages from the set of packages to consider
Baptiste Daroussin
2 years ago f7d8c7e
G
Support cancellation in pkg_jobs_fetch().
Gleb Popov
2 years ago b3e8a25
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago 5768655
B
jobs: address potential memory leak
Baptiste Daroussin
2 years ago 90596ed
B
jobs: remove needless variable assignement
Baptiste Daroussin
2 years ago 80bc349
B
jobs: remove useless test
Baptiste Daroussin
2 years ago 314d3cb
G
Improve libpkg interface for plugins use.
Gleb Popov
2 years ago a2d1b9d
B
pkgdb: plug plenty of db iterators leak
Baptiste Daroussin
2 years ago 8eabf8b
G
Do not leak an iterator in delete_process_provides().
Gleb Popov
2 years ago 3f2ade0
B
libpkg: kill useless pkg_manifest_key API
Baptiste Daroussin
3 years ago eec0e90
B
autoremove: fix regression in recursion
Baptiste Daroussin
3 years ago ff46721
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago fa6223f
M
libpkg: Try to merge config files across split upgrades
Mark Johnston
3 years ago 4ddb234
M
libpkg: Refactor deletion handling in pkg_jobs_execute()
Mark Johnston
3 years ago b3ca789
M
libpkg: Remove an unused function
Mark Johnston
3 years ago 1ea65ae
B
libpkg: convert the solver summary into a tllist
Baptiste Daroussin
3 years ago 7dcb9a6
M
libpkg: Eliminate a bit of code duplication in pkg_jobs_execute()
Mark Johnston
3 years ago 29d0193
M
libpkg: Remove the PKG_DELETE_CONFLICT flag
Mark Johnston
3 years ago 4fd3822
B
pkg_jobs: reduce code duplication
Baptiste Daroussin
3 years ago 103213e
B
fix inverted logic
Baptiste Daroussin
3 years ago c33a03a
B
factorize pkg_chain_t
Baptiste Daroussin
3 years ago 04c77dc
B
deletion: respect provides/requires
Baptiste Daroussin
3 years ago 298301e
B
Fix bus error with new autoremove code
Baptiste Daroussin
3 years ago 8fe974f
B
autoremove: respected provides/require
Baptiste Daroussin
3 years ago 346659b
B
Fix ambiguous column name
Baptiste Daroussin
3 years ago cd1d5b2
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago e294fea
B
triggers: rework the cleanup triggers
Baptiste Daroussin
3 years ago 399d7a2
B
triggers: make the various triggers a member of the jobs structure
Baptiste Daroussin
3 years ago 76cf123
B
solver: stop asking the user for potential candidates for upgrades
Baptiste Daroussin
3 years ago 1921a4f
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
jobs: fix regression from conversion of shlibs required and provide
Baptiste Daroussin
3 years ago 4b896f7
B
fix upgrade performance issue
Baptiste Daroussin
3 years ago 7c47dfd
B
query: accept every categories as A when looking for "<A>/<B>"
Baptiste Daroussin
3 years ago ade813b
B
Jobs: simplify the code to find candidates
Baptiste Daroussin
3 years ago 0293ec2
B
cleanup: prefer tll list over utlist
Baptiste Daroussin
3 years ago f66ca3c
J
libpkg: Do not dereference NULL pointer
Joseph Mingrone
4 years ago d4cc9c3
B
API: convert all abused hash table into stringlist
Baptiste Daroussin
4 years ago 9b49b83
J
'pkg fetch <packagename>' was failing for remote repos; fix
John Hood
4 years ago cd7ca24
B
internal: replace kvec with tllist
Baptiste Daroussin
4 years ago 3fdd5e1
B
cleanup unused code
Baptiste Daroussin
4 years ago e5722c0
J
Make 'pkg install' return failure on missing dependencies.
John Hood
4 years ago 73dfd7f
M
libpkg: Eliminate an unneeded helper function in pkg_jobs.c
Mark Johnston
4 years ago 06b59b5
M
libpkg: Fix some style bugs, simplify control flow, add comments
Mark Johnston
4 years ago c373cf9
M
libpkg: Eliminate an unneeded flag variable in struct pkg_solved
Mark Johnston
4 years ago 7db301e
M
De-prioritize upgrade-removals as well as deletions
Mark Johnston
4 years ago ae45442
B
last conversion from uthash to pkghash
Baptiste Daroussin
4 years ago 486a5b7
B
pkghash: One more conversion from uthash
Baptiste Daroussin
4 years ago e2eeea2
B
convert from khash to pkghash
Baptiste Daroussin
4 years ago 438bcc6
S
Make -e option orthogonal to other filter options
Stefan Eßer
4 years ago 25254bb
S
Merge branch 'upstream-master'
Shawn Webb
4 years ago 9b9eef5
B
package extension: switch for .bsd to .pkg
Baptiste Daroussin
5 years ago 1278736
B
install: lookup for .bsd files as well
Baptiste Daroussin
5 years ago 4d5864d
B
SQL errors: further improve sql error reporting
Baptiste Daroussin
5 years ago 92c57f7
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
K
libpkg: only upgrade installed packages with pattern matches
Kyle Evans
5 years ago 3ee7619
K
libpkg: factor out pkg_jobs_installed_local_pkg()
Kyle Evans
5 years ago 8e1e21f
B
upgrade: when in dry-run do not test for newer pkg version
Baptiste Daroussin
5 years ago 9c2b402
B
install: list all missing packages
Baptiste Daroussin
5 years ago bfc2020
B
Mark closeexec all stream
Baptiste Daroussin
5 years ago c14825a
B
Hook triggers properly
Baptiste Daroussin
5 years ago 1c452e9
B
Split long function into small functions
Baptiste Daroussin
5 years ago c9f4de9
B
Isolate the sat solving in its own function to simplify code
Baptiste Daroussin
5 years ago 6c7a06a
B
Be consistent in the function naming for the solvers
Baptiste Daroussin
5 years ago bd08b3b
B
Check all external solvers at a single point in the code
Baptiste Daroussin
5 years ago d50f736
B
Isolate the external sat solver execution code in a separate function
Baptiste Daroussin
5 years ago d76e66e
B
Isolate the cudf solver execution code in a separate function
Baptiste Daroussin
5 years ago 78c2fc1
B
Use open_memstream p1
Baptiste Daroussin
5 years ago 383d27c
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
B
Revert "Process the entire universe during upgrade/install"
Baptiste Daroussin
6 years ago c6317d5
B
Process the entire universe during upgrade/install
Baptiste Daroussin
6 years ago 3ba4888
B
Factorize running jobs
Baptiste Daroussin
6 years ago d589f43
B
Add a helper to get the dbdir and the cachedir path
Baptiste Daroussin
6 years ago 8dd464b
B
Add support for zstd compression format where supported
Baptiste Daroussin
6 years ago d34c8d9
B
Fix the case by skipping pkg itself if -f is not set and -a is
Brad Davis
7 years ago 9962e5e
B
Merge branch 'autosetup'
Baptiste Daroussin
7 years ago b9c18cf
B
Mark some unused parameter as such
Baptiste Daroussin
8 years ago 2931715
B
Clean up output of messages for locked packages during `pkg delete'
Brad Davis
8 years ago 0adc3fb
j
Revert "Implement zstandard format"
jrmarino
8 years ago 7224fd4
j
Implement zstandard format
jrmarino
8 years ago 9605c36
B
Formatting nit
Brad Davis
8 years ago 945a949
V
Merge branch 'master' of github.com:freebsd/pkg
Vsevolod Stakhov
9 years ago d7f6ae8
B
More FD usage
Baptiste Daroussin
9 years ago 497f2e6
B
patterns does not need to be a hash table
Baptiste Daroussin
9 years ago 720a74e
B
Fix dead assignment
Baptiste Daroussin
9 years ago a108958
B
Fix require check
Baptiste Daroussin
9 years ago 30eed81
B
Abort if asprintf fails
Baptiste Daroussin
9 years ago 721c1e2