Commit Graph

74 Commits (5f976c7de0e4ab622563d0c9798425ed888f9034)

Author SHA1 Message Date
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
3 years ago
sobolevn fcf25ff546
Fixes docs 3 years ago
Nikita Sobolev 37a28389d2
Adds new installation instructions for deb and rpm (#662)
* Adds new installation instructions for deb and rpm

* Fixes CI
3 years ago
sobolevn ca500fa13f Changes how docs are built 3 years ago
sobolevn 2bdb4e4f84 Adds osx tests and gnupg1 3 years ago
sobolevn 28dbdf3fde Adds fedora testing 3 years ago
sobolevn 8f7b9c51de [WIP] New CI 3 years ago
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>
4 years ago
Josh Rabinowitz e16d505e78
Issue 493 linux deps2 (#519)
* add dependencies for rpm, deb, apk packages
* update to CHANGELOG
5 years ago
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
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 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 fc85d05fc0
Use /tmp/subdir for testing, not /tmp. (#442) 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
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
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 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 3dfc4d4fff
use '--all' with 'git add' as per git messages (#354) 6 years ago
Josh Rabinowitz a9599cc56b
remove temp dir, fix typo (#356)
Closes #347
6 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
6 years ago
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
6 years ago
joshr 4e35af2fce set non-default SECRETS_DIR 6 years ago
joshr d670178150 export SECRETS_DIR to default value 6 years ago
joshr d3e120e9a6 set SECRETS_DIR env var to non-default value 6 years ago
joshr f2eec71995 corrected comment about how to output diagnostic messages 6 years ago
joshr 9906dfb33f show any diagnostics that might come out of bats tests.
also adds comment about diagnostic messages in bats.
6 years ago
joshr b6c1b4a695 test in a dir with spaces 6 years ago
joshr 71d503009a run in a dir without spaces 6 years ago
joshr adc522a9d3 allow spaces in path
for issue #135, regarding spaces in pathnames
6 years ago
Josh Rabinowitz bfa3015394
Revert "migrate from bats to bats-core " 6 years ago
joshr 84f9605519 use bats-core 6 years ago
Josh Rabinowitz b626faf472 typos fixed 7 years ago
Josh Rabinowitz c2936bf8f3 remove extra newline 7 years ago
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.
7 years ago
Carlos Hernandez 612191373c
fix shellcheck error 7 years ago
Carlos Hernandez c2abe0e5eb Fixing SC1117 issues with deploy scripts 7 years ago
nictrix 9a58cce1c4
revert comment out when testing something 7 years ago
nictrix 3aa3353fb7
fix shellcheck lint error 7 years ago
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
7 years ago
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
8 years ago
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
8 years ago
sobolevn 728371912e
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.
8 years ago
sobolevn 941e0ca9b7
Changing deb distribution name 8 years ago
sobolevn 1e748a3c54
CONTRIBUTING.md added 8 years ago
sobolevn db0f2e1940
fixed shellcheck issues 8 years ago
sobolevn c83f41e6e2
refactored all utils and src 8 years ago
sobolevn fab0b9b1f0
fixes in finding functions, also test-make-ci added $PATH 8 years ago
sobolevn 6ea5fabf53
removed `source build-utils` from make-ci 8 years ago
sobolevn f5e40fefe0
added make distribution, updated travis and docker files 8 years ago
sobolevn cce852ca2d
Added `uninstall` target to the `Makefile`.
Removed `man/dest` folder, since it was an error.
8 years ago