Commit Graph

206 Commits

Author SHA1 Message Date
Carlos Hernandez
da3e6d2cac Adding checksum, and fsdb functions, making path mappings file colon
delimited fsdb.
2017-09-08 13:21:18 -06:00
sobolevn
c85d482ec6
Merges develop, removes staging, refs #76 2017-03-27 22:11:16 +03:00
Christoph Tavan
078729a0c6
Make hide -d work with secrets in subdirectories
When searching for files to be removed after being hidden we must use
find with -path instead of -name if we want to remove files in
subdirectories as well.
2017-03-09 19:00:29 +01:00
sobolevn
763e130b8d
Adds new strategy on working with the relative paths.
Changes:
1. When adding new file path is normalized in respect to both CWD and repo root
2. All commands now know about that
3. Tests are fixed

Refs #86, #85, #83
2017-03-06 13:14:44 +03:00
sobolevn
8a1fe788f8
Adds fix to the changes command
Changes:
1. Fixes #80, there was a pipe to null, which broke the output
2. Also changed the `diff` formating
3. Also added test case to test deletions
2017-03-06 02:19:50 +03:00
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
2017-03-06 00:46:49 +03:00
sobolevn
21d8c7af3e
Version 0.2.2 release 2017-02-26 18:26:37 +03:00
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.
2017-02-26 18:19:08 +03:00
Miguel Silvestre
19030e9cd0
Clean code using shellspeck 2017-02-26 18:19:08 +03:00
Miguel Silvestre
83709ec170
Fix bug when passing more than one file to changes 2017-02-26 18:19:08 +03:00
Tim Churchard
221fd88efc
Add -d option to hide command to remove unencrypted files. 2017-02-26 18:19:08 +03:00
sobolevn
c1fa611f4d
Adds an attempt to fix the CI
Changes:
1. Fixes the licence information in the `plugin.zsh` to be MIT
2. Fixes link in the README
3. Fixes some tests

Closes #54
2017-02-26 18:19:07 +03:00
Tim Churchard
d7be9f92b1
Allow git-secret to run from any directory in the work tree 2017-02-26 18:19:07 +03:00
Anton Maklakov
c6a13cf405
A simpler implementation of "usage" 2017-02-26 18:19:07 +03:00
sobolevn
c7ac7ad211
Fixed several issues
Changes:
1. Fixed typo in tests_base
2. Fixed `--no-index` issue
3. Refactored `add` test to be more strict

Closes #50
Refernces #46
2017-02-26 18:19:07 +03:00
sobolevn
e1a627d36a
Added test to cover #50
Changes:
1. Fixed typo in `add -h`
2. Removed unused function from `usage`
2017-02-26 18:19:06 +03:00
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.
2017-02-26 18:10:51 +03:00
Miguel Silvestre
5a2049bd47 Clean code using shellspeck 2017-02-21 18:50:13 +00:00
Miguel Silvestre
b8b2609ec2 Fix bug when passing more than one file to changes 2017-02-17 18:40:49 +00:00
Tim Churchard
1f8a9809a2 Add -d option to hide command to remove unencrypted files. 2017-02-11 19:59:34 +00:00
sobolevn
73526644e0
Adds an attempt to fix the CI
Changes:
1. Fixes the licence information in the `plugin.zsh` to be MIT
2. Fixes link in the README
3. Fixes some tests

Closes #54
2017-02-04 23:15:16 +03:00
Tim Churchard
4bf48da281 Allow git-secret to run from any directory in the work tree 2016-12-09 09:00:06 +00:00
sobolevn
2dab341abd
Merge branch 'develop' of https://github.com/sobolevn/git-secret into develop 2016-10-03 18:47:00 +03:00
sobolevn
f099802324
Fixed several issues
Changes:
1. Fixed typo in tests_base
2. Fixed `--no-index` issue
3. Refactored `add` test to be more strict

