Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-6125. Support Hugo 0.91.0. #2934

Merged
merged 4 commits into from Dec 21, 2021
Merged

Conversation

jojochuang
Copy link
Contributor

What changes were proposed in this pull request?

Update config.yaml for Hugo to whitelist the environment variable OZONE_VERSION following the doc https://gohugo.io/about/security-model/

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-6125

How was this patch tested?

Built locally

@jojochuang
Copy link
Contributor Author

Create this PR to test against older version of Hugo. I was able to build the doc with Hugo 0.91.0 but not sure if the config file is backward compatible.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jojochuang for reporting and fixing the issue. The patch works fine. Please consider some minor suggestions for improvement.

FYI, you can build with old Hugo (0.83.1) locally by running:

OZONE_PREFER_LOCAL_TOOL=false hadoop-ozone/dev-support/checks/docs.sh

hadoop-hdds/docs/config.yaml Outdated Show resolved Hide resolved
hadoop-hdds/docs/config.yaml Outdated Show resolved Hide resolved
hadoop-hdds/docs/config.yaml Outdated Show resolved Hide resolved
jojochuang and others added 3 commits December 20, 2021 16:47
Co-authored-by: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
Co-authored-by: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
Co-authored-by: Doroszlai, Attila <6454655+adoroszlai@users.noreply.github.com>
@jojochuang
Copy link
Contributor Author

Very nice. Thanks for the suggestion!

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jojochuang for updating the patch.

@adoroszlai adoroszlai merged commit 69e8617 into apache:master Dec 21, 2021
@adoroszlai
Copy link
Contributor

Thanks @jojochuang for the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants