Commit Graph

83 Commits

Author SHA1 Message Date
Josh Rabinowitz
549cd9aa24
Issue 706 decrypt errors (#831)
* check for encrypted version of file before decrypting, for #706
* improve error messages, verbose output and non-verbose output
* in tests, prefix output from git init with 'git: '
* 'clean' options only remove added files, for #833
* update changelog
2022-04-19 17:14:55 -04:00
Josh Rabinowitz
c798e89539
updates for #813 (#814)
* updates for #813

* update man pages

* Update utils/tests.sh

Co-authored-by: joshr <joshr>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-04-02 18:16:41 +03:00
Ben van B
79f82164ef
[GH-678] Add no-cache option to apk installation. (#679) 2021-06-07 21:42:24 +03:00
sobolevn
d554c0109b
Version 0.4.0 release 2021-05-06 18:52:35 +03:00
sobolevn
77013fa47f
Version 0.4.0 release 2021-05-06 17:49:44 +03:00
sobolevn
7ee22fc248
Fixes alpine build 2021-05-06 15:32:57 +03:00
sobolevn
18051667fb
Fixes release script on github 2021-05-06 15:28:54 +03:00
sobolevn
eb31d25b5f
Debugging deploy 2021-05-06 15:19:42 +03:00
sobolevn
d2b9184f19
Fixes alpine releases, refs #659 2021-05-06 13:16:48 +03:00
Nikita Sobolev
19941f91f4
Adds release-ci script to test installation (#664)
* Adds release-ci script to test installation

* Fixes CI

* Fixes CI

* Renames some variables to follow the same SECRETS_ convention
2021-05-05 15:59:28 +03:00
sobolevn
fcf25ff546
Fixes docs 2021-05-04 22:15:36 +03:00
Nikita Sobolev
37a28389d2
Adds new installation instructions for deb and rpm (#662)
* Adds new installation instructions for deb and rpm

* Fixes CI
2021-05-04 21:58:36 +03:00
sobolevn
ca500fa13f Changes how docs are built 2021-05-04 13:01:41 +03:00
sobolevn
2bdb4e4f84 Adds osx tests and gnupg1 2021-05-04 13:01:41 +03:00
sobolevn
28dbdf3fde Adds fedora testing 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
e16d505e78
Issue 493 linux deps2 (#519)
* add dependencies for rpm, deb, apk packages
* update to CHANGELOG
2019-08-21 17:39:39 -04:00
Josh Rabinowitz
baf6c4113b
Add SECRETS_PINENTRY env var and docs (#490)
* Add SECRETS_PINENTRY env var 

* add docs and tests for SECRETS_PINENTRY

* improve diagnostic output

* fix regex example for bats-core diagnostics
2019-08-16 16:53:57 -04:00
Josh Rabinowitz
10fa2a7be2
Tempfile and temp directory cleanups (#473)
* Tempfile and temp directory cleanups
    Add comments about mktemp on different platforms
    Be more careful about tempfile cleanups
    Don't use find to locate files to cleanup
    Use shorter SECRETS_EXTENSION and SECRETS_DIR env settings in tests
    Set TMPDIR in tests again
    Show DESTDIR used when testing git-secret install
    Change filename passed to mktemp -t in tests
2019-05-21 12:06:51 -04:00
Josh Rabinowitz
2341d1433b
Temp dir fixes (#449)
* perform our test install into TMPDIR
* fix typo
* remove duplicate entry in CHANGELOG.md
* improve commenting
2019-03-29 18:11:52 -04:00
Josh Rabinowitz
fc85d05fc0
Use /tmp/subdir for testing, not /tmp. (#442) 2019-03-27 01:10:07 -04:00
Josh Rabinowitz
07af0c19b6
Varnames output and typos (#441)
* rename variable, fix typo, improve comments and output
* fix directory removal after testing
* mention improved user messaging in CHANGELOG.md
2019-03-23 19:48:08 -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
22fe1ed2d4
Add support for SECRETS_VERBOSE env var (#393)
* Support SECRETS_VERBOSE env var in addition to -v
* don't use --quiet when decrypting in verbose mode
* show output of gpg encryption in verbose mode
* add tests for SECRETS_VERBOSE env var set to 0 and 1
* update changelog, reorder entries.
* add tests for 'cat' and 'hide' with SECRETS_VERBOSE=1
2019-03-07 17:46:51 -05:00
Josh Rabinowitz
7b06b25c0a
Respect secrets dir on init, and document (#366)
* respect SECRETS_DIR and SECRETS_EXTENSION in tests
* add line regarding fixes to CHANGELOG.md
* test with non-standard SECRETS_EXTENSION
* Add details about init, mention SECRETS_EXTENSION in init page
* update git-secret-init man page
2019-03-05 08:41:13 -05:00
Josh Rabinowitz
3dfc4d4fff
use '--all' with 'git add' as per git messages (#354) 2019-02-18 10:30:17 -05:00
Josh Rabinowitz
a9599cc56b
remove temp dir, fix typo (#356)
Closes #347
2019-02-11 16:33:59 -05:00
Josh Rabinowitz
5a28744c5d
Fix for tests under bats, fix typos, mention #334 (#342)
* fix test under githooks, fix typos, mention #334 as relevant
2019-02-10 16:44:21 -05:00
Josh Rabinowitz
6251fae396 support FreeBSD (#260)
* start FreeBSD support

* permissions change

* improve command to fetch permissions.

* note we use 'shasum' and not 'sha256sum' on osx and freebsd
2018-09-22 23:08:21 +03:00
joshr
4e35af2fce set non-default SECRETS_DIR 2018-08-25 10:12:48 -04:00
joshr
d670178150 export SECRETS_DIR to default value 2018-08-25 10:05:17 -04:00
joshr
d3e120e9a6 set SECRETS_DIR env var to non-default value 2018-08-25 08:16:54 -04:00
joshr
f2eec71995 corrected comment about how to output diagnostic messages 2018-07-14 19:28:05 -04:00
joshr
9906dfb33f show any diagnostics that might come out of bats tests.
also adds comment about diagnostic messages in bats.
2018-07-14 15:23:39 -04:00
joshr
b6c1b4a695 test in a dir with spaces 2018-06-30 16:33:07 -04:00
joshr
71d503009a run in a dir without spaces 2018-06-30 16:11:19 -04:00
joshr
adc522a9d3 allow spaces in path
for issue #135, regarding spaces in pathnames
2018-06-30 15:38:46 -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
Josh Rabinowitz
b626faf472 typos fixed 2018-04-16 11:05:50 -04:00
Josh Rabinowitz
c2936bf8f3 remove extra newline 2018-04-14 08:50:32 -04:00
Josh Rabinowitz
6dc50652c8 fixes for linter errors about 'which'
For example:

    in utils/deb/deb-ci.sh line 27: 'which git-secret':
    SC2230: which is non-standard. Use builtin 'command -v' instead.
2018-04-13 21:00:31 -04:00
Carlos Hernandez
612191373c
fix shellcheck error 2017-11-27 14:01:37 -07:00
Carlos Hernandez
c2abe0e5eb Fixing SC1117 issues with deploy scripts 2017-11-27 09:50:38 -07:00
nictrix
9a58cce1c4
revert comment out when testing something 2017-11-10 14:51:33 -07:00
nictrix
3aa3353fb7
fix shellcheck lint error 2017-11-10 12:42:25 -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
12d4b9f6de
Adds new release process.
Changes:
1. Removed any reference of `staging` branch from docs
2. Refactored `hooks` to work with master

Closes #76
2017-03-27 21:51:33 +03:00
sobolevn
9d0a2ac1c1
Adds fixes to subdirectories bug.
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
2017-03-06 00:46:49 +03:00