-
Notifications
You must be signed in to change notification settings - Fork 128
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
Pull release notes from keycloak-client
repository
#548
base: main
Are you sure you want to change the base?
Conversation
@jonkoops I have issue that things don't work on my laptop. With building on my laptop It works as expected until this point (It starts to be really slow after the line
I am attaching the file
It is possible it is something specific to my laptop, however we should probably make sure that things are build in the reasonable time on all laptops (For me, after 10 minutes it is still stucked ) I don't have much comments to the changes. They look OK to me as long as they are working as expected. |
b29d3a4
to
4da3487
Compare
Not all builders have been ported over yet so comment out all the builders except the I am working on fixing up the other builders, as well as the GitHub release notes builder that needs to be generalized as well on the same manner. For now I am looking for feedback in the implementation of sourcing releases, and if it makes sense to build further on it. |
@jonkoops Yes, to me the approach is OK. We just need to make sure that it is not stucked on various laptops like it is currently on mine. But if you know how to fix it, the approach works for me. |
8e4acac
to
43eeb55
Compare
This is now in a place where it can be largely reviewed. The only major part that still needs to be done is converting the blogs builder and related code to pull in the generated files that are there so far. |
43eeb55
to
cd6ce91
Compare
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.
@jonkoops Nice, Thanks for the update!
I've added 2 comments inline. Besides that, I've tried the PR and have few additional comments:
- Every keycloak-client release generates blog-post with the title like
Keycloak 26.0.4 released
. But the title should be rather something likeKeycloak client 26.0.4 released
orKeycloak client libraries 26.0.4 released
? - The generated blog-post has something like this at the beginning:
To download the release go to [Keycloak downloads].
. This line should not be there for keycloak-client releases as there is not any keycloak-client download available among downloads. It should be there just for the server releases though - Link to the upgrading guide is probably incorrect in keycloak-client posts (added the comment inline about that too)
- It may be good to remove the blog-post https://github.com/keycloak/keycloak-web/blob/main/blog/2025/keycloak-client-2604.adoc in this PR? I've added this blog-post manually for the keycloak-client 26.0.4 release, but with your PR, we will have keycloak-client release blog-posts automatically generated, so we don't need that manual blog-post anymore to avoid having duplicated blog-post for keycloak-client 26.0.4 release?
CURRENT=`cat pom.xml | grep '<version.keycloak.client>' | cut -d '>' -f 2 | cut -d '<' -f 1` | ||
LATEST=`echo -e "$CURRENT\n$VERSION" | sort -V -r | head -n 1` | ||
|
||
sed -i "s|<version.keycloak.client>$CURRENT</version.keycloak.client>|<version.keycloak.client>$LATEST</version.keycloak.client>|g" pom.xml |
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.
sed -i "s|<version.keycloak.client>$CURRENT</version.keycloak.client>|<version.keycloak.client>$LATEST</version.keycloak.client>|g" pom.xml | |
mvn versions:set-property -Dproperty=version.keycloak.client -DnewVersion=$LATEST -DgenerateBackupPoms=false |
Minor suggestion: Probably slightly better to do this with maven
<div> | ||
|
||
<h2>Upgrading</h2> | ||
<p>Before upgrading refer to <a href="https://www.keycloak.org/docs/latest/upgrading/index.html#migration-changes">the migration guide</a> for a complete list of changes.</p> |
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.
This link should probably go to https://www.keycloak.org/securing-apps/upgrading ?
I am pretty sure that location https://www.keycloak.org/docs/latest/upgrading/index.html#migration-changes is not correct as it contains server-specific upgrading notes related to the Keycloak server. Right now, we don't have any version specific upgrades for keycloak-client in https://www.keycloak.org/securing-apps/upgrading , but we can possibly add them to this file in the future if we have some backwards incompatible changes needed for the client. That file is rendered from the keycloak-client repository ( https://github.com/keycloak/keycloak-client/blob/main/docs/guides/securing-apps/upgrading.adoc ), so we can easily add any client specific updates there.
cd6ce91
to
f8c7f7e
Compare
Closes keycloak#547 Signed-off-by: Jon Koops <[email protected]>
f8c7f7e
to
69ec5a8
Compare
Work in progress PR to start sourcing release notes from other repositories in the organization, in this case the
keycloak-client
repository,Closes #547