-
-
Notifications
You must be signed in to change notification settings - Fork 692
Fix creation of releases #40840
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: develop
Are you sure you want to change the base?
Fix creation of releases #40840
Conversation
8069f9f to
a619c02
Compare
|
Documentation preview for this PR (built with commit f2b0b0b; changes) is ready! 🎉 |
|
You do not restore the code you removed, which was introduced by the PR #39194. Did you consider the problem the PR solved to prepare the present PR? |
This seems unnecessary since we already have https://github.com/sagemath/sage/releases which is specifically for releases and where people would reasonably expect to find releases. I'd prefer if we didn't duplicate information unnecessarily and kept release announcements in the standard place for releases on GitHub. I also think that we could be making better use of GitHub Discussions than we are now, and I think this would clutter it with unnecessary announcements. I don't know enough about the build and release process to comment on the rest of this, I'll leave that for others. |
Do you mean to say that the current PR does not do the generation of release notes, Anyway, #39194 had some very verbose code to do something which looks like a rather standard GitHub Action to upload a build artifact. Actually, a more mainstream |
If you think there is a benefit to announcing releases on GitHub Discussions to be discussed there (would this replace or be in addition to the sage-release mailing list?) then I'd prefer a dedicated category for this like "Releases" instead of putting it in the general announcements. |
|
@tobiasdiez - would you add a call to https://github.com/marketplace/actions/release-notes-action here, or in a followup? |
|
oops, sorry, it's actually looking fine. There is |
No.
#39194 solved the problem raised in sagemath/website#480 (comment). To solve the problem, #39194 replaced the action Then #40709 replaced the "very verbose code" with
The present PR, as a sequel to #40709, should present a solution to both problems (sagemath/website#480 (comment) |
|
There are discussions going on. @vincentmacri has some questions, not answered yet. @dimpase Why did you give "positive review" prematurely? |
This comment was marked as abuse.
This comment was marked as abuse.
|
@kwankyu this is good as is. If you want to improve, open a follow up PR. |
|
OK. You moved it. Looks okay. But that is another thing to watch to see if it works well. |
sagemathgh-40843: Restore release notes creation step <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> fixes the issue discussed in https://groups.google.com/g/sage- devel/c/LFfhN0CpGJ8. However, we retain the idea of sagemath#40709 that a github release is made only in one step in the workflow. Previously, before sagemath#40709, a github release was made in two steps "Create release" and "Create release assets". This strategy worked well but started failing some months ago. Test (with sagemath#40840): https://github.com/kwankyu/sage/actions/runs/17846547780. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#40843 Reported by: Kwankyu Lee Reviewer(s):
|
Why is this disputed? Anything to dispute here? |
|
It's disputed because @kwankyu put the disputed label on. |
|
(1) As #40843 is to be merged soon, the present PR needs to avoid merge conflicts with it. (2) I object to adding If these two issues are cleared, then I will not object to this PR. That is, I would give 0 vote. |
|
what is the 2nd issue? |
|
(2) |
|
I just objected to (1). I think it should not get in in this form. It uses some low-lever hacks using a probably unstable API, and the issue it is supposed to solve should not be solved this way |
@saraedum - I am objecting to #40843 being merged. Therefore (1) cannot be an objection. I also don't understand what kind of objection is (2). Yes, another communication channel is created. What's wrong with it? |
|
In my function as a member of the Code of Conduct Committee I can only repeat that you should cast your vote here if you want to see this merged. As a member of the SageMath developer community, I have not looked into the details of this PR and the other PRs linked. Once the voting starts, I'll probably sit down and look into the details and will then likely cast a vote myself as well. |
Really?? You 'dispute' this PR here because it creates merge conflicts with one of your own PRs??
How did you handled the sage-devel announcement when opening the GH discussions to the public (#38337)? |
sagemathgh-40843: Restore release notes creation step <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> fixes the issue discussed in https://groups.google.com/g/sage- devel/c/LFfhN0CpGJ8. However, we retain the idea of sagemath#40709 that a github release is made only in one step in the workflow. Previously, before sagemath#40709, a github release was made in two steps "Create release" and "Create release assets". This strategy worked well but started failing some months ago. Test (with sagemath#40840): https://github.com/kwankyu/sage/actions/runs/17846547780. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#40843 Reported by: Kwankyu Lee Reviewer(s):
No. I meant this PR needs work.
That was intended to "add". This one is intended to "experiment" and "replace". |
No. What you said is this PR must be rebased on your PR, or else it will be kept disputed by you.
and this one is an experiement, too |
This PR also only adds another way to announce releases... (with the long term goal to experiment with it as a replacement for sage-release, but that idea will be further discussed on sage-devel in the future) Btw, your #38337 also was experimental, to cite: "Sage Discussions is currently an experimental service" |
No need to explain your plan. I know your plan. I object to it. As this PR is disputed, you have to draw developers, perhaps from sage-devel, to support your plan. |
Yes, because I worried that the service could be abused. That did not happen. I worry that your experiment may disrupt sage-release. |
@kwankyu One does not give in to unreasonable demands. Your demands here are frivolous, and thus an obvious and meaningless disruption of the development process. @saraedum @tobiasdiez @jhpalmieri - please convene a meeting of the Code of Conduct committee to discuss this matter. Or else, indeed, I will be posting on various forums about it. |
|
How about this PR? we should fix the release workflow so we can host all tar in github |
Check out the alternative PR #41128. |
sagemathgh-41128: Fix release github workflow <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Having numerical backends (coin, cplex, gurobi) packages have their own versions is enough to fix the release github workflow. This PR is a light alternative to sagemath#40840, which was stalled. TEST: https://github.com/kwankyu/sage/actions/runs/19058005100 Test release with tarballs: https://github.com/kwankyu/sage/releases/tag/100.2.beta4 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41128 Reported by: Kwankyu Lee Reviewer(s): Dima Pasechnik
sagemathgh-41128: Fix release github workflow <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Having numerical backends (coin, cplex, gurobi) packages have their own versions is enough to fix the release github workflow. This PR is a light alternative to sagemath#40840, which was stalled. TEST: https://github.com/kwankyu/sage/actions/runs/19058005100 Test release with tarballs: https://github.com/kwankyu/sage/releases/tag/100.2.beta4 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41128 Reported by: Kwankyu Lee Reviewer(s): Dima Pasechnik
sagemathgh-41128: Fix release github workflow <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Having numerical backends (coin, cplex, gurobi) packages have their own versions is enough to fix the release github workflow. This PR is a light alternative to sagemath#40840, which was stalled. TEST: https://github.com/kwankyu/sage/actions/runs/19058005100 Test release with tarballs: https://github.com/kwankyu/sage/releases/tag/100.2.beta4 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41128 Reported by: Kwankyu Lee Reviewer(s): Dima Pasechnik
sagemathgh-41128: Fix release github workflow <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Having numerical backends (coin, cplex, gurobi) packages have their own versions is enough to fix the release github workflow. This PR is a light alternative to sagemath#40840, which was stalled. TEST: https://github.com/kwankyu/sage/actions/runs/19058005100 Test release with tarballs: https://github.com/kwankyu/sage/releases/tag/100.2.beta4 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41128 Reported by: Kwankyu Lee Reviewer(s): Dima Pasechnik
sagemathgh-41128: Fix release github workflow <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Having numerical backends (coin, cplex, gurobi) packages have their own versions is enough to fix the release github workflow. This PR is a light alternative to sagemath#40840, which was stalled. TEST: https://github.com/kwankyu/sage/actions/runs/19058005100 Test release with tarballs: https://github.com/kwankyu/sage/releases/tag/100.2.beta4 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41128 Reported by: Kwankyu Lee Reviewer(s): Dima Pasechnik
sagemathgh-41128: Fix release github workflow <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Having numerical backends (coin, cplex, gurobi) packages have their own versions is enough to fix the release github workflow. This PR is a light alternative to sagemath#40840, which was stalled. TEST: https://github.com/kwankyu/sage/actions/runs/19058005100 Test release with tarballs: https://github.com/kwankyu/sage/releases/tag/100.2.beta4 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41128 Reported by: Kwankyu Lee Reviewer(s): Dima Pasechnik
As was pointed out on sage-devel, the creation of the release stopped working.
It appears there are actual multiple problems:
All of these issues are fixed as follows:
As a small bonus new releases are also automatically announced under a new 'Release' category in the GH discussions. The idea being that after some initial try-out phase to propose to replace sage-release with those GH announcements by a vote/discussion on sage-devel (if that I idea is turned down, it's very easy to retire the automatic creation of the announcements again).
Also the workflow is renamed to "release" to make it easier to find.
📝 Checklist
⌛ Dependencies