Skip to main content

"git blame" for Dropbox files

Project description

https://badge.fury.io/py/dropblame.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dropblame-0.0.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

dropblame-0.0.1-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2 Python 3

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

Hashes for dropblame-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a4ea03ffdec4a4d2822e6f595f5b91604ca10921bfbb75db203c60a5e3b3883b
MD5 813cc3c8a5502b9d82d39c6644b13d0f
BLAKE2b-256 6d3a35d8c315955e2f619ef89a96cd6e7e4694b3b3f230e6924dde968cd9422a

See more details on using hashes here.

File details

Details for the file dropblame-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dropblame-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 86dae150c006d9484d5c9badc0a4baae1f78e89a8397398721b6810becde544c
MD5 17da47c54860d5a3a9d92c9389aa22da
BLAKE2b-256 4fa5504bbe6f812ca8670bf7213bca89a7303f34194aa13a3166a12ba1867328

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page