New categories for few games
Closed, ResolvedPublic

Description

Hi, we would need to migrate the last games that use newstuff.kde.org to store.kde.org.

Do I understand it correctly that the categories will be created as subcategories of "KDE Game-Addons"?
The categories are:
KBlocks Themes
KDiamonds Themes
KGoldrunner Themes
Kigo Games
Kigo Themes
KSirk Themes
KSnakeDuel Themes

Final question: we have some contents on newstuff.kde.org which never landed on opendesktop.org (and then store). If we would like to import them to store.kde.org, should we

  1. contact each author and ask them to create an account or publish them, or
  2. is there some catch-all account for the KDE community, which still allows to specify the names of the original authors (even if in some comment)? And in this case, If it is the latter, and some author decides to later join, could the element be moved from one author to another?
ltoscano created this task.Jul 29 2017, 1:22 PM
ltoscano renamed this task from New categories for to New categories for few games.

Also, another category:

KSudoku Games

(KSudoku code for KNS has been disabled for a while, but let's start the basic steps for reenabling it).

Thanks! Did you see also my question about the possibility of sending contents from someone who is not the author?

Since knewstuff is now retired (and from my understanding didnt feature an account management?) the best would be

  1. ask the authors to create an account and re-publish them.

KDE could of course set up a normal account at any time and handle all the items under that.
So that's up to whoever wants to decide that and take care of the account (its not possible to form some sort of group-login with multiple account members).

Thank you. Another question: is it possible that the name shown does not match the internal name? I see messages from knewstuff saying that the categories do not exists.

I tried few other categories, and for some programs the name shown is different from the internal name (for example, "KPat Themes" is really "KDE KPat Theme").

Yeah, that could be.
KNS/GHNS unfortunately has the habit to look for a hardcoded category name, so to make it work backwards compatible, I would need to know the exact string each program tries to match and add it as "legacy name" internally.

Ok, but then, what happened with the new categories? Just to name one, I fixed kdiamond according the name which is shown, but I see an error about non-existing category:

https://commits.kde.org/kdiamond/3ffd35d9babae34d189446d9ba2a2a799412c080

I see the same behavior with all the new categories created.

Isn't it https://autoconfig.kde.org/ocs/providers.xml nowadays (not sure about what is the prefered URL)?
Also, where do you get the error with what request?

I checked and see the categories listed live here:
https://api.kde-look.org/ocs/v1/content/categories

Thanks for the API reference to the list of the categories.

So, I'm puzzled: what I was seeing 24 hours ago where messages like:

kblocks(17615)/(org.kde.knewstuff.core) KNSCore::AtticaProvider::listOfCategoriesLoaded: Could not find category "KBlocks Themes"
ksnakeduel(20819)/(org.kde.knewstuff.core) KNSCore::AtticaProvider::listOfCategoriesLoaded: Could not find category "KSnakeDuel Themes"

The same code does not show the errors anymore. Some cache that had to be re-kicked on your side? I don't know, it seems to work, now I need to hunt down the previous authors to reupload the contents.

Anyway, thanks! I think that this can be closed; in the (hopefully unlikely) case that there are some issues, I can still comment.

Your welcome! If there are any more issues, just open a new ticket or re-open this one.

starbuck closed this task as Resolved.Aug 25 2017, 8:21 AM
starbuck triaged this task as Normal priority.