Skip to content

Conversation

@dpiparo
Copy link
Member

@dpiparo dpiparo commented Nov 12, 2024

Before this improvement root-project/root@1998f73 they had names like "root_v6.35.01.win64.vc17.zip". After this improvement, i.e. 2024-11-7, "root_v6.35.01.win64.python311.vc17.zip" i.e. they encode the python version.

Before this improvement root-project/root@1998f73
they had names like "root_v6.35.01.win64.vc17.zip". After this improvement,
i.e. 2024-11-7, "root_v6.35.01.win64.python311.vc17.zip" i.e. they
encode the python version.
@dpiparo dpiparo requested a review from bellenot November 12, 2024 15:59
@dpiparo dpiparo self-assigned this Nov 12, 2024
return F"macOS {macOSVers} {arch} Xcode {xcodeVers}"
elif platformCompiler.startswith('win32') or platformCompiler.startswith('win64'):
regexWin = re.compile(r'^win(32|64)[.](vc[0-9]+)(.debug)?')
regexWin = re.compile(r'^win(32|64)[.](python3[0-9]+)[.](vc[0-9]+)(.debug)?')
Copy link
Member

Choose a reason for hiding this comment

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

We don't build debug anymore. Should we distribute relwithdebinfo? Or do we distribute only release binaries?

Copy link
Member Author

Choose a reason for hiding this comment

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

So far we have distributed release binaries: this can be changed if we believe that relwithdebinfo is useful to users. The regex is at the moment harmless, in the sense that in case debug binaries are available, the markdown of the page is generated accordingly. To be 100% correct, one should indeed detect the last part of the binary name and attach it to the name accordingly: release by default, debug in case we have debug binaries and release with debug info (see above necessity criterion)

else:
bitArch = "x64"
return F"Windows Visual Studio {versYear} {bitness}-bit {bitArch} {debug}"
return F"Windows Visual Studio {versYear} {bitness}-bit {bitArch}{debug}"
Copy link
Member

Choose a reason for hiding this comment

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

Same comment here

@dpiparo dpiparo merged commit d3cd565 into main Nov 14, 2024
@dpiparo dpiparo deleted the new_make_releases_page branch November 14, 2024 04:39
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