| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Refs: nodejs#43946 - Add instructions on updating llhttp version in file maintained only in Node.js repository as it needs to be kept in sync with what is copied from the llhttp repository when an update is made. Signed-off-by: Michael Dawson <mdawson@devrus.com>
|
Review requested:
|
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
| * update the llhttp version number in the project line in CMakeLists.txt | ||
| to match that set in include/llhttp.h |
There was a problem hiding this comment.
I'm surprised we need to do this. AFAICT this should have been updated in the make release step from llhttp: https://github.com/nodejs/llhttp/blob/da60b0bb00b46f0ac58ea48506c6fb6c1b5c112c/Makefile#L54
which should write an updated version of https://github.com/nodejs/llhttp/blob/main/CMakeLists.txt into the release directory.
Sorry, something went wrong.
There was a problem hiding this comment.
ah the TAG stuff looks new nodejs/llhttp#170.
Sorry, something went wrong.
There was a problem hiding this comment.
That does makes sense. If that will be auto updated then we won't need this update. @mcollina is that correct?
Sorry, something went wrong.
There was a problem hiding this comment.
@mcollina, ping?
Sorry, something went wrong.
There was a problem hiding this comment.
@mcollina ping ?
Sorry, something went wrong.
There was a problem hiding this comment.
I believe the step that need to change is line 86.
From
* run `make release` in the directory that you checked out llhttp.
to (manually)
* run `TAG=<version> make release` in the directory that you checked out llhttp.
or (automatic)
* run ``TAG=`node -e \"process.stdout.write(require('./package').version)\"` make release`` in the directory that you checked out llhttp.
Sorry, something went wrong.
There was a problem hiding this comment.
The thing is that if llhttp is properly released and downloaded this should not be done at all. Whoever is importing llhttp should just download it from GitHub and copy over.
Let me figure it out.
Sorry, something went wrong.
There was a problem hiding this comment.
The thing is that if llhttp is properly released and downloaded this should not be done at all.
If the step is about downloading, which will be the tag release/vx.y.z.
For example, https://github.com/nodejs/llhttp/releases/tag/release%2Fv6.0.9
Sorry, something went wrong.
There was a problem hiding this comment.
Exactly. One should not have to download llhttp source and compile locally since we release from GitHub now.
Sorry, something went wrong.
There was a problem hiding this comment.
Side node: I've just updated llhttp to require the RELEASE variable when running releases command manually, so now CMakeList.txt, llhttp.h and package.json should all report the same version.
Sorry, something went wrong.
There was a problem hiding this comment.
If this isn't resolved otherwise.
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
|
@ShogunPanda, I'll try to pull the suggestions from another thread into this PR sometime this week so we can get it landed. |
Sorry, something went wrong.
Sorry, something went wrong.
|
@ShogunPanda thanks, closing this one. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Refs: #43946
file maintained only in Node.js repository as it
needs to be kept in sync with what is copied from
the llhttp repository when an update is made.
Signed-off-by: Michael Dawson mdawson@devrus.com