compare two tar archives
Project description
Installation
$ [sudo] pip install tar-diff
$ [sudo] npm i -g tar-diff
Features
file/url arguments supported
Examples
$ diff="$(tar-diff archive1.tar.gz archive2.tar.gz)"
complicated example. bump python project version
$ dist_dir="$(mktemp -d)"
$ python setup.py sdist --dist-dir="$dist_dir" &> /dev/null
$ sdist="$(find "$dist_dir" -type f -name "*.tar.gz")"
$ url="$(python -m pypi_get.urls <name> | grep tar.gz)"
$ diff="$(tar-diff "$sdist" "$url")"
$ [[ -n "$diff" ]] && bumpversion
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
tar-diff-2020.7.1.tar.gz
(1.7 kB
view details)
File details
Details for the file tar-diff-2020.7.1.tar.gz
.
File metadata
- Download URL: tar-diff-2020.7.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/47.3.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
63c85dca1d03b4d099701b23be5ebc8b6f6eaf81d8b7420cbfbd747485b34e8a
|
|
MD5 |
f2165456e341e18e8784a4294f9890a2
|
|
BLAKE2b-256 |
108129c1777fe3b7de05a5ba955dc166c2b03370106c7ea4727e4104cdde5cd8
|