Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/pkg_event.c  ·  View all commits
149 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
22 days ago abccdd3
B
sandbox: provide a default handler for PKG_EVENT_SANDBOX_GET_STRING
Baptiste Daroussin
1 month ago 5151477
B
EVENT_PIPE: fix invalid json
Baptiste Daroussin
1 month ago bac49fb
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
s
check: implement verification of file and dir metadata
strssndktn
6 months ago 48e6c12
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 89d30c6
B
progress: fix progression and job count
Baptiste Daroussin
1 year ago 777ce1f
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
1 year ago 33f4711
B
debug: fix performance regression
Baptiste Daroussin
1 year ago 637da78
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago fd4c88b
B
debug: fix printing the namespaces
Baptiste Daroussin
2 years ago 86f938e
B
pkg_dbg: now accept both flags and level
Baptiste Daroussin
2 years ago 69dc99d
B
debug: implement PKG_DEBUG_FLAGS
Baptiste Daroussin
2 years ago 9f817aa
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago a1aca60
G
Introduce PKG_EVENT_PKG_ERRNO event to report pkg-specific error codes.
Gleb Popov
2 years ago a58a38e
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
event: properly emit the trigger event
Baptiste Daroussin
3 years ago b5cf318
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
pipeevent: fix pipe event with ucl messages
Baptiste Daroussin
3 years ago 52ab097
B
utils: add a test suite for json_escape
Baptiste Daroussin
4 years ago 2d23159
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
B
Implement triggers
Baptiste Daroussin
5 years ago ac3becb
B
xstring usage: prefer fputs over fprintf where possible
Baptiste Daroussin
5 years ago 720878c
B
Use open_memstream p1
Baptiste Daroussin
5 years ago 383d27c
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
5 years ago d871ad5
D
Fix invalid JSON when EVENT_PIPE is used
Davíð Steinn Geirsson
5 years ago 1320ace
V
Merge branch 'master' of github.com:freebsd/pkg
Vsevolod Stakhov
9 years ago d7f6ae8
B
Move the globals under a ctx object to prepare for newer api
Baptiste Daroussin
9 years ago 7ea4379
V
Fix format strings issues
Vsevolod Stakhov
9 years ago 7957c5b
B
Replace libsbuf with utstring.h to improve portability
Baptiste Daroussin
9 years ago f93c045
B
Explicitly tell the users which conflicts were found
Baptiste Daroussin
9 years ago 2e27bf8
B
Remove more freebsdism
Baptiste Daroussin
9 years ago 9fd372f
B
Add a mechanism to register some callback for singal handing from the frontend
Baptiste Daroussin
10 years ago a3aea6d
B
add a new event: PKG_EVENT_FILE_MISSING
Baptiste Daroussin
10 years ago 1ecbb20
B
Rework messages to be fully context aware
Baptiste Daroussin
10 years ago 9ec411c
B
Count splitted upgrades as one single actions
Baptiste Daroussin
10 years ago 218a436
V
Merge branch 'message-rework'
Vsevolod Stakhov
10 years ago 631ae91
V
Added logic to conditionally show messages.
Vsevolod Stakhov
10 years ago d2a08f9
V
More fixes to libpkg.
Vsevolod Stakhov
10 years ago ef497f0
V
Remove debug knob again...
Vsevolod Stakhov
11 years ago b0a8ad5
V
Further improve logic of failed vars.
Vsevolod Stakhov
11 years ago 3298861
V
Remove incorrectly committed debug knob.
Vsevolod Stakhov
11 years ago 000274e
V
Check ABI for shlib provides/requires.
Vsevolod Stakhov
11 years ago c4e6819
B
Make the public pkg.h c++ friendly
Baptiste Daroussin
11 years ago 5463b3a
M
Rip out the counter stuff
Matthew Seaman
11 years ago 31b1e77
M
Add a label to identify the counted quantity
Matthew Seaman
11 years ago 33eec32
M
Add event counter.
Matthew Seaman
11 years ago 764846e
B
Remove usage of backtraces it was anyway disabled for a while
Baptiste Daroussin
11 years ago 29df844
B
Do not use sbuf in pkg_dep and avoid accessors in library
Baptiste Daroussin
11 years ago e9eced8
B
Fix mess up in names
Baptiste Daroussin
11 years ago f3211f9
B
Reduce the number of call to hashes by caching debug_level
Baptiste Daroussin
11 years ago e4b9d40
B
Make struct pkg a proper structure
Baptiste Daroussin
11 years ago 99c2768
B
Adapt use message to the new update system
Baptiste Daroussin
11 years ago dbccbf6
B
pkg_file is only used internally no need for accessors for other cases pkg_printf is enough
Baptiste Daroussin
11 years ago 7e21f29
B
Also split out deleting files
Bryan Drewery
11 years ago 9822755
B
pkg add: Allow event output to be recursive to fix output.
Bryan Drewery
11 years ago 5da7e15
B
Split Installation status messages so there is a separate Extract phase.
Bryan Drewery
11 years ago f635ac3
B
pkg update: Rework output slightly to make it more clear what is happening
Bryan Drewery
11 years ago 913f461
B
Align messages
Baptiste Daroussin
11 years ago ec2fa7d
B
Let the message type name be consistent with others
Baptiste Daroussin
11 years ago 0212548
B
Make formatting consistent
Baptiste Daroussin
11 years ago 6208345
B
Send an event about progression to the eventpipe
Baptiste Daroussin
11 years ago c12a5fd
V
Rework integritycheck procedure to use uids.
Vsevolod Stakhov
11 years ago 76856f9
B
Fix pkg backup -r messages
Baptiste Daroussin
11 years ago e57c0d4
B
Fetch now uses progress events
Baptiste Daroussin
11 years ago 1d7712b
B
Better looking install/upgrade output
Baptiste Daroussin
11 years ago 2fe6c0b
V
Add progressbar events.
Vsevolod Stakhov
11 years ago 76a4e76
M
Merge branch 'master' of github.com:freebsd/pkg
Matthew Seaman
11 years ago 9852eca
B
Add backtraces on supported platforms
Baptiste Daroussin
11 years ago 72ead28
M
Merge branch 'master' of github.com:freebsd/pkg
Matthew Seaman
12 years ago a10094d
V
Merge branch 'sandboxed-sig-verify'
Vsevolod Stakhov
12 years ago c82cf71
V
Add `PKG_EVENT_SANDBOX_GET_STRING` event.
Vsevolod Stakhov
12 years ago ee90373
V
Add `pkg_emit_sandbox_call` to make a sandbox.
Vsevolod Stakhov
12 years ago 6c0d4cf
V
Add `pkg_emit_sandbox_call` to make a sandbox.
Vsevolod Stakhov
12 years ago a3e4e66
V
Merge pull request #776 from skinder/master
Vsevolod Stakhov
12 years ago 0542a9c
E
more verbose pkg update
Elvira Khabirova
12 years ago 4294b9a
M
Merge branch 'master' into indexfile
Matthew Seaman
12 years ago 669b695
V
Merge pull request #766 from skinder/master
Vsevolod Stakhov
12 years ago 3a95d74
E
pkg_emit_query_(yesno|select)
Elvira Khabirova
12 years ago 2614644
M
Merge branch 'master' into indexfile
Matthew Seaman
12 years ago 859bbf1
B
Propagate usage of ucl
Baptiste Daroussin
12 years ago 99f9cd1
V
Improve events output.
Vsevolod Stakhov
12 years ago 294566f
V
Another upgrade fix.
Vsevolod Stakhov
12 years ago 74b2b86
B
Merge branch 'master' into fix-autoremove-completion
Brad Davis
12 years ago 5b00ee1
V
Merge branch 'master' into gsoc
Vsevolod Stakhov
12 years ago 8d30157
B
Fix another segfault in pipeevent
Baptiste Daroussin
12 years ago 0e626d5
B
Fix segfault in event pipe
Baptiste Daroussin
12 years ago ac91e3a
B
Fix syslog badly reporting reinstallations
Baptiste Daroussin
12 years ago b0f32f3
B
new debug trace infrastructure
Baptiste Daroussin
12 years ago 3c4abaf
M
To reduce confusion spell out exactly what type of change pkg_version_change() returns. This also allows pkg_change_t to be used directly as an array index in pkg_jobs.c
Matthew Seaman
12 years ago e3e0eda
M
Fix build
Matthew Seaman
12 years ago 6387bd4
M
Use new pkg_version_change() function
Matthew Seaman
12 years ago c1aadb4
B
Use the new %V format of pkg_printf
Baptiste Daroussin
12 years ago 963dd1d
B
Use pkg_sbuf_printf for the JSON preparation
Baptiste Daroussin
12 years ago 4697ea9
B
Do not alter a struct pkg to set the new version, but only push the old informations on it
Baptiste Daroussin
13 years ago b5e8333
V
Print processed packages.
Vsevolod Stakhov
13 years ago e3c0cc9
V
Add incremental update event.
Vsevolod Stakhov
13 years ago e2975ee
B
Merge pull request #482 from vstakhov/master
Baptiste Daroussin
13 years ago bb6a616
V
Fix segfault on errors emitting.
Vsevolod Stakhov
13 years ago 7c66f89
B
Merge pull request #481 from vstakhov/master
Baptiste Daroussin
13 years ago 323cc96
V
Make conflicts events more informative.
Vsevolod Stakhov
13 years ago 05b3ed7
B
Cosmetic fixes from previous merge
Baptiste Daroussin
13 years ago 3a52068
B
Merge pull request #479 from vstakhov/master
Baptiste Daroussin
13 years ago 5590d0e
V
Add new event type for conflicts.
Vsevolod Stakhov
13 years ago 3fb3bf7
M
Implement dynamic schema modification -- both up- and downgrade -- to allow repo downloaded from remote to match properly with what the locally installed pkgng expects.
Matthew Seaman
13 years ago b272952
A
Merge remote-tracking branch 'origin/master' into periodic
Alex Kozlov
13 years ago 677d1b3
B
Simplify escaping test
Baptiste Daroussin
13 years ago 57a55ca
B
Escape strings before appending them to json
Baptiste Daroussin
13 years ago c0c2d28
B
Add errno to the plugin errno, directly uses the errno from the event in the frontend
Baptiste Daroussin
13 years ago 34701dc
B
Add errno to the struct pkg_event.e_errno so errno is not accidentally overwritten somewhere in the middle. Add error message in json for ERRNO events, add the errno number to the data object
Baptiste Daroussin
13 years ago 0ed55be
B
Fix a typo and push the message in a data object
Baptiste Daroussin
13 years ago 561fb33
B
Allow to pipe events in json format though a unix socket/fifo
Baptiste Daroussin
13 years ago 58d976e
B
Fix indentation
Baptiste Daroussin
13 years ago 8128d5b
M
Style: Add dash to first line of copyright header.
Matthew Seaman
13 years ago bfe0183
B
Merge pull request #389 from baloo/features/split_events
Baptiste Daroussin
13 years ago 0fee099
A
Adds already installed and not found events
Arthur Gautier
13 years ago 8793be9
B
Add a PKG_PLUGIN_HOOK_EVENT to receive all the event through a plugin
Baptiste Daroussin
13 years ago 950aec8
B
Add new pkg_plugin_{errno,error,info} to emit information from the plugins thought the event interface
Baptiste Daroussin
13 years ago fa5dd5d
M
Add a new 'PKG_EVENT_LOCKED' event and associated functions
Matthew Seaman
13 years ago 63d1752
R
Merge branch 'master' of git://github.com/pkgng/pkgng
Roman Naumann
13 years ago 838dd4c
B
Emit explanation in DEVELOPER_MODE for the fatal error
Bryan Drewery
13 years ago 9722a39
M
Merge remote-tracking branch 'upstream/master'
Matthew Seaman
13 years ago 6efb836
W
Various style(9) fixes.
Will Andrews
13 years ago 9fd0036
B
Better implementation of "for pkg installation/upgrade"
Baptiste Daroussin
14 years ago a1a28f1
B
Fix syslog message in case of upgrade
Baptiste Daroussin
14 years ago 96f447c
B
Adding the copyright to the library
Baptiste Daroussin
14 years ago 8dbe8b5
B
Change pkg check add file chesksum check to it
Baptiste Daroussin
14 years ago 0d8a6f3
B
Forced reinstallation/upgrade now possible
Baptiste Daroussin
14 years ago c9339f0
B
use pkg_event for ENODB
Baptiste Daroussin
14 years ago 672c40f
J
Move private headers to private/ subfolder. Dont use private headers in the frontend.
Julien Laffaye
14 years ago b6d30db
F
Merge branch 'master' of git://github.com/pkgng/pkgng
Frederic Culot
14 years ago 542fe9d
B
Move syslog from frontend to library
Baptiste Daroussin
14 years ago 6230538
B
experimental check integrity seems to work
Baptiste Daroussin
14 years ago a3138fe
j
Replace emit macros by functions.
jlaffaye
14 years ago db27b92
j
Introduce new events API.
jlaffaye
14 years ago f8a04e8
W
Support the concept of debug level in libpkg. Use this to implement runtime debug checking for printing additional information about the location of an error. Take the opportunity to create a "global" options mechanism; resetting getopt(3) for the sub-command calls.
Will Andrews
14 years ago 348010d
W
Fix printing file:line debug output in errors.
Will Andrews
14 years ago 13f532a
B
Merge branch 'master' of git://github.com/wca/pkgng into wca
Baptiste Daroussin
14 years ago 7fd834b
W
Use a single event for db creation errors.
Will Andrews
14 years ago 2fce792
W
Rename _FAILED events to _ERROR and remove duplicate PKG_EVENT_DB_OPEN_ERROR.
Will Andrews
14 years ago b091aa0
W
Fix constraint events so they are in parity with original usage.
Will Andrews
14 years ago 4582318
W
Sort the events by name.
Will Andrews
14 years ago ca94325
W
Check all event argument counts.
Will Andrews
14 years ago ecd5b70
W
Refactor the I/O error events into a single event.
Will Andrews
14 years ago 3e8242d
W
Put back the pkg_error event handling.
Will Andrews
14 years ago 5124083
W
The event callback is checked later; free the argument vector after use.
Will Andrews
14 years ago ce52388
W
Initial cut at adding in events, starting with errors.
Will Andrews
14 years ago 653e68c