#12917: get_package_dependencies needs to be refactored
--------------------------------+----------------------------
Reporter: kallisti5 | Owner: kallisti5
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: Kits/Package Kit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
--------------------------------+----------------------------
Comment (by kallisti5):
Ok, I have a solid solution in place:
https://github.com/kallisti5/haiku/commits/repo-cleanup
* get_package_dependencies now accepts a series of RepositoryConfig files
* get_package_dependencies HTTP get's the repo caches to tmp and passes
them into the solver
* The build system gives the local RepositoryConfig files to
get_package_dependencies
We now can remove url from the RepositoryCache and have it only exist in
the RepositoryConfig (which makes a lot more sense)
The default configured repositories also point to a "current" Haiku repo
for now. We can lock them to a release branch pretty easily by specifying
in the Jam scripts.
Down the road we can track mirrors via UUID's, and it won't be as
ingrained in our build process as the Cache URL's :-)
I still need to see if i've broken bootstrap, however so far everything is
working as expected.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12917#comment:12>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.