38 Commits

Author SHA1 Message Date
Tom Limoncelli
8091467952 Improve test data generation (#348)
* Improve test data generation

* Add homebrew to "make test" path
2022-03-16 13:29:31 -04:00
Lucas Ramage
90418566e3 Respect PREFIX variable for copy-install (#294) 2020-02-01 10:10:25 -05:00
Ben Limmer
1988a883a0 Restore make manual-install with warning. (#258) 2018-06-15 20:04:07 -04:00
Tom Limoncelli
6efbd24c58 Improve installation instructions (#244)
* Clarify manual-install -> symlinks-install
2018-02-22 13:46:42 -05:00
Tom Limoncelli
103106e08f "make clean" should be idempotent. 2017-09-17 17:39:14 -04:00
Tom Limoncelli
48cc17ac0a "make test" now uses "expect" to not prompt for passwords. 2017-05-29 19:31:26 -04:00
Tom Limoncelli
cf984c26ee "make test" should be an alias for "make confidence". 2017-02-22 19:31:55 +00:00
Yves Dorfsman
1ae578b7cf Tilde doesn't get expanded when in between quotes. 2016-05-20 16:15:15 -06:00
Yves Dorfsman
c3f7e12890 Use PKGNAME variable defined above. 2016-05-20 15:08:46 -06:00
Joe Block
e004ebb384 Make OUTPUTDIR overridable
Users (like me on my Jenkins server) may not want to put output debs and
rpms in ~.
2016-02-26 13:35:15 -08:00
Connor Atherton
d83b2fbd21 Add manual install step to the Makefile 2015-11-01 10:03:02 -08:00
tlimoncelli@stackexchange.com
6765988274 Bug: Packages are missing blackbox_deregister_file. 2015-07-09 22:52:42 -07:00
James Vasile
cf170d957c Enable installation/removal via stow
fpm failed on my Debian box, so I used stow. I thought others might be
in the same boat, so here's a couple targets for the Makefile.
2015-06-14 18:01:06 -04:00
tlimoncelli@stackexchange.com
02700b547a Update comments and add newly added files to packages. 2015-06-02 15:37:06 +00:00
tlimoncelli@stackexchange.com
fcaceab817 'make confidence' assumes source in ~/gitwork/blackbox. Fixes #58 2015-03-09 07:56:37 -04:00
tlimoncelli@stackexchange.com
8d1d09b454 Remove irrelevant error check 2015-03-04 18:23:12 -05:00
Tom Limoncelli
d7a3c791e9 Merge pull request #49 from law/master
adding rudimentary debian package building support
2015-03-04 16:18:34 -05:00
LE Manh Cuong
19532b82d5 Issue 50:
- Fix forgetting unquotes command substitution in function vcs_relative_path.
 - Using old test instead of new test in Makefile.
 - Fix some variables for Bob in "confidence_test.sh".
2015-03-03 09:31:09 +07:00
Lee Whalen
6e32500adc Mangling Makefile to make better sense - generates .deb inputfile list from the RPM list, and does so for each run of 'make packages-deb' 2015-03-01 14:58:09 -08:00
Lee Whalen
2591c768e7 Fixing issues with Makefile per PR feedback 2015-03-01 14:37:07 -08:00
Lee Whalen
b183931cf5 adding rudimentary debian package building support 2015-02-28 20:44:28 -08:00
tlimoncelli@stackexchange.com
a9562e73d6 "make confidence" should work on mac (partial implementation) 2015-02-28 07:58:30 -06:00
tlimoncelli@stackexchange.com
ee3b6612ff - Add blackbox_list_files to RPM and MacPorts packages.
- Makefile should not require DESTDIR variable.
2015-02-16 16:17:30 +00:00
tlimoncelli@stackexchange.com
511d59e7bb Clean up MacPorts configuration 2015-02-03 12:34:15 -05:00
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
Lukasz Kawczynski
767751c24a Fix unterminated quoted string 2015-01-27 10:39:30 +00:00
tlimoncelli@stackexchange.com
d764a58151 Makefile: Clarify package build instructions. 2014-11-17 15:44:23 +00:00
tlimoncelli@stackexchange.com
46903b6225 Improve "confidence" recipe. Check .gnupg dir after the fact. 2014-11-05 16:48:26 +00:00
Tom Limoncelli
f3128c36ab Make confidence tests compatible with Cygwin. 2014-11-02 08:44:35 -05:00
tlimoncelli@stackexchange.com
ead4316693 More makefile cleanups 2014-10-14 15:10:05 +00:00
tlimoncelli@stackexchange.com
574bbf50ad "make test" should have more clear output on failure. 2014-10-14 14:22:52 +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