- Future development
- Coding style
- Testing. Writting test cases
- Generating pacapt script
- Branches
- Closed branches
See also README.md
- Don't use tab or smart tab;
- Use
2-space
instead of a tab; - Contribute to library file under
./lib/
directory; - We try to follow the convention from: https://github.com/icy/bash-coding-style.
See also tests/README.md
and https://travis-ci.org/icy/pacapt.
- Use
make shellcheck
if you have a network connection, and enoughPerl
packages (JSON
,URI::Escape
) on your system; - Use
PACAPT_DEBUG=foo
wherefoo
is a package manager (dpkg
,pacman
,zypper
, ...) to print whatpacapt
will do. UsePACAPT_DEBUG=auto
for auto-detection; - You can use
docker
for testing, by mounting thepacapt.dev
script to the container. See alsodocker.i
section inMakefile
. Example:
$ make pacapt.dev
$ docker run --rm -ti \
-v $PWD/pacapt.dev:/usr/bin/pacman \
debian:stable /bin/bash
# you are in container now
- The
pacapt
script is generated from the latest stable branch, it is there to make installation process simple; - Please do not use
make pacapt
to updatepacapt
, and/or modify it manually; - For your development, use
make pacapt.dev
;
-
ng
: The current development branch. Some pull requests are merged on to this branch, but the work may not be ready for production. -
v2.0
: The current stable branch. All futurev2.x
releases come from this branch. -
your feature branch
: For new feature or bug fix, please work on your own branch and create pull request. Do not put different ideas on a same branch because that makes future tracking harder.
master
: The old stable code of thepacapt
. This branch is closed on May 4th, 2014.