Package Details: gdrive-git 3.9.0.r4.gf03868a-1

Git Clone URL: (read-only, click to copy)
Package Base: gdrive-git
Description: Google Drive CLI Client (Rust rewrite)
Upstream URL:
Licenses: MIT
Conflicts: gdrive
Provides: gdrive
Submitter: willemw
Maintainer: scarlettekk
Last Packager: scarlettekk
Votes: 8
Popularity: 0.000000
First Submitted: 2015-05-16 09:18 (UTC)
Last Updated: 2023-04-30 18:04 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

hybroid commented on 2019-06-17 22:51 (UTC)

@willemw: issue raised in 2016 year :) I commented to this issue:

willemw commented on 2019-06-11 19:25 (UTC)

@hybroid: Thank you for the patch. I see now that on (redirect from that the project will become active again.

And there is already a pull request for the issue: Can you raise the issue on that upstream repo?

hybroid commented on 2019-06-11 15:36 (UTC)

Please add patch for this bug:

Patch "gdrive-Transfer_Ownership.patch" text: diff --git a/drive/share.go b/drive/share.go index e942c17..4579bd4 100644 --- a/drive/share.go +++ b/drive/share.go @@ -26,7 +26,12 @@ func (self *Drive) Share(args ShareArgs) error { Domain: args.Domain, }

  • _, err := self.service.Permissions.Create(args.FileId, permission).Do()
  • call := self.service.Permissions.Create(args.FileId, permission)
  • if permission.Role == "owner" {
  • call.TransferOwnership(true)
  • } +
  • _, err := call.Do() if err != nil { return fmt.Errorf("Failed to share file: %s", err) }

In PKGBUILD add "prepare": _gobuild=build/src/$_gourl prepare() { cd "$srcdir/$pkgname" git apply ../gdrive-Transfer_Ownership.patch

cd $srcdir mkdir -p "$(dirname $_gobuild)" cp -a "$srcdir/$pkgname" $_gobuild }

Change in PKGBUILD "build" function: build() { GOPATH="$srcdir/build" go get -fix -v -x $_gourl }

bartus commented on 2019-03-01 19:34 (UTC)

It would be nice to have fresh OAuth ID, as one provided within git repo is badly overused. Simple patch that replace those two lines with some fresh client id:

willemw commented on 2016-03-31 18:46 (UTC)

Good that it works now. However, any AUR Helper will normally install 'go' automatically for you.

ferrvittorio commented on 2016-03-31 15:26 (UTC)

Thanks .. worked like a charm! Did not understand quite the "/PKGBUILD?h=" part, but installed locally "go-"latest then yaourted gdrive-git. You can strip off irrelevant comments. Have a nice day

willemw commented on 2016-03-31 15:10 (UTC)

'go' only needs to be installed when building gdrive, not when running gdrive (

ferrvittorio commented on 2016-03-31 15:04 (UTC)

Thanks, you're correct. But currently version of "go" found in repositories is 1.6-2 - should pkg point at it?

willemw commented on 2016-03-31 08:30 (UTC)

@ferrvittorio: please use LC_ALL="C" next time ( It looks like you are having problems installing not this package ("gdrive-git"), but another package ("go").

ferrvittorio commented on 2016-03-31 05:28 (UTC)

Hi, I am getting this :: Vuoi procedere con l'installazione? [S/n] :: Download dei pacchetti in corso... errore: impossibile scaricare il pacchetto 'go-2:1.6-1-x86_64.pkg.tar.xz' da : The requested URL returned error: 404 errore: impossibile scaricare il pacchetto 'go-2:1.6-1-x86_64.pkg.tar.xz' da : The requested URL returned error: 404 attenzione: impossibile scaricare alcuni file errore: impossibile eseguire l'operazione richiesta (errore inaspettato) Si sono verificati degli errori, nessun pacchetto è stato aggiornato.