Commit Graph

554 Commits (28675d6461c1f491373f56ff44f06f0f0729e953)
 

Author SHA1 Message Date
Josh Rabinowitz 28675d6461
version bump to 0.2.6 (#482) 5 years ago
Josh Rabinowitz 666f2167c1
Changelog updates (#481) 5 years ago
Josh Rabinowitz f2c398f037
fix for busybox mktemp (#480)
* fix for busybox mktemp, issue #475
5 years ago
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
5 years ago
Josh Rabinowitz c20e61313b
Issue 454 freebsd (#474)
* freebsd test fix
5 years ago
Simon Massey 10879e2253
fix for git secret hide -m doesn't work on first use #466 (#469) 5 years ago
Simon Massey 57903b9e75
replace grep+cut+sed pipe with awk regex (#462) 5 years ago
Josh Rabinowitz aec3ac1ae2
Add note about writing tests. Fix typo. (#471)
Also use affect, not effect, as appropriate.
5 years ago
Simon Massey 2164e822d2
remove dead code for keys/mapping.cfg (#464) 5 years ago
Simon Massey 78287b7b98
git secret hide docs warns about `-F` but not `-m` behaviour #467 (#468) 5 years ago
Josh Rabinowitz 05421347ff
Merge pull request #463 from sobolevn/improve_assert_keychain_contains_emails
break loop when email found in keyring
5 years ago
Josh Rabinowitz c65766924b
Merge branch 'master' into improve_assert_keychain_contains_emails 5 years ago
Josh Rabinowitz ee8938c512
Merge pull request #461 from sobolevn/simbo1905-patch-1
missing word in CONTRIBUTING.md
5 years ago
Simon Massey 0e4e432727 break loop when email found in keyrig 5 years ago
Simon Massey 8ed0f21635
missing word 5 years ago
Josh Rabinowitz 44a8745e02
remove duplicate test (#458) 5 years ago
Josh Rabinowitz bbb4d9d3e5
Tmp cleanups (#457)
* Only show 'cleaning up temp file' messages if one
  of SECRETS_VERBOSE or SECRETS_TEST_VERBOSE is set.
* Adjust tests to reflect the change.
* Add note about suppressing 'cleaning up' msgs to CHANGELOG.md and reorder entries
* add comments showing examples of tmpfiles returned
5 years ago
Josh Rabinowitz 24bfc86b74
Fail on extra params (#448)
* fail if user passes unexpected filenames or unknown params
* mention fix of #390
5 years ago
Josh Rabinowitz 2341d1433b
Temp dir fixes (#449)
* perform our test install into TMPDIR
* fix typo
* remove duplicate entry in CHANGELOG.md
* improve commenting
5 years ago
Josh Rabinowitz cb1636a6dc
experimental SECRETS_TEST_VERBOSE shows debug info during tests (#446)
* add a travis target using SECRETS_TEST_VERBOSE=1
* Document SECRETS_TEST_VERBOSE as experimental
* note experimental feature may change or be removed
5 years ago
Josh Rabinowitz fc85d05fc0
Use /tmp/subdir for testing, not /tmp. (#442) 5 years ago
Josh Rabinowitz f6d4de1adf
Use git check-ignore (#440)
* improve how we check for ignored files using 'git check-ignore'
* mention use of git check-ignore in changelog
* don't mkdir/rmdir when testing for ignored files
5 years ago
Josh Rabinowitz 8334d7beef
Reveal verbose (#447)
* add -v option to reveal, for #395
* update reveal man page
* shellcheck exception
* changelog update for 'reveal -v'
5 years ago
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
5 years ago
Josh Rabinowitz be88da4c0c
test 'DESTDIR=/dir/here make install' support (#438) 5 years ago
Josh Rabinowitz 4bcf6c054a
respect DESTDIR as per GNU/debian/etc (#437) 5 years ago
Josh Rabinowitz ec4232faec
Update to mention git-secret packaging in Fedora (#436) 5 years ago
Gergely Gombos dd02a6f657 Update readme - add Fedora package link (#434) 5 years ago
Josh Rabinowitz ce8c6b3ae0
Change 'add' to add to .gitignore by default. (#429)
* Change 'add' to add to .gitignore by default.
Also add _message() function and improve output from 'git-secret-add',
alter tests for new code behavior, and update docs.
* change tests since 'add' always adds to .gitignore
* improve output: prepend more message with 'git-secret:'.
* update man page for git-secret-add
5 years ago
Josh Rabinowitz 71f3d3a4ac
Make sure we name temp files 'git-secret-*' (#428)
* pass mktemp a template on linux
* name tempfiles git_secret, not gitsecrets
5 years ago
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
5 years ago
Simon Massey 6a93549179
Automate the GitHub release (#411) 5 years ago
Josh Rabinowitz 70fd1bcd80
Revert "Re enable testing on travis windows (#423)" (#425)
This reverts commit 9b83d9cee6.
5 years ago
Josh Rabinowitz 9b83d9cee6
Re enable testing on travis windows (#423)
* re-enable testing on windows with travis
* add diagnostic/debug output
5 years ago
Josh Rabinowitz 7a730e4a4f
do lint/shellcheck tests on travis mac builds (#415)
* perform lint/shellcheck tests on travis mac builds
* move osx builds first in travis
* install shellcheck on macos
* show if the lint test passed or failed
* don't have travis install ruby 2.6 on osx for now
5 years ago
Josh Rabinowitz 3c4f00922b
disable windows travis test because of #409 (#410)
Windows travis tests disabled because they work on
PRs but not on master.
5 years ago
Josh Rabinowitz f68a56ecd8
Add to changelog, rename function, add comment. (#408) 5 years ago
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
5 years ago
Josh Rabinowitz 8adb7d5741
Revert "use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)" (#405)
This reverts commit a2a9bd32ba.
5 years ago
Josh Rabinowitz a2a9bd32ba
use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)
* use pgrep & kill, not ps+gawk+regex+system+kill
* install shellcheck and enable lint on macos/brew.
* add shellcheck fixes and exception
* reorder CHANGELOG entries
5 years ago
Josh Rabinowitz 792226c624
Categorize each CHANGELOG.md entry by type (#401)
* categorize entries as Feature/Fix/Doc/Test/Build
* filled in CHANGELOG.md for initial release 0.1.0
* use section headers as suggested by @sobolevn
5 years ago
Josh Rabinowitz 52b46ae700
Add docs for SECRETS_VERBOSE, env vars (#398) 5 years ago
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
5 years ago
Josh Rabinowitz c4331693f3
use 'kill', not 'kill -9' (#379) 5 years ago
Josh Rabinowitz cdad4aba37
Add man page header, for debian lintian (#392)
* Add man page header, for debian lintian
* update man/man7/git-secret.7 to match .ronn
5 years ago
Josh Rabinowitz faa03c7380
alter changelog for fix of #389 (#391) 5 years ago
Josh Rabinowitz bab5c739ff
Use SECRETS_GPG_COMMAND in gpg version check (#389)
Closes #388
5 years ago
Josh Rabinowitz b1d3cb99c5
remove deprecated git-secret.plugin.zsh (#387) 5 years ago
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
5 years ago
Josh Rabinowitz e2754adebe
Doc changes 2019 02 for #351 (#353)
* clarification about killperson and secrets, rephrasing.
* how to develop without docker/test-kitchen
* doc changes about gh-pages branch. other clarifications.
* OSX has been renamed MacOS (except in travis-ci)
5 years ago