tkf / recrepo Goto Github PK
View Code? Open in Web Editor NEWRecord repository status after asserting it's clean.
Record repository status after asserting it's clean.
usage: recrepo [-h] [--ignore-dirty] [--ignore-untracked] [--output OUTPUT] [--pretty] [--version] pointer [pointer ...] Record repository status after asserting it's clean. This script records the status of one or more repositories in a JSON file (``recrepo.json`` by default). It also asserts that those repositories are clean (unless ``--ignore-dirty`` option is given) and exit with an error code if files that are not tracked by git or not committed are found. Examples -------- :: recrepo PATH/TO/GIT/REPOSITORY recrepo --output=- PATH/TO/GIT/REPOSITORY recrepo REPOSITORY_1 REPOSITORY_2 Installation ------------ :: wget https://raw.githubusercontent.com/tkf/recrepo/master/recrepo.py -O recrepo chmod u+x recrepo positional arguments: pointer Path to a file or directory inside a project. Multiple paths can be given. optional arguments: -h, --help show this help message and exit --ignore-dirty Ignore repositories with uncommitted files. By default, uncommitted (and untracked) files result in exit with return code 113. (default: False) --ignore-untracked Ignore repositories with untracked files. By default, untracked and uncommitted files result in exit with return code 113. (default: False) --output OUTPUT Path to output JSON file. "-" means stdout. (default: recrepo.json) --pretty Pretty-print JSON output. (default: False) --version show program's version number and exit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.