* have lint target run shellcheck over tests
* lint and fix tests/ since shellcheck knows bats
* lint and fix tests/ since shellcheck knows bats
* revert debug output
* changes for shellcheck
* revert unintended change
[tests/_test_base.bash]
* use 'local' for user/filename vars, not 'export'
* add note about Shellcheck and tests/
* local can only be used in functions - use export
* restore shbang edited in error
* tests and comments about 'changes' for #291
* add 'changes' tests, improve diagnostic
* preserve trailing newlines in diff output
* use bash trickery to preserve trailing newlines in captured text
* test 'changes' on files without newlines and when called on a non-existant file
* improve comments and variable names
* test that hiding secret with expired key fails
* add test of user key without username.
* revert to performing most tests with 'user1'.
* move user4 private/public key fixtures
* factor code fetching emails from keyrings, add comments.
* use factored _warn_or_abort()
* add to, clean up, and clarify comments.
* name keys after emails, not usernames
* use emails to specify users
* rename and add function to get emails from keyrings
* rename directories holding gpg test fixtures
* deny emails that aren't in the keyring, and test.
* require 'killperson' emails to exist in keyring
* change test to reflect killperson must use email
* remove no-longer-needed test function
* factor function _assert_keychain_contains_emais()
* fix/make lint happy
Changes:
1. Fixes#86, now all variables are accessed as functions
2. Fixes#85, now these use cases are working correctly
3. Fixes#83, now init works relative to `.git` folder
4. Closes#77, zsh-plugin is deprecated
5. Refs #53, done some refactoring to tests
6. Closes#82, added additional information to pull-request template
7. Refs #22, plugins are deprecated
8. Also made a lot of improvments into both code and tests
There are a lot of changes, multiple things were refactored: tests,
some commands, building and meta.
Several critical bugs fixed.
Changes:
1. Fixed#74, when `_user_required` was not working after reimporting keys
2. Closes#73, now it is possible to provide multiple emails to the `killperson` command
3. Closes#72, now it is possible to provide multiple emails to the `tell` command
4. Closes#71, now every doc in this project refer to `git-secret.io` instead of old `gh-pages` website
5. Closes#70, now installation section is removed from main `man` file
6. Closes#69, now "See also" section in the `man`s are clickable
7. Closes#61, added "Manual" section to the manuals
8. Refs #38, added `centos` Dockerfile, but `ci` testing is still failing
9. Refs #52, tests are refactored. Added `clean` command tests, removed a lot of hardcoded things, moved tests execution from `./temp` folder to `/tmp`, added a lot of new check in old tests, and some new test cases
10. Refactored `hide` and `clean` commands to be shorter
11. `shellcheck` is now supported with `make lint`
Additional features are not comming to 0.2.2 after this commit.
The full list of changes:
1. Added `.docker/` folder with Dockerfiles
2. Now `travis` runs integrational tests inside these containers
3. Now `travis` runs tests with `mac os x`
4. Now there are new ways to autodeploy `deb` and `rpm` packages
5. Fixed some issues
6. Also added `.ci/` folder, where utility scripts for travis are stored
7. Moved `git-hooks` into the separate folder: `utils/hooks/`
8. Added new target to the `Makefile`
9. `.gitignore` is updated to ignore `build/` folder and inner files