A library and command for interacting with the GITenberg books project
Project description
# Gitberg
![travis status](https://img.shields.io/travis/gitenberg-dev/gitberg.svg)
![PyPI version](https://img.shields.io/pypi/v/gitberg.svg)
[GITenberg](gitenberg.org) is a project to collectively curate ebooks on GitHub.
[Gitberg](https://github.com/gitenberg-dev/gitberg) is a command line tool to automate tasks on books.
## Usage
This project provides a `gitberg` command that does the following:
Current development is focused on making the tool usable for arbitrary changes of many repos.
This includes:
+ ! `gitberg report <bookid>` reports an issue in the appropriate GITenberg github repo
+ ! `gitberg get <bookid>` clones a GITenberg repo to your local system
+ ! `gitberg check` checks the build process setup and runs tests on the local book
+ ! `gitberg tag` increments the version number of the book and adds a git tag
Implemented, but not yet ported to be distributable:
+ `gitberg fetch <bookid>` fetches books from PG
+ `gitberg make <bookid>` makes a local git repo with extra files
+ `gitberg push <bookid>` creates a repo on github and pushes to it (one per book)
### Examples
```
cat list_of_repos.txt | gitberg clone -
```
## Testing
To run project tests do:
python setup.py test
## Packaging
This project is available as a python package
To build this python package, use `setup.py`
python setup.py sdist
![travis status](https://img.shields.io/travis/gitenberg-dev/gitberg.svg)
![PyPI version](https://img.shields.io/pypi/v/gitberg.svg)
[GITenberg](gitenberg.org) is a project to collectively curate ebooks on GitHub.
[Gitberg](https://github.com/gitenberg-dev/gitberg) is a command line tool to automate tasks on books.
## Usage
This project provides a `gitberg` command that does the following:
Current development is focused on making the tool usable for arbitrary changes of many repos.
This includes:
+ ! `gitberg report <bookid>` reports an issue in the appropriate GITenberg github repo
+ ! `gitberg get <bookid>` clones a GITenberg repo to your local system
+ ! `gitberg check` checks the build process setup and runs tests on the local book
+ ! `gitberg tag` increments the version number of the book and adds a git tag
Implemented, but not yet ported to be distributable:
+ `gitberg fetch <bookid>` fetches books from PG
+ `gitberg make <bookid>` makes a local git repo with extra files
+ `gitberg push <bookid>` creates a repo on github and pushes to it (one per book)
### Examples
```
cat list_of_repos.txt | gitberg clone -
```
## Testing
To run project tests do:
python setup.py test
## Packaging
This project is available as a python package
To build this python package, use `setup.py`
python setup.py sdist
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitberg-0.0.9.tar.gz
(5.2 MB
view details)
File details
Details for the file gitberg-0.0.9.tar.gz
.
File metadata
- Download URL: gitberg-0.0.9.tar.gz
- Upload date:
- Size: 5.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aa63ce96764098b0dc3b7400f40326c28f1a36476c931f84fe7da2e24bf6867 |
|
MD5 | e388dceea08a8b662579fee3ca955698 |
|
BLAKE2b-256 | 1eaac146a011904f26f019e92d86676750256ba8881a567b1aa3819c4f0311fa |