remove ENV-DESKTOP- tag, set DESKTOP- tag instead where necessary

Let's use the same principle with DESKTOP tag as we use with
LANGUAGE tag. Where there are any GNOME-only (or KDE-only) needles, tag
them with `DESKTOP-gnome` and delete then when different `DESKTOP` value
is specified. This will help with `QA:Testcase_Package_Sets_KDE_Package_Install`
testcase - we will be able to use almost the same code and check that KDE
got installed properly.

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D670
This commit is contained in:
Jan Sedlák 2015-12-08 11:32:48 +01:00
parent 35c42da79b
commit 6e801bcd52
49 changed files with 48 additions and 73 deletions

View File

@ -77,6 +77,11 @@ sub cleanup_needles() {
unregister_needle_tags("INSTALLER-smallhub");
}
# Unregister desktop needles of other desktops when DESKTOP is specified
if (get_var('DESKTOP')) {
unregister_prefix_tags('DESKTOP', [ get_var('DESKTOP') ])
}
# Unregister non-language-appropriate needles. See unregister_except_
# tags for details; basically all needles with at least one LANGUAGE-
# tag will be unregistered unless they match the current langauge.

View File

@ -2,7 +2,6 @@
"properties": [],
"tags": [
"anaconda_install_done",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
],

View File

@ -17,7 +17,6 @@
],
"tags": [
"anaconda_install_done",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
]

View File

@ -2,7 +2,6 @@
"properties": [],
"tags": [
"anaconda_install_done",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
],

View File

@ -17,7 +17,6 @@
],
"tags": [
"anaconda_install_done",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
]

View File

@ -10,7 +10,6 @@
],
"tags": [
"anaconda_install_root_password",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora"
]
}

View File

@ -9,7 +9,6 @@
}
],
"tags": [
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"anaconda_install_user_creation"
]

View File

@ -1,7 +1,6 @@
{
"properties": [],
"tags": [
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"anaconda_install_user_creation_make_admin"

View File

@ -9,7 +9,6 @@
}
],
"tags": [
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"anaconda_install_user_creation_make_admin"

View File

@ -10,7 +10,6 @@
],
"properties": [],
"tags": [
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french",
"anaconda_install_user_creation_make_admin"

View File

@ -9,7 +9,6 @@
}
],
"tags": [
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french",
"anaconda_install_user_creation_make_admin"

View File

@ -1,7 +1,6 @@
{
"tags": [
"anaconda_main_hub_begin_installation",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
],

View File

@ -1,7 +1,6 @@
{
"tags": [
"anaconda_main_hub_begin_installation",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
],

View File

@ -10,7 +10,6 @@
],
"tags": [
"anaconda_main_hub_begin_installation",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
]

View File

@ -11,7 +11,6 @@
"properties": [],
"tags": [
"anaconda_main_hub_begin_installation",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
]

View File

@ -10,7 +10,6 @@
],
"tags": [
"anaconda_main_hub_begin_installation",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
]

View File

@ -10,7 +10,6 @@
],
"tags": [
"anaconda_main_hub_install_destination",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora"
]
}

View File

@ -2,7 +2,6 @@
"properties": [],
"tags": [
"anaconda_select_install_lang_continue",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
],

View File

@ -1,7 +1,6 @@
{
"tags": [
"anaconda_select_install_lang_continue",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
],

View File

@ -10,7 +10,6 @@
],
"tags": [
"anaconda_select_install_lang_continue",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
]

View File

@ -9,7 +9,6 @@
],
"tags": [
"anaconda_select_install_lang_continue",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
],

View File

@ -10,7 +10,6 @@
],
"tags": [
"anaconda_select_install_lang_continue",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
]

View File

@ -18,7 +18,6 @@
"properties": [],
"tags": [
"anaconda_select_install_lang_filtered",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
]

View File

@ -17,7 +17,6 @@
],
"tags": [
"anaconda_select_install_lang_filtered",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
]

View File

@ -18,7 +18,6 @@
],
"tags": [
"anaconda_select_install_lang_filtered",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
]

View File

@ -18,7 +18,6 @@
"properties": [],
"tags": [
"anaconda_select_install_lang_filtered",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
]

View File

@ -17,7 +17,6 @@
],
"tags": [
"anaconda_select_install_lang_filtered",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
],

View File

@ -17,7 +17,6 @@
],
"tags": [
"anaconda_select_install_lang_filtered",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
]

View File

