Commit Graph

54 Commits (master)

Author SHA1 Message Date
sobolevn 39514e76f0
Fix release dry run 2 years ago
Josh Rabinowitz ba1dc04f3d
show and fix 'style' complaints from shellcheck (#779) 2 years ago
Benny Neugebauer 453009f081
Support spaces in shell path (#724)
* Support spaces in shell path

* Update Makefile

* Update Makefile

* Just use bash

* Just use bash in variable
3 years ago
Nikita Sobolev 56e105bd08
Removes `git-secret` job from `make` (#723)
Closes #722
3 years ago
sobolevn d79b5597f6
Closes #420 3 years ago
sobolevn 18051667fb
Fixes release script on github 3 years ago
sobolevn 1db41e5f33
Debugging deploy 3 years ago
sobolevn 2390edf60e
Debugging deploy 3 years ago
sobolevn eb31d25b5f
Debugging deploy 3 years ago
sobolevn 7cca40de8d
Version 0.4.0 release 3 years ago
sobolevn 6a9a86c502
Adds github release creation 3 years ago
sobolevn d49ad2a013
Fixes man build on release 3 years ago
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
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 aa70062ff2 Simplifies man build 3 years ago
sobolevn ca500fa13f Changes how docs are built 3 years ago
sobolevn 5fc8ecbdde Adds hadolint, re-enables shellcheck 3 years ago
sobolevn 2bdb4e4f84 Adds osx tests and gnupg1 3 years ago
sobolevn a342993dd6 Adds new manual generation process 3 years ago
sobolevn 28dbdf3fde Adds fedora testing 3 years ago
sobolevn 6be7bdc1d3 Adds lint 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>
3 years ago
Josh Rabinowitz 8b9feaa662
put version in man pages, update man page dates, fix version mention (#545)
* put version in man pages and fix version mention
* update dates in man pages
5 years ago
Josh Rabinowitz 4bcf6c054a
respect DESTDIR as per GNU/debian/etc (#437) 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
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 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 4a3877b486
WIP: Force mode for hide and reveal (#263)
* -F (force even if gpg fails) option for hide and reveal
* allow 'reveal' to decrypt a subset of files.
* update and regen man pages
* man pages update and improvements
* text about why all files should be hidden at once
* add _warn() and _warn_or_abort()
* tests for -F option
* glob source .sh files in Makefile better
* add comment about issue #238. cleanup error msg.
* test exact case in #253
* disable gnupg doc building on ubuntu-rolling
6 years ago
Josh Rabinowitz 71d89f5daf optimize git checkout of v1.0.2 tag of bats-core 6 years ago
Josh Rabinowitz 27bd3f469c fix paths for remaining Makefile targets 6 years ago
Josh Rabinowitz 5d97c66e90 for testing, use bats-core v1.0.2, not bats 6 years ago
Josh Rabinowitz 553eae53f7
Revert "migrate from bats to bats-core (redux)" 6 years ago
Josh Rabinowitz bde7a3ca90 migrate from bats to bats-core (redux) 6 years ago
Josh Rabinowitz bfa3015394
Revert "migrate from bats to bats-core " 6 years ago
joshr 84f9605519 use bats-core 6 years ago
Carlos Hernandez fa42ba47a5
Fix install-fpm target, typo in apk 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 5c25233b89
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.
7 years ago
sobolevn fab0b9b1f0
fixes in finding functions, also test-make-ci added $PATH 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
sobolevn 8b1a01f1f6
This commit is pretty large. A lot of changes.
The full list of changes:
1. Added `.docker/` folder with Dockerfiles
2. Now `travis` runs integrational tests inside these containers
3. Now `travis` runs tests with `mac os x`
4. Now there are new ways to autodeploy `deb` and `rpm` packages
5. Fixed some issues
6. Also added `.ci/` folder, where utility scripts for travis are stored
7. Moved `git-hooks` into the separate folder: `utils/hooks/`
8. Added new target to the `Makefile`
9. `.gitignore` is updated to ignore `build/` folder and inner files
8 years ago
sobolevn 3577c165ec Added `-i` flag to the `git-secret-add` command, which now auto-ignores unignored files.
Also added a test case for this feature.
Other changes:
1. refactored `Makefile` to have `.PHONY` marks
2. added install target to the `Makefile`, now one can run `make install` (with optional `$PREFIX` variable)
3. updated docs for `git-secret.7`, `git-secret-add.1`
4. refactored some commands to `shift` arguments
5. added a test case to the 'other-file-extension' situation
5. added `.github` folder to store templates

Closed #18
8 years ago
sobolevn 41c07eed73 installation fixes 8 years ago
sobolevn 255c948755 release 8 years ago
elinamorits 455cfc468b man7 created & install.sh working 8 years ago
elinamorits 73a6e041fa fixed .deb package creation 8 years ago