chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Partial automation of egg dependencies


From: Lassi Kortela
Subject: Re: Partial automation of egg dependencies
Date: Mon, 21 Nov 2022 19:09:43 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

My take on that as a user: I care about dependencies and tend to avoid
eggs with many dependencies.  If I see `(auto-dependencies)' in an egg
file, I don't know the dependencies of that egg.  I would not like that.

Also, that would break the [reverse] dependency ranks of salmonella
reports.

auto-dependencies should only cover things that are possible to compute statically by looking at the source files. So you'd have a simple, predictable tool that expands them to manual dependencies at will.

The main source of trouble is that this:

(import foo bar baz)

specifies stuff that is then duplicated in the .egg file. When the imports change, the .egg has to be changed too. Else the build may break.

This is the same problem that C/C++ programmers face in keeping makefiles synced with #include. Many of them concluded that thy can't maintain correct makefiles by hand, and wrote tools like makedepend.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]