Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/pkg_repo_create.c  ·  View all commits
192 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
6 days ago 920c183
B
repo: use blake2 instead of sha256
Baptiste Daroussin
8 days ago eb2ac2b
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
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 3b9bfd7
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
B
compat: .pkg is there for long enough, remove forward compat.
Baptiste Daroussin
6 months ago 99d8a9c
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
11 months ago ba89bd1
B
repo: replace tll with vector
Baptiste Daroussin
1 year ago e7b72bf
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago bf1eb68
D
pkg-repo: use buffered stdio to write output files
Dan Nelson
1 year ago a2367e4
K
pkg-repo: avoid using a bi-directional pipe
Konrad Witaszczyk
1 year ago 659a249
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
K
Yet more small leaks.
Keve
1 year ago 0d4f404
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago c62eec6
K
Properly initialize phtread mutexes in pkg repo.
Keve
1 year ago f600043
K
Small changes needed to compile on MacOS/Linux using libarchive, libcurl and openssl from pkg-config .
Keve
1 year ago f57c738
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
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 remote-tracking branch 'upstream/main'
Shawn Webb
1 year ago 618640d
G
pkg_repo_create_set_groups: Fix exit path
Gleb Popov
1 year ago 5e2e78f
G
pkg_repo_create: Generalize group_open_schema() to open_schema() that accepts arbitrary UCL
Gleb Popov
1 year ago 9403582
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
pkg: allow to define threads for zstd and xz
Baptiste Daroussin
2 years ago bd83d9c
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 5d69131
K
libpkg: push siglen +/- 1 into the ossl signer
Kyle Evans
2 years ago 3766425
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago adf6f88
K
xstring: add a method for grabbing binary data
Kyle Evans
2 years ago a5cdab3
K
libpkg: repo: encode the signature type
Kyle Evans
2 years ago 6b9224b
K
libpkg: pkg_finish_repo: check for a colon sig delimiter
Kyle Evans
2 years ago a7bb1d1
K
libpkg: abstract rsa away behind a pkgsign interface
Kyle Evans
2 years ago 6aef916
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago c608efa
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
groups: pkg repo can bundle groups definition
Baptiste Daroussin
2 years ago 5fa76a1
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 609fca8
B
repo: reduce memory usage
Baptiste Daroussin
2 years ago de0d8db
B
repo: stop producing meta.pkg file it has been unused since pkg 1.13
Baptiste Daroussin
2 years ago 1ec67c9
B
pkg_repo_pack_db: generalize the usage of struct pkg_repo_create
Baptiste Daroussin
2 years ago 95ab4a4
B
repo_create: refactor the API to make it extensible
Baptiste Daroussin
2 years ago efe25c6
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 76bfe81
B
musl: more portability fixes
Baptiste Daroussin
2 years ago c5979a3
S
HBSD: Resolve merge conflict
Shawn Webb
2 years ago a15eaa5
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 9856def
B
repo: use filedescriptor to stop manipulating memory
Baptiste Daroussin
2 years ago ea90167
B
repo: now emit a new data.pkg file
Baptiste Daroussin
2 years ago 77fda17
B
repo: clean out unused commted code
Baptiste Daroussin
2 years ago bb273e0
B
repo: remove unused variable and plug a memory leak
Baptiste Daroussin
2 years ago 6b42310
B
repo: remove unused headers
Baptiste Daroussin
2 years ago e34f457
B
repo: directly write to the file
Baptiste Daroussin
2 years ago 917ba5f
B
repo: switch from fork model to threads
Baptiste Daroussin
2 years ago 1f258b9
B
repo: remove the ability to generate a repository v1 format
Baptiste Daroussin
2 years ago ae6dcd7
B
repo: remove conflicts from repo creation it was never used
Baptiste Daroussin
2 years ago 802897e
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
2 years ago 9ce36fc
B
repo: isolate the function to sign the content of repo from a command
Baptiste Daroussin
2 years ago 2d1615b
B
repo: isolate the function to RSA sign the content of repo
Baptiste Daroussin
2 years ago 54399a9
S
Merge branch 'upstream-master'
Shawn Webb
2 years ago 5768655
G
Improve libpkg interface for plugins use.
Gleb Popov
2 years ago a2d1b9d
B
libpkg: kill useless pkg_manifest_key API
Baptiste Daroussin
3 years ago eec0e90
B
Revert "cleanup: replace memset with some inline declaration"
Baptiste Daroussin
3 years ago 991ca6b
B
cleanup: replace memset with some inline declaration
Baptiste Daroussin
3 years ago 8cfcfbc
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago fa6223f
B
tllist: replace some utlist with more tllist
Baptiste Daroussin
3 years ago 24f88c3
S
Merge branch 'upstream-master'
Shawn Webb
3 years ago 6c2ebb5
B
pkg repo: cleanup unused code after refactoring
Baptiste Daroussin
4 years ago 8220a4e
B
pkg repo: fix internal repo path at generation time
Baptiste Daroussin
4 years ago ef49441
B
pkg repo: rework the balance between the workers
Baptiste Daroussin
4 years ago e48aa7b
B
pkg repo: unify the .pkg extension
Baptiste Daroussin
4 years ago 20d6d8c
B
convert from uthash to pkghash
Baptiste Daroussin
4 years ago 7dc30d2
B
convert from khash to pkghash
Baptiste Daroussin
4 years ago 438bcc6
B
quality: remove more dead assignement
Baptiste Daroussin
4 years ago da1a478
B
quality: remove dead assignements
Baptiste Daroussin
4 years ago d1f7fc9
D
pkg_repo_create: fix compiler warning (fts api difference)
Daniel Kolesa
4 years ago 1b3929a
S
Revert "repo: skip dead symlinks and symlinks pointing inside the repo"
Shawn Webb
4 years ago 6b27228
B
repo: only accept .pkg by default
Baptiste Daroussin
4 years ago 098719d
B
compat: only create .txz symlinks for packagesite and meta
Baptiste Daroussin
4 years ago c4b3bd9
S
Merge branch 'upstream-master'
Shawn Webb
4 years ago 9b9eef5
B
repo: skip dead symlinks and symlinks pointing inside the repo
Baptiste Daroussin
5 years ago 727f1c9
B
repo: accept packages in all supported formats
Baptiste Daroussin
5 years ago 4572291
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
K
libpkg: rsa: start abstracting away rsa bits
Kyle Evans
5 years ago 3e31cb4
K
libpkg: accept an "rsa:" prefixed file for pkg_finish_repo()
Kyle Evans
5 years ago e37cbc4
B
Get rid of the dirname and basename which implement differs depending on OSes
Baptiste Daroussin
5 years ago 3c5dde3
B
Get rid of sysexits
Baptiste Daroussin
5 years ago f446c79
B
Mark closeexec all stream
Baptiste Daroussin
5 years ago c14825a
B
Do not run pkg_shutdown function too often
Baptiste Daroussin
5 years ago 380ac7f
B
signature: get rid of utstring
Baptiste Daroussin
5 years ago 54265ca
B
merge3: get rid of utstring
Baptiste Daroussin
5 years ago d88f0c4
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
A
Add a 'hash' mode to pkg repo
Allan Jude
5 years ago 36dfb48
B
Bring back pkg create -n but this time consistent
Baptiste Daroussin
6 years ago a8bec72
C
Fix #1566: Add pkg-create(8) -l,--level to set compression level
Conrad Meyer
6 years ago 8991ebd
B
Allow to set timestamp for pkg create
Baptiste Daroussin
6 years ago fb72299
B
Use the new socketpair helper
Baptiste Daroussin
6 years ago 2fab660
B
Use msgpack to format ipc calls
Baptiste Daroussin
6 years ago 371fdee
B
Drop support for legacy repositories
Baptiste Daroussin
6 years ago 0ec2ceb
B
Now emit a row meta.conf file during pkg repo
Baptiste Daroussin
6 years ago 94f8e30
E
repo: Add support for v2 repo
Emmanuel Vadot
6 years ago 900dc14
B
Add missing argument to openat
Baptiste Daroussin
7 years ago a29ecdc
B
Use at function to avoid memory manipulation during repository creation It also reduces the number of open/close operations during this process
Baptiste Daroussin
7 years ago 953eb23
B
A bit of code simplification
Baptiste Daroussin
7 years ago c6fb307
B
Remove 2 useless headers
Baptiste Daroussin
7 years ago c2f802d
B
Merge branch 'autosetup'
Baptiste Daroussin
7 years ago b9c18cf
P
Use the features defined by cc-check-decls
Pietro Cerutti
8 years ago 67c5a0a
B
Remove dead code
Baptiste Daroussin
8 years ago db3a212
E
Sort fts traversal in repo creation
Ed Maste
8 years ago 49c4fb7
V
Merge branch 'master' of github.com:freebsd/pkg
Vsevolod Stakhov
9 years ago d7f6ae8
B
Remove pkg repo -L
Baptiste Daroussin
9 years ago 59ee42f
B
Simplify a bit the internal API by always trying to use fd
Baptiste Daroussin
9 years ago 8efc943
B
Use binary copy instead of printf to fix issues with pkg repo signing_command when the signature contains \0
Baptiste Daroussin
9 years ago df567e8
B
Prefer double linked list when appending data
Baptiste Daroussin
9 years ago bf4c200
V
Fix format strings issues
Vsevolod Stakhov
9 years ago 7957c5b
B
convert pkg_option and pkg_conflicts to khash
Baptiste Daroussin
9 years ago ba73c4c
B
Fix dead assignment
Baptiste Daroussin
9 years ago a108958
B
Remove useless code and duplicated code
Baptiste Daroussin
9 years ago bd5adf3
B
abort() in case of memory failure
Baptiste Daroussin
9 years ago 2a1ca66
B
Add 2 new macros: pkg_errno and pkg_fatal_errno
Baptiste Daroussin
9 years ago 305ccf2
B
Merge pull request #1515 from ThomasAdam/ta/compilation-fixes
Baptiste Daroussin
9 years ago b31cda9
T
Remove unused functions
Thomas Adam
9 years ago d3fc095
B
Do not rely on libarchive for pkg register,
Baptiste Daroussin
9 years ago b737b18
B
Use a portable mechanism to determine the number of CPUs
Baptiste Daroussin
9 years ago 06044ad
B
Replace libsbuf with utstring.h to improve portability
Baptiste Daroussin
9 years ago f93c045
B
Isolate more openssl headers
Baptiste Daroussin
9 years ago f6294c4
B
Remove freebsdism not needed due to setting _BSD_SOURCE
Baptiste Daroussin
9 years ago 39ac3d6
B
Readd a variable actually useful beside coverity claims
Baptiste Daroussin
10 years ago 4baa77e
B
Plug a memory leak during repo creation
Baptiste Daroussin
10 years ago 20406f6
B
Remove unused variable
Baptiste Daroussin
10 years ago 1e24b91
B
plug resource leaks in case of errors
Baptiste Daroussin
10 years ago e3780c3
B
More minor resources leaks
Baptiste Daroussin
10 years ago 675a301
B
Refactor the error handling to better cleanly free resources
Baptiste Daroussin
10 years ago a5294c4
B
Revert "All supported OS have to support SOCK_SEQPACKET"
Baptiste Daroussin
10 years ago dc04b17
B
All supported OS have to support SOCK_SEQPACKET
Baptiste Daroussin
10 years ago acc9766
B
Free in the done label
Baptiste Daroussin
10 years ago 030250d
B
Complete pkg_checksum API and reduce duplicated code
Baptiste Daroussin
10 years ago 8f01347
B
pkg-repo: Follow symlinks and ignore directories starting with '.' or named 'Latest'.
Bryan Drewery
11 years ago cbdff5e
B
Use fflags set from plist
Baptiste Daroussin
11 years ago 3804ac3
B
Plug a memory leak
Baptiste Daroussin
11 years ago b905b46
B
Help coverity understand there is no resource overwrite here
Baptiste Daroussin
11 years ago 0212ed0
B
FD leaks
Baptiste Daroussin
11 years ago f27813d
V
Add missing include files.
Vsevolod Stakhov
11 years ago f5f43a4
M
Merge branch 'master' of github.com:freebsd/pkg
Matthew Seaman
11 years ago a5266e8
V
Merge branch 'linux-build'
Vsevolod Stakhov
11 years ago dd76225
V
Workaround for sysctl.
Vsevolod Stakhov
11 years ago 782a42c
B
Remove useless use of sbuf Remove useless accessors
Baptiste Daroussin
11 years ago d2b47eb
B
Make struct pkg a proper structure
Baptiste Daroussin
11 years ago 99c2768
B
Fix failures with gcc 4.2
Baptiste Daroussin
11 years ago 8da12aa
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
sbuf_finish() is proper here, sbuf_done() just checks if it is finished
Bryan Drewery
11 years ago db99874
B
Fix stray input without formatter in pkg-repo
Bryan Drewery
11 years ago d999b60
V
Merge branch 'master' into imax-rework
Vsevolod Stakhov
11 years ago 810a097
V
Use checksums for repo update.
Vsevolod Stakhov
11 years ago 1954975
V
Add packages checksums to digest file.
Vsevolod Stakhov
11 years ago 148a7ec
B
Explicitly pass when passmode should be used with libarchive
Baptiste Daroussin
11 years ago bf4a9a6
V
Yet another fix to pkg-repo.
Vsevolod Stakhov
11 years ago dc25661
V
Rework distributing jobs over repo workers.
Vsevolod Stakhov
11 years ago 45c25a1
V
Ignore meta.txz file when building repo.
Vsevolod Stakhov
11 years ago f77d261
V
Fix disambiguity with POLL_IN and POLLIN.
Vsevolod Stakhov
11 years ago 6c835b1
V
Fix distributing tasks over workers.
Vsevolod Stakhov
11 years ago f868555
V
Add some debug messages to `pkg-repo`.
Vsevolod Stakhov
11 years ago 0c77d82
V
Add WORKERS_COUNT option for pkg-repo.
Vsevolod Stakhov
11 years ago 8b48f02
V
Another try to be compatible with 1.2
Vsevolod Stakhov
11 years ago 363ba5b
V
Create repo compatible with pkg 1.2
Vsevolod Stakhov
11 years ago 2dd9f80
B
Remove some dead code
Baptiste Daroussin
11 years ago 4450622
V
Improve sockets IO by processing all pending messages.
Vsevolod Stakhov
11 years ago 9ca6738
V
Migrate from pipes to sockets.
Vsevolod Stakhov
11 years ago 486306a
V
Fix fdopen(3) and wait(2) in pkg_repo_create.
Vsevolod Stakhov
11 years ago a4f90df
V
Use meta for names of repo files.
Vsevolod Stakhov
11 years ago fec4658
V
Implement new repo style.
Vsevolod Stakhov
11 years ago 3eb182d
V
Add repo meta export function.
Vsevolod Stakhov
11 years ago a05ee8f
V
Add progress indicators to repo create.
Vsevolod Stakhov
11 years ago c2a6a3c
V
Disable conflicts file for now.
Vsevolod Stakhov
11 years ago f74fd4a
V
Forgot to load manifest keys.
Vsevolod Stakhov
11 years ago 195f562
V
Remove unused header.
Vsevolod Stakhov
11 years ago e428069
V
No more threads.
Vsevolod Stakhov
11 years ago 796787c
V
Fix repo create logic.
Vsevolod Stakhov
11 years ago 7825ae5
V
Create output directory if it doesn't exist.
Vsevolod Stakhov
11 years ago 79e0588
V
Convert pkg repo from threads to processes.
Vsevolod Stakhov
11 years ago 654c36f
B
Convert the solver and finish converting conflicts to uniqueid
Baptiste Daroussin
11 years ago 576780b
B
Convert conflicts to uniqueid
Baptiste Daroussin
11 years ago 7aa1d7d
V
Rework, split and optimize repo functions.
Vsevolod Stakhov
12 years ago c9cc88b