muon-maintenance:attica-fix

Last commit made on 2015-01-08
Get this branch:
git clone -b attica-fix https://git.launchpad.net/muon-maintenance

Branch merges

Branch information

Name:
attica-fix
Repository:
lp:muon-maintenance

Recent commits

0d13d51... by Harald Sitter

Prevent querying attica with invalid categories

For as of right now unknown reasons looking for providers
plasmoids.knsrc and getting opendesktop.org and then asking it for valid
categories can return no category match for plasmoids.
Which in turn makes us query for content pertaining to an invalid category.

What happens is that Provider::searchContents will come back with content
matching every category of that provider (and every name), so we are
looking at thousands of entries in 100-entry batches to receive which is
neither fast nor efficient nor anything really.
To safe guard against this sort of misbehavior explicitly remove all
「possible-category」 entries that have not been matched up to a valid
Attica::Category and return if there are none to search for.

Random background:
m_categories keys get filled based on configuration values for possible
resources, only in categoriesLoaded those entries are then matched up with
actual categories the provider knows about. If one of the expected keys
does not exist on the Provider we have a dangling entry in the Map ala
<"Kitten", Category()>. There is no point in hurling those at Attica
regardless of the cause that ultimately causes the present category
problems. This is worsened by the fact that muon-updater needs to wait
for all resources to fetching=false before it can display anything which
means that having KSNBackend stuck in fetching on account of getting
all the data a provider has on everything will block the entire upgrade
and either making it appear as though muon is broken or there are no
updates.

901a77f... by l10n daemon script <email address hidden>

SVN_SILENT made messages (.desktop file)

6326cfc... by l10n daemon script <email address hidden>

SVN_SILENT made messages (.desktop file)

05a5493... by l10n daemon script <email address hidden>

SVN_SILENT made messages (.desktop file)

c7cb4c8... by l10n daemon script <email address hidden>

SVN_SILENT made messages (.desktop file)

4fc963a... by Aleix Pol

Notify about updates happening to update the status notifier

CCMAIL: <email address hidden>

bebd9a7... by Aleix Pol

Restore muon-updater back

Muon Discover updates interface is not yet as polished as Muon Updater, use
updater for now.

CCMAIL: <email address hidden>

3a6f1e1... by Aleix Pol

Fix build

2a81133... by l10n daemon script <email address hidden>

SVN_SILENT made messages (.desktop file)

e4d712a... by Harald Sitter

warn about weird behavior Aleix should have a look at

CCMAIL: <email address hidden>