Closes #50
Refernces #46
2016-10-03 18:44:37 +03:00
Sobolev Nikita
b07a931a05 Merge pull request #48 from antmak/develop
A simpler implementation of "usage"
2016-10-02 01:34:53 +03:00
sobolevn
904ce02cfc
Added test to cover #50
Changes:
1. Fixed typo in `add -h`
2. Removed unused function from `usage`
2016-10-01 23:07:36 +03:00
Anton Maklakov
a9e4f8f111 A simpler implementation of "usage" 2016-09-01 00:41:47 +07:00
sobolevn
2e9e374acb
Version 0.2.1 release 2016-07-10 14:40:24 +03:00
sobolevn
67218994f3
refactored all src folder 2016-06-30 22:32:42 +03:00
sobolevn
a1cd887101
refactoring started, shellcheck is now supported 2016-06-30 17:38:02 +03:00
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
2016-06-16 22:34:25 +03:00
sobolevn
691efef167 version 0.2.0 prelease 2016-05-29 14:11:53 +03:00
sobolevn
b5bdec9673 Added git-secret-changes and changed the way decryption worked.
Now there's a separate function `_decrypt` which handles `gpg`-decryption.
It is convinient, since both `changes` and `reveal` use it.

Also I have updated manuals to match new features. Also new `brew` repo is now officialy supported.
Added tests for the `changes` command.
2016-05-29 13:33:23 +03:00
sobolevn
8206de7ebb Added '-f' option to the reveal command.
This option allows to easily overwite existing giles with no prompt.
Also added documentation for the new option.

Closes #24
2016-05-22 00:20:20 +03:00
sobolevn
a8c244b319 Merge branch 'master' into develop 2016-05-22 00:07:35 +03:00
sobolevn
d523d8b8a9 There was a bug with sed command, when trying to remove filename with slashes.
Now it is fixed. See `_delete_line` function.
Closes #23
2016-05-22 00:05:55 +03:00
sobolevn
a5abefba90 release v0.1.2 2016-05-14 14:27:08 +03:00
sobolevn
66f9b63872 Merge branch 'develop' into staging 2016-05-14 14:20:27 +03:00
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
2016-05-14 14:03:33 +03:00
sobolevn
70ce25c899 Solved the issue with gpg2 >= 2.1
The reason was with the `_user_required` function. It was checking for the `pubring.gpg` file, which was renamed in the `gpg2` >= 2.1
So I have removed this check, leaving other things in place.

Closes #6
2016-05-12 14:22:41 +03:00
sobolevn
a9cea588bb version 0.1.1 2016-04-10 14:30:36 +03:00
sobolevn
b285eb91ed Merge branch 'develop' of https://github.com/sobolevn/git-secret into develop 2016-04-10 14:17:06 +03:00
sobolevn
1161098f12 Fixes the gpg2 issue by changing the way fixture installation and uninstallation were handled.
Also `--dry-run` option was added to the `git-secret` command.
2016-04-10 14:14:41 +03:00
Julio Sueiras
60c849acef Typo fix
Typo fix from `git congig user.email` to `git config user.email`
2016-04-03 17:46:26 -04:00
elinamorits
73a6e041fa fixed .deb package creation 2016-03-13 00:35:05 +03:00
elinamorits
86a214574d debian/ubuntu packages 2016-03-12 22:21:04 +03:00
sobolevn
bf6fdac0b2 manuals finished, new help based on man, zsh plugin 2016-02-22 13:52:15 +03:00
sobolevn
6278d2e597 somehow git repo fucked up 2016-02-21 16:53:02 +03:00
sobolevn
8d16a0e679 manuals, help text, style fixes 2016-02-21 16:41:20 +03:00
sobolevn
b370149e18 fixes after makefile crash 2016-02-21 16:26:17 +03:00
sobolevn
d0f6a7c3c1 small style fixes 2016-02-20 23:22:56 +03:00
sobolevn
2b48137287 list and whoknows commands added 2016-02-19 14:07:43 +03:00
sobolevn
d6cb27b5dd bug for linux fixed 2016-02-18 10:23:23 +03:00
sobolevn
cd97ba1cc2 tests for remove 2016-02-18 00:48:04 +03:00
sobolevn
bdc3dbda18 manuals started 2016-02-16 14:32:17 +03:00
sobolevn
634de90bae pre-reliase 2016-02-15 13:17:55 +03:00