I'd like to start adding the functionality of Lua Toolbox to MoonRocks.
Our stacks are a bit different, you have a pure Lua implementation and use Redis as a database. I'd definitely like to migrate the data you have into Postgres for MoonRocks. I'd also prefer to keep things in MoonScript on my end as well. I don't mind doing all the programming to get the functionality moved over. If you want certain things to work a certain way, like if you have a grand plan for how the ideal Lua Toolbox works, then you should definitely tell me though.
I have two questions:
How do labels work. Have you manually applied all of them?
Endorsements are tied to user accounts, should we have a system to migrate accounts? Are there few enough users where it can be done manually?
The text was updated successfully, but these errors were encountered:
For now I have applied all the labels myself. I have a flag I can set on any user to add this to module pages:
The plan was to make that feature available to everyone eventually but in a more sophisticated form on the UI side (something like autocomplete from existing labels) to prevent errors and proliferation of duplicate labels. See #14.
Eventually I think it would be nice if users could:
The reason I haven't done it is that I am not sure how to deal with potential abuse of this system. But maybe I'm just worrying too much and we should just trust it won't happen for now...
As of today there are 92 users, of which only 50 have endorsed modules. The only personal information I have about them is their email address (private), username (public) and a bcrypt hash of their password. I have no idea how many of them are also users of MoonRocks (probably most?).
If we can match those users to MoonRocks users it should not be too hard to migrate endorsements once you will have the feature available.
The model is not very complicated and if you move to postgres you don't even need to care about the way I deal with indexes or Redis at all. I have a script that exports the whole DB to a format like this:
I think it would be simplest for you to import data from this.