Skip to content

Add missing release notes and the version column - #246

Merged
urfreespace merged 2 commits into
apache:mainfrom
SignorMercurio:fix/release-table
Oct 11, 2022
Merged

urfreespace merged 2 commits into
apache:mainfrom
SignorMercurio:fix/release-table

Conversation

@SignorMercurio

@SignorMercurio SignorMercurio commented Oct 10, 2022 •

Copy link
Copy Markdown
Contributor

This PR add missing release notes for legacy tag releases:

  • 2.5.0
  • 2.6.3
  • 2.9.1

And also add a version column. Note that $DATA/release-*.js are removed as they should be generated during build.

image

@SignorMercurio

Copy link
Copy Markdown
Contributor Author

@urfreespace @Anonymitaet

Signed-off-by: Mercurio <[email protected]>
@urfreespace
urfreespace merged commit 5ca72cc into apache:main Oct 11, 2022
@SignorMercurio
SignorMercurio deleted the fix/release-table branch October 11, 2022 04:14
@tisonkun

Copy link
Copy Markdown
Member

as they should be generated during build.

Please tell me how to. Currently, ./preview.sh or yarn run start gives:

image

@urfreespace

Copy link
Copy Markdown
Member

@SignorMercurio PTAL, suggest don't removing this files; just overwrite these files when building

@tisonkun

Copy link
Copy Markdown
Member

Or you should integrate the automation clearly. Even from this PR, I don't know how to trigger the generate process - then the automation hurts understandability and debuggability.

@tisonkun

Copy link
Copy Markdown
Member

I think it may be by running ./tools/release-json-gen.sh but the relative paths don't work locally.

@tisonkun

Copy link
Copy Markdown
Member

I understood it and succesfully preview. But it should be more intuitive and need no debug. Otherwise any contributor or even the reviewers don't spend time to understand how to troubleshooting it.

@SignorMercurio

Copy link
Copy Markdown
Contributor Author

I see, maybe we should add these files back?

@tisonkun

Copy link
Copy Markdown
Member

You can propose a patch and I'm glad to review it.

There's no a single word to resolve all this kind of issue but keep in mind that scripts and relative paths are already brittle, try to make it modular and try to ensure that contributors can preview with one command in a brand new environment.

@tisonkun

Copy link
Copy Markdown
Member
Error:  Client bundle compiled with errors therefore further build is impossible.


Module not found: Error: Can't resolve '../data/release-pulsar.js' in '/pulsar/site2/website-next/release-notes'
Module not found: Error: Can't resolve '../data/release-java.js' in '/pulsar/site2/website-next/release-notes'
Module not found: Error: Can't resolve '../data/release-python.js' in '/pulsar/site2/website-next/release-notes'
Module not found: Error: Can't resolve '../data/release-cpp.js' in '/pulsar/site2/website-next/release-notes'
Module not found: Error: Can't resolve '../data/release-ws.js' in '/pulsar/site2/website-next/release-notes'
Module not found: Error: Can't resolve '../data/release-go.js' in '/pulsar/site2/website-next/release-notes'
Module not found: Error: Can't resolve '../data/release-node.js' in '/pulsar/site2/website-next/release-notes'
Module not found: Error: Can't resolve '../data/release-cs.js' in '/pulsar/site2/website-next/release-notes'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Build actually failed on this change.

@urfreespace

Copy link
Copy Markdown
Member

@SignorMercurio could you PTAL? thanks

@SignorMercurio

Copy link
Copy Markdown
Contributor Author

Yes, please checkout #247. @tisonkun @urfreespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants