Closed nicodel closed 9 years ago
It's a bug I fixed normally. I hope to be able to work on it tomorrow.
I would like to work on it. I try, tonigh, to understand where it could be blocking, but I can't get my hand on it.
Do you know what piece of code could be involved ?
Ok I studied the problem. It looks hard to solve. I think we need a two step initialization.
Currently, the plugins are loaded after the user command is analyzed (it requires all the parameters given by the user to init properly, like the port or the home directory). But the lib that manages the mapping between the command line requires plugin intialization before the user command is analyzed to know which command to map on which function.
Sure it does. I'll look more in depth, but it is maybe a bit over my skils.
Currently, the plugins are loaded after the user command is analyzed (it requires all the parameters given by the user to init properly, like the port or the home directory).
y 2 cents, see my last pr you refused.
I think the main problem with your PR @maboiteaspam is you deleted his buildAction code which is necessary for some of the other commands to work, like the ones that take params (start -p). If I am understanding correctly, with your PR you solved the problems of plugins not being able to have commands, but at the same time made it so that commands can't have parameters.
@runvnc You're right. That part didn't look good. But the main problem was the lack of explanation and the mix of several concepts in one PR that made it hardly reviewable.
cozy-light updated on my RPI to the 0.4.8 Issue solved ! Thank you
You're welcome!
Hi, I have been trying to reinstall cozy-light-basic-auth, after having erase everything (but that is another subject..). From what I remenber, and the README still mention it. I need to do
cozy-light set-pasword
to set password forme
account. But after installing the plugin, this command seems to still be unknown tocozy-light
. As I know thatcozy-light-githooks
got the same set of additional commands tocozy-light
, I install it. Result is the same. Available commands tocozy-light
stay the same :Any ideas ?