Commit Graph

49 Commits

Author SHA1 Message Date
tlimoncelli@stackexchange.com
8db38905de Reduce size of profile.d-usrblackbox.sh to below 132 bytes.
Add test framework to make sure we don't break bash or sh.
2014-09-12 16:17:35 +00:00
Christophe Biocca
0a465125cb Allows profile file to work on pathmunge-less systems.
Will check for pathmunge's existence and use it, or fallback to
prepending to the path.
2014-09-12 10:57:53 -04:00
tlimoncelli@stackexchange.com
2689a2d5a4 Remove debug statement 2014-09-09 20:36:27 +00:00
tlimoncelli@stackexchange.com
389e8a7a19 BIG CHANGES:
* Command no longer need to be run from the base directory of the repo.
  * blackbox_edit now asks "are you sure?" and is greatly simplified.

_blackbox_common.sh:
  * add_filename_to_cryptlist now accepts paths relative to cwd.
  * fail_if_not_on_cryptlist now accepts paths relative to cwd.
  * new function: vcs_relative_path reports a path to the file relative to the REPOBASE.
  * new function: is_on_cryptlist

plus...
  * Some minor performance enhancesments and cleanups.
  * confidence_test.sh now tests some commands while not in REPOBASE.
2014-09-09 20:32:48 +00:00
tlimoncelli@stackexchange.com
2dcb922f95 Remove duplicate file: blackbox_start 2014-09-09 20:20:45 +00:00
tlimoncelli@stackexchange.com
28bff4ff9f Add "set -e" to all scripts. 2014-09-08 20:25:38 +00:00
tlimoncelli@stackexchange.com
3460633506 Fix _determine_vcs_base_and_type and fail_if_not_on_cryptlist 2014-09-08 20:09:04 +00:00
tlimoncelli@stackexchange.com
10dec2222e Merge branch 'lnhubbell-patch-1' 2014-09-05 14:54:05 +00:00
tlimoncelli@stackexchange.com
92128a8c20 merge 2014-09-05 14:53:39 +00:00
Tom Limoncelli
ade9b4fbe7 Merge pull request #14 from lsmag/master
Thanks for the update!
2014-09-05 10:52:04 -04:00
Lucas S. Magalhães
829c7902bb Added comment about blackbox_edit 2014-09-04 13:15:23 -03:00
tlimoncelli@stackexchange.com
eea4820b4f More doc updates 2014-09-04 11:21:19 -04:00
Tom Limoncelli
5f5d54756f Merge pull request #13 from lsmag/master
New command blackbox_edit
2014-09-04 11:14:46 -04:00
Lucas S. Magalhães
60b7206d8a re-encrypt and shred after edit 2014-09-04 11:45:26 -03:00
Lucas S. Magalhães
a7baaf2e8c blackbox_edit created 2014-09-04 11:29:23 -03:00
tlimoncelli@stackexchange.com
c41c9c03e3 Merge branch 'lnhubbell-patch-1' 2014-09-04 09:35:14 -04:00
tlimoncelli@stackexchange.com
aba30109a4 Merge 2014-09-04 09:35:07 -04:00
Tom Limoncelli
151c6918bc Merge pull request #6 from AEAMcNett/patch-1
Missing period in README.md
2014-09-04 09:29:38 -04:00
Tom Limoncelli
34a8507359 Merge pull request #7 from TheFox/hackernews
HackerNews, not HackNews.
2014-09-04 09:18:18 -04:00
Christian Mayer
06bafb0ff2 HackerNews, not HackNews. 2014-09-04 11:39:37 +02:00
Andrew McNett
1697c28d5c Missing period in README.md
"That's not safe" -> "That's not safe."
2014-09-03 21:57:39 -07:00
Nathan Hubbell
7006bda277 Update README.md 2014-09-03 17:04:33 -07:00
Nathan Hubbell
d343e38e7c Update README.md
Made a few grammar/spelling touch ups.
2014-09-03 16:56:27 -07:00
tlimoncelli@stackexchange.com
16e742bc89 Add slideshare reference 2014-09-03 19:53:13 -04:00
tlimoncelli@stackexchange.com
ecc0fcfa6b Added reply to HN comments 2014-09-03 19:32:39 -04:00
Tom Limoncelli
51c62a52a1 Merge pull request #4 from johngibb/patch-1
README typo - substittions -> substitutions
2014-09-03 15:42:10 -04:00
John Gibb
9689109759 README typo - substittions -> substitutions 2014-09-03 15:39:56 -04:00
tlimoncelli@stackexchange.com
f222516526 * blackbox_postdeploy should accept an optional parameter for chgrp.
* blackbox_postdeploy should 'cd' to $BASEDIR or the base VCS directory.
* Add unit tests to confidence_test.sh to cover chgrp functionality.
2014-09-02 22:10:37 +00:00
tlimoncelli@stackexchange.com
4702a9a207 * Test use-case where secrets had previously been exposed.
* BUG: blackbox_postdeploy should not "chgrp" files.
2014-09-01 18:59:57 +00:00
tlimoncelli@stackexchange.com
01a9292d9d Use a portable version of MD5. 2014-09-01 18:59:22 +00:00
Alice Example
d6a20b049f Fix typo that makes vcs_remove fail 2014-09-01 14:26:56 -04:00
tlimoncelli@stackexchange.com
dcfb08defd Improvements to the docs 2014-08-30 13:41:27 -04:00
Tom Limoncelli
959b7f6b7a Merge pull request #3 from unixorn/fix-typo
Fix typo, make line break consistent in that paragraph.
2014-08-30 12:23:55 -04:00
Joe Block
34c7b1b7d4 Fix typo, make line break consistent in that paragraph. 2014-08-29 15:07:01 -07:00
tlimoncelli@stackexchange.com
0903c0d183 Update docs 2014-08-29 20:46:46 +00:00
tlimoncelli@stackexchange.com
8d2e76929e Corrected informational message 2014-08-29 20:28:08 +00:00
tlimoncelli@stackexchange.com
d74eeb33c7 * Initialization for new repos AUTOMATED.
* Adding new users AUTOMATED.
* Update docs for the new, more simplified installation processes.
* Remove dependency on any particular paths, etc.  Copy "bin" into a place along your path and everything should "just work".
* Add support for Mercurial (not tested).
* blackbox_addadmin now adds keys to the keyring for you.
* Unified #! lines to "#!/usr/bin/env bash" so it works better on FreeBSD.
* BUGFIX: (BugId#1) blackbox_update_all_files.sh expects hg, fails for git.
* BUGFIX: (BugId#2) blackbox_postdeploy.sh assumes certain directory layout.
* BUGFIX: Temporary files aren't deleted.
* NEW FILE: bin/blackbox_initialize: Automates enabling BB for a repo (creates directories, files, and updates .gitignore).
* NEW FILE: bin/blackbox_removeadmin: Automates removing an admit.
* NEW FILE: tools/confidence_test.sh: A battery of tests to verify operations.
* NEW FILE: bin/Makefile: Automate package creation.
* NEW FILE: bin/_stack_lib.sh: A library of shell routines from StackExchange.
2014-08-29 20:21:02 +00:00
tlimoncelli@stackexchange.com
f387bc9f30 Remove ".sh" from file names.
Refactor so it does not rely on PWD being the repo basedir.
Fix assumptions about HG and GIT use.
2014-08-28 20:47:32 +00:00
tlimoncelli@stackexchange.com
c903bdc575 Change package name to stack_blackbox 2014-08-28 14:37:25 +00:00
Tom Limoncelli
b023e36516 Make RPM packages easier 2014-08-26 20:40:34 +00:00
tlimoncelli@stackexchange.com
adcb7e7449 Package tools 2014-08-26 16:26:25 -04:00
tlimoncelli@stackexchange.com
9f78fd458b blackbox_addadmin.sh: NEW: still untested.
blackbox_common.sh: Add comments.
2014-08-26 16:03:25 -04:00
tlimoncelli@stackexchange.com
8a14c28510 Big doc update plus refined tools to work better outside of StackExchange. 2014-08-13 15:16:35 -04:00
tlimoncelli@stackexchange.com
a9d0b830e1 Adding to docs 2014-07-08 10:35:28 -04:00
tlimoncelli@stackexchange.com
fdd3ee0e50 Add walk-through of how the software is used. 2014-07-08 10:06:49 -04:00
tlimoncelli@stackexchange.com
9e993f9562 Add license 2014-07-08 09:54:27 -04:00
tlimoncelli@stackexchange.com
ec1f547c2c NEW: AUTHORS file 2014-07-07 20:50:40 -04:00
Tom Limoncelli
73396c8a4d Initial check in 2014-07-07 20:30:22 -04:00
Tom Limoncelli
e9a5bfab26 Initial commit 2014-04-06 10:53:03 -07:00