Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

gdrive #393

Open
wants to merge 210 commits into
base: 1.x
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
137298b
Basic list and download support
prasmussen Jan 11, 2016
784dd21
FileSource TokenSource
prasmussen Jan 16, 2016
f2ab00c
Check for missing refresh token
prasmussen Jan 16, 2016
50b0e69
v2
prasmussen Jan 16, 2016
53f7687
Basic upload support
prasmussen Jan 16, 2016
6e25407
errorF
prasmussen Jan 16, 2016
9eeb595
Implemented file info
prasmussen Jan 16, 2016
204037d
Format list output
prasmussen Jan 16, 2016
d849602
Add default query
prasmussen Jan 17, 2016
8f86e06
DefaultMaxFiles 30
prasmussen Jan 17, 2016
2726ba7
Add name-width flag
prasmussen Jan 17, 2016
9e3c856
Respect configDir flag
prasmussen Jan 17, 2016
9e19c83
mkdir implementation
prasmussen Jan 17, 2016
0f9535d
Implement share file
prasmussen Jan 17, 2016
f16b89b
Delete stale files
prasmussen Jan 17, 2016
f35fd08
One file per command
prasmussen Jan 17, 2016
1d1dd76
Implement url
prasmussen Jan 17, 2016
f4dd433
Implement delete
prasmussen Jan 17, 2016
742c5a2
Implement about
prasmussen Jan 17, 2016
c88aba0
Remove handler
prasmussen Jan 17, 2016
d4d1b00
Return error
prasmussen Jan 17, 2016
33716c2
Take output writer as argument
prasmussen Jan 18, 2016
e60833f
Simplify kv type
prasmussen Jan 18, 2016
4f4152c
Simplify drive wrapper, s/client/auth/
prasmussen Jan 18, 2016
2be43fe
Store captured values as interface{} and type cast
prasmussen Jan 18, 2016
44aa740
Add StringSliceFlag and StringSliceParser
prasmussen Jan 18, 2016
b7f7493
Allow multiple parent flags
prasmussen Jan 20, 2016
f90c11b
Improve parsers
prasmussen Jan 21, 2016
1fe1ad0
Copy slice
prasmussen Jan 22, 2016
379c198
Implement export
prasmussen Jan 22, 2016
4e0cf60
Prevent mutation of input values
prasmussen Jan 23, 2016
ef9d5e6
Implement list revisions
prasmussen Jan 23, 2016
6b3da5b
Move things around, support subcommand help
prasmussen Jan 23, 2016
dffebe0
Use variadic function
prasmussen Jan 23, 2016
21260be
noProgress
prasmussen Jan 23, 2016
e3aa429
Implement download revision
prasmussen Jan 23, 2016
a4217d4
Implement update
prasmussen Jan 23, 2016
5386c49
Implement delete revision
prasmussen Jan 23, 2016
01ef731
Implement upload via stdin
prasmussen Jan 23, 2016
e6dd66c
Remove url handler, add urls to info
prasmussen Jan 23, 2016
2304f9a
Give about import/export own handlers
prasmussen Jan 23, 2016
fdb18f8
s/global options/global/
prasmussen Jan 23, 2016
280ce2d
ResumableMedia is deprecated, use Media with ChunkSize
prasmussen Jan 23, 2016
3d8d85f
Initial progress indicator
prasmussen Jan 24, 2016
a008740
Initialize rateProgress
prasmussen Jan 24, 2016
b658f83
Move progress type to own file
prasmussen Jan 24, 2016
06c6857
Enable progress indicator
prasmussen Jan 24, 2016
5bacd6b
Update rate every 5 seconds
prasmussen Jan 24, 2016
f40d904
Clear indicator when done, 3 second rate update
prasmussen Jan 24, 2016
9f5117d
Add missing %s
prasmussen Jan 24, 2016
8ed59df
Implement recursive upload
prasmussen Jan 24, 2016
c6c7b53
Add openFile function
prasmussen Jan 24, 2016
460ae5f
Remove --bytes flag from upload
prasmussen Jan 24, 2016
04a48c8
Implement recursive download
prasmussen Jan 24, 2016
625d65c
Copy and update given args
prasmussen Jan 24, 2016
11f577b
Change order of flags
prasmussen Jan 24, 2016
3a669be
Fix progress update
prasmussen Jan 24, 2016
35bbe30
Implement import
prasmussen Jan 25, 2016
d52aa78
Add file type column
prasmussen Jan 27, 2016
fa5ed8b
Add sort order support in listing
prasmussen Jan 27, 2016
1c5e887
Implement list changes
prasmussen Jan 28, 2016
dcb2010
Initial upload sync implementation
prasmussen Jan 30, 2016
3b8a364
Prepare sync files async
prasmussen Jan 31, 2016
3d98eb0
More verbosity
prasmussen Jan 31, 2016
893e48c
Delete extraneous files
prasmussen Jan 31, 2016
90a9a8b
Require root dir id for syncing
prasmussen Jan 31, 2016
2ff8d86
Initial download sync implementation
prasmussen Feb 2, 2016
3e09b6d
s/byPathLength/byLocalPathLength/
prasmussen Feb 2, 2016
2a39283
Sort files by longest path
prasmussen Feb 2, 2016
5ad8ce4
Change wording
prasmussen Feb 2, 2016
bc29d65
Move share sync stuff to own file
prasmussen Feb 2, 2016
4c317d1
Close files
prasmussen Feb 2, 2016
926a805
Use same short var name as elsewhere
prasmussen Feb 2, 2016
1a83dbc
Remove 'aborting' suffix
prasmussen Feb 2, 2016
1131605
Rename command to avoid overlap, change order
prasmussen Feb 3, 2016
6d0a23e
Rename files
prasmussen Feb 3, 2016
5f1972a
Add dry-run flag for syncing
prasmussen Feb 3, 2016
6589854
Files are not mutated, no need to return
prasmussen Feb 3, 2016
a8c5402
.gdriveignore support
prasmussen Feb 3, 2016
f43248e
Comments
prasmussen Feb 3, 2016
dd73d46
Remove debug print
prasmussen Feb 3, 2016
803981c
List all files matching query
prasmussen Feb 6, 2016
0e39bcd
Use BreadthFirstPath to find relative path between root and file
prasmussen Feb 6, 2016
9b9160c
Skip files that are not a directory or regular file
prasmussen Feb 6, 2016
77d8e36
Update gitignore
prasmussen Feb 6, 2016
ce32c75
Give FileComparer as argument
prasmussen Feb 6, 2016
b7e45b0
Retry file upload on backend error
prasmussen Feb 6, 2016
69fb273
CachedMd5Comparer
prasmussen Feb 6, 2016
d8a9719
Write to temp file first
prasmussen Feb 6, 2016
bc5809b
Require recursive flag to delete directories
prasmussen Feb 6, 2016
a2bb1bb
Indicate which flags needs an argument
prasmussen Feb 6, 2016
0535cc0
Use FlagGroup instead of map
prasmussen Feb 6, 2016
0ede2d4
optional -> flagGroup
prasmussen Feb 6, 2016
1226727
Add sync list command
prasmussen Feb 6, 2016
68dccc0
Use parent pointer tree
prasmussen Feb 7, 2016
c45e61e
Add sync list recursive command
prasmussen Feb 7, 2016
6199148
Retry create directory on backend error
prasmussen Feb 7, 2016
b56ee90
Retry update file on backend error
prasmussen Feb 7, 2016
23919aa
Retry delete file on backend error
prasmussen Feb 7, 2016
b915aed
Retry download file on backend error
prasmussen Feb 7, 2016
0bbe6c4
Support listing more than 1000 files
prasmussen Feb 7, 2016
9e2fbc9
Use listAllFiles
prasmussen Feb 8, 2016
4822114
Fix error check
prasmussen Feb 8, 2016
db952bd
Print relative path, etc
prasmussen Feb 8, 2016
ad4309f
Minor message change
prasmussen Feb 10, 2016
5eae4f1
Add conflict handling and flags for downloads
prasmussen Feb 12, 2016
12e431b
Add conflict handling and flags for uploads
prasmussen Feb 13, 2016
46e9f19
Download to tmp file and rename on success
prasmussen Feb 13, 2016
60c0676
Return result from recursive call
prasmussen Feb 13, 2016
f9d7540
Move dry run check out of loop
prasmussen Feb 13, 2016
fc24aa4
Correct used space / free space
prasmussen Feb 13, 2016
96d2293
Typo
prasmussen Feb 13, 2016
dd623e8
Ensure that there is enough free space on drive
prasmussen Feb 13, 2016
03384c6
Download to tmp file and rename on success
prasmussen Feb 13, 2016
6d78f27
Download to tmp file and rename on success
prasmussen Feb 13, 2016
46f65e8
Consolidate file download logic, add --path flag to revision download
prasmussen Feb 13, 2016
2b11e0b
No need to open file
prasmussen Feb 14, 2016
453c097
Change output text, refactoring
prasmussen Feb 14, 2016
ef097ce
Add progress bar to upload from stdin
prasmussen Feb 14, 2016
cd62c9d
Show available types and roles
prasmussen Feb 15, 2016
713b062
Add more share commands, upload + share
prasmussen Feb 15, 2016
3f8dc63
s/id/fileId/
prasmussen Feb 15, 2016
a44ec78
Error handling
prasmussen Feb 16, 2016
5d56138
Add delete option for upload and downloads
prasmussen Feb 16, 2016
7eaf0c8
Add TimeoutReader
prasmussen Feb 20, 2016
308c7dc
Handle error
prasmussen Feb 20, 2016
a9e9da7
Wrap media uploads in TimeoutReader
prasmussen Feb 20, 2016
28c4eb9
Wrap downloads in TimeoutReader
prasmussen Feb 20, 2016
21cc148
Add support for user-provided refresh token
prasmussen Feb 20, 2016
c1960cd
Add support for user-provided access token
prasmussen Feb 20, 2016
78207dc
Rename
prasmussen Feb 20, 2016
1e2026d
Indent help
prasmussen Feb 21, 2016
4533841
Support getting config dir from environment variable
prasmussen Feb 21, 2016
428da4b
Support downloading files by query
prasmussen Feb 21, 2016
4b95496
Add sync property and s/isSyncRoot/syncRoot/
prasmussen Feb 21, 2016
2a3b8bd
Prevent upload to sync dirs
prasmussen Feb 21, 2016
0b0c7a4
s/list recursive/list content/
prasmussen Feb 21, 2016
a02adf6
Add remotePathFinder
prasmussen Feb 21, 2016
9ee98bc
Add path to file info
prasmussen Feb 21, 2016
f20a7f8
Add --absolute flag to show abs path to file
prasmussen Feb 21, 2016
2765f4a
Add go version
prasmussen Feb 21, 2016
a85c724
Add os/arch to version
prasmussen Feb 21, 2016
f6d4076
Add script to print usage in markdown
prasmussen Feb 21, 2016
701c7f1
Update build script
prasmussen Feb 21, 2016
1973512
go fmt
prasmussen Feb 21, 2016
30b8515
Remove stale code
prasmussen Feb 21, 2016
82dda1b
s/sync list content/sync content/
prasmussen Feb 21, 2016
a0853c7
s/revisionId/revId/
prasmussen Feb 21, 2016
4e0e5fe
Update README for gdrive 2
prasmussen Feb 21, 2016
a7256ab
Replace username
prasmussen Feb 22, 2016
cabd732
Add raspberry pi build
prasmussen Feb 22, 2016
4a9815e
Add largest files example
prasmussen Feb 22, 2016
34e963d
Update installation instructions
prasmussen Feb 22, 2016
342082f
Update upload script
prasmussen Feb 22, 2016
47d6a0c
2.0 download links
prasmussen Feb 22, 2016
78d3a1c
Handle error
prasmussen Feb 23, 2016
93bce13
v2.0.1
prasmussen Feb 23, 2016
677d980
2.0.1 download links
prasmussen Feb 23, 2016
4961723
Make `go get` work
DirkyJerky Feb 27, 2016
8fde893
Merge pull request #110 from DirkyJerky/master
prasmussen Feb 27, 2016
401e017
Add gdrive binary location
prasmussen Feb 27, 2016
1cab8ce
Clarifies the phrase 'first time gdrive is launched'.
app-git-hub Apr 6, 2016
0e1057e
Configurable timeout as argument #127
prasmussen Apr 9, 2016
28c5b9b
Give proper timeout error message
prasmussen Apr 9, 2016
17b8c65
Add minimum go 1.5 version notice #131
prasmussen Apr 9, 2016
bdd7877
Check both backend and rate limit errors
prasmussen Apr 9, 2016
bc5f453
Skip non-regular files #114
prasmussen Apr 9, 2016
ee1368b
Version 2.1.0
prasmussen Apr 9, 2016
264268d
Update usage
prasmussen Apr 9, 2016
5b72ec9
Add 2.1.0 download links
prasmussen Apr 9, 2016
8de8e05
Merge pull request #133 from app-git-hub/patch-1
prasmussen Apr 9, 2016
b5eb286
add Go dependencies by godep
paulz Apr 17, 2016
97981f7
Merge pull request #140 from paulz/godep
prasmussen Apr 17, 2016
91e036d
add Homebrew installation instructions
paulz May 1, 2016
e605f0c
remove tap from install instructions
AmigoDeveloper May 2, 2016
5f32135
Merge pull request #148 from paulz/master
prasmussen May 2, 2016
cddaa25
Fixed typo
Anmol-Singh-Jaggi Jun 19, 2016
5406c61
Add --mime option to gdrive import
vandenoever Aug 24, 2016
41ce2f5
add the parameter to specify the Google Apps domain when the sharing …
fab-io Sep 1, 2016
025f6fc
Add the skip parameter to download and download query commands
gbinside Sep 6, 2016
604140a
Merge pull request #165 from Anmol-Singh-Jaggi/master
prasmussen Sep 6, 2016
9efbb88
Merge pull request #187 from vandenoever/master
prasmussen Sep 6, 2016
20b7192
Merge pull request #190 from fab-io/master
prasmussen Sep 6, 2016
aaaa4d2
Merge pull request #191 from dreamtechit/master
prasmussen Sep 6, 2016
105055a
Fix #159
alexanderkjeldaas Sep 12, 2016
9e8d2cd
Merge pull request #193 from alexanderkjeldaas/patch-1
prasmussen Sep 14, 2016
8f5194c
Added --description option
jblazquez Sep 20, 2016
8f29957
Merge pull request #201 from jblazquez/master
prasmussen Oct 11, 2016
9f5145b
clarify that only the root .gdriveignore is used
X1011 Oct 25, 2016
0e05cfb
Update windows 64-bit download link
prasmussen Jan 18, 2017
b33b3e9
New feature, support authentication via service account.
fab-io Jan 26, 2017
9a97a02
Merge pull request #252 from fab-io/master
prasmussen Feb 1, 2017
c7ad977
Merge pull request #213 from X1011/patch-1
prasmussen Feb 4, 2017
2aa4234
auth/file_source: don't try to read non-existent files
saaros Feb 14, 2017
e14e24a
Merge pull request #258 from saaros/dont-read-nonexistent-tokens
prasmussen Feb 24, 2017
c3cbcce
Add maintenance note
prasmussen Sep 8, 2017
06117fa
Updated maintenance note
mbenlioglu Mar 11, 2019
29ca5a9
Re-compiled binaries to update go version. Fixes #450
mbenlioglu Apr 19, 2019
8e12e1c
Update README.md
mbenlioglu Jul 29, 2019
31d0829
Add note about not being maintained anymore
prasmussen Jul 28, 2020
c68bdf0
Added Automated Release Github Action
CypherpunkSamurai Sep 21, 2020
64d2ff8
update path to sabhiram/go-gitignore
joshschriever Mar 5, 2021
b854c97
Merge pull request #575 from joshschriever/master
prasmussen Mar 5, 2021
bd18a22
Add news about being verified for sensitive scopes
prasmussen May 28, 2021
52947c4
Merge pull request #565 from CypherpunkSamurai/patch-1
prasmussen May 28, 2021
2815320
Update README.md
prasmussen May 28, 2021
b4b994c
Bumb version
prasmussen May 28, 2021
fb08fe2
Link to release downloads
prasmussen May 28, 2021
c12170d
Add news about gdrive 3.0
prasmussen Jan 1, 2023
ab27085
Add note about not being maintained
prasmussen Apr 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update path to sabhiram/go-gitignore
  • Loading branch information
joshschriever authored Mar 5, 2021
commit 64d2ff883948f0ac12eb521f74400bdafd3ca67f
2 changes: 1 addition & 1 deletion drive/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package drive

import (
"fmt"
"github.com/sabhiram/go-git-ignore"
"github.com/sabhiram/go-gitignore"
"github.com/soniakeys/graph"
"google.golang.org/api/drive/v3"
"google.golang.org/api/googleapi"
Expand Down