Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to bash #177

Merged
merged 1 commit into from
Mar 19, 2016
Merged

Change to bash #177

merged 1 commit into from
Mar 19, 2016

Conversation

snh
Copy link
Member

@snh snh commented Mar 1, 2016

Discussed in #176, this PR changes the shell used by backup-utils from #!/bin/sh to #!/usr/bin/env bash.

Passes tests but requires extensive testing against a variety of GHE instances before merging.

/cc @github/backup-utils @rubiojr

@rubiojr
Copy link
Member

rubiojr commented Mar 1, 2016

Also fixes #160

@lildude
Copy link
Member

lildude commented Mar 1, 2016

This also fixes https://github.com/github/backup-utils/issues/85

@lildude
Copy link
Member

lildude commented Mar 1, 2016

One thought: we should probably document a minimum bash version. I know things like Solaris still ship with older versions of bash by default. This may not be necessary if we don't take advantage of any newer functionality though.

@snh
Copy link
Member Author

snh commented Mar 1, 2016

One thought: we should probably document a minimum bash version.

👍 I'll do some research and testing to see what baseline we should set.

@rubiojr
Copy link
Member

rubiojr commented Mar 18, 2016

This is looking good to me.

Let's merge this for now and we'll figure out the bash version requirements later. @janorn and @andrewdotn already reported this would work for them and won't be a problem in a reasonably modern Linux distribution with Bash 4.

@snh
Copy link
Member Author

snh commented Mar 18, 2016

Agreed. I suspect that we will have to go back quite a long way in to bash's past to find a minimum version.

Should I go ahead and :shipit: ?

@gnawhleinad
Copy link
Contributor

:shipit:!

snh added a commit that referenced this pull request Mar 19, 2016
@snh snh merged commit c0b0244 into master Mar 19, 2016
@snh snh deleted the snh/use-bash branch March 22, 2016 05:03
cjonsmith pushed a commit that referenced this pull request Sep 22, 2020
Add a reminder to restart/reconfigure runners on restore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants