Commit Graph

536 Commits (2341d1433bbd1ce0db979e0860b40dcbd63472a6)
 

Author SHA1 Message Date
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
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
5 years ago
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
5 years ago
Josh Rabinowitz ae465c0142
Upgrade bats core (#371)
* upgrade bats-core to v1.1.0, note in CHANGELOG.md
5 years ago
Josh Rabinowitz 6188d14539
Documentation additions about code style and philosophy (#361)
* code style in CONTRIBUTING.md and PR template
* make link to CONTRIBUTING.md in .github/PULL_REQUEST_TEMPLATE.md
* mention shellcheck and 'make lint'
* mention that you should update CHANGELOG.md 
* mention spellchecking with aspell
* more spelling fixes
* add to CHANGELOG about style guide/dev philosophy
* remind contributors to update .ronn file/man page
5 years ago
Josh Rabinowitz 83b03b61bc
Aspell fixes (#365)
* spellcheck fixes from aspell
5 years ago
Josh Rabinowitz 9778d20791
track recent changes to git-secret (#363) 5 years ago
Flávio Caetano 9e9803d561 add secret files pattern to .gitignore on init (#359) 5 years ago
Josh Rabinowitz 3dfc4d4fff
use '--all' with 'git add' as per git messages (#354) 5 years ago
Josh Rabinowitz a9599cc56b
remove temp dir, fix typo (#356)
Closes #347
5 years ago
Josh Rabinowitz 8ed4f46de6
fix test under git hook (#349)
* fix test under git hook. Actually closes #334
5 years ago
Josh Rabinowitz 5a28744c5d
Fix for tests under bats, fix typos, mention #334 (#342)
* fix test under githooks, fix typos, mention #334 as relevant
5 years ago
Josh Rabinowitz 26ecd390d6
Fix link to contributors on github. (#332) 6 years ago
Josh Rabinowitz e34248fdc1
remove diagnostic output from tests (#329) 6 years ago
Josh Rabinowitz f820bd39e0
record change from pr #325 (#327) 6 years ago
krufab dc564d90ce Removed unneded redirection of path_mappings (#326) 6 years ago
Josh Rabinowitz 65fe4c4127
Add verbose option to 'git secret tell' showing output of key imports (#321)
* add 'git secret tell -v' option to show output of key imports
* add tests for tell with/without -v
* remove unneeded test code and bats diagnostic output
6 years ago
Josh Rabinowitz 6e43cd310f
remove unused functions (#313)
* remove unused functions
* Note that we removed unused functions in CHANGELOG.md
6 years ago
Josh Rabinowitz 1bf0fe1c47
fix link to homebrew, update CHANGELOG.md
* fix link to homebrew
* note fixes of #310 and #311 in CHANGELOG.md
6 years ago