release: v13.0.0#3641
Conversation
I am tired of writing `CHANGELOG.md` myself
|
It seems that this line of document needs to be changed after #3335. |
This comment was marked as resolved.
This comment was marked as resolved.
polarathene
left a comment
There was a problem hiding this comment.
Revisions, I'll apply them 👍
polarathene
left a comment
There was a problem hiding this comment.
I don't have the energy to organize the changelog to better highlight more noteworthy changes, but big kudos to @georglauterbach for taking the time to piece this all together 🙏
|
These two docs updates might be worth squeezing in last minute for this release? If my one is approved before @georglauterbach responds, I'll merge both and update the changelog here 👍 |
|
@polarathene please update this PR (Changelog) and merge. Keep the feature-freeze labels though. I will publish the tag afterwards after I will have updated the release description. |
Adds 3 new PRs, but otherwise categorized changes along with some additional revision to wording of changes.
f30af69
polarathene
left a comment
There was a problem hiding this comment.
I've added the 3 additional PRs, and had some time to better organize the changes for users to sift through 👍
That's bad. A new tag/release should be created directly after merging this PR. At the moment, the update-check notifies about the v13 release, however there isn't a new image to download yet. |
Sorry, I wasn't aware of that and just following instructions 😓 It might be better if we query the github releases for a new release instead? # `-H` => Request JSON response
# `-L` => `releases/latest` is a redirect (unlike direct release tags)
$ curl -LH "accept: application/json" https://github.com/docker-mailserver/docker-mailserver/releases/latest
{"id":42,"tag_name":"v12.1.0","update_url":"...","update_authenticity_token":"...","delete_url":"...","delete_authenticity_token":"...","edit_url":"..."}With that we can probably use $ curl -sLH "accept: application/json" https://github.com/docker-mailserver/docker-mailserver/releases/latest | jq -r .tag_name
v12.1.0Now you have the same value for docker-mailserver/target/scripts/update-check.sh Lines 19 to 20 in b663e10 While unlikely to be an issue, if we ever do make releases that aren't sequential (eg: a If you query the next patch/minor/major ( |
|
Big thanks to everyone involved! This project is definitely the easiest and quickest way of installing a personal or SOHO email server with all the guarantees. Keep on team! 🎆 |
Afaik the API is rate limited. If there are other things running on the same host using the API, that can lead to problems. I would stick with the current approach. Also it's rather unusual to merge the release PR, but not creating a release 😉 |
|
I will take care within the next hours. |
What rate limit?
However, in this case it's just a standard web request to Github. It is effectively no different of a request than the one you're already making for a file at the repo?: Which you default to once a day:
Your approach is what caused the false-positive for a new release being available. The approach I've suggested doesn't have any notable regression but avoids the problem scenario you noticed from occurring? Seems like it'd be better to query the actual latest GH release and compare that to the
Already stated that I was following @georglauterbach request. If the version check is handled the way I've proposed it fixes two release bugs related to It shouldn't matter if there is a delay between a release PR being merged and when a release is officially tagged/published. This had a less than 15hr delay which I have no issue with, nothing else was being merged inbetween. |
|
It is definitely my fault that there is a delay here between the merging of this PR and the release; I apologize for that - it won't happen again. |
Yes, I've things mixed up 👍 My main point was just, that the VERSION file shouldn't be updated, when not making a new release (makes no sense). Just do both at the same time and everything is good. Fixing problems (enhancing the update check) that aren't real problems seemed unnecessary to me. That said, it makes no difference to me checking the version file or the latest release as you suggested. Normally the results shouldn't differ. If you however like to change the check, go for it 👍 Edit: After more thinking, I came to the conclusion, that checking the release is more logical and therefore better.
I didn't want to offense you or Georg in any way. I just wanted to make aware of this and let Georg know, not to delay the release for too long. It's really no big issue to make the release some hours later. We are humans after all.
Again, if I sounded too harsh, that wasn't my intention! ✌️ |
That can be automated: Verbose breakdown
The We could add the expression here to set Reference - Sourcesdocker-mailserver/.github/workflows/generic_publish.yml Lines 78 to 80 in 68a43eb Lines 297 to 299 in 68a43eb Lines 327 to 330 in 68a43eb build-args: |
DMS_RELEASE=${{ github.ref_type == 'tag' && github.ref_name || 'edge' }}
VCS_REVISION=${{ github.sha }}FROM stage-main AS stage-final
ARG DMS_RELEASE=edge
ARG VCS_REVISION=unknown# ARG invalidates cache when it is used by a layer (implicitly affects RUN)
# Thus to maximize cache, keep these lines last:
LABEL org.opencontainers.image.revision=${VCS_REVISION}
LABEL org.opencontainers.image.version=${DMS_RELEASE}
ENV DMS_RELEASE=${DMS_RELEASE}VERSION="${DMS_VERSION}" [[ ${ENABLE_UPDATE_CHECK} -eq 1 && ${DMS_RELEASE} != 'edge' ]] && _register_start_daemon '_start_daemon_update_check'You could of course create the
All concerns related to the update checking script, all resolved by better integration + checking.
Agreed, I'll raise a PR so these concerns don't occur again. EDIT: Done 🚀
🎉
No offense taken! 😄 |

Description
This PR marks the feature freeze phase for the
v13.0.0release.The current
:edgeimage will be tested for roughly 7 days and if no bugs get reported,v13.0.0will be released. During this testing period, only PRs that do not change functionality will be merged.If you want to support us, give the latest
:edgeimage a try and report any issues you encounter back to this PR.Documentation updates may be merged. Feature freeze is in place until 24 Nov 2023.
@polarathene @casperklein please apply suggestions immediately to the branch, no need to ask me if you want to change stuff up; already spent too much time on
CHANGELOG.mdand drafting the releaseType of change
Release-Checklist: