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

Re: Top 20 unnecessary dependencies [was: Re: A plan to get rid of unnecessary package dependencies]



Christian Aichinger wrote:

> On Tue, Sep 26, 2006 at 09:36:08AM -0700, Kevin B. McCarty wrote:
>> In case it's of interest to anyone, I went through the checklib
>> logs available on the web page for "problems" and found the
>> libraries that are most often listed as bogus dependencies.
> 
> This seriously rocks. Thanks.
> 
> Actually that should be terribly easy to get this out of the DB 
> checklib uses, but it isn't, mostly due to lazyness on my side.
> 
> Might I include your script in checklib (under GPLv2+, if possible), 
> and put the results on a seperate page on rerun.lefant.net/checklib?

Yes, sure!  You'll probably want to make serious improvements to it
since it was just something I whipped out very quickly.  I hereby
license the script under the MIT license, to wit:

> Copyright (c) 2006 Kevin B. McCarty
> 
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
> 
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
> BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
> ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.

(This is of course GPL-compatible :-)

Is there any chance you could also have it output the percentage of
dependencies on each library which are unnecessary (as Kurt did in
http://lists.debian.org/debian-devel/2006/09/msg00940.html )?

best regards,

-- 
Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: