X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Ffind-use.pl;h=959ecbedbc2c5ca7b3c714b8367492b4fa45a29c;hb=bc08036a5ad1922e30ddd6f69268438c0b86883f;hp=90242211094eed6e4cb05648e28f0b68f81e5914;hpb=6e15c0a98d4f7cb34f6e95b56923ebff659e4825;p=kivitendo-erp.git diff --git a/scripts/find-use.pl b/scripts/find-use.pl index 902422110..959ecbedb 100755 --- a/scripts/find-use.pl +++ b/scripts/find-use.pl @@ -35,7 +35,14 @@ my (%uselines, %modules, %supplied, %requires); }, 'Devel::REPL' => { 'namespace::clean' => 1, - } + }, + 'Email::MIME' => { + 'Email::MIME::Creator' => 1, + }, + 'Test::Harness' => { + 'TAP::Parser' => 1, + 'TAP::Parser::Aggregator' => 1, + }, ); GetOptions( @@ -45,7 +52,7 @@ GetOptions( find(sub { return unless /(\.p[lm]|console)$/; - # remember modules shipped with Lx-Office + # remember modules shipped with kivitendo $supplied{modulize($File::Find::name)}++ if $File::Find::dir =~ m#modules/#; @@ -106,6 +113,11 @@ for my $useline (keys %uselines) { } } +# have all documented modules mentioned here +$modules{$_->{name}} ||= { status => 'required' } for @SL::InstallationCheck::required_modules; +$modules{$_->{name}} ||= { status => 'optional' } for @SL::InstallationCheck::optional_modules; +$modules{$_->{name}} ||= { status => 'developer' } for @SL::InstallationCheck::developer_modules; + # build transitive closure for documented dependancies my $changed = 1; while ($changed) { @@ -230,5 +242,3 @@ Sven Schöling Es.schoeling@linet-services.deE Distributed under the terms of the GNU General Public License v2. =cut - -