Commit Graph

54 Commits (57903b9e75be05129378cede9edd092c85e48406)

Author SHA1 Message Date
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
6 years ago
Josh Rabinowitz 24bfc86b74
Fail on extra params (#448)
* fail if user passes unexpected filenames or unknown params
* mention fix of #390
6 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
6 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
6 years ago
Josh Rabinowitz fc85d05fc0
Use /tmp/subdir for testing, not /tmp. (#442) 6 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
6 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'
6 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
6 years ago
Josh Rabinowitz 4bcf6c054a
respect DESTDIR as per GNU/debian/etc (#437) 6 years ago
Josh Rabinowitz ec4232faec
Update to mention git-secret packaging in Fedora (#436) 6 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
6 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
6 years ago
Simon Massey 6a93549179
Automate the GitHub release (#411) 6 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
6 years ago
Josh Rabinowitz f68a56ecd8
Add to changelog, rename function, add comment. (#408) 6 years ago
Josh Rabinowitz 8adb7d5741
Revert "use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)" (#405)
This reverts commit a2a9bd32ba.
6 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
6 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
6 years ago
Josh Rabinowitz 52b46ae700
Add docs for SECRETS_VERBOSE, env vars (#398) 6 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
6 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
6 years ago
Josh Rabinowitz faa03c7380
alter changelog for fix of #389 (#391) 6 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
6 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)
6 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
6 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
6 years ago
Josh Rabinowitz ae465c0142
Upgrade bats core (#371)
* upgrade bats-core to v1.1.0, note in CHANGELOG.md
6 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
6 years ago
Josh Rabinowitz 83b03b61bc
Aspell fixes (#365)
* spellcheck fixes from aspell
6 years ago
Josh Rabinowitz 9778d20791
track recent changes to git-secret (#363) 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
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
Josh Rabinowitz 94d5ae43d1
bump version to 0.2.5 (#297) 6 years ago
Josh Rabinowitz 4aa7dd2896
reorder entries, add note #291 being fixed (#295) 6 years ago
Josh Rabinowitz 14eea46cc9 CHANGELOG.md updates in prep of 0.2.5 release (#278) 6 years ago
Josh Rabinowitz 74f8a07166
improve testing regarding expired keys and keys with only email addresses (#262)
* 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.
6 years ago
Josh Rabinowitz 492d705e02 fix more typos 6 years ago
joshr 93e7dac2af CHANGELOG.md updates 6 years ago
joshr ac1aad2984 update CHANGELOG 7 years ago
joshr ef5596aa42 improve CHANGELOG.md and git-secret man page 7 years ago
joshr 43c80ad25c update changelog 7 years ago
Josh Rabinowitz b6d903b2a6 improve docs re: ignores & .gitsecret 7 years ago
Josh Rabinowitz f8f3896486 refer to issue 141 and fix typos 7 years ago
Josh Rabinowitz dc4c8d7284 bump version to 0.2.4 7 years ago
Carlos Hernandez a03a054686
Updating 2.3 full changelog. partial #110 7 years ago
Carlos Hernandez 582fd31aaf Fixes 110 partly 7 years ago
sobolevn 21d8c7af3e
Version 0.2.2 release 8 years ago
sobolevn 2e9e374acb
Version 0.2.1 release 8 years ago