Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/pkg_manifest.c  ·  View all commits
200 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
6 days ago 920c183
B
rwhich: implement file tracking and search for remote repositories
Baptiste Daroussin
8 days ago 9b1f2b1
B
manifest: code cleanup
Baptiste Daroussin
9 days ago 8e85663
B
fflags: emit in string value
Baptiste Daroussin
12 days ago c11b978
B
fflags: also accept integers
Baptiste Daroussin
12 days ago 40519f5
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
P
pkg: avoid a bunch of warnings
Pierre Pronchery
2 months ago cf901ce
B
url_decode: fix a regression from a4b8871
Baptiste Daroussin
2 months ago 9c40fc5
B
memory: drastically reduce memory usage
Baptiste Daroussin
3 months ago 83243c7
I
libpkg: store ignored shlibs in manifest and db
Isaac Freund
3 months ago cd69108
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
M
libpkg: Make the pkg-create manifest keyword table const
Mark Johnston
6 months ago 92f1fe1
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
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
11 months ago ba89bd1
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
config: configure globabbly variables
Baptiste Daroussin
1 year ago 2ab58f8
B
url_decode: remove + handling to be backward compatible
Baptiste Daroussin
1 year ago fce4d16
B
pkg_obj: reduce the number of call to getenv(3)
Baptiste Daroussin
1 year ago 136b196
B
urldecode: replace with a faster version
Baptiste Daroussin
1 year ago a4b8871
B
manifest: sort lists to make them reproducible
Baptiste Daroussin
1 year ago fc571f9
B
Revert "manifest: use walk through the linked list not hash"
Baptiste Daroussin
1 year ago 674dd2a
B
manifest: use walk through the linked list not hash
Baptiste Daroussin
1 year ago a3f05af
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago bf1eb68
I
libpkg: track lib32 and Linuxulator shlibs
Isaac Freund
1 year ago 3882f0f
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 834d09c
K
Final round of low hanging leaks.
Keve
1 year ago 2cbdc3b
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago c3b674e
K
Fix two leaks.
Keve
1 year ago c916458
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/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
B
debug: add a manifest namespace
Baptiste Daroussin
2 years ago 05d9f0c
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 7649071
B
Revert "ABI: during pkg create do not trust ABI, also gather ALTABI"
Baptiste Daroussin
2 years ago d2b555c
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 76bfe81
B
ABI: during pkg create do not trust ABI, also gather ALTABI
Baptiste Daroussin
2 years ago d767ee0
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 9856def
B
create: implement override_prefix
Baptiste Daroussin
2 years ago bc1137c
B
manifest: remove unused header
Baptiste Daroussin
2 years ago 207f5a3
B
manifest: cleanup
Baptiste Daroussin
2 years ago 959e2d6
B
manifest: remove the nothing of manifest digest (unused)
Baptiste Daroussin
2 years ago 6dd3c09
B
manifest: remove unused function
Baptiste Daroussin
2 years ago 0ae3fb3
B
manifest: use macro to reduce the risk of typos
Baptiste Daroussin
2 years ago eb052ca
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago a1aca60
B
Backout support for provides/requires for pkg add
Baptiste Daroussin
2 years ago 537d39e
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago 5768655
B
pkg_manifest: avoid type collision
Baptiste Daroussin
3 years ago 9cbe456
B
add: repect provides/requires
Baptiste Daroussin
3 years ago 98597ca
B
libpkg: kill useless pkg_manifest_key API
Baptiste Daroussin
3 years ago eec0e90
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
lua_scripts: convert type to string list
Baptiste Daroussin
3 years ago 6d0c152
B
messages: convert to tllist
Baptiste Daroussin
3 years ago 0b8ce04
B
pkg_manifest: cleanup
Baptiste Daroussin
4 years ago 1381245
B
fix heap-use-after-free
Baptiste Daroussin
4 years ago bdea7a6
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
Remove copypasta on various ...fileat() functions
John Hood
4 years ago 88f45cb
B
manifest: remove write only variable
Baptiste Daroussin
4 years ago a0da058
E
config: Always error if we have duplicate config entries.
Emmanuel Vadot
4 years ago 421baf8
B
pkghash: use iterator every where possible
Baptiste Daroussin
4 years ago 284d5ef
B
pkg_manifest: eliminate another useless uthash use
Baptiste Daroussin
4 years ago 88a7190
B
convert from khash to pkghash
Baptiste Daroussin
4 years ago 438bcc6
B
quality: remove dead assignements
Baptiste Daroussin
4 years ago d1f7fc9
B
manifest: parse manifest by chunks
Baptiste Daroussin
4 years ago 27395aa
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
B
info: raw now emits all all metadata including repository name
Baptiste Daroussin
5 years ago e5216cc
B
info: Add the timestamp to the raw output
Baptiste Daroussin
5 years ago 2fd5817
B
pkg_manifest: get rid of utstring
Baptiste Daroussin
5 years ago 5906c14
B
Use open_memstream p1
Baptiste Daroussin
5 years ago 383d27c
S
Merge commit 'ecf659510be5e198dd4d5974c10b6a655353dfcc' into master
Shawn Webb
5 years ago f54c8aa
B
Fix typo, which in certain cases makes pkg fail to recognize a script
Baptiste Daroussin
5 years ago dd00451
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 an env variable to skip populating the version
Baptiste Daroussin
6 years ago 7c17693
B
Remove never used upgrade scripts
Baptiste Daroussin
6 years ago 5278d0b
B
Add support for scripts in lua
Baptiste Daroussin
6 years ago 485bdd9
B
Merge branch 'autosetup'
Baptiste Daroussin
7 years ago b9c18cf
B
Mark some unused parameter as such
Baptiste Daroussin
8 years ago 2931715
V
Merge branch 'master' of github.com:freebsd/pkg
Vsevolod Stakhov
9 years ago d7f6ae8
V
Forgot a file from the previous commit
Vsevolod Stakhov
9 years ago 4add378
V
Avoid getcwd calls
Vsevolod Stakhov
9 years ago f5a8e74
B
Emit the dep_formula in the maniphest
Baptiste Daroussin
9 years ago 9175c77
V
Avoid getcwd usage when parsing manifests
Vsevolod Stakhov
9 years ago ef1b2d0
B
abort() in case of memory failure
Baptiste Daroussin
9 years ago 2a1ca66
B
Replace libsbuf with utstring.h to improve portability
Baptiste Daroussin
9 years ago f93c045
B
Drop dependency on openssl for sha256
Baptiste Daroussin
9 years ago 2aa99e8
B
Isolate more openssl headers
Baptiste Daroussin
9 years ago f6294c4
B
Fix use-after-free would by llvm fsanitize
Baptiste Daroussin
9 years ago 797cbc1
B
Finish vital implementation with regression tests:
Baptiste Daroussin
10 years ago 902b4c2
B
Plug some memory leaks
Baptiste Daroussin
10 years ago c0ea706
B
Fix manifest parsing by handling boolean parsing properly
Brad Davis
10 years ago d389725
B
- Fix a the vital type in the manifest - Chase a few more prepared statements missing vital
Brad Davis
10 years ago ec30257
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
Remove unused variables
Baptiste Daroussin
10 years ago df7ebf9
B
Rework messages to be fully context aware
Baptiste Daroussin
10 years ago 9ec411c
B
stop polluting users with harmless messages
Baptiste Daroussin
10 years ago 34ab793
V
Prevent escaping for compatible message.
Vsevolod Stakhov
10 years ago 56f6e3e
V
Fix backward compatibility for pkg-message.
Vsevolod Stakhov
10 years ago cf3421c
V
Merge branch 'master' of github.com:freebsd/pkg
Vsevolod Stakhov
10 years ago a3115ba
V
Allow numeric version for manifests.
Vsevolod Stakhov
10 years ago f0ffe94
B
Fix compatibility with old manifest
Baptiste Daroussin
10 years ago 01c84b5
V
Use offsets for primitive types in manifests parser.
Vsevolod Stakhov
10 years ago 2846452
V
Rework pkg manifest parsing.
Vsevolod Stakhov
10 years ago ff21486
V
Merge branch 'message-rework'
Vsevolod Stakhov
10 years ago 631ae91
V
More fixes to libpkg.
Vsevolod Stakhov
10 years ago ef497f0
V
More rework for new pkg-message.
Vsevolod Stakhov
10 years ago 0bcc13c
V
Load message from ucl.
Vsevolod Stakhov
10 years ago 73772ce
V
Convert pkg-message to a structure.
Vsevolod Stakhov
10 years ago 6db1f28
B
Merge pull request #1306 from delphij/message-decode
Baptiste Daroussin
10 years ago 1c387b8
X
urldecode message when reading it back.
Xin Li
10 years ago 46826b9
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
Remove never used uidstr/gidstr
Baptiste Daroussin
10 years ago d7d8ada
B
Convert *provides/*requires to khash
Baptiste Daroussin
10 years ago f4dcde2
B
Allow pkg add to work even if no version is specified in dependencies
Baptiste Daroussin
10 years ago 1118360
V
Add dep_formula field.
Vsevolod Stakhov
10 years ago ad93098
B
Allow to read from manifest checksum different from sha256
Baptiste Daroussin
10 years ago cac70fa
B
Use new API to generate the checksums when recomputing with pkg check
Baptiste Daroussin
10 years ago 0cc4163
B
Remove useless sbuf_get()
Baptiste Daroussin
10 years ago 5734f64
C
If key is unknown, print out key, not the value
Craig Rodrigues
11 years ago 7aeb8c3
B
Fix emitting and parsing requires
Baptiste Daroussin
11 years ago f6a3a73
B
Add a place where to store requires
Baptiste Daroussin
11 years ago 79a5102
B
Fix gcc warnings
Baptiste Daroussin
11 years ago cfbbd26
B
Reduce memory usage needed to parse the manifest
Baptiste Daroussin
11 years ago 167d88d
B
Use fflags set from plist
Baptiste Daroussin
11 years ago 3804ac3
B
Explicitly send warnings on unexpected syntaxes on manifest
Baptiste Daroussin
11 years ago 669266d
B
Remove useless sbuf Remove useless accessor
Baptiste Daroussin
11 years ago 363b22e
B
Remove useless use of sbuf Remove useless accessors
Baptiste Daroussin
11 years ago 5e3dcb3
B
Remove useless use of sbuf Remove useless accessors
Baptiste Daroussin
11 years ago d2b47eb
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
When generating manifest ensure the abi is set
Baptiste Daroussin
11 years ago 24579c0
B
Remove debug printf
Baptiste Daroussin
11 years ago 143f87d
B
Fix stupid bug
Baptiste Daroussin
11 years ago b0a1057
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
Add preliminary support for @config
Baptiste Daroussin
11 years ago e6cd406
B
Implement pkg info --raw-format ucl
Baptiste Daroussin
11 years ago 3f14473
B
in manifest add both arch (ALTABI) and abi (ABI) for compat with ancient version
Baptiste Daroussin
11 years ago 860ca23
B
pkg_group and pkg_user are internal only
Baptiste Daroussin
11 years ago f5726e0
B
pkg_dir is internal only, no need for accessors
Baptiste Daroussin
11 years ago 5066570
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
Garbage collect now no-op code
Baptiste Daroussin
11 years ago f0b1fae
B
Actually align everything on off_t is a better idea
Baptiste Daroussin
11 years ago 2ec9b6c
B
s/off_t/size_t
Baptiste Daroussin
11 years ago 98296f6
B
Remove fallback on yaml when parsing manifests
Baptiste Daroussin
11 years ago f5a67be
V
Merge branch 'master' into imax-rework
Vsevolod Stakhov
11 years ago 810a097
B
Fix writing annotations to manifests
Bryan Drewery
11 years ago fcd167d
V
Merge pull request #922 from vstakhov/shlibabi
Vsevolod Stakhov
11 years ago 88de656
V
Print error if we cannot parse manifest.
Vsevolod Stakhov
11 years ago 37ad99a
V
Merge pull request #919 from ant1/master
Vsevolod Stakhov
11 years ago 19f01a8
A
Fix issue #916
Antoine
11 years ago 017675b
B
Simplify a bit package creation using *at function
Baptiste Daroussin
11 years ago b2b5c50
B
Simplify a bit package creation using *at function
Baptiste Daroussin
11 years ago b6f7a42
B
Option are always strings of a boolean is found then enforce "on"/"off"
Baptiste Daroussin
11 years ago ae26fa6
V
Fix size of ucl_type.
Vsevolod Stakhov
11 years ago 66204ab
V
Another try to be compatible with 1.2
Vsevolod Stakhov
11 years ago 363ba5b
B
Add --raw-format to info/search
Baptiste Daroussin
11 years ago 1cd0bd1
V
Merge pull request #849 from dag-erling/repopath
Vsevolod Stakhov
11 years ago fcc43fd
D
The "path" field in the manifest has been renamed to "repopath", but the manifest parser was not updated, rendering it incapable of reading manifests generated by a recent version of pkg. Add an entry for "repopath" to the manifest_key list so we can parse both old and new manifests.
Dag-Erling Smørgrav
11 years ago 1032362
V
Fix repo create logic.
Vsevolod Stakhov
11 years ago 7825ae5
V
Support emitting struct pkg to pkg_object.
Vsevolod Stakhov
11 years ago 22e5002
V
Do NOT modify pkg on manifest emitting.
Vsevolod Stakhov
11 years ago 47fa6d3
B
Convert the solver and finish converting conflicts to uniqueid
Baptiste Daroussin
11 years ago 576780b
B
do not duplicate flat size
Baptiste Daroussin
12 years ago f457b0d
B
Reduce duplication when emitting the manifest
Baptiste Daroussin
12 years ago 2d15aa7
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
B
Only insert valid data into the top ucl_object when emitting manifests
Baptiste Daroussin
12 years ago 66c9b90
B
Replace all ucl_object_free by ucl_object_unref
Baptiste Daroussin
12 years ago b63dfc6
V
Fix object removing.
Vsevolod Stakhov
12 years ago 2de7738
V
Remove unused ucl object.
Vsevolod Stakhov
12 years ago 1308f8e
B
Really emit licenses
Baptiste Daroussin
12 years ago 1488347
V
Fix object removing.
Vsevolod Stakhov
12 years ago 627381a
B
Do no leak repository and relocated annotations into the packages
Baptiste Daroussin
12 years ago ba6a245
M
Drop the last vestiges of support for 'infos' as a field in a package manifest. We still retain the capability to convert an old database with a pkg.infos column into the current schema, where annotations are used instead, but that's all. An old format package manifest will new generate an error.
Matthew Seaman
12 years ago 6dbb17b
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
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 edb8f16
V
Simplify free macros.
Vsevolod Stakhov
12 years ago e1f8a53
V
Remove warnings.
Vsevolod Stakhov
12 years ago 5c1c256
M
Merge branch 'master' into indexfile
Matthew Seaman
12 years ago 859bbf1
B
Fix emitting options
Baptiste Daroussin
12 years ago 8e820a3
B
Convert pkg_note and annotations into a pkg_object
Baptiste Daroussin
12 years ago 6f18a14
B
Propagate usage of ucl
Baptiste Daroussin
12 years ago 99f9cd1
M
Merge branch 'master' into indexfile
Matthew Seaman
12 years ago e46df05
B
Stop keeping escaping comment
Baptiste Daroussin
12 years ago 801d4bd
B
Only fallback on yaml when ucl parsing actually failed
Baptiste Daroussin
12 years ago 0040019
V
Reduce debug level to avoid extra noise.
Vsevolod Stakhov
12 years ago 65c66a6