Commit Graph

23 Commits

Author SHA1 Message Date
tlimoncelli@stackexchange.com
a772aea1d7 First attempt at a MacPorts config 2015-02-03 12:18:01 -05:00
tlimoncelli@stackexchange.com
9c6525161c Makefile: fix manifest name 2015-01-29 16:43:26 -05:00
tlimoncelli@stackexchange.com
ce5174691d Rework package build to use mk_rpm_fpmdir new filenames 2015-01-28 22:13:34 +00: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
Jeffrey Miller
d4d5d3dd4a Update rpm_filelist.txt
removed blackbox_start and added in blackbox_cat to allow building of rpm
2015-01-06 14:46:18 -06:00
tal@whatexit.org
9173e4d78c merge 2015-01-05 18:18:24 -05:00
Tom Limoncelli
f3128c36ab Make confidence tests compatible with Cygwin. 2014-11-02 08:44:35 -05:00
tlimoncelli@stackexchange.com
6ed02298f0 BUG: RPM has no description 2014-10-14 15:13:02 +00:00
tlimoncelli@stackexchange.com
d1a9dbcd2e Better handle filenames with * and ? in them. 2014-10-14 14:43:03 +00:00
tlimoncelli@stackexchange.com
225909cdf3 For git, add plaintext files to .gitignore to prevent accidental additions. 2014-10-14 14:23:34 +00:00
tlimoncelli@stackexchange.com
b7217e197d Eliminate "mungepath". Improve performance and assure script will not touch disk. 2014-09-12 16:36:04 +00:00
tlimoncelli@stackexchange.com
5f15527d56 Rewrite profile.d-usrblackbox.sh to only use BASH built-ins; retain file size <132 so that it is an "inline" file. 2014-09-12 16:32:27 +00:00
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
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
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
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