Commit Graph

517 Commits

Author SHA1 Message Date
Tom Limoncelli 384f04af48 Merge pull request #120 from ConnorAtherton/add-manual-install-steps
Add make rule for symlinking and removing /bin files
2015-11-01 14:14:25 -05:00
Connor Atherton d83b2fbd21 Add manual install step to the Makefile 2015-11-01 10:03:02 -08:00
Tom Limoncelli b11c918e4f Merge pull request #125 from snowpong/add-support-for-mingw
Add support for Git for Windows / MINGW users
2015-10-31 08:58:26 -04:00
Espen Riskedal 372a35036f Add support for Git for Windows / MINGW users
If you install Git for Windows (https://git-for-windows.github.io/) you get a console
,either CMD or MINTT, which returns MINGW* for uname -s. So if you run blackbox_addadmin
or the other commands, you'll get: "ERROR: Unknown OS. Exiting."

I've simply added MINGW* to the Linux and CYGWIN checks and it seems to work fine.

NOTE: I didn't touch tools/test_functions.sh allthough it should probably be updated as well.
2015-10-29 12:10:58 +01:00
Tom Limoncelli 074c0831c0 Merge pull request #124 from Gnouc/master
Fix some minor issues:
2015-10-19 10:08:51 -07:00
LE Manh Cuong 65ae375828 Fix some minor issues:
- Missing double quote
 - Replace `echo -n` with `printf "%s"` for more
 portability and reliability
2015-10-19 16:52:26 +07:00
Tom Limoncelli 3ec645fd13 Merge pull request #123 from Gnouc/master
Fix missing quote
2015-10-18 16:26:33 -07:00
LE Manh Cuong 0355095a59 Fix missing quote 2015-10-17 08:49:29 +07:00
Tom Limoncelli 733408a6b7 Merge pull request #122 from davidreuss/patch-1
Be consistent when creating tmpfiles in stacklib
2015-10-16 18:03:55 -07:00
David Reuss ece750b710 Be consistent when creating tmpfiles in stacklib
Use same naming scheme as elsewhere when creating tempfiles.

This fixes deregistering files, when seeing:

```
mktemp: too few X's in template ‘_stacklib_’
```
2015-10-16 14:59:15 +02:00
tlimoncelli@stackexchange.com 54c6c2c037 README.md: Correct ToC 2015-09-23 13:31:21 -04:00
tlimoncelli@stackexchange.com 93bc410449 README.md: Add a table of contents 2015-09-23 13:11:52 -04:00
tlimoncelli@stackexchange.com 52e029a587 README.md: Improve indoctrination steps. 2015-09-23 12:41:48 -04:00
Tom Limoncelli aa14bef555 Merge pull request #121 from serialdoom/master
Update README.md
2015-09-14 08:48:55 -04:00
Mike b8ad2ba33d Update README.md
removed duplicate "work"
2015-09-14 10:10:32 +01:00
Tom Limoncelli e637584d77 Merge pull request #117 from torarvid/editor-remove-quotes
Support having an $EDITOR value with arguments
2015-08-26 13:11:27 -04:00
Tor Arvid Lund ca2cc76bcd Support having an $EDITOR value with arguments
If a user has $EDITOR set to e.g "subl --wait", then "$EDITOR" (with
quotes) will fail with error "command not found: subl --wait". In other
words, it looks for an executable containing the space and the --wait in
it.

Simply removing the quotes seems to work fine.
2015-08-26 16:15:29 +02:00
tlimoncelli@stackexchange.com 885a3a25b3 Document some common GPG error messages. 2015-08-10 11:44:27 -04:00
tlimoncelli@stackexchange.com bb336a56fd Improve Developer Docs 2015-08-07 10:53:13 -04:00
Tom Limoncelli 0b637bb917 Merge pull request #116 from nextraztus/master
replace vcs_relative_path with non-python, fixes #115
2015-08-07 10:26:40 -04:00
Nextraztus fd78fb5ed3 replace vcs_relative_path with non-python, fixes #115 2015-08-07 08:22:18 -06:00
tal@whatexit.org 7c73009461 Improve Cygwin compatibility. 2015-08-04 11:53:25 -04:00
tal@whatexit.org 159c3cc93b Improve installation instructions. 2015-08-04 11:53:03 -04:00
tlimoncelli@stackexchange.com 8fab12de6b Improve MacPorts update script and documentation based on feedback in https://trac.macports.org/ticket/48464 2015-07-31 15:36:55 -04:00
tlimoncelli@stackexchange.com dd494be320 RELEASE_ENGINEERING.txt: Clarify comments. 2015-07-30 13:52:04 -04:00
tlimoncelli@stackexchange.com 343b85a34c Fix issue on OS X when creating a temporary file
This prevents the "mktemp: too few X's in template
_stacklib_" error message from appearing when
adding another admin to blackbox and allows the command to successfully
execute.

    Related:
    rtomayko/shocco#5
    http://unix.stackexchange.com/q/87638/63283
v1.20150730
2015-07-28 08:21:52 -04:00
tlimoncelli@stackexchange.com 1f2d99436d Fixed #83 blackbox_edit* scripts should accept multiple filenames 2015-07-24 09:57:34 -04:00
tlimoncelli@stackexchange.com 23cc07d1e3 Fix #107 2015-07-24 13:26:18 +00:00
tlimoncelli@stackexchange.com 5ae47a69ea Clean up after cp_permission test 2015-07-24 13:13:51 +00:00
tlimoncelli@stackexchange.com 59685d580b Improve comments. 2015-07-24 13:04:23 +00:00
tlimoncelli@stackexchange.com aee22fc99d Reorganize tests
* Split out test helper functions into tools/test_functions.sh
  * bin/_blackbox_common_test.sh: Unit-tests for functions.
  * blackbox_postdeploy: Use cp_permissions instead of chmod --reference
2015-07-24 09:01:00 -04:00
Tom Limoncelli 8956be47a3 Merge pull request #111 from wiredmax/master
File permissions now persits when decrypting.
2015-07-23 14:41:04 -04:00
Maxime Poulin 649a75e459 File permissions now persits 2015-07-23 10:14:39 -04:00
Dan OBoyle 4bd8b63c3c Merge pull request #106 from selfcommit/master
Fix change_to_vcs_root in issue #105 (awk change may also resolve #104 )
2015-07-11 18:57:45 -04:00
Dan OBoyle 7d9c07678b Resolves #105 2015-07-10 21:50:09 -04:00
Dan OBoyle 3c8e7acf4f Revert "Resolves overzealous quotes reported in #105"
This reverts commit 8cfcfa52d1ee12029bd5e501fe3050e1ee927275.
2015-07-10 21:47:20 -04:00
Dan OBoyle c6e72a8373 Resolves overzealous quotes reported in #105 2015-07-10 21:47:20 -04:00
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