Commit Graph

34 Commits

Author SHA1 Message Date
sobolevn
6be7bdc1d3 Adds lint 2021-05-04 13:01:41 +03:00
sobolevn
8f7b9c51de [WIP] New CI 2021-05-04 13:01:41 +03:00
Josh Smailes
eafd3fc531
Issue548 gh pages in master (#616)
* Migrate docs to master branch, add action to deploy to pages branch on push

* Update docs, build pipeline to reflect new method of updating gh-pages

* Removed make build-gh-pages from post-commit hook

Co-authored-by: Josh Rabinowitz <joshr@joshr.com>
2020-12-15 18:49:51 +03:00
Josh Rabinowitz
8b9feaa662
put version in man pages, update man page dates, fix version mention (#545)
* put version in man pages and fix version mention
* update dates in man pages
2019-09-20 13:05:06 -04:00
Josh Rabinowitz
4bcf6c054a
respect DESTDIR as per GNU/debian/etc (#437) 2019-03-21 16:10:13 -04:00
Josh Rabinowitz
8737bdb26c
show full commands, including args, in Makefile (#422)
* show full commands, including args, run from Makefile
 As per recommendations at https://wiki.debian.org/UpstreamGuide
2019-03-17 16:54:35 -04:00
Jonas Karlsson
54f74ede6a Fix for windows (#375)
* add test for travis-ci windows support
* Make 'ps' command options platform specific *nix/windows
* Add _clean_path for windows,  apply to all homedir input arguments
* export GITSECRET_DIST="windows" in git hook if running windows
* Bash lint fixes
2019-03-09 18:49:45 -05:00
Josh Rabinowitz
5360384085
Import bats core (#380)
* bats-core v1.1.0 imported
* target 'install-test' removed from Makefile
* info re: bats-core import added in vendor/bats-core/README.md
2019-03-04 18:52:53 -05:00
Josh Rabinowitz
505cb1fe42 have lint target run shellcheck over tests (closes #373)
* 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
2019-03-04 17:40:35 +03:00
Josh Rabinowitz
ae465c0142
Upgrade bats core (#371)
* upgrade bats-core to v1.1.0, note in CHANGELOG.md
2019-03-02 12:03:17 -05:00
Josh Rabinowitz
4a3877b486
WIP: Force mode for hide and reveal (#263)
* -F (force even if gpg fails) option for hide and reveal
* allow 'reveal' to decrypt a subset of files.
* update and regen man pages
* man pages update and improvements
* text about why all files should be hidden at once
* add _warn() and _warn_or_abort()
* tests for -F option
* glob source .sh files in Makefile better
* add comment about issue #238. cleanup error msg.
* test exact case in #253
* disable gnupg doc building on ubuntu-rolling
2018-10-10 21:21:58 -04:00
Josh Rabinowitz
71d89f5daf optimize git checkout of v1.0.2 tag of bats-core 2018-06-21 07:45:05 -04:00
Josh Rabinowitz
27bd3f469c fix paths for remaining Makefile targets 2018-06-20 11:12:03 -04:00
Josh Rabinowitz
5d97c66e90 for testing, use bats-core v1.0.2, not bats 2018-06-20 09:56:25 -04:00
Josh Rabinowitz
553eae53f7
Revert "migrate from bats to bats-core (redux)" 2018-06-19 09:22:56 -04:00
Josh Rabinowitz
bde7a3ca90 migrate from bats to bats-core (redux) 2018-06-13 12:03:25 -04:00
Josh Rabinowitz
bfa3015394
Revert "migrate from bats to bats-core " 2018-06-12 11:24:47 -04:00
joshr
84f9605519 use bats-core 2018-06-09 08:15:32 -04:00
Carlos Hernandez
fa42ba47a5
Fix install-fpm target, typo in apk 2017-11-27 14:46:27 -07:00
nictrix
52dd244a73
add integration tests for alpine
adds a docker file for integration tests
update integration framework and tests to include alpine
update makefile to include apk builds for alpine
update build utils to include apk compatibility
changed a couple switch lines to be compatible with alpine
adds travis tests
2017-11-10 11:31:22 -07:00
sobolevn
5c25233b89
Version 0.2.2 pre-release
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.
2017-02-26 18:19:08 +03:00
sobolevn
fab0b9b1f0
fixes in finding functions, also test-make-ci added $PATH 2016-07-02 12:59:55 +03:00
sobolevn
f5e40fefe0
added make distribution, updated travis and docker files 2016-07-02 12:32:07 +03:00
sobolevn
cce852ca2d
Added uninstall target to the Makefile.
Removed `man/dest` folder, since it was an error.
2016-06-29 00:00:15 +03:00
sobolevn
8b1a01f1f6
This commit is pretty large. A lot of changes.
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
2016-06-16 22:34:25 +03:00
sobolevn
3577c165ec Added -i flag to the git-secret-add command, which now auto-ignores unignored files.
Also added a test case for this feature.
Other changes:
1. refactored `Makefile` to have `.PHONY` marks
2. added install target to the `Makefile`, now one can run `make install` (with optional `$PREFIX` variable)
3. updated docs for `git-secret.7`, `git-secret-add.1`
4. refactored some commands to `shift` arguments
5. added a test case to the 'other-file-extension' situation
5. added `.github` folder to store templates

Closed #18
2016-05-14 14:03:33 +03:00
sobolevn
41c07eed73 installation fixes 2016-03-13 15:22:42 +03:00
sobolevn
255c948755 release 2016-03-13 13:19:31 +03:00
elinamorits
455cfc468b man7 created & install.sh working 2016-03-13 12:51:55 +03:00
elinamorits
73a6e041fa fixed .deb package creation 2016-03-13 00:35:05 +03:00
elinamorits
86a214574d debian/ubuntu packages 2016-03-12 22:21:04 +03:00
sobolevn
c13535ddc3 post-commit hook with web-docs added 2016-02-24 00:35:25 +03:00
sobolevn
8d6df3c8a4 gh-pages makefile 2016-02-24 00:25:39 +03:00
sobolevn
b370149e18 fixes after makefile crash 2016-02-21 16:26:17 +03:00