Commit Graph

14 Commits

Author SHA1 Message Date
tlimoncelli@stackexchange.com
180ee4076e Random 2016-05-17 12:58:13 -04: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
Charles Prost
3b76c6c936 [clean] Remove useless IFS save 2015-03-20 09:40:42 +01:00
Charles Prost
d8fb3e855d [fix] Support filenames with space for 'blackbox_shred_all_files' 2015-03-19 10:53:49 +01:00
tlimoncelli@stackexchange.com
225d38ee11 BACKWARDS INCOMPATIBLE CHANGES:
* Using $BASEDIR to pass the location of the repo hasn't worked for a
  while. It has been removed.  Simply cd into the vcs repo before
  running a command.
BUG FIXES:
* .gitignore was being created in subdirectories instead of VCS root.
MINOR CHANGES
* _blackbox_common.sh: Replace change_to_root with change_to_vcs_root
* confidence_test.sh: Added more assertions and tests.
2015-03-10 21:16:27 +00:00
LE Manh Cuong
5428aed2d7 Fix many bugs for unquote variables. 2015-02-27 01:09:59 +07:00
tlimoncelli@stackexchange.com
86fe5ae352 More securely quote $BB_FILES 2015-02-10 18:54:47 -05:00
Warren Gray
beefbfb912 - Fix blackbox commands so that they work when called with absolute paths.
- Fix confidence_test.sh so that it's not hardcoded to a specific dev environment path.
2015-01-13 14:42:58 -05:00
harrison
26ec9319e3 blackbox_shred_all_files now changes to root dir before running. Moved similar code from blackbox_postdeploy into _blackbox_common.sh as change_to_root function. 2014-11-06 00:28:53 -08:00
tlimoncelli@stackexchange.com
8b9abb271d Add more comments 2014-10-30 14:14:12 +00:00
tlimoncelli@stackexchange.com
0fb0c0c5dd Fix perms 2014-10-29 14:16:47 -04:00
Harrison Page
05d8c7277c List of files to be be shredded now prints filenames 2014-10-23 16:57:04 -07:00
mavenlink
157dfe6d2f cleanup some mis-named things and remove dead var 2014-10-02 17:03:49 -07:00
mavenlink
cd880e76c2 add blackbox_shred_all_files that shreds decrypted versions of any encrypted file, this will discard current changes 2014-10-02 17:02:20 -07:00