-
Notifications
You must be signed in to change notification settings - Fork 67
Release preparation script #231
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
Open
gilles-peskine-arm
wants to merge
19
commits into
Mbed-TLS:main
Choose a base branch
from
gilles-peskine-arm:prepare-release-py
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
62d48b6
Create a release preparation script
gilles-peskine-arm 8a23efe
Fix absolute path in generated file
gilles-peskine-arm b1fe962
Silence warning about timezone in datetime object
gilles-peskine-arm ec08b35
Create release archive
gilles-peskine-arm de686b6
Release preparation: assemble changelog
gilles-peskine-arm b76dda8
Recognize an empty version section
gilles-peskine-arm e63e602
Release preparation: bump version
gilles-peskine-arm ea3500b
Create draft release notes
gilles-peskine-arm 904f728
Instantiate all steps before starting to run one
gilles-peskine-arm 3888070
Step.edit_file now reports whether it made a change
gilles-peskine-arm 7c857e7
Error out if an invalid step name is specified
gilles-peskine-arm ccf9bc3
Better error message if there are uncommitted changes
gilles-peskine-arm ce09df6
files_are_clean: also consider changes that might be in the index
gilles-peskine-arm c3ffdc4
Change the version argument to --release-version/-r
gilles-peskine-arm 7514b36
Add short options for common options
gilles-peskine-arm d91024c
Add --only-step option (short: -s)
gilles-peskine-arm 3b9aa49
Put default artifact directory under the source tree
gilles-peskine-arm 69d6b4f
Move git submodule gathering to the Info class
gilles-peskine-arm 085fac9
prepare_release: Support for MLDSA submodule
minosgalanakis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why not simply strip it using relpath?
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.
Why do all the work to construct and deconstruct a path when we already know that the end result must be
'framework'? The path is where the files are located relative to the root of the project, not related to the current directory.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.
How about a compromise of 'os.path.join('./', 'framework')' ?
Uh oh!
There was an error while loading. Please reload this page.
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.
That's still wrong, isn't it? It would be
.\frameworkon Windows, AFAIK. But we want a reproducible path. What's wrong with writing'framework'when we mean'framework'?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.
(Mind you, there may be other occurrences of
os.path.jointhat need fixing if we want to have the same output on Windows. I haven't gone and fixed those and I don't want to extend the scope here to Windows support.)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.
No please don't :) I doubt we will be spinning windows executors to build a release