Creating categories for Cantor on kde.store for publish/load worksheets.
Closed, ResolvedPublic

Description

Cantor once had a functional for publish/load worksheets.
But, as I see, KDE infrastructure for this have been moved to kde.store, when Cantor didn't have big developers support, so now this code not work, because kse.store don't have the categories, used by Cantor (Cantor (Python), for example).
Categories: Cantor (Maxima),Cantor (Sage),Cantor (KAlgebra),Cantor (Qalculate),Cantor (Python 2),Cantor (Python 3),Cantor (Scilab),Cantor (Octave),Cantor (R),Cantor (Lua), Cantor(Julia)

sirgienko created this task.Nov 3 2018, 8:01 PM
Restricted Application added a subscriber: sysadmin. · View Herald TranscriptNov 3 2018, 8:01 PM
bcooksley changed the visibility from "Custom Policy" to "Public (No Login Required)".Nov 3 2018, 8:38 PM
bcooksley changed the edit policy from "Custom Policy" to "All Users".
bcooksley edited projects, added KDE Store; removed Sysadmin.
bcooksley added a subscriber: bcooksley.

I've reassigned this to the KDE Store team so they can sort this out for you.
Sysadmin doesn't have the necessary access there to set those up unfortunately!

sirgienko updated the task description. (Show Details)Nov 3 2018, 8:40 PM
sirgienko removed a subscriber: sysadmin.
ronaldv closed this task as Resolved.EditedNov 5 2018, 2:06 PM
ronaldv claimed this task.
ronaldv added a subscriber: ronaldv.

We created the missing categories. Please see here: https://store.kde.org/browse/cat/496/

Is everything ok?

ronaldv reopened this task as Open.Nov 5 2018, 2:08 PM
ronaldv moved this task from To Do to Needs Review on the KDE Store board.

The server does not recognize the category Cantor (Octave) to which you are trying to upload.

As I see, category for Octave on kde.store.org for this is "Octave Worksheet". Is visible name equals to category name?

Upload from within programs is not possible due to abuse reasons.

As for the visibly naming, I recommend using the category id to display any
content, this should be possible/implemented for some time now (Marco
Martin or Dan Leinir would know for sure).
We can always fill out legacy names though to make it backwards compatible,
but best is to use the ids of the categories.

sirgienko added a comment.EditedNov 5 2018, 2:29 PM

Upload from within programs is not possible due to abuse reasons.

Could you explain it please? Do you mean, that KNS3::UploadDialog and KNS3::DownloadDialog don't work, because server reject any download/upload requests (except from web interface)?

Exactly that.

I matched all categories to the older naming scheme. Should take a bit
before it becomes visible, though you can see its already used by the
Octave worksheet uploaded.
If anything else needs adjustements, just ping here again.

asemke added a comment.Nov 5 2018, 9:06 PM

We created the missing categories. Please see here: https://store.kde.org/browse/cat/496/

Is everything ok?

When openning the "Get Hot New Stuff" dialog, there are messages in the terminal

org.kde.knewstuff.core: Could not find category "Cantor (Python 2)"
org.kde.knewstuff.core: Could not find category "Cantor (Scilab)"
org.kde.knewstuff.core: Could not find category "Cantor (Octave)"
org.kde.knewstuff.core: Could not find category "Cantor (Qalculate)"
org.kde.knewstuff.core: Could not find category "Cantor (Maxima)"
org.kde.knewstuff.core: Could not find category "Cantor (Sage)"
org.kde.knewstuff.core: Could not find category "Cantor (R)"
org.kde.knewstuff.core: Could not find category "Cantor (Python 3)"
org.kde.knewstuff.core: Could not find category "Cantor (Lua)"
org.kde.knewstuff.core: Could not find category "Cantor (KAlgebra)"

, the list of categories is empty and that one example worksheet that was uploaded is not shown. Do we need to adjust the names/ids of categories in https://cgit.kde.org/cantor.git/tree/src/cantor.knsrc or do we simply need to wait a bit?

asemke added a comment.Nov 5 2018, 9:07 PM

Upload from within programs is not possible due to abuse reasons.

If the upload is not possible, should/can the UploadCategories part in https://cgit.kde.org/cantor.git/tree/src/cantor.knsrc be removed?

I think it might be needed to wait 24 hours to replicate on the api-server.
So if by tomorrow there still is nothing, please ping again.

justinzobel closed this task as Resolved.Jun 19 2021, 7:10 AM
justinzobel moved this task from Needs Review to Done on the KDE Store board.
justinzobel added a subscriber: justinzobel.

These categories are available as mentioned, resolving task.