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
[patch] Bump default MINOR and PATCH versions #794
Conversation
since 988d2c1 we certainly changed MINOR and PATCH versions to reflect tag v1.21.1, but it didn't change the default version reflected on 'src/Makefile' properly. this is certainly important for builds which are not depending on git to compile the code (which, tbh ain't a real dependency for ipxe itself) by applying this patch we fix that and from now on "iPXE/1.21.+" will be shown as our user agent instead of the current one: ``` 192.168.123.103 - - [03/Nov/2022:19:13:44 +0000] "GET /ipxe/menu.ipxe HTTP/1.1" 200 2411 "-" "iPXE/1.0.0+" ``` Signed-off by: Vinícius Zavam <egypcio@googlemail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
( Cross reference to #679 )
This instead adds the dependency of updating code for new releases instead of only adding the tag. I'm on the NAK and closing side on this. Will leave it open for now, but will be closing if this stays open without action or comment from @mcb30 |
thank you for your thoughts and feedback @stappersg and @NiKiZe; much appreciated. one little thing I would like to raise if I may is that, IMHO, this small change on the the motivation for me on applying this little change is to support builds like the FreeBSD port I maintain myself - something that builds iPXE in a jail without having |
The risk of introducing inconsistent versions. |
Creating a tag without updating the version in the Makefile is a bug, which this patch will fix. From worse situation to best it's
The other aspect for debugging is the output of git describe. For example:
This reflects it is based on tag 1.20.1. If the version that iPXE shows at run time is inconsistent with that it seems like something is very wrong. Is the user running a different version than they are executing? Other confusion will ensue. 1 nit on the commit: do not use backticks in the description. It should be pure text, not a meta format. |
while here, bump default MINOR and PATCH versions - ipxe/ipxe#794
as you can see, this one was applied to our FreeBSD port already; is there any chance you would merge it in here? |
@NiKiZe: Like I have done my personal ticket, I confirm that it is needed to have new official builds! Linked to: |
Official builds is available at boot.ipxe.org. Official version number uses git master and the git hash as version number. I have no say on the matter, just stating facts. |
Closing, as I don't see that this will be merged. For now the official answer still is, use a full git checkout, with git, and build from git master, which is the code we expect everyone to run if reporting any bugs. |
since 988d2c1 we certainly changed
MINOR and PATCH versions to reflect tag v1.21.1, but it didn't change the default version reflected on 'src/Makefile' properly.
this is certainly important for builds which are not depending on git
to compile the code (which, tbh ain't a real dependency for ipxe itself)
by applying this patch we fix that and from now on "iPXE/1.21.1+" will
be shown as our user agent instead of the current one:
Signed-off-by: Vinícius Zavam egypcio@FreeBSD.org