cozy / cozy-device-sdk

Other
2 stars 3 forks source link

Port to the new cozy stack #56

Open sebn opened 7 years ago

sebn commented 7 years ago

Hi there,

I'd like to port cozy-desktop to the new cozy stack. I noticed that it was delegating some of its work to cozy-device-sdk.

Questions:

Thanks

nono commented 7 years ago

Hi,

Is somebody already working to port cozy-device-sdk to the new stack?

No, it's too soon for that. The new stack is work in progress and does not have yet the features for having a cozy-device-sdk that makes sense. For example, the authentication will come soon but is not yet here.

I was expecting some other project to use it, but couldn't find any hint in cozy-mobile for example... Did I miss something?

I think cozy-device-sdk is only used by cozy-desktop. For cozy-mobile, it was planned but we had some issues with the http library (see #10). @kosssi what is the status on this?

I'd assume new releases don't need to support both stacks (we could eventually fix old stack's annoying issues in a maintenance branch). WDYT?

We didn't think about what will be the future of cozy-device-sdk. My opinion is that we have too many small libs for helping development, they are hard to find and not well documented. Maybe merging some of them can help here. cozy-client-js could be a place with all the stuff for communicating with the cozy-stack-v2 from JS apps.

cc: @aenario, @jinroh

kosssi commented 7 years ago

👍 to add it on cozy-client-js.

I don't integrate it on cozy-mobile this issue is always open.