aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMike FABIAN <mike.fabian@basyskom.de>2010-11-10 16:28:59 +0100
committerMike FABIAN <mike.fabian@basyskom.de>2010-11-10 18:58:20 +0100
commite8131b816cd9146ee723ab0a05ec1109ae809f48 (patch)
tree80fab0d40175838bd56cfcbba53f14643513c066 /tools
parent45c36775b08e935dcc2e7f03881ee6afa21735dc (diff)
Changes: remove hardcoded list of source packages to download and scan
RevBy: TrustMe Details: The autogeneration seems to work reasonably well. To run this script in CI, manual changes should be kept to the absolute minimun.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/messageid-check215
1 files changed, 7 insertions, 208 deletions
diff --git a/tools/messageid-check b/tools/messageid-check
index 008f94a8..9a1986a8 100755
--- a/tools/messageid-check
+++ b/tools/messageid-check
@@ -98,196 +98,7 @@ my @engineeringEnglishPackagesBroken = (
my @engineeringEnglishPackages = ();
-my @sourcePackagesToDownloadAndScan = (
- "account-plugin-attlocker",
- "account-plugin-attmobshare",
- "account-plugin-sip",
- "account-plugin-facebook",
- "account-plugin-nokiamessaging",
- "account-plugin-skype",
- "account-plugin-youtube",
- "activities",
- "adobe-flashplayer",
- "aab-contacts-plugin",
- "accessiblemeego",
- "account-plugin-att",
- "account-plugin-google",
- "accounts-ui",
- "applauncherd",
- "applifed",
- "as-daemon",
- "as-info-ui",
- "att-video",
- "backup-framework",
-# "browserservicefw",
- "bugreporter-daemon",
- "bugreporterui",
- "calc",
- "caldav-plugin",
- "calendar",
-# "calendar-plugin-facebook",
- "call-history",
- "call-ui",
- "camera-ui",
- "cellular-adaptation-ui",
- "clock",
- "colorpicker",
- "commhistory-daemon",
- "conn-dui-bluetooth",
- "conn-dui-cellular",
- "conn-dui-common",
- "conn-dui-internet",
- "conn-dui-nfc",
- "conn-dui-wlan",
- "connectivity-bearer-mgmt-test",
- "contacts",
- "contacts-application",
- "contentmanager",
- "contextkit-maemo",
- "cp-ombservice",
- "csd-trace-ui",
- "crash-reporter",
- "cwrt-configurationservice",
- "devicelock",
-# "dialer",
- "duicontrolpanel",
- "duicontrolpanel-certificatesapplet",
- "duicontrolpanel-datetimeapplet",
- "duicontrolpanel-languageapplet",
- "duicontrolpanel-regionformatapplet",
- "duicontrolpanel-soundsettingsapplet",
- "duicontrolpanel-soundsettingsapplet-ui-tests",
- "duicontrolpanel-ui-tests",
-# "duifennec-navbar-extension",
-# "duifennec-prestart-extension",
- "duifennec-transferui-extension",
- "duifennec-virtualmouse-extension",
- "duihelp",
- "duihome",
- "energy-profiler",
- "facebook-ui",
- "facebookqml",
- "feedengine",
- "feedreader",
- "feedsettings",
- "fenix",
- "fennec",
-# "fennec.e10s",
- "fennec-taskswitcher-extension",
- "fennec-usetime-extension",
- "gallery",
- "gallerycamera",
- "gallerycore",
- "geoengine",
- "geo-engine-demo",
- "groovem-account-ui-plugins",
- "libaccounts-ui",
- "libas-common-utils",
- "libcontentaction",
- "libdatepicker",
- "libdialerui",
- "libemailsettings",
- "libextendedkcal",
- "libextendedkcal-tests",
- "liblocationpicker",
- "libmcontentwidgets",
- "libmkcal",
-# "libmvideowidget",
- "liborganiser",
- "libprofile-qt",
- "libresourceqt",
- "libsaveas",
- "libshare-ui",
- "libmessagingif",
- "libmusicsuitesettings",
- "libpresence",
- "libtimepicker",
- "libvideosettings",
- "libvsvideowidget",
- "location-art-tests",
- "location-test-tool",
- "location-ui",
- "locationsettings",
- "maemo-meegotouch-interfaces",
- "mcompositor",
- "mcontrolpanel-telecoilapplet",
- "mediaextension-interfaces",
- "mediaextensioninterfaces-examples",
- "media-suite-lib",
- "meegocertman-extn",
- "meego-im-framework",
- "meego-keyboard",
- "meego-keyboard-zh",
- "meego-vkb-magnifier",
- "meegofeedback-reactionmaps",
- "meegotouch-controlpanelapplets",
- "meegotouchhome",
-# "meegotouchhome-nokia-ui-tests",
- "meegotouch-qt-style",
- "meegotouch-tests",
- "meegotouch-visual-benchmark",
- "messaging-service",
- "messaging-ui",
- "mfe-account-ui-plugins",
- "mms-ui",
- "mpsa-ui-tests",
- "msg-tracker-indexer",
- "music-suite",
- "mwelcome",
-# "mwts-security-tests",
- "nokia-browser-settings",
- "nokia-browser-ui-extension",
- "nokia-maps",
- "nokia-publish-ui",
- "nokia-share-ui",
- "nokiamessagingemail",
- "nokiamessagingsn",
- "nokiamessagingsupportinfo",
- "notes",
- "notification-engine",
- "office-tools",
- "ovi-startup",
- "oviplugin",
- "package-manager",
- "package-manager-ui",
-# "presence-ui",
- "python-meegotouch",
- "qmafw-gui",
- "qmsystem-demo",
- "qt-mobility",
- "qtwebkit-meegotouchplugin",
- "recipients-editor",
- "relevance",
- "search",
- "service-plugin-attmobshare",
- "signon-ui",
- "smartsearch",
- "sm-common-utils",
- "socialprovider-ovi",
- "sync-app",
- "syncshare-test-app",
- "sync-app-nokia",
- "sync-ui",
- "sync-ui-libs",
- "system-ui",
- "systemui-applets",
- "systemui-applets-ui-tests",
- "system-ui-ui-tests",
- "telepathy-nokiamessaging",
- "transfer-ui",
- "twtouch",
- "userguide",
- "userguide-ui-tests",
- "video-suite",
- "video-widget",
- "video-youtube-plugin",
- "visualreminders",
- "webupload-engine",
- "webupload-services",
- "webupload-service-yelp",
- "wrt",
- "xulrunner",
- );
+my @sourcePackagesToDownloadAndScan = (); # contents autogenerated
# source packages which should be ignored. Possible reasons to ignore:
# - they have nothing to do with translations
@@ -309,7 +120,7 @@ my @sourcePackagesIgnore = (
my @sourcePackagesObsolete = (
);
-my @sourcePackagesScanned = ();
+my @sourcePackagesScanned = (); # autogenerated from what was really downloaded
#----------------------------------------------------------------------
# subroutines:
@@ -603,27 +414,15 @@ sub checkListOfSourcePackagesDependingOnLibmeegotouch {
if ($ARG =~ /Package:\s+(.+)$/) {
$sourcePackage = $1
}
- }
- if ($sourcePackage ne "") {
- $sourcePackagesDependingOnLibmeegotouch{$sourcePackage} = "yes";
+ if ($sourcePackage ne "") {
+ $sourcePackagesDependingOnLibmeegotouch{$sourcePackage} = "yes";
+ }
}
close (APTSHOW);
}
- my @missingSourcePackages = ();
for my $sourcePackage (sort (keys %sourcePackagesDependingOnLibmeegotouch)) {
- if (!grep (/^${sourcePackage}$/, @sourcePackagesToDownloadAndScan)
- && !grep (/^${sourcePackage}$/, @sourcePackagesIgnore)
- && !grep (/^${sourcePackage}$/, @sourcePackagesObsolete)) {
- push (@missingSourcePackages, $sourcePackage);
- }
- }
- if ($#missingSourcePackages >= 0) {
- printf STDERR "The following source packages have binary packages depending on libmeegotouch but are not included in the list of packages to download and scan and are not explicitely ignored either:\n";
- for my $missingPackage (@missingSourcePackages) {
- printf STDERR "missing source package: %s\n", $missingPackage;
- }
- printf STDERR "Before you continue running this script, add the missing packages either to the list of packages to scan or to the list of packages to ignore.";
- myExit (1);
+
+ push (@sourcePackagesToDownloadAndScan, $sourcePackage);
}
}