Google Drive

Really do need an interface to Google Drive (ala Dropbox) … i see there are some unofficial packages here … but they leave me confused. Are they separate items or dependently inclusive? I see one says that it failed to build!!??

In the official OpenSuse repo i see three entries for ‘google drive’ … but none of the descriptions fill me with confidence.

If anyone has been able to find a solid stable solution i would be most appreciative of the advice.

Thanks. :wink:

I found this version that would suit my needs … google-drive-ocamlfuse … however, it does not have an OpenSuse15 repo …

it is here …


"http://download.opensuse.org/repositories/home:/frispete:/ocaml/openSUSE_Leap_42.3/"

Probably a silly question, but is it safe to use a 42.3 repo for OpenSuse 15???

Depends on your definitions of “safe”. I do not think it is a security issue, it is simply a case of does it “work” or not. It could function, but as it is not build against 15.0, you never know.

Better ask the maintainer to build it for 15.0.

Another option you have, is to use your credentials to login on build.opensuse.org, branch the package and build it yourself for 15.0

Really?? This sounds interesting!

I logged in but have no idea how to go about ‘branching and building myself’ … but no pain no gain they say :beat-up:

If not too much trouble … can you help get me started perhaps???

Thanks!

Hi
This should get you going…
https://en.opensuse.org/openSUSE:Build_Service_Tutorial

I use the command line tool on my local computer to all building/testing and then upload to OBS;
https://en.opensuse.org/openSUSE:OSC

Unfortunately …



$ osc build openSUSE_Leap_15.0 x86_64 google-drive-ocamlfuse.spec

openSUSE_Leap_15.0 is not a valid repository, use one of: openSUSE_13.2, openSUSE_Leap_42.1, openSUSE_Leap_42.3, openSUSE_Tumbleweed       
      

… is that the final word, or is there something that can be done about it?? :cry:

Eh, a look at https://software.opensuse.org/package/google-drive-ocamlfuse that there are also experimental packages for Leap 15. Use at own risk.

Hi
If you branched the project, you need to go into the ‘repositories’ tab on the web UI and add the repository if it doesn’t exist.

Do you have a link to your project?

Well … i followed the tute and substituted the ocaml project for the example given … yes, it is branched locally … I have since added the 15.0 repo at the web UI as you suggest but when i re-run the build command locally i get the same result. I suppose i should branch it again???

A link to MY project?? … hmmm, well all i have is the default “Home Title Description” project on the web UI that was a result of following the tute … so looks like i am missing an important step here somewhere?!? … but instead of guessing i will await your sage reply. :\

Yes … okay, fair enough!

So i found a Leap15 package at home:lemmy04 that had previously been successfully built under 15.0 … i branched it and re-built it … but when i go to install i get:

The following NEW package is going to be installed:
  google-drive-ocamlfuse

1 new package to install.
Overall download size: 24.7 KiB. Already cached: 0 B. After the operation, additional 40.3 KiB will be used.
**Continue? [y/n/...? shows all options] (y): **y
Retrieving package google-drive-ocamlfuse-0.7.0-0.x86_64                                                                                              (1/1),  24.7 KiB ( 40.3 KiB unpacked)
google-drive-ocamlfuse-0.7.0-0.x86_64.rpm:
    Package is not signed!

google-drive-ocamlfuse-0.7.0-0.x86_64 (Plain RPM files cache): Signature verification failed [6-File is unsigned]
**Abort, retry, ignore? [a/r/i] (a): **r


Hi
That’s normal since you haven’t added your repository or manually imported your project gpg key from https://build.opensuse.org/projects/home:griadooss:branches:home:lemmy04/public_key/key_dialog

Hit ignore if your happy…

So … i downloaded the public_key … :

sudo rpm --import _key.pub

and rebuilt the package …

 
$ osc build openSUSE_Leap_15.0 x86_64 google-drive-ocamlfuse.spec
177/177 dependencies cached.
.
.
.
Verifying integrity of cached packages
using keys from home:lemmy04, openSUSE:Leap
Writing build configuration
Running build
.
.
.
/var/tmp/build-root/openSUSE_Leap_15.0-x86_64/home/abuild/rpmbuild/RPMS/x86_64/google-drive-ocamlfuse-0.7.0-0.x86_64.rpm

and then with the rpm


sudo zypper in /var/tmp/build-root/openSUSE_Leap_15.0-x86_64/home/abuild/rpmbuild/RPMS/x86_64/google-drive-ocamlfuse-0.7.0-0.x86_64.rpm

however,

.
$ which google-drive-ocamlfuse
bash: type: google-drive-ocamlfuse: not found

the only reference i can find after install is

/usr/share/doc/packages/google-drive-ocamlfuse/

and it is just full of documents.

What have i missed???

When you said:

That’s normal since you haven’t added your repository or manually imported your project gpg key

does the conjunction OR mean EITHER/OR … or does it mean AND?

If it means AND … what do you mean be ‘haven’t added your repository’ … added what to where???

Excuse the heavy demand on your patience smile

Thanks.

Hi
Inspect the spec file, looks like the binary is not installed, it’s remmed out for some reason…

Hi
Also an FYI, google drive is integrated into Gnome/Nautilus these days… maybe KDE/Plasma has such a feature?

Yes … so i discovered by myself no less that 12hrs ago … kio-gdrive available via YaST … why i have not come across it before baffles me … i have been on the search for a solution for some time now … maybe my ‘domestic blindness’ has resurfaced again :wink:

While it goes most of the way in providing the solution i am looking for i still prefer what google-drive-ocamlfuse offers, and seeing that i am really interested in learning how to take advantage of OBS I will continue with this excursion … it has great potential for me … so any advice you can share will be most appreciated.

Thanks Malcolm.

yeah - it’s been a part of Plasma for quite a while now.
Doesn’t quite work that same as something like dropbox sync - the files aren’t stored locally but only on google drive.

https://paste.opensuse.org/view/raw/36108602

On Sat 08 Dec 2018 06:56:03 PM CST, griadooss wrote:

malcolmlewis;2888340 Wrote:
> Hi
> Also an FYI, google drive is integrated into Gnome/Nautilus these
> days… maybe KDE/Plasma has such a feature?

Yes … so i discovered by myself no less that 12hrs ago … kio-gdrive
available via YaST … why i have not come across it before baffles me …
i have been on the search for a solution for some time now … maybe my
‘domestic blindness’ has resurfaced again :wink:

While it goes most of the way in providing the solution i am looking for
i still prefer what google-drive-ocamlfuse offers, and seeing that i am
really interested in learning how to take advantage of OBS I will
continue with this excursion … it has great potential for me … so any
advice you can share will be most appreciated.

Thanks Malcolm.

Hi
Had a look, it’s not building the binary file, no idea why, something
is broken with the build tools (dune) by the looks… the old version
jbuilder is failing as well… maybe will have a deeper look tomorrow.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!