Skip to content

Commit

Permalink
replace master with main (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jan 22, 2023
1 parent 950a578 commit 6a0fb33
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ updates:
interval: "weekly"
day: "saturday"
open-pull-requests-limit: 20
target-branch: master
target-branch: main

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "sunday"
open-pull-requests-limit: 20
target-branch: master
target-branch: main
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
name: Python Release Build
on:
pull_request:
branches: ["master"]
branches: ["main"]
push:
tags: ["*-rc*"]
branches: ["master"]
branches: ["main"]

jobs:
generate-license:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
id: target-branch
run: |
set -x
if test '${{ github.ref }}' = 'refs/heads/master'; then
if test '${{ github.ref }}' = 'refs/heads/main'; then
echo "value=asf-staging" >> $GITHUB_OUTPUT
elif test '${{ github.ref_type }}' = 'tag'; then
echo "value=asf-site" >> $GITHUB_OUTPUT
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
name: Python test
on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
Expand Down
12 changes: 6 additions & 6 deletions dev/release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The version number in Cargo.toml should be increased, according to semver.

## Update CHANGELOG.md

Define release branch (e.g. `master`), base version tag (e.g. `0.6.0`) and future version tag (e.g. `0.7.0`). Commits
Define release branch (e.g. `main`), base version tag (e.g. `0.6.0`) and future version tag (e.g. `0.7.0`). Commits
between the base version tag and the release branch will be used to populate the changelog content.

You will need a GitHub Personal Access Token for the following steps. Follow
Expand All @@ -34,7 +34,7 @@ to generate one if you do not already have one.

```bash
# create the changelog
CHANGELOG_GITHUB_TOKEN=<TOKEN> ./dev/release/update_change_log-datafusion-python.sh master 0.7.0 0.6.0
CHANGELOG_GITHUB_TOKEN=<TOKEN> ./dev/release/update_change_log-datafusion-python.sh main 0.7.0 0.6.0
# review change log / edit issues and labels if needed, rerun until you are happy with the result
git commit -a -m 'Create changelog for release'
```
Expand All @@ -46,8 +46,8 @@ value of the `--cpus` argument in the `update_change_log.sh` script._
You can add `invalid` or `development-process` label to exclude items from
release notes.

Send a PR to get these changes merged into `master` branch. If new commits that
could change the change log content landed in the `master` branch before you
Send a PR to get these changes merged into `main` branch. If new commits that
could change the change log content landed in the `main` branch before you
could merge the PR, you need to rerun the changelog update script to regenerate
the changelog and update the PR accordingly.

Expand Down Expand Up @@ -87,7 +87,7 @@ on the release. The vote will be open for at least 72 hours.
Only votes from PMC members are binding, but all members of the community are
encouraged to test the release and vote with "(non-binding)".
The standard verification procedure is documented at https://github.com/apache/arrow-datafusion-python/blob/master/dev/release/README.md#verifying-release-candidates.
The standard verification procedure is documented at https://github.com/apache/arrow-datafusion-python/blob/main/dev/release/README.md#verifying-release-candidates.
[ ] +1 Release this as Apache Arrow DataFusion Python 0.7.0
[ ] +0
Expand Down Expand Up @@ -117,7 +117,7 @@ This section assumes some familiary with publishing Python packages to PyPi. For

#### Publish Python Wheels to testpypi

Pushing an `rc` tag to master will cause a GitHub Workflow to run that will build the Python wheels.
Pushing an `rc` tag to main will cause a GitHub Workflow to run that will build the Python wheels.

Go to https://github.com/apache/arrow-datafusion-python/actions and look for an action named "Python Release Build"
that has run against the pushed tag.
Expand Down
2 changes: 1 addition & 1 deletion dev/release/create-tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ on the release. The vote will be open for at least 72 hours.
Only votes from PMC members are binding, but all members of the community are
encouraged to test the release and vote with "(non-binding)".
The standard verification procedure is documented at https://github.com/apache/arrow-datafusion-python/blob/master/dev/release/README.md#verifying-release-candidates.
The standard verification procedure is documented at https://github.com/apache/arrow-datafusion-python/blob/main/dev/release/README.md#verifying-release-candidates.
[ ] +1 Release this as Apache Arrow DataFusion Python ${version}
[ ] +0
Expand Down
2 changes: 1 addition & 1 deletion dev/release/update_change_log-datafusion-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#

# Usage:
# CHANGELOG_GITHUB_TOKEN=<TOKEN> ./update_change_log-datafusion.sh master 8.0.0 7.1.0
# CHANGELOG_GITHUB_TOKEN=<TOKEN> ./update_change_log-datafusion.sh main 8.0.0 7.1.0
# CHANGELOG_GITHUB_TOKEN=<TOKEN> ./update_change_log-datafusion.sh maint-7.x 7.1.0 7.0.0

RELEASE_BRANCH=$1
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
html_context = {
"github_user": "apache",
"github_repo": "arrow-datafusion-python",
"github_version": "master",
"github_version": "main",
"doc_path": "docs/source",
}

Expand Down

0 comments on commit 6a0fb33

Please sign in to comment.