mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
98_Installer: change version check, change maintainer
git-svn-id: https://svn.fhem.de/fhem/trunk@28622 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
af32f0b96e
commit
296a1fa7f6
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- change: 98_Installer: change Maintainer, change app version check
|
||||||
- change: 93_DbRep: attribute allowDeletion deleted, multiCmd: use of
|
- change: 93_DbRep: attribute allowDeletion deleted, multiCmd: use of
|
||||||
executeBeforeProc, executeAfterProc possible,
|
executeBeforeProc, executeAfterProc possible,
|
||||||
prepare support of MariaDB,
|
prepare support of MariaDB,
|
||||||
|
@ -42,6 +42,8 @@ use Data::Dumper;
|
|||||||
use Config;
|
use Config;
|
||||||
use ExtUtils::Installed;
|
use ExtUtils::Installed;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Run before module compilation
|
# Run before module compilation
|
||||||
BEGIN {
|
BEGIN {
|
||||||
|
|
||||||
@ -82,6 +84,10 @@ BEGIN {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
use constant HAS_METARequirementsRange => defined eval {
|
||||||
|
require CPAN::Meta::Requirements::Range;
|
||||||
|
};
|
||||||
|
|
||||||
# try to use JSON::MaybeXS wrapper
|
# try to use JSON::MaybeXS wrapper
|
||||||
# for chance of better performance + open code
|
# for chance of better performance + open code
|
||||||
eval {
|
eval {
|
||||||
@ -5136,14 +5142,15 @@ sub LoadInstallStatusPerl(;$) {
|
|||||||
&& $instV ne ''
|
&& $instV ne ''
|
||||||
&& $instV ne '0' )
|
&& $instV ne '0' )
|
||||||
{
|
{
|
||||||
$reqV = version->parse($reqV)->numify;
|
if ( !HAS_METARequirementsRange )
|
||||||
$instV = version->parse($instV)->numify;
|
{
|
||||||
|
$pkgStatus{Perl}{pkgs}{$pkg}{status} = 'unknown';
|
||||||
#TODO suport for version range:
|
next;
|
||||||
# https://metacpan.org/pod/ \
|
}
|
||||||
# CPAN::Meta::Spec#Version-Range
|
my $vRange = CPAN::Meta::Requirements::Range->with_string_requirement($reqV);
|
||||||
if ( $reqV > 0 && $instV < $reqV ) {
|
|
||||||
|
|
||||||
|
if (!defined $vRange->accepts($instV) )
|
||||||
|
{
|
||||||
$pkgStatus{Perl}{pkgs}{$pkg}{status} =
|
$pkgStatus{Perl}{pkgs}{$pkg}{status} =
|
||||||
'outdated';
|
'outdated';
|
||||||
push
|
push
|
||||||
@ -5155,6 +5162,7 @@ sub LoadInstallStatusPerl(;$) {
|
|||||||
'META.json'
|
'META.json'
|
||||||
&& !$pkgStatus{Perl}{analyzed} );
|
&& !$pkgStatus{Perl}{analyzed} );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5541,13 +5549,13 @@ sub __list_module {
|
|||||||
"abstract": "Modul zum Update von FHEM, zur Installation von Drittanbieter FHEM Modulen und der Verwaltung von Systemvoraussetzungen"
|
"abstract": "Modul zum Update von FHEM, zur Installation von Drittanbieter FHEM Modulen und der Verwaltung von Systemvoraussetzungen"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "v0.5.7",
|
"version": "v0.6.0",
|
||||||
"release_status": "stable",
|
"release_status": "stable",
|
||||||
"author": [
|
"author": [
|
||||||
"Julian Pawlowski <julian.pawlowski@gmail.com>"
|
"Julian Pawlowski <julian.pawlowski@gmail.com>"
|
||||||
],
|
],
|
||||||
"x_fhem_maintainer": [
|
"x_fhem_maintainer": [
|
||||||
"loredo"
|
"coolTux"
|
||||||
],
|
],
|
||||||
"x_fhem_maintainer_github": [
|
"x_fhem_maintainer_github": [
|
||||||
"jpawlowski"
|
"jpawlowski"
|
||||||
@ -5560,6 +5568,7 @@ sub __list_module {
|
|||||||
"prereqs": {
|
"prereqs": {
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"requires": {
|
"requires": {
|
||||||
|
"CPAN::Meta::Requirements::Range": "2.143",
|
||||||
"Data::Dumper": 0,
|
"Data::Dumper": 0,
|
||||||
"Encode": 0,
|
"Encode": 0,
|
||||||
"FHEM": 5.00918623,
|
"FHEM": 5.00918623,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user