Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AFFIRM.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ rm -r dist/
python setup.py sdist bdist_wheel --universal
twine upload -r artifactory dist/*
```

Example change
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<h1>Development Guide: Main Feast Repository</h1>

> Please see [Development Guide](https://docs.feast.dev/project/development-guide) for project level development instructions, including instructions for Maintainers.

Example change
36 changes: 36 additions & 0 deletions git_setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash

# Ensure necessary packages installed
if [ "$(command -v git)" ]; then
git_version="$(git --version)"
echo "Git is installed. Version: $git_version" && echo
else
echo "Git is missing. Please install it."
exit 1
fi


# Collect user information
GITHUB_PAT=""
GITHUB_EMAIL=""
GITHUB_USERNAME=""

read -rp "Enter your Github Personal Access Token: " GITHUB_PAT

read -rp "Enter your Github email address: " GITHUB_EMAIL

read -rp "Enter your Github username: " GITHUB_USERNAME


# Run git setup commands
git config --global user.email "$GITHUB_EMAIL"
git config --global user.name "$GITHUB_USERNAME"

git config --global credential.helper 'store --file ~/.git-credentials'

git credential approve <<<"protocol=https
host=github.com
username=token
password=$GITHUB_PAT"

echo && echo "Git has been successfully setup!"