Skip to main content

A command line client to AllMyChanges.com.

Project description

Installation

pip install allmychanges

Next, go to <http://allmychanges.com/account/token/> and obtain your personal OAuth token.

Write this token into the config file like that:

# allmychanges.cfg [allmychanges] token = MY-SECRET-TOKEN

Exporting package list

amch export

Export to a number of formats is available –help will tell you everything.

Adding new packages in batch mode

Prepare a datafile in one of supported formats and run

amch import –format yaml –input data.yaml

If you didn’t entered sources for some packages, script will ask you where these sources are. Answer honestly. :)

In some cases, script will try to help you. If somebody already added package with such name and namespace, it will suggest you the source. For python and perl packages, it will search different urls on the PyPi’s pages or metacpan.org respectively.

Adding one or few packages from command line

This is also very easy:

amch add python/clint python/requests perl/Dancer

You could also specify a source url, like that:

amch add python/Dancer/https://github.com/PerlDancer/Dancer

But if you didn’t, service will try to figure out url automatically and will suggest it in same way as it does in import command.

Using amch to import requirements.txt

cat requirements.txt | grep -v ‘^-e’ | sed -e ‘s/([^=]+).*/python,1/’ -e ‘1 inamespace,name’ > data amch import –input data

Roadmap

  • Process pip’s requirements.txt files.

  • May be process some requirements of ruby and npm packages too.

Hacking

Feel free [to fork](https://github.com/svetlyak40wt/allmychanges), file issues and send me patches.

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

allmychanges-0.7.0.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file allmychanges-0.7.0.tar.gz.

File metadata

File hashes

Hashes for allmychanges-0.7.0.tar.gz
Algorithm Hash digest
SHA256 58a4dfe2541891cc90d10742f3c601c43ef8247f30d7c3a0db6121001d9b6f13
MD5 dd73e797c3dbc75184f358a89a740708
BLAKE2b-256 47f33a22949fa7c9fc88bbf7bb66339d06bbd40435f70c75c58921ed5bee3e7a

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