"git blame" for Dropbox files
Project description
A Python command line tool which will convert the revision history of a Dropbox file into a git repository, so you can run git blame or git diff. Suggested by @cgranade.
Installation
pip install dropblame
Usage
drop blame /path/to/Dropbox/file
Syncs Dropbox revisions to a git repo and runs git blame. Any additional arguments will be passed to git blame.
drop cd /path/to/Dropbox/file
Syncs Dropbox revisions to a git repo and then opens a shell there, if you want to run diff or other operations. The commit messages contain Dropbox revision ids.
Notes
The first time you run drop you will be asked for configuration details to connect to Dropbox, which will be stored in ~/.dropblame/config.yml.
Note that this tool can only go back as far as the Dropbox API will allow, which is currently 100 revisions.
I’ve only tested this on Linux so far.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dropblame-0.0.1.tar.gz
.
File metadata
- Download URL: dropblame-0.0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4ea03ffdec4a4d2822e6f595f5b91604ca10921bfbb75db203c60a5e3b3883b |
|
MD5 | 813cc3c8a5502b9d82d39c6644b13d0f |
|
BLAKE2b-256 | 6d3a35d8c315955e2f619ef89a96cd6e7e4694b3b3f230e6924dde968cd9422a |
File details
Details for the file dropblame-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: dropblame-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86dae150c006d9484d5c9badc0a4baae1f78e89a8397398721b6810becde544c |
|
MD5 | 17da47c54860d5a3a9d92c9389aa22da |
|
BLAKE2b-256 | 4fa5504bbe6f812ca8670bf7213bca89a7303f34194aa13a3166a12ba1867328 |