package management discussion - Programming On Unix

Users browsing this thread: 1 Guest(s)
z3bra
Grey Hair Nixers
Dependency resolution is a complex task with a lot of research to back it up. Doing it simply, however, is complex.
The idea I had was to rely on the remote repository to do it. When syncing the repo locally, you just fetch a list files with a format like so:

Code:
libc    1.0    gopher://repo.your.tld/9/libc@1.0.tbz
pm      1.3    gopher://repo.your.tld/9/pm@1.3.tbz      libc,repo
repo    0.1    gopher://repo.your.tld/9/repo@0.1.tbz    libc,sick
sick    1.1    gopher://repo.your.tld/9/sick@1.1.tbz    libc

Then when calling the "repo" command to download a pack, you could ask it to fetch all dependencies using a -d flag, and it would print all resolved packs to stdout rsther than just you pack. It could also be a totally different tool ! After all, repo is responsible for fetching remote packs. A tool could build dependency graph when given a name. This would be easy to do.

The hardest part is documenting these dependencies... But here we reach the package building part of the problem, which is also interesting, but way more complex !


Messages In This Thread
package management discussion - by sth - 26-05-2020, 05:55 PM
RE: package management discussion - by z3bra - 26-05-2020, 07:00 PM
RE: package management discussion - by sth - 26-05-2020, 07:18 PM
RE: package management discussion - by z3bra - 26-05-2020, 07:35 PM
RE: package management discussion - by sth - 26-05-2020, 07:41 PM
RE: package management discussion - by sth - 26-05-2020, 09:41 PM
RE: package management discussion - by venam - 27-05-2020, 01:51 AM
RE: package management discussion - by z3bra - 27-05-2020, 03:49 PM
RE: package management discussion - by sth - 28-05-2020, 06:05 PM
RE: package management discussion - by z3bra - 28-05-2020, 08:10 PM
RE: package management discussion - by jkl - 29-05-2020, 03:58 AM
RE: package management discussion - by z3bra - 29-05-2020, 05:18 AM
RE: package management discussion - by ckester - 29-05-2020, 05:24 PM
RE: package management discussion - by movq - 31-05-2020, 02:47 AM
RE: package management discussion - by z3bra - 31-05-2020, 04:14 AM
RE: package management discussion - by sth - 31-05-2020, 05:28 PM
RE: package management discussion - by jkl - 01-06-2020, 06:06 AM
RE: package management discussion - by movq - 01-06-2020, 02:26 PM
RE: package management discussion - by eadwardus - 05-07-2020, 02:32 PM