-
Notifications
You must be signed in to change notification settings - Fork 644
Some belated spring-cleaning of please.sh
#654
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
base: main
Are you sure you want to change the base?
Conversation
It has been removed from Git for Windows, and even before that, it was unsupported for several years. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
We used to upgrade packages using a single command, but that did not integrate well with GitHub Actions. Therefore we now have the system where the `monitor-components.yml` workflow monitors for new versions, opening new tickets if there are, the `/open pr` commands can be used in those tickets to open Pull Requests in MINGW-packages, MSYS2-packages or build-extra, and the `/add release-note` command can then update the release notes. Therefore we do not need that old shell function anymore. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This function was used to prepare the release notes and the announcement mail in the Azure Pipelines in which Git for Windows was released. However, nowadays this task is performed elsewhere, specifically https://github.com/git-for-windows/git-for-windows-automation/blob/main/update-scripts/tag-git.sh For that reason, we do not need to carry this function anymore. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This logic was used in Azure Pipelines to finalize the release notes before releasing new Git for Windows versions. These days, that job is performed elsewhere, specifically in https://github.com/git-for-windows/git-for-windows-automation/blob/56d8604016d6/update-scripts/tag-git.sh#L55-L62 So let's retire that function (and some support functions, too). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
These packages are no longer built using `please.sh`, but using scripts contained in https://github.com/git-for-windows/git-for-windows-automation. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The Coverity stuff now lives in upstream Git's `coverity.yml` workflow. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
That logic now lives in https://github.com/git-for-windows/git-for-windows-automation/blob/main/update-scripts/tag-git.sh Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This was used in the release process that has migrated completely to git-for-windows-automation, and in the Coverity stuff (which has moved to upstream Git anyway). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The process to upstream `mingw-w64-git` to the MSYS2 project will have to be done very, very differently now. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
|
@rimrul @mjcheetham gentle ping? I know this is a large diff... |
rimrul
left a comment
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.
We should probably keep sign_files(). Other than that, there are some cases where functions are delete before their callers, but that probably doesn't matter.
| require mingw-w64-i686-asciidoctor | ||
| } | ||
|
|
||
| pkg_build () { |
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.
| } | ||
|
|
||
| # require <metapackage> <telltale> | ||
| require () { |
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.
| } | ||
|
|
||
| # set_package <package> | ||
| set_package () { |
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.
| done | ||
| } | ||
|
|
||
| process_keep_despite_upgrade () { # [--keep] <sdk-path> |
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.
| test t = "$independent_shell" | ||
| } | ||
|
|
||
| prepare_keep_despite_upgrade () { # <sdk-path> |
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.
| die "Could not update 32-bit SDK's release notes\n" | ||
| } | ||
|
|
||
| sign_files () { |
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.
release_sdk() is a remaining caller of sign_files().
Over the years, a lot of the functionality in that monster of a Unix shell script has been moved and/or reimplemented elsewhere. It's time to clean up.