Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

"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


Release history Release notifications

Download files

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

Files for dropblame, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size dropblame-0.0.1-py2.py3-none-any.whl (5.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size dropblame-0.0.1.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page