Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add git hooks and a few changes post migration (#1)
- Loading branch information
Showing
9 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# VisIt | ||
|
||
[![Documentation Status](https://readthedocs.org/projects/visit-sphinx-github-user-manual/badge/?version=latest)](http://visit-sphinx-github-user-manual.readthedocs.io) | ||
|
||
Project Website: https://visit.llnl.gov | ||
|
||
Source code repository for the VisIt Scientific Visualization and Data Analysis Application | ||
|
||
## User Resources | ||
|
||
VisIt Users Wiki: https://www.visitusers.org | ||
|
||
VisIt Users Manual: https://visit-sphinx-user-manual.readthedocs.io/en/latest/index.html | ||
|
||
VisIt Python Manual: https://visit-sphinx-python-manual.readthedocs.io/en/latest/ | ||
|
||
## Developer Resources | ||
|
||
Github Development Info: https://visitusers.org/index.php?title=Github | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
#------------------------------------------------------------------------------ | ||
# Install client-side hooks | ||
#------------------------------------------------------------------------------ | ||
basedir=`git rev-parse --show-toplevel` | ||
hooksdir="$basedir/.git/hooks/" | ||
cp -v $basedir/scripts/git-hooks/pre-commit $hooksdir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
|
||
branch="$(git rev-parse --abbrev-ref HEAD)" | ||
|
||
if [ "$branch" == "develop" ]; then | ||
echo "ERROR: You can't commit directly to the develop branch. Please do work on a feature branch." | ||
exit 1 | ||
fi | ||
|
||
if [[ $branch == *RC ]]; then | ||
echo "ERROR: You can't commit directly to a RC branch. Please do work on a feature branch." | ||
exit 1 | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
git lfs pull --include="data/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
git lfs pull --include="src/*,data/*,test/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
git lfs pull --include="src/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
git lfs pull --include="test/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
biagas, Kathleen Biagas, LLNL | ||
brugger, Eric Brugger, LLNL | ||
cyrush, Cyrus Harrison, LLNL | ||
rusu1, Eddie Rusu, LLNL |