Dan OBoyle
c18d3732c3
Revert "Resolves overzealous quotes reported in #105 "
...
This reverts commit 8cfcfa52d1ee12029bd5e501fe3050e1ee927275.
2015-07-10 21:47:20 -04:00
Dan OBoyle
e1802f4c03
Resolves overzealous quotes reported in #105
2015-07-10 21:47:20 -04:00
Bob Example
1d6d65af13
resolution to past zeal with double quotes.
2015-07-10 21:16:12 -04:00
Dan OBoyle
1d4edfaa10
Fix change_to_vcs_root in issue #105
2015-07-10 18:34:37 -04:00
tlimoncelli@stackexchange.com
6765988274
Bug: Packages are missing blackbox_deregister_file.
2015-07-09 22:52:42 -07:00
Tom Limoncelli
01a6758ab8
Merge pull request #102 from selfcommit/master
...
Steps towards recursive repos
2015-07-05 12:11:47 -04:00
Dan OBoyle
76884eb396
better logic in enumerate_blackbox_repos
2015-07-03 17:50:00 -04:00
Dan OBoyle
96c71e3254
Better logic for change_to_vcs_root
2015-07-03 17:46:18 -04:00
Dan OBoyle
53c686fc57
document is_blackbox_repo
2015-07-03 17:41:46 -04:00
Dan OBoyle
2b432e1f3a
document SC2155
2015-07-03 17:41:21 -04:00
Dan OBoyle
b56300a8c7
better linting in get_encrypted_filename()
2015-07-03 17:28:49 -04:00
Dan OBoyle
a5bf8a5a81
better linting in get_unencrypted_filename()
2015-07-03 17:27:17 -04:00
Dan OBoyle
97030854fa
fewer double quotes in fail_if_not_on_cryptlist()
2015-07-03 17:23:34 -04:00
Dan OBoyle
805f66b6b3
Add missing }
2015-07-03 17:21:26 -04:00
Dan OBoyle
38b8ced5dd
check if is null before checking for dir
2015-07-03 17:21:00 -04:00
Dan OBoyle
26eb8e48cc
Added is_blackbox_repo enumerate_bloackbox_repos and set in change_vcs_root
2015-07-03 13:00:12 -04:00
tlimoncelli@stackexchange.com
eab0418ffe
vcs_relative_path broke on MacOS X.
2015-07-03 11:43:52 -04:00
Dan OBoyle
ae2dd5070d
Merge branch 'master' of https://github.com/StackExchange/blackbox
2015-07-03 11:40:49 -04:00
tlimoncelli@stackexchange.com
f5eeffd043
confidence_test.sh: assert_file_group() fails if gid name includes space.
2015-07-03 15:05:31 +00:00
Tom Limoncelli
626ff178b6
Merge pull request #101 from anubiann00b/patch-1
...
Added an exclamation point.
2015-07-02 11:27:08 -04:00
Shreyas
4afb1b2554
Added an exclamation point.
...
1, 2, 3!
2015-07-01 19:11:03 -04:00
Tom Limoncelli
1b443ff682
Merge pull request #98 from selfcommit/master
...
added quotes to fix linting $BLACKBOX_HOME Linting in _blockbox_common.sh
2015-06-29 11:14:44 -04:00
Dan OBoyle
a648fb8e46
Added / Pruned quotes and separated local variable declaration from assignment.
2015-06-28 19:26:47 -04:00
Dan OBoyle
85e1ea7ccc
added quotes to fix linting
2015-06-28 19:05:06 -04:00
Tom Limoncelli
4c7078e4c4
Merge pull request #95 from shadone/blackbox_initialize_ignore_file_fix
...
Fixed initialization
2015-06-27 13:14:49 -04:00
Tom Limoncelli
1cf8b709f4
Merge pull request #96 from shadone/gpg-tool-override
...
Allow overriding gpg command
2015-06-27 13:12:59 -04:00
Tom Limoncelli
4c0f45856f
Merge pull request #97 from shadone/typo
...
Fixed a typo in a comment
2015-06-27 13:12:09 -04:00
Denis Dzyubenko
1aaeb1184e
Fixed a typo in a comment
2015-06-27 13:54:48 +02:00
Denis Dzyubenko
cef09190e9
Allow overriding gpg command
...
This is particular useful on OS X when gnupg version 2 is installed with brew
which installs it as gpg2
2015-06-27 13:40:45 +02:00
Denis Dzyubenko
c66a0befa6
Fixed initialization
...
IGNOREFILE variable no longer exists which resulted in calling "vcs_add <empty
string>" command adding all untracked files when blackbox_initialize is called
2015-06-27 13:11:51 +02:00
tlimoncelli@stackexchange.com
521d108df9
confidence_test.sh: Verify that invalid key names get an error
2015-06-20 20:05:52 +00:00
tlimoncelli@stackexchange.com
7c99a8f94c
Merge branch 'fidian-optimize-vcs-type'
2015-06-20 19:11:48 +00:00
tlimoncelli@stackexchange.com
efe7bbc8cd
Removing the multiple calls to determine VCS type.
...
* Credit goes to fidian@rumkin.com
2015-06-20 19:10:37 +00:00
tlimoncelli@stackexchange.com
64e019c8e6
Remove call to _determine_vcs_base_and_type.
2015-06-20 19:10:02 +00:00
Alice Example
b523067536
Merge branch 'optimize-vcs-type' of git://github.com/fidian/blackbox into fidian-optimize-vcs-type
2015-06-20 19:02:45 +00:00
tlimoncelli@stackexchange.com
415b55b1c7
Document that register supports many files
2015-06-20 14:56:17 -04:00
tlimoncelli@stackexchange.com
d45625086a
blackbox_register_new_file: Accept multiple files on the command line.
2015-06-20 15:54:08 +00:00
tlimoncelli@stackexchange.com
c0dda22c9c
Bug: blackbox_deregister_file deletes blackbox-files.txt
...
* Clarified symantics of blackbox_deregister_file in comments.
* Added confidence test
2015-06-20 15:39:32 +00:00
Tyler Akins
cc1d7a1851
Removing the multiple calls to determine VCS type
...
This removed the subshell from _determine_vcs_base_and_type so it can
set environment variables.
Because this always runs at the beginning of the scripts, there's no
need to do checking if REPOBASE is unset or if VCS_TYPE is not yet
determined, thus I simplified one function and eliminated which_vcs.
Conflicts:
bin/blackbox_deregister_file
I found this easier to just cherry pick since there was a merge and the
merge was reverted.
2015-06-16 17:24:35 -05:00
tlimoncelli@stackexchange.com
11b2cae683
Merge branch 'fidian-optimizations'
2015-06-16 17:14:20 -04:00
tlimoncelli@stackexchange.com
78fd5d42ec
Merge branch 'optimizations' of https://github.com/fidian/blackbox into fidian-optimizations
2015-06-16 17:12:52 -04:00
tlimoncelli@stackexchange.com
4466c202fb
Revert "Merge pull request #89 from fidian/optimize-vcs-type"
...
This reverts commit 082809bab2 , reversing
changes made to 33429b3ca6 .
2015-06-16 17:11:22 -04:00
Tom Limoncelli
082809bab2
Merge pull request #89 from fidian/optimize-vcs-type
...
Reduced number of calls to _determine_vcs_base_and_type
2015-06-16 17:05:22 -04:00
Tyler Akins
792d11e85a
Removing the multiple calls to determine VCS type
...
This removed the subshell from _determine_vcs_base_and_type so it can
set environment variables.
Because this always runs at the beginning of the scripts, there's no
need to do checking if REPOBASE is unset or if VCS_TYPE is not yet
determined, thus I simplified one function and eliminated which_vcs.
2015-06-16 14:11:46 -05:00
Tyler Akins
6de7cd99cb
Always setting BLACKBOX_HOME
...
This makes the beginning of all files the same and a little simpler.
`${0%/*}` turns "/home/user/repository/bin/blackbox_edit" into
"/home/user/repository/bin", exactly like basename but without eating a
process.
Because other scripts needed `$blackbox_home` I made this into a
standardard variable that's always available.
This also loads _stack_lib.sh always because _blackbox_common.sh
requires it.
2015-06-16 13:25:55 -05:00
tlimoncelli@stackexchange.com
33429b3ca6
Improve GPG 1.x compatibility.
2015-06-15 20:33:50 +00:00
tlimoncelli@stackexchange.com
a3fc4cbf4a
Simplify handling of "SECRETSEXPOSED"
2015-06-15 20:33:21 +00:00
tlimoncelli@stackexchange.com
c129d06ea0
is_on_cryptlist reversed arguments to file_contains_line()
2015-06-15 20:32:35 +00:00
tlimoncelli@stackexchange.com
12943b3021
Update confidence tests
...
* assert_line_exists: error message text is reversed.
* Update assertions to work with newer ignore processing.
* Report "SUCCESS" not just "DONE".
2015-06-15 20:30:20 +00:00
Tom Limoncelli
e0f7f88beb
Merge pull request #85 from fidian/deregister
...
Adding blackbox_deregister_file
2015-06-15 14:27:04 -04:00