Conversation
2f21450 to
412e47f
Compare
4d2cadf to
97d0eed
Compare
97d0eed to
c863a19
Compare
93f32e3 to
641d885
Compare
diocas
left a comment
There was a problem hiding this comment.
We are changing the name of this managers to be called "gorm", right? So I would make this uniform between reva(?)shares and publicshares. An change the folder name.
I would also avoid some duplicate code related to DB opening and such. You can split it and re-use in 2 different places. But the split you did to not have publicshares and reva(?)shares mixed in shares.go is already better.
Only for public links, because there is already a sql driver for public links (in reva). I agree that it's a bit inconsistent now, but instead of renaming the sharing driver to gorm too, I am more a fan of ripping out the old public links sql driver from Reva and renaming this one to be a sql driver too, to make it consistent with the rest of Reva |
4a1d544 to
d94f178
Compare
I totally agree. If we can do it already, let's do it. If not, making it consistent would be better for now. |
I guess we can already. I will modify the driver here to be called |
d94f178 to
3a73693
Compare
3a73693 to
15f0567
Compare
diocas
left a comment
There was a problem hiding this comment.
I promise is the last one...
15f0567 to
661e4e6
Compare
The code managing public links was seperated from the code for managing shares up to now. With this PR we change this, and we put the two together.
This was necessary because the old code, which is stored in Reva, still uses the old
oc_sharetable, which means it is not compatible with our new ORMified schemas