Koozali.org: home of the SME Server

Onedrive support?

Offline kryptos

  • ****
  • 245
  • +0/-0
Onedrive support?
« on: September 14, 2021, 01:55:02 PM »
Hello Everyone,

Does anyone tried syncing onedrive with smeserver? similar like this
https://github.com/abraunegg/onedrive

I tried it with ubuntu and it works perfectly.What I like is does support sharepoint sync or onedrive for business. I'm wondering if this can be implemented with SME would be awesome. Rclone is fine but I prefer this one.

Any thoughts?


Regards,
Rocel
« Last Edit: September 14, 2021, 01:59:04 PM by kryptos »

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Onedrive support?
« Reply #1 on: September 14, 2021, 02:19:21 PM »
I tried it with ubuntu and it works perfectly.What I like is does support sharepoint sync or onedrive for business. I'm wondering if this can be implemented with SME would be awesome. Rclone is fine but I prefer this one.

Any thoughts?

Thoughts? Yup. Roll up your sleeves and start coding.....

One day, when we have nothing better to do, then may be someone will look at it. I personally won't as I have no M$ services and therefore no interest.

If I get round to getting docker running properly on v10 you might be able to mess about with that.



...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline kryptos

  • ****
  • 245
  • +0/-0
Re: Onedrive support?
« Reply #2 on: September 14, 2021, 02:42:07 PM »
Thoughts? Yup. Roll up your sleeves and start coding.....

One day, when we have nothing better to do, then may be someone will look at it. I personally won't as I have no M$ services and therefore no interest.

If I get round to getting docker running properly on v10 you might be able to mess about with that.

I just wondering maybe others may have implemented such requirements. There are others have preference and was finding such people. And I don't want to waste your precious time for such if you have nothing good to answer. And I find it offensive with your response with all honesty.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Onedrive support?
« Reply #3 on: September 14, 2021, 03:46:43 PM »
And I find it offensive with your response with all honesty.

well, you'd not..
if you really want something new, start playing with it yourself.
with a 5 min search I found this page:

https://koji.fedoraproject.org/koji/rpminfo?rpmID=27495863

you can try to build your rpm on a test machine.. if it works ad you can install it, take a look at the conf file(s) and start working on the db keys and template fragments

if you get something (even if primitive), open a bug in bugzilla and add there all the files (srpm, your spec file, conf files and so on)

good luck, let us know

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Onedrive support?
« Reply #4 on: September 14, 2021, 03:56:47 PM »
I just wondering maybe others may have implemented such requirements.

If they had it would be in contribs/wiki, or you could have a quick search here.

Quote
There are others have preference and was finding such people. And I don't want to waste your precious time for such if you have nothing good to answer. And I find it offensive with your response with all honesty.

Sorry - just stating some facts.

We get asked for a lot, and get almost no help, and that is very frustrating. The small group that actually DO anything are all unpaid volunteers working in their spare time.

When people say 'I'm wondering if this can be implemented' that usually means 'I want someone to do it for me'. So the answer is yes it could possibly be built. But it is unlikely any time soon unless you start on it yourself.

It would be much nicer to hear 'I've started coding this contrib but I am stuck - can you help'.

For why no one will be rushing to do this (apart from the fact rclone is sufficient for many) you would understand more if did a bit of digging:

https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md

Which means there don't appear to be any CentOS binaries, which makes it much harder to do.

So as I mentioned before, your best chance is via docker. But I haven't finished that contrib to configure it as yet, and even then this will not be easy to do.

See here some docker notes -  I look forward to you helping.

https://wiki.koozali.org/Docker#Koozai_SME_v10

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline kryptos

  • ****
  • 245
  • +0/-0
Re: Onedrive support?
« Reply #5 on: September 14, 2021, 04:18:22 PM »
If they had it would be in contribs/wiki, or you could have a quick search here.

Sorry - just stating some facts.

We get asked for a lot, and get almost no help, and that is very frustrating. The small group that actually DO anything are all unpaid volunteers working in their spare time.

When people say 'I'm wondering if this can be implemented' that usually means 'I want someone to do it for me'. So the answer is yes it could possibly be built. But it is unlikely any time soon unless you start on it yourself.

It would be much nicer to hear 'I've started coding this contrib but I am stuck - can you help'.

For why no one will be rushing to do this (apart from the fact rclone is sufficient for many) you would understand more if did a bit of digging:

https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md

Which means there don't appear to be any CentOS binaries, which makes it much harder to do.

So as I mentioned before, your best chance is via docker. But I haven't finished that contrib to configure it as yet, and even then this will not be easy to do.

See here some docker notes -  I look forward to you helping.

https://wiki.koozali.org/Docker#Koozai_SME_v10

Yeah, I did though but not quite extensive with the search so that is why I'm asking for any input from the community. Not that I want someone to do it for me. just a little seed of an idea that can continue to do so knowing others have done it also.

I, respect all devs and volunteers here for their efforts in making this a stable system and have a great community. Even with your spare time you do it for the love of SME.

Thanks for your patience. Anyway, I will just settle for now with rclone.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Onedrive support?
« Reply #6 on: September 15, 2021, 12:32:49 AM »
Your first thing you really need to do is read a lot.

Following Stefanos link here's what I could find in a few minutes.

https://koji.fedoraproject.org/koji/buildinfo?buildID=1820186

There are built binaries for FC36 but the SRPM won't compile on SME due to missing ldc - the D language compiler - and dependencies.

Code: [Select]
Start: build setup for onedrive-2.4.13-4.fc36.src.rpm
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/onedrive-2.4.13-4.el7.sme.src.rpm
Config time: 0.007
rpmdb time: 0.000
repo time: 0.000
Setting up Package Sacks
pkgsack time: 0.094
Getting requirements for onedrive-2.4.13-4.el7.sme.src
 REQ:  make
 --> Already installed : 1:make-3.82-24.el7.x86_64
 REQ:  ldc
Error: No Package found for ldc
ERROR: Exception(/home/john/rpmbuild/SRPMS/onedrive-2.4.13-4.fc36.src.rpm) Config(smeserver-10-x86_64) 0 minutes 29 seconds
INFO: Results and/or logs in: /var/lib/mock/smeserver-10-x86_64/result
ERROR: Command failed:
 # /usr/bin/yum-builddep --installroot /var/lib/mock/smeserver-10-x86_64/root/ /var/lib/mock/smeserver-10-x86_64/root//builddir/build/SRPMS/onedrive-2.4.13-4.el7.sme.src.rpm
Config time: 0.007
rpmdb time: 0.000
repo time: 0.000
Setting up Package Sacks
pkgsack time: 0.094
Getting requirements for onedrive-2.4.13-4.el7.sme.src
 REQ:  make
 --> Already installed : 1:make-3.82-24.el7.x86_64
 REQ:  ldc
Error: No Package found for ldc


Yup, I am sure the packages could be added to the Koozali SME build system and the basic RPM built, but that is just the start. You'd need to try building yourself and hunting down all the dependencies which would then need adding to SME.

As I have said before I have no M$ services so have no interest in this. But you have some pointers.

If you have the inclination to follow it up then other devs will probably help, but that is up to you to make the moves and do some work.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation