Commit Graph

548 Commits

Author SHA1 Message Date
joshr
84f9605519 use bats-core 2018-06-09 08:15:32 -04:00
joshr
ce70cbbd72 fix typo 2018-06-09 08:15:17 -04:00
Simon Massey
dc57c4285f
Merge pull request #191 from simbo1905/master
rpm skip_cleanup: true
2018-06-09 12:30:51 +01:00
Simon Massey
1b8a8e7a6e
rpm skip_cleanup: true 2018-06-09 10:58:26 +01:00
Simon Massey
71fcc22a51 Man pages (#188)
* deploy skip_cleanup: true

* need to deploy when '! -z KITCHEN_REGEXP'

* rsync missing on gnupg1-ubuntu-latest

* fixes missing man pages on gnupg2-ubuntu-rolling

* replace yum with dnf

* ansible comments out dpkg.cfg.d excludes path-exclude=/usr/share/man/.*

* gem 'rspec'

* Install rspec in /usr/local/bin for RedHat based distros

* whitespace in Gemfile.
2018-06-09 07:55:50 +03:00
Nikita Sobolev
c328723f2b
Removes duplicate git version, closes #177 [ci skip] 2018-05-10 22:05:21 +03:00
Josh Rabinowitz
dff1aaf924
Merge pull request #170 from joshrabinowitz/detect-gpg-error-136
Detect gpg error 136
2018-04-25 06:42:15 -04:00
joshr
75c5ea168c fix 2018-04-24 08:27:29 -04:00
joshr
5ab26e6707 improve messaging, add comment 2018-04-24 08:24:40 -04:00
joshr
1d32cd0650 check that gpg -n --list-keys reported no error 2018-04-24 08:09:27 -04:00
joshr
8233f3a1de Merge branch 'master' into detect-gpg-error-136 2018-04-24 07:58:32 -04:00
joshr
4661b725df abort if unable to decrypt hidden file 2018-04-24 07:57:13 -04:00
Josh Rabinowitz
d92390b118
Merge pull request #167 from joshrabinowitz/deploy-dists-120
set GITSECRET_DIST once per gpg source/distribution type combination
2018-04-22 16:00:12 -04:00
joshr
67788a9f05 fix 2018-04-22 09:26:59 -04:00
joshr
ae504a6035 one GITSECRET_DIST per gpg/type combination. 2018-04-22 09:18:48 -04:00
Josh Rabinowitz
c2081514d6 fixes for git secret changes (#160)
* fixes for git secret changes

check that we can find filenames passed on command line, and that
we can find the unencrypted versions of hidden files.

* new test

* add tests
2018-04-21 18:25:38 +03:00
Josh Rabinowitz
7884a51f18
Merge pull request #162 from joshrabinowitz/update-readme2
update changelog
2018-04-20 08:25:54 -04:00
joshr
ac1aad2984 update CHANGELOG 2018-04-19 11:57:00 -04:00
Josh Rabinowitz
07f471de93 Fix deploys (#161)
* set GITSECRET_DIST for bintray deploy

* add GITSECRET_DIST=rpm too

* set more GITSECRET_DIST vars
2018-04-19 09:28:28 +03:00
Josh Rabinowitz
deae0d1cd5 'git secret hide' without source files gives appropriate error (#158)
* don't hide files that don't exist decrypted.

and change related error message to 'file not found: filename'.

* ensure all source files are present before hiding

* test for 'add' while unencrypted file missing
2018-04-18 20:56:54 +03:00
Josh Rabinowitz
5572894af7
Merge pull request #156 from joshrabinowitz/add-tracked-file-126
improve error message when trying to 'git secret add' a file tracked by git
2018-04-18 09:25:33 -04:00
Josh Rabinowitz
52bbc20162
Merge branch 'master' into add-tracked-file-126 2018-04-17 18:09:43 -04:00
joshr
13170c313f check if file is tracked before adding
and tell user useful information in case they want to
hide a file that's tracked.
2018-04-17 18:00:18 -04:00
joshr
ffa89ceaa2 fix 2018-04-17 17:03:43 -04:00
Josh Rabinowitz
5b626fcb08
Merge pull request #155 from sobolevn/document-version2
document 'git secret --version'
2018-04-17 16:57:51 -04:00
joshr
a78e0172bc check that added files are not tracked by git 2018-04-17 15:53:40 -04:00
Josh Rabinowitz
97fa9e6e7b fix quoting and phrasing 2018-04-17 15:34:19 -04:00
Josh Rabinowitz
114f4c7c6c document git secret --version 2018-04-17 15:27:24 -04:00
Josh Rabinowitz
91492539ac
Merge pull request #149 from joshrabinowitz/improve-docs
Improve docs
2018-04-17 12:12:21 -04:00
joshr
fe0c9c71e7 fix typo and update man pages 2018-04-17 11:23:10 -04:00
joshr
ef5596aa42 improve CHANGELOG.md and git-secret man page 2018-04-17 11:20:01 -04:00
joshr
2bc42f2655 mention 'git secret list' not mapping.cfg in usage 2018-04-17 11:18:21 -04:00
joshr
55f2b83320 fix typo 2018-04-17 09:10:44 -04:00
joshr
8b2a1eab1d Merge branch 'master' into improve-docs 2018-04-17 08:42:44 -04:00
Nikita Sobolev
c5d2962744
Merge pull request #151 from joshrabinowitz/error-message-150
better error messages
2018-04-17 10:31:12 +03:00
joshr
43c80ad25c update changelog 2018-04-17 00:12:03 -04:00
joshr
277057fa3e improve documents and break long lines 2018-04-17 00:06:11 -04:00
joshr
76362aff53 improve text and break long lines 2018-04-16 23:43:57 -04:00
joshr
4766df2110 improve error messages
in add, killperson, remove, tell, and main
2018-04-16 22:52:06 -04:00
joshr
33adc19682 fix test to match _abort() output 2018-04-16 22:24:11 -04:00
joshr
0dc00367f9 improve message when .git exists but not .gitsecret 2018-04-16 21:58:32 -04:00
joshr
a4a8ea62ed better error messages 2018-04-16 21:50:28 -04:00
joshr
192cd71765 improve description 2018-04-16 21:26:30 -04:00
joshr
722892cc46 improve git-secret docs 2018-04-16 17:42:36 -04:00
joshr
e7abd660bc improve git secret usage output 2018-04-16 17:42:16 -04:00
Josh Rabinowitz
8f6b3876ac use 'git secret hide -d' in example 2018-04-16 16:14:34 -04:00
Josh Rabinowitz
6c29ed7eb7 fix typo 2018-04-16 16:11:36 -04:00
Josh Rabinowitz
b6d903b2a6 improve docs re: ignores & .gitsecret 2018-04-16 16:07:56 -04:00
Josh Rabinowitz
d216f91bd7
Merge pull request #148 from joshrabinowitz/small-fixes
fix typos and bug in test_cat.bats
2018-04-16 15:39:18 -04:00
Josh Rabinowitz
4783002a5f use ansible version 2.5.0 2018-04-16 13:59:28 -04:00