Dylan Baker
62608dfe02
queue: don't flatten nothing
...
If after removing duplicates there are no deps to flatten, return early.
2022-08-02 11:51:59 -07:00
Dylan Baker
36acd2e409
queue: don't collect static dependencies unless that's what we're looking for
...
Currently the required_private field gets walked twice, once when the
main required field is walked, and a second time when it is walked
itself. This results in the requires_private field leaking memory.
2022-08-02 09:58:06 -07:00
Dylan Baker
75a5fe0757
queue: ensure pkgconf_queue_apply alies cleanesup the world set
2022-08-02 09:58:06 -07:00
Dylan Baker
21a645df00
queue: when flattening sets, unref dependencies that will not be re-added
2022-07-27 13:40:27 -07:00
Dylan Baker
94b6d96794
queue: unref pkg copy in flatten_dependency_set
2022-07-26 15:19:15 -07:00
Ariadne Conill
fdd7d192e0
queue: fix ISO C conformance for fallthrough label
ci/woodpecker/push/woodpecker Pipeline failed
Details
2022-06-26 18:39:00 +00:00
Ariadne Conill
a1a415111f
queue: handle pkgconf_pkg_verify_dependency failure while flattening
ci/woodpecker/push/woodpecker Pipeline failed
Details
2022-06-26 18:09:22 +00:00
Ariadne Conill
9bc6d80e61
queue: push new unresolved dependencies to the front of the queue, rather than the tail
2022-06-26 18:06:04 +00:00
Ariadne Conill
fe4db3aad9
queue: skip dependency collection for root node
2022-06-26 18:04:42 +00:00
Ariadne Conill
5a82a259ac
queue: use maxdepth after flattening
ci/woodpecker/push/woodpecker Pipeline failed
Details
2022-06-26 15:17:08 +00:00
Ariadne Conill
a416dc1fd6
queue: advance client serial when walking requires.private for flattening
2022-06-26 15:16:36 +00:00
Ariadne Conill
197fcadd4c
queue: add flattening code
2022-06-26 15:02:37 +00:00
William Pitcock
ad65bc4a71
libpkgconf: dependency: allow dependency nodes to be colored with traits
2018-03-18 18:03:33 -05:00
William Pitcock
e0bf4009cb
libpkgconf: pkg: rename pkgconf_pkg_t.requires to pkgconf_pkg_t.required ( closes #154 )
...
C++20 makes requires a keyword, so we need to not use it in headers.
2017-12-12 00:21:21 -06:00
William Pitcock
e9fd43caa7
libpkgconf: clean up header includes ( closes #137 )
2017-09-17 23:38:25 -05:00
William Pitcock
5554be4986
libpkgconf: queue: chase API change (mark static root virtual packages as static)
2017-01-22 23:28:51 -06:00
William Pitcock
7b39c38408
libpkgconf: pkg: clean up use of flags variable (ref #105 )
2017-01-19 18:17:29 -06:00
William Pitcock
0ca6a16ce5
libpkgconf: queue: nuke flags parameters (ref #105 )
2017-01-19 17:32:38 -06:00
William Pitcock
4967c85d49
libpkgconf: document queue module
2016-12-10 23:27:21 -06:00
William Pitcock
c05ecdfc9d
libpkgconf: migrate cache to pkgconf_client_t which unfortunately requires it to be non-const :(
2016-12-02 00:29:33 -06:00
William Pitcock
8740c5cd55
libpkgconf: begin removing global state from libpkgconf library by introducing a "client" object which holds the state
2016-12-01 15:05:03 -06:00
William Pitcock
f44f83998c
queue: namespace the virtual 'world' package as something that could never actually exist
2016-05-20 02:06:46 -05:00
William Pitcock
06a45f1b62
libpkgconf: clean up PKG_ERRF and PKGF_ defines
2015-09-06 11:45:00 -05:00
William Pitcock
ec5cc3f068
libpkgconf: PKG_PROPF namespace becomes PKGCONF_PKG_PROPF.
2015-09-06 11:37:20 -05:00
William Pitcock
ca1b02659a
libpkgconf: untangle remaining pkg_ functions related to pkgconf_pkg_t
2015-09-06 11:20:48 -05:00
William Pitcock
4410eb2c78
libpkgconf: pkg_queue becomes pkgconf_queue
2015-09-06 10:51:34 -05:00
William Pitcock
1ee18d0e69
libpkgconf: move pkg_dependency to pkgconf_dependency namespace
2015-09-06 10:38:30 -05:00
William Pitcock
cc2dcc1f5d
libpkgconf: move pkg_node and pkg_list to pkgconf_node and pkgconf_list namespaces
2015-09-06 10:31:21 -05:00
William Pitcock
a706b3dccc
initial libtoolization for libpkgconf
2015-09-06 09:35:08 -05:00