Compare commits

...

10 Commits
5.0.0 ... 6.1.0

Author SHA1 Message Date
Brooke Kuhlmann
bb329535c7 Added version release changes. 2018-11-01 20:01:55 -06:00
Brooke Kuhlmann
72f5fcb03e Removed unnecessary source code comments.
Reduced stating the obvious (in many cases) in order to improve
readability and reduce lines of code.
2018-10-28 13:35:51 -06:00
Brooke Kuhlmann
7da69e543f Updated to Java SE Development Kit 11.
Links to latest release of Java SE SDK.
2018-10-27 11:59:21 -06:00
Brooke Kuhlmann
0b5c5a6cd8 Updated to Ruby 2.5.3.
Fixes development packaging issues absent in Ruby 2.5.2.

[Details](https://is.gd/tYAZvF).
2018-10-21 09:47:23 -06:00
Brooke Kuhlmann
450c04e126 Updated to Ruby 2.5.2.
Includes important security patches. [Details](https://is.gd/60JxWj).
2018-10-17 12:54:37 -06:00
Brooke Kuhlmann
8305d07ffb Added version release changes. 2018-10-01 19:56:56 -06:00
Brooke Kuhlmann
ff09e25ea5 Added XCode install tip.
Helpful for first-time installers not familar with XCode. Also reduces
confusion with license window which always seems to appear behind
current window.
2018-09-30 10:34:17 -06:00
Brooke Kuhlmann
be396b9581 Updated to Java SE Development Kit 10.
Provides a link to the latest JDK.
2018-09-25 17:35:28 -06:00
Brooke Kuhlmann
6dd6d93bb8 Updated boot disk creation to macOS Mojave.
Provides support for the latest
[macOS](https://www.apple.com/macos/mojave) release.
2018-09-25 17:35:28 -06:00
Brooke Kuhlmann
98d921527c Updated to Contributor Covenant Code of Conduct 1.4.1.
The biggest change is the links all use HTTPS now. Formatting was
corrected to wrap at the 100th column as well.

[ci skip]
2018-08-12 07:10:08 -06:00
23 changed files with 51 additions and 77 deletions

View File

@@ -1 +1 @@
2.5.1 2.5.3

View File

@@ -1,3 +1,17 @@
# 6.1.0 (2018-11-01)
- Updated to Java SE Development Kit 11.
- Updated to Ruby 2.5.2.
- Updated to Ruby 2.5.3.
- Removed unnecessary source code comments.
# 6.0.0 (2018-10-01)
- Added XCode install tip.
- Updated boot disk creation to macOS Mojave.
- Updated to Contributor Covenant Code of Conduct 1.4.1.
- Updated to Java SE Development Kit 10.
# 5.0.0 (2018-08-01) # 5.0.0 (2018-08-01)
- Fixed Markdown ordered list numbering. - Fixed Markdown ordered list numbering.

View File

@@ -2,10 +2,11 @@
## Our Pledge ## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making In the interest of fostering an open and welcoming environment, we as contributors and maintainers
participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, pledge to making participation in our project and our community a harassment-free experience for
disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity
religion, or sexual identity and orientation. and expression, level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
## Our Standards ## Our Standards
@@ -22,40 +23,43 @@ Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or advances * The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks * Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment * Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission * Publishing others' private information, such as a physical or electronic address, without explicit
permission
* Other conduct which could reasonably be considered inappropriate in a professional setting * Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities ## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take Project maintainers are responsible for clarifying the standards of acceptable behavior and are
appropriate and fair corrective action in response to any instances of unacceptable behavior. expected to take appropriate and fair corrective action in response to any instances of unacceptable
behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, Project maintainers have the right and responsibility to remove, edit, or reject comments, commits,
issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or
contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
## Scope ## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the This Code of Conduct applies both within project spaces and in public spaces when an individual is
project or its community. Examples of representing a project or community include using an official project e-mail representing the project or its community. Examples of representing a project or community include
address, posting via an official social media account, or acting as an appointed representative at an online or offline using an official project e-mail address, posting via an official social media account, or acting as
event. Representation of a project may be further defined and clarified by project maintainers. an appointed representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement ## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting
[brooke@alchemists.io](mailto:brooke@alchemists.io). All complaints will be reviewed and investigated and will result in the project team at [Brooke Kuhlmann](mailto:brooke@alchemists.io). All complaints will be reviewed
a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain and investigated and will result in a response that is deemed necessary and appropriate to the
confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be circumstances. The project team is obligated to maintain confidentiality with regard to the reporter
posted separately. of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent Project maintainers who do not follow or enforce the Code of Conduct in good faith may face
repercussions as determined by other members of the project's leadership. temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution ## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version] available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[homepage]: http://contributor-covenant.org [homepage]: https://www.contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

View File

@@ -60,7 +60,7 @@ the two projects are meant to be used:
## Requirements ## Requirements
1. [macOS High Sierra](https://www.apple.com/macos) (with latest software updates applied) 1. [macOS Mojave](https://www.apple.com/macos) (with latest software updates applied)
1. [Xcode](https://developer.apple.com/xcode) (with accepted license agreement) 1. [Xcode](https://developer.apple.com/xcode) (with accepted license agreement)
## Setup ## Setup
@@ -72,7 +72,7 @@ Current Version (stable):
git clone https://github.com/bkuhlmann/mac_os.git git clone https://github.com/bkuhlmann/mac_os.git
cd mac_os cd mac_os
git checkout 5.0.0 git checkout 6.1.0
Master Version (unstable): Master Version (unstable):

View File

@@ -1,16 +1,13 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Applies basic system settings. # Applies basic system settings.
# SETTINGS
set -o nounset set -o nounset
set -o errexit set -o errexit
set -o pipefail set -o pipefail
IFS=$'\n\t' IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/apply_basic_settings" SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/apply_basic_settings"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH" "$SCRIPT_PATH"
else else

View File

@@ -1,16 +1,13 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Applies default settings. # Applies default settings.
# SETTINGS
set -o nounset set -o nounset
set -o errexit set -o errexit
set -o pipefail set -o pipefail
IFS=$'\n\t' IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/apply_default_settings" SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/apply_default_settings"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH" "$SCRIPT_PATH"
else else

View File

@@ -1,9 +1,7 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Creates macOS boot disk. # Creates macOS boot disk.
# EXECUTION
printf "macOS Boot Disk Tips\n" printf "macOS Boot Disk Tips\n"
printf " - Use a USB drive (8GB or higher).\n" printf " - Use a USB drive (8GB or higher).\n"
printf " - Use Disk Utility to format the USB drive as \"Mac OS Extended (Journaled)\".\n" printf " - Use Disk Utility to format the USB drive as \"Mac OS Extended (Journaled)\".\n"
@@ -24,8 +22,8 @@ printf " 5. Use the dialog options to launch Disk Utility, reinstall the system
printf "\nCreating macOS boot disk...\n" printf "\nCreating macOS boot disk...\n"
if [[ ! -d "$MAC_OS_INSTALLER_PATH" ]]; then if [[ ! -e "$MAC_OS_BOOT_DISK_CREATOR" ]]; then
printf "ERROR: macOS installer does not exist: $MAC_OS_INSTALLER_PATH. Use the App Store to download.\n" printf "ERROR: macOS installer does not exist: $MAC_OS_BOOT_DISK_CREATOR. Use App Store to download.\n"
exit 1 exit 1
fi fi
@@ -34,4 +32,4 @@ if [[ ! -d "$MAC_OS_BOOT_DISK_PATH" ]]; then
exit 1 exit 1
fi fi
sudo "$MAC_OS_BOOT_DISK_CREATOR" --volume "$MAC_OS_BOOT_DISK_PATH" --applicationpath "$MAC_OS_INSTALLER_PATH" --nointeraction sudo "$MAC_OS_BOOT_DISK_CREATOR" --volume "$MAC_OS_BOOT_DISK_PATH" --downloadassets --nointeraction

View File

@@ -1,16 +1,13 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Installs App Store software. # Installs App Store software.
# SETTINGS
set -o nounset set -o nounset
set -o errexit set -o errexit
set -o pipefail set -o pipefail
IFS=$'\n\t' IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_app_store" SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_app_store"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH" "$SCRIPT_PATH"
else else

View File

@@ -1,16 +1,13 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Installs applications. # Installs applications.
# SETTINGS
set -o nounset set -o nounset
set -o errexit set -o errexit
set -o pipefail set -o pipefail
IFS=$'\n\t' IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_applications" SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_applications"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH" "$SCRIPT_PATH"
else else

View File

@@ -1,11 +1,11 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Installs development tooling requirements. # Installs development tooling requirements.
printf "Installing Xcode CLI tools...\n" printf "Installing Xcode CLI tools...\n"
xcode-select --install xcode-select --install
printf "%s\n" "💡 ALT+TAB to view and accept Xcode license window."
read -p "Have you completed the Xcode CLI tools install (y/n)? " xcode_response read -p "Have you completed the Xcode CLI tools install (y/n)? " xcode_response
if [[ "$xcode_response" != "y" ]]; then if [[ "$xcode_response" != "y" ]]; then
printf "ERROR: Xcode CLI tools must be installed before proceeding.\n" printf "ERROR: Xcode CLI tools must be installed before proceeding.\n"

View File

@@ -1,16 +1,13 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Installs application extensions. # Installs application extensions.
# SETTINGS
set -o nounset set -o nounset
set -o errexit set -o errexit
set -o pipefail set -o pipefail
IFS=$'\n\t' IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_extensions" SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_extensions"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH" "$SCRIPT_PATH"
else else

View File

@@ -1,16 +1,13 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Installs Homebrew Cask software. # Installs Homebrew Cask software.
# SETTINGS
set -o nounset set -o nounset
set -o errexit set -o errexit
set -o pipefail set -o pipefail
IFS=$'\n\t' IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_homebrew_casks" SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_homebrew_casks"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH" "$SCRIPT_PATH"
else else

View File

@@ -1,16 +1,13 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Installs Homebrew Formula software. # Installs Homebrew Formula software.
# SETTINGS
set -o nounset set -o nounset
set -o errexit set -o errexit
set -o pipefail set -o pipefail
IFS=$'\n\t' IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_homebrew_formulas" SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_homebrew_formulas"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH" "$SCRIPT_PATH"
else else

View File

@@ -1,16 +1,13 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Performs restoration of backup data. # Performs restoration of backup data.
# SETTINGS
set -o nounset set -o nounset
set -o errexit set -o errexit
set -o pipefail set -o pipefail
IFS=$'\n\t' IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/restore_backup" SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/restore_backup"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH" "$SCRIPT_PATH"
else else

View File

@@ -1,12 +1,7 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Executes the command line interface. # Executes the command line interface.
# USAGE
# ./run.sh OPTION
# LIBRARY
source lib/installers.sh source lib/installers.sh
source lib/options.sh source lib/options.sh
source lib/reinstallers.sh source lib/reinstallers.sh
@@ -28,7 +23,6 @@ else
exit 1 exit 1
fi fi
# EXECUTION
while true; do while true; do
if [[ $# == 0 ]]; then if [[ $# == 0 ]]; then
printf "\nUsage: run OPTION\n" printf "\nUsage: run OPTION\n"

View File

@@ -1,16 +1,13 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Sets up and launches (if necessary) installed software. # Sets up and launches (if necessary) installed software.
# SETTINGS
set -o nounset set -o nounset
set -o errexit set -o errexit
set -o pipefail set -o pipefail
IFS=$'\n\t' IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/setup_software" SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/setup_software"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH" "$SCRIPT_PATH"
else else

View File

@@ -1,6 +1,5 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Defines software installer functions. # Defines software installer functions.
# Installs an application via a DMG file. # Installs an application via a DMG file.

View File

@@ -1,6 +1,5 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Defines command line prompt options. # Defines command line prompt options.
# Process option selection. # Process option selection.

View File

@@ -1,6 +1,5 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Defines reinstall functions. # Defines reinstall functions.
# Reinstall application. # Reinstall application.

View File

@@ -1,9 +1,7 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Defines global settings. # Defines global settings.
# SETTINGS
# General # General
set -o nounset set -o nounset
set -o errexit set -o errexit
@@ -11,12 +9,11 @@ set -o pipefail
IFS=$'\n\t' IFS=$'\n\t'
# Globals # Globals
export MAC_OS_BOOT_DISK_CREATOR="/Applications/Install macOS High Sierra.app/Contents/Resources/createinstallmedia" export MAC_OS_BOOT_DISK_CREATOR="/Applications/Install macOS Mojave.app/Contents/Resources/createinstallmedia"
export MAC_OS_BOOT_DISK_PATH="/Volumes/Untitled" export MAC_OS_BOOT_DISK_PATH="/Volumes/Untitled"
export MAC_OS_INSTALLER_PATH="/Applications/Install macOS High Sierra.app"
export MAC_OS_WORK_PATH=/tmp/downloads export MAC_OS_WORK_PATH=/tmp/downloads
export MAC_OS_CONFIG_PATH="../mac_os-config" export MAC_OS_CONFIG_PATH="../mac_os-config"
# Java # Java
export JAVA_LABEL="Java SE Development Kit" export JAVA_LABEL="Java SE Development Kit"
export JAVA_DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" export JAVA_DOWNLOAD_URL="https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html"

View File

@@ -1,6 +1,5 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Defines uninstall functions. # Defines uninstall functions.
# Uninstalls selected application. # Uninstalls selected application.

View File

@@ -1,6 +1,5 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Defines general utility functions. # Defines general utility functions.
# Answers the full install path (including file name) for file name. # Answers the full install path (including file name) for file name.

View File

@@ -1,6 +1,5 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# DESCRIPTION
# Defines verification/validation functions. # Defines verification/validation functions.
# Checks for missing Homebrew formulas. # Checks for missing Homebrew formulas.