@Juha
I didn't mean the external JSON thing only. I meant the authors and maintainers should also deliver new versions for the master repository. That is the "official" place after all.
That was my original idea, a well maintained central repository, but then everyone wanted updates
. Anyway, once the database server is up and running(I already discussed with Marc about the details), we can give rights to package maintainers, so in the end a direct upload to the central repository will be possible in the future.
The external JSON update still looks like a little confusing design oddity to me, but no worries, I believe it is needed.
Every major package system works in a similar way. Maybe you didn't follow the latest post, but almost every limitation is lifted now. The package maintainer doesn't have to follow any naming convention, zip structure, etc. Just generate a JSON with OPM, fill in two items, and that's all there is to it. If someone can came up with more simple design I'm open to suggestions.
Hey, let's document things first for a change. What will the server SW do? Could you at least make a bullet point list please. I can try to make a sequence diagram after it.
I do not understand the question, I mean what list should I create? The server SW is only needed as a gateway between OPM and the database(it will be PostgreSQL), since a direct connection is not safe.
The database will contain the:
- table with users(package maintainers) and hashed passwords
- table with user rights
- table with packages
- table with votes
etc.
With time I plan to replace the main JSON(from the central repository) with a table. It's much easier to maintain then a JSON file.
@minesadorada
Re:Voting system
Could we have a TPopupNotifier or similar show over each star graphic showing what it means? That way, the voting would be equitable.
..something like:
Popup text over 1 : "Unuseable. Buggy and/or obselete"
Popup text over 2 : "Compiles/Installs, but has many unfixed bugs"
Popup text over 3 : "OK, but poor support for fixes and/or updates"
Popup text over 4 : "OK, but unsuitable for production"
Popup text over 5 : "Perfection!"
Ok, but we all must agree on the list, because it can be very subjective. For example in your list after 4(which is still a crapy level) comes 5 Pefection