Uh oh!
There was an error while loading. Please reload this page.
GH-39737: [Release][Docs] Update post release documentation task - #39762
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
kou
left a comment
There was a problem hiding this comment.
+1
Just to confirm, did you try this change?
FYI: You can use dry-run by PUSH=0 dev/release/post-08-docs.sh VERSION PREVIOUS_VERSION.
AlenkaF
commented
Jan 31, 2024
No didn't try, had no idea how to :) Will do as you suggest, thank you! And if it looks good locally, I will go ahead and merge. |
AlenkaF
commented
Jan 31, 2024
@kou, can the post release tasks be run (or dry-run) on MacOS? |
kou
commented
Jan 31, 2024
Yes. It should work on macOS. Because a release manager may use macOS. Did you get any error? |
AlenkaF
commented
Jan 31, 2024
Yes, sorry: |
kou
commented
Feb 1, 2024
Oh, could you try the following? diff --git a/dev/release/post-08-docs.sh b/dev/release/post-08-docs.sh
index f18f7d10c7..a7529fdb2f 100755
--- a/dev/release/post-08-docs.sh+++ b/dev/release/post-08-docs.sh@@ -45,7 +45,16 @@ esac
pushd "${ARROW_SITE_DIR}"
source "${SOURCE_DIR}/git-vars.sh"
-git fetch --all --prune --tags --force -j$(nproc)+n_cpus=1+case $(uname) in+ Linux)+ n_cpus=$(nproc)+ ;;+ Darwin)+ n_cpus=$(sysctl -n hw.logicalcpu)+ ;;+esac+git fetch --all --prune --tags --force -j${n_cpus}
git checkout .
git checkout ${DEFAULT_BRANCH}
git clean -d -f -x |
AlenkaF
commented
Feb 2, 2024
The suggested change fixes the issue 👍 I am dealing with next error currently: Tried adding a fresh clone of |
kou
commented
Feb 2, 2024
Hmm. Could you enable trace log by |
AlenkaF
commented
Feb 5, 2024
Sure. It still just hangs. Something with my connection to GitHub I guess? |
kou
commented
Feb 5, 2024
Ah, you need to enter your passphrase for |
AlenkaF
commented
Feb 5, 2024
Yes, I did. First time it worked, now it gets stuck every time ... |
AlenkaF
commented
Feb 5, 2024
Ha, I tried hitting enter again (twice that is) and got: I just started using ssh key with github so need to check why it is not working. Sorry for the spam! |
kou
commented
Feb 5, 2024
No problem. :-) |
raulcd
left a comment
There was a problem hiding this comment.
I have tested locally and there is one change required (previous_series instead of previous_version) and a couple minor changes in order to split the commits in two so it's easier if we require to review them.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
raulcd
left a comment
There was a problem hiding this comment.
Tested locally with PUSH=0 and it works as expected!
After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 874e596. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
apache#39762) This PR updates the `dev/release/post-08-docs.sh` task so that - `DOCUMENTATION_OPTIONS.theme_switcher_version_match` changes from `""` to `"{previous_version}"` - `DOCUMENTATION_OPTIONS.show_version_warning_banner` changes from `false` to `true` for the documentation that is moved to a subfolder when a new major release is done. * Closes: apache#39737 Lead-authored-by: AlenkaF <frim.alenka@gmail.com> Co-authored-by: Alenka Frim <AlenkaF@users.noreply.github.com> Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
) This PR updates the `dev/release/post-08-docs.sh` task so that - `DOCUMENTATION_OPTIONS.theme_switcher_version_match` changes from `""` to `"{previous_version}"` - `DOCUMENTATION_OPTIONS.show_version_warning_banner` changes from `false` to `true` for the documentation that is moved to a subfolder when a new major release is done. * Closes: #39737 Lead-authored-by: AlenkaF <frim.alenka@gmail.com> Co-authored-by: Alenka Frim <AlenkaF@users.noreply.github.com> Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
This PR updates the
dev/release/post-08-docs.shtask so thatDOCUMENTATION_OPTIONS.theme_switcher_version_matchchanges from""to"{previous_version}"DOCUMENTATION_OPTIONS.show_version_warning_bannerchanges fromfalsetotruefor the documentation that is moved to a subfolder when a new major release is done.