diff --git a/.asf.yaml b/.asf.yaml index 575b349c3b10..ccef7dcbb4e5 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -27,6 +27,7 @@ github: protected_branches: main: {} + branch_11x: {} branch_10_0: {} branch_10_1: {} branch_10_2: {} diff --git a/.github/workflows/run-checks-all.yml b/.github/workflows/run-checks-all.yml index 232cff79a14c..50626abf3569 100644 --- a/.github/workflows/run-checks-all.yml +++ b/.github/workflows/run-checks-all.yml @@ -10,7 +10,7 @@ on: push: branches: - 'main' - - 'branch_10x' + - 'branch_11x' schedule: - cron: '44 1 * * *' diff --git a/.github/workflows/run-checks-gradle-upgrade.yml b/.github/workflows/run-checks-gradle-upgrade.yml index f31302b4b0a6..11a6e552faf2 100644 --- a/.github/workflows/run-checks-gradle-upgrade.yml +++ b/.github/workflows/run-checks-gradle-upgrade.yml @@ -6,7 +6,7 @@ on: pull_request: branches: - 'main' - - 'branch_10x' + - 'branch_11x' paths: - '.github/workflows/run-checks-gradle-upgrade.yml' - 'gradle/wrapper/**' @@ -17,7 +17,7 @@ on: push: branches: - 'main' - - 'branch_10x' + - 'branch_11x' paths: - '.github/workflows/run-checks-gradle-upgrade.yml' - 'gradle/wrapper/**' diff --git a/.github/workflows/run-checks-mod-analysis-common-hunspell.yml b/.github/workflows/run-checks-mod-analysis-common-hunspell.yml index 82eee0629703..034168a5e85f 100644 --- a/.github/workflows/run-checks-mod-analysis-common-hunspell.yml +++ b/.github/workflows/run-checks-mod-analysis-common-hunspell.yml @@ -6,7 +6,7 @@ on: pull_request: branches: - 'main' - - 'branch_10x' + - 'branch_11x' paths: - '.github/workflows/run-checks-mod-analysis-common.yml' - 'lucene/analysis/common/**' @@ -14,7 +14,7 @@ on: push: branches: - 'main' - - 'branch_10x' + - 'branch_11x' paths: - '.github/workflows/run-checks-mod-analysis-common.yml' - 'lucene/analysis/common/**' diff --git a/.github/workflows/run-checks-mod-distribution.tests.yml b/.github/workflows/run-checks-mod-distribution.tests.yml index 27f9417c23fc..aa407c5b2a1d 100644 --- a/.github/workflows/run-checks-mod-distribution.tests.yml +++ b/.github/workflows/run-checks-mod-distribution.tests.yml @@ -6,12 +6,12 @@ on: pull_request: branches: - 'main' - - 'branch_10x' + - 'branch_11x' push: branches: - 'main' - - 'branch_10x' + - 'branch_11x' permissions: {} diff --git a/.github/workflows/run-checks-python.yml b/.github/workflows/run-checks-python.yml index bfedda62e3f4..0cb7b28158c4 100644 --- a/.github/workflows/run-checks-python.yml +++ b/.github/workflows/run-checks-python.yml @@ -6,7 +6,7 @@ on: pull_request: branches: - 'main' - - 'branch_10x' + - 'branch_11x' paths: - '.github/workflows/run-checks-python.yml' - 'dev-tools/scripts/**' @@ -14,7 +14,7 @@ on: push: branches: - 'main' - - 'branch_10x' + - 'branch_11x' paths: - '.github/workflows/run-checks-python.yml' - 'dev-tools/scripts/**' diff --git a/.github/workflows/run-special-checks-sandbox.yml b/.github/workflows/run-special-checks-sandbox.yml index 72ac1a8cefdf..c34bb407c875 100644 --- a/.github/workflows/run-special-checks-sandbox.yml +++ b/.github/workflows/run-special-checks-sandbox.yml @@ -10,7 +10,7 @@ on: push: branches: - 'main' - - 'branch_10x' + - 'branch_11x' permissions: {} diff --git a/dev-docs/working-between-major-versions.adoc b/dev-docs/working-between-major-versions.adoc index 0a42299f252f..832ef62394ef 100644 --- a/dev-docs/working-between-major-versions.adoc +++ b/dev-docs/working-between-major-versions.adoc @@ -28,10 +28,10 @@ https://git-scm.com/docs/git-worktree[Git worktree] is a feature of git that all store separate checkouts of the same repository, at the same time. The git metadata is shared between the different directories, so any remotes added or local commits made from one worktree are available to all other worktrees as well. -For Lucene, this allows us to have separate directories (worktrees) that manage the checkouts of `main` and `branch_8x` +For Lucene, this allows us to have separate directories (worktrees) that manage the checkouts of `main` and `branch_11x` (or any other major branch). One can make a commit on `main`, then easily switch directories and cherry-pick the commit -onto `branch_8x` without having to worry about gradle or ant files. This setup also allows the commit to be tested on -`main` and `branch_8x` simultaneously. +onto `branch_11x` without having to worry about gradle or ant files. This setup also allows the commit to be tested on +`main` and `branch_11x` simultaneously. === Setup @@ -51,7 +51,7 @@ cd lucene git clone git@github.com:apache/lucene.git main cd main # For each branch that you want a separate directory created for, add a worktree -git worktree add ../10x branch_10x +git worktree add ../11x branch_11x ---- === Using the Worktrees