@ -10,7 +10,6 @@
],
"tags": [
"anaconda_spoke_done",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
],

View File

@ -10,7 +10,6 @@
],
"tags": [
"anaconda_spoke_done",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
]

View File

@ -2,7 +2,6 @@
"properties": [],
"tags": [
"anaconda_spoke_done",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
],

View File

@ -10,7 +10,6 @@
],
"tags": [
"anaconda_spoke_done",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-french"
]

View File

@ -11,7 +11,6 @@
],
"tags": [
"anaconda_spoke_done",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
]

View File

@ -10,7 +10,6 @@
],
"tags": [
"anaconda_spoke_done",
"ENV-DESKTOP-default",
"ENV-DISTRI-fedora",
"LANGUAGE-english"
]

View File

@ -1,6 +1,5 @@
{
"tags": [
"ENV-DESKTOP-gnome",
"ENV-DISTRI-fedora",
"ENV-FLAVOR-server_boot",
"ENV-FLAVOR-workstation_live",

View File

@ -16,7 +16,7 @@
}
],
"tags": [
"ENV-DESKTOP-gnome",
"DESKTOP-gnome",
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"graphical_desktop_clean"

View File

@ -17,7 +17,7 @@
],
"properties": [],
"tags": [
"ENV-DESKTOP-gnome",
"DESKTOP-gnome",
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"graphical_desktop_clean"

View File

@ -1,6 +1,6 @@
{
"tags": [
"ENV-DESKTOP-gnome",
"DESKTOP-gnome",
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"graphical_desktop_clean"

View File

@ -10,7 +10,7 @@
}
],
"tags": [
"ENV-DESKTOP-gnome",
"DESKTOP-gnome",
"ENV-FLAVOR-workstation_live",
"desktop_runner"
]

View File

@ -10,7 +10,7 @@
],
"properties": [],
"tags": [
"ENV-DESKTOP-gnome",
"DESKTOP-gnome",
"ENV-FLAVOR-workstation_live",
"desktop_runner"
]

View File

@ -1,6 +1,7 @@
{
"tags": [
"graphical_login",
"DESKTOP-gnome",
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"ENV-FLAVOR-develop"

View File

@ -11,6 +11,7 @@
"properties": [],
"tags": [
"graphical_login_input",
"DESKTOP-gnome",
"ENV-DISTRI-fedora",
"LANGUAGE-english",
"ENV-FLAVOR-develop"

View File

@ -1,7 +1,7 @@
{
"tags": [
"graphical_login",
"ENV-DESKTOP-kde",
"DESKTOP-kde",
"LANGUAGE-english",
"ENV-FLAVOR-kde_live"
],

View File

@ -10,7 +10,7 @@
],
"tags": [
"desktop_runner",
"ENV-DESKTOP-kde",
"DESKTOP-kde",
"ENV-FLAVOR-kde_live"
],
"properties": []

View File

@ -10,7 +10,7 @@
}
],
"tags": [
"ENV-DESKTOP-kde",
"DESKTOP-kde",
"ENV-DISTRI-fedora",
"ENV-FLAVOR-kde_live",
"desktop_runner"

View File

@ -1,7 +1,7 @@
{
"tags": [
"live_start_anaconda_icon",
"ENV-DESKTOP-kde",
"DESKTOP-kde",
"ENV-DISTRI-fedora",
"ENV-FLAVOR-kde_live"
],

View File

@ -13,6 +13,6 @@
"live_initial_anaconda_launcher",
"live_start_anaconda_icon",
"ENV-DISTRI-fedora",
"ENV-DESKTOP-gnome"
"DESKTOP-gnome"
]
}

View File

@ -3,7 +3,7 @@
"live_initial_anaconda_launcher",
"live_start_anaconda_icon",
"ENV-DISTRI-fedora",
"ENV-DESKTOP-gnome"
"DESKTOP-gnome"
],
"area": [
{

View File

@ -1030,6 +1030,7 @@
{ key => "BOOTFROM", value => "c" },
{ key => "HDD_1", value => "disk_f22_desktop_x86_64.img" },
{ key => "UPGRADE", value => "desktop" },
{ key => "DESKTOP", value => "gnome" },
],
variables => "",
},
@ -1052,6 +1053,7 @@
{ key => "BOOTFROM", value => "c" },
{ key => "HDD_1", value => "disk_f22_desktop_i686.img" },
{ key => "UPGRADE", value => "desktop" },
{ key => "DESKTOP", value => "gnome" },
],
variables => "",
},