Skip to content

Commit 227c556

Browse files
committed
Merge branch '7.0.x' into 7.0.x-buildSettingsFix
2 parents 47c7d0a + b5224d9 commit 227c556

File tree

160 files changed

+912
-418
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+912
-418
lines changed

.github/vote_templates/announce.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ The Apache Grails community is pleased to announce the release of Apache Grails
22

33
Grails is a powerful Groovy-based web application framework for the JVM built on top of Spring Boot that has many plugins to further extend its functionality.
44

5-
This release another milestone on our journey to a final 7.0 release. Users are encouraged to try the milestone to provide early feedback. Detailed upgrade instructions are available here: https://docs.grails.org/${VERSION}/guide/upgrading.html
5+
This release another milestone on our journey to a final 7.0 release. Users are encouraged to try the milestone to provide early feedback. Detailed upgrade instructions are available here: https://grails.apache.org/docs/${VERSION}/guide/upgrading.html
66

77
The release notes are available here:
88
<blog post link>

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
java-version: 17
6565
# Initializes the CodeQL tools for scanning.
6666
- name: Initialize CodeQL
67-
uses: github/codeql-action/init@v3
67+
uses: github/codeql-action/init@v4
6868
with:
6969
languages: ${{ matrix.language }}
7070
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -75,7 +75,7 @@ jobs:
7575
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
7676
# If this step fails, then you should remove it and run the build manually (see below)
7777
- name: Autobuild
78-
uses: github/codeql-action/autobuild@v3
78+
uses: github/codeql-action/autobuild@v4
7979

8080
# ℹ️ Command-line programs to run using the OS shell.
8181
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -89,4 +89,4 @@ jobs:
8989
# make release
9090

9191
- name: Perform CodeQL Analysis
92-
uses: github/codeql-action/analyze@v3
92+
uses: github/codeql-action/analyze@v4

.github/workflows/release.yml

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ jobs:
129129
- name: "📤 Upload grails wrapper ZIP"
130130
uses: softprops/action-gh-release@v2
131131
with:
132+
tag_name: ${{ github.event.release.tag_name }}
132133
files: |
133134
grails-wrapper/build/distributions/apache-grails-wrapper-${{ steps.release_version.outputs.value }}-bin.zip
134135
grails-wrapper/build/distributions/apache-grails-wrapper-${{ steps.release_version.outputs.value }}-bin.zip.sha512
@@ -150,6 +151,7 @@ jobs:
150151
- name: "📤 Upload CLI ZIP"
151152
uses: softprops/action-gh-release@v2
152153
with:
154+
tag_name: ${{ github.event.release.tag_name }}
153155
files: |
154156
grails-forge/grails-cli/build/distributions/apache-grails-${{ steps.release_version.outputs.value }}-bin.zip
155157
grails-forge/grails-cli/build/distributions/apache-grails-${{ steps.release_version.outputs.value }}-bin.zip.sha512
@@ -241,6 +243,7 @@ jobs:
241243
- name: "Upload combined checksums"
242244
uses: softprops/action-gh-release@v2
243245
with:
246+
tag_name: ${{ github.event.release.tag_name }}
244247
files: build/CHECKSUMS.txt
245248
env:
246249
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -253,6 +256,7 @@ jobs:
253256
- name: "Upload combined published artifacts"
254257
uses: softprops/action-gh-release@v2
255258
with:
259+
tag_name: ${{ github.event.release.tag_name }}
256260
files: build/PUBLISHED_ARTIFACTS.txt
257261
env:
258262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -261,6 +265,7 @@ jobs:
261265
- name: "Upload Build Date file"
262266
uses: softprops/action-gh-release@v2
263267
with:
268+
tag_name: ${{ github.event.release.tag_name }}
264269
files: build/BUILD_DATE.txt
265270
env:
266271
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -334,7 +339,7 @@ jobs:
334339
- name: "🚀 Upload ZIP and Signature to GitHub Release"
335340
uses: softprops/action-gh-release@v2
336341
with:
337-
tag_name: v${{ needs.publish.outputs.release_version }}
342+
tag_name: ${{ github.event.release.tag_name }}
338343
files: |
339344
apache-grails-*-src.zip
340345
apache-grails-*-src.zip.sha512
@@ -456,6 +461,7 @@ jobs:
456461
- name: "Upload Distribution SVN revision"
457462
uses: softprops/action-gh-release@v2
458463
with:
464+
tag_name: ${{ github.event.release.tag_name }}
459465
files: dev-repo/DIST_SVN_REVISION.txt
460466
env:
461467
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -472,8 +478,9 @@ jobs:
472478
run: |
473479
export DIST_SVN_REVISION=$(awk '/Last Changed Rev:/ {print $4}' dev-repo/DIST_SVN_REVISION.txt)
474480
echo "::group::Grails PMC Vote Email"
481+
echo "Subject:"
475482
echo "*************************************************"
476-
echo "Subject: [VOTE] Release Apache Grails ${VERSION}"
483+
echo "[VOTE] Release Apache Grails ${VERSION}"
477484
echo "*************************************************"
478485
echo "Body:"
479486
echo "*************************************************"
@@ -529,6 +536,16 @@ jobs:
529536
needs: [ publish, source, upload ] # TODO Once we have confirmed release won't fail, add it as a dependency here
530537
runs-on: ubuntu-24.04
531538
steps:
539+
- name: Maximize build space
540+
uses: easimon/maximize-build-space@c28619d8999a147d5e09c1199f84ff6af6ad5794
541+
with:
542+
root-reserve-mb: 3072 # Leave ~3 GB on root FS
543+
swap-size-mb: 2048 # Allocate 2 GB swap (default: 4 GB; reduce if not needed)
544+
remove-dotnet: 'true' # Remove .NET SDK (~3-4 GB savings)
545+
remove-android: 'true' # Remove Android tools (~2 GB savings)
546+
remove-haskell: 'true' # Remove Haskell (~1 GB savings)
547+
remove-codeql: 'true' # Remove CodeQL (~500 MB savings)
548+
remove-docker-images: 'false' # Prune Docker if used (~1-2 GB savings)
532549
- name: "📥 Checkout repository"
533550
uses: actions/checkout@v4
534551
with:
@@ -554,10 +571,12 @@ jobs:
554571
uses: apache/grails-github-actions/deploy-github-pages@asf
555572
env:
556573
GH_TOKEN: ${{ secrets.GRAILS_GHTOKEN }}
557-
TARGET_REPOSITORY: 'apache/grails-doc'
558574
GRADLE_PUBLISH_RELEASE: 'true'
559575
SOURCE_FOLDER: grails-doc/build/docs
560576
VERSION: ${{ needs.publish.outputs.release_version }}
577+
TARGET_REPOSITORY: 'apache/grails-website'
578+
TARGET_FOLDER: 'docs'
579+
DOCUMENTATION_BRANCH: 'asf-site-production'
561580
sdkman:
562581
environment: sdkman
563582
name: "VOTE SUCCEEDED - Release to SDKMAN!"
@@ -634,14 +653,13 @@ jobs:
634653
VERSION_COMMIT_ID: ${{ needs.publish.outputs.commit_hash }}
635654
PREVIOUS_VERSION: 'TODO_PREVIOUS_VERSION'
636655
run: |
637-
export DIST_SVN_REVISION=$(awk '/Last Changed Rev:/ {print $4}' dev-repo/DIST_SVN_REVISION.txt)
638-
639656
echo "::group::Announcement Email"
657+
echo "Subject:"
640658
echo "*************************************************"
641-
echo "Subject: [ANNOUNCE] Apache Grails ${VERSION}"
659+
echo "[ANNOUNCE] Apache Grails ${VERSION}"
642660
echo "*************************************************"
643661
echo "Body:"
644662
echo "*************************************************"
645-
cat grails-core/.github/vote_templates/announce.txt | envsubst
663+
cat .github/vote_templates/announce.txt | envsubst
646664
echo "*************************************************"
647665
echo "::endgroup::"

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ limitations under the License.
1919

2020
First off, thanks for taking the time to contribute! ❤️
2121

22-
Grails is an open source project with an active community and we rely heavily on that community to help make Grails better. As such, there are various ways in which people can contribute to Grails. One of these is by [writing useful plugins](https://docs.grails.org/latest/guide/plugins.html) and making them publicly available.
22+
Grails is an open source project with an active community and we rely heavily on that community to help make Grails better. As such, there are various ways in which people can contribute to Grails. One of these is by [writing useful plugins](https://grails.apache.org/docs/latest/guide/plugins.html) and making them publicly available.
2323

2424
All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉
2525

@@ -49,7 +49,7 @@ All types of contributions are encouraged and valued. See the [Table of Contents
4949

5050
## I Have a Question
5151

52-
> If you want to ask a question, we assume that you have read the available [Documentation](https://docs.grails.org/latest/).
52+
> If you want to ask a question, we assume that you have read the available [Documentation](https://grails.apache.org/docs/latest/).
5353
5454
Before you ask a question, it is best to search for existing [Issues](https://github.com/apache/grails-core/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
5555

@@ -63,7 +63,7 @@ If you then still feel the need to ask a question and need clarification, we rec
6363

6464
## I Want to Write a Grails Plugin
6565

66-
[Grails Plugins](https://docs.grails.org/latest/guide/plugins.html) are similar to a Grails Application project, but they include a plugin descriptor and package shared functionality for other Grails Applications to use. More information can be found [here](https://docs.grails.org/latest/guide/plugins.html#creatingAndInstallingPlugins).
66+
[Grails Plugins](https://grails.apache.org/docs/latest/guide/plugins.html) are similar to a Grails Application project, but they include a plugin descriptor and package shared functionality for other Grails Applications to use. More information can be found [here](https://grails.apache.org/docs/latest/guide/plugins.html#creatingAndInstallingPlugins).
6767

6868
## I Want to Contribute
6969

@@ -79,7 +79,7 @@ If you then still feel the need to ask a question and need clarification, we rec
7979
A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.
8080

8181
- Make sure that you are using the latest version.
82-
- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](https://docs.grails.org/latest/). If you are looking for support, you might want to check [this section](#i-have-a-question)).
82+
- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](https://grails.apache.org/docs/latest/). If you are looking for support, you might want to check [this section](#i-have-a-question)).
8383
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/apache/grails-coreissues?q=label%3Abug).
8484
- Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue.
8585
- Collect information about the bug:
@@ -116,7 +116,7 @@ This section guides you through submitting an enhancement suggestion for Grails,
116116
#### Before Submitting an Enhancement
117117

118118
- Make sure that you are using the latest version.
119-
- Read the [documentation](https://docs.grails.org/latest/) carefully and find out if the functionality is already covered, maybe by an individual configuration.
119+
- Read the [documentation](https://grails.apache.org/docs/latest/) carefully and find out if the functionality is already covered, maybe by an individual configuration.
120120
- Perform a [search](https://github.com/apache/grails-core/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
121121
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.
122122

@@ -193,9 +193,9 @@ By default, Grails forks a JVM to run the application. The `-debug-jvm` argument
193193

194194
### Improving The Documentation
195195

196-
There are many aspects to [Grail's documentation](https://docs.grails.org/)
197-
- [API](https://docs.grails.org/latest/api/) documentation in the code itself via javadoc & groovydoc.
198-
- [The Grails User Guide](https://docs.grails.org/latest/guide/single.html) from the `grails-doc` project in this
196+
There are many aspects to [Grail's documentation](https://grails.apache.org/docs/)
197+
- [API](https://grails.apache.org/docs/latest/api/) documentation in the code itself via javadoc & groovydoc.
198+
- [The Grails User Guide](https://grails.apache.org/docs/latest/guide/single.html) from the `grails-doc` project in this
199199
repository.
200200
- Various how-to [Guides](https://guides.grails.org/index.html) from
201201
the [grails-guides](https://github.com/grails-guides) Organization.

INSTALL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Grails Installation Guide
22
=======================
33

4-
Grails is a powerful Groovy-based web application framework for the JVM built on top of Spring Boot that has many plugins to further extend its functionality. The full documentation for how to install Grails via different mechanisms and use it can be found at `https://docs.grails.org/latest`. This document specifically covers the basic building and installation of Grails from a source distribution.
4+
Grails is a powerful Groovy-based web application framework for the JVM built on top of Spring Boot that has many plugins to further extend its functionality. The full documentation for how to install Grails via different mechanisms and use it can be found at `https://grails.apache.org/docs/latest`. This document specifically covers the basic building and installation of Grails from a source distribution.
55

66
How to use the source distribution
77
------------------------------

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
# Apache Grails
1818

19-
[![Documentation](https://img.shields.io/badge/Documentation-595959)](https://docs.grails.org)
19+
[![Documentation](https://img.shields.io/badge/Documentation-595959)](https://grails.apache.org/docs/)
2020
[![Develocity](https://img.shields.io/badge/Develocity-06A0CE?logo=Gradle&labelColor=06A0CE)](https://ge.grails.org/scans)
2121
[![CI](https://github.com/apache/grails-core/actions/workflows/gradle.yml/badge.svg?event=push)](https://github.com/apache/grails-core/actions/workflows/gradle.yml)
2222
[![Groovy Joint Validation Build](https://github.com/apache/grails-core/actions/workflows/groovy-joint-workflow.yml/badge.svg?event=push)](https://github.com/apache/grails-core/actions/workflows/groovy-joint-workflow.yml)
@@ -38,7 +38,7 @@ Please see the [INSTALL](INSTALL) document for instructions on how to build, use
3838

3939
## Getting help
4040

41-
- Check the [Documentation](https://docs.grails.org/) for your preferred Apache Grails version.
41+
- Check the [Documentation](https://grails.apache.org/docs/) for your preferred Apache Grails version.
4242
- Check for a [Grails Guide](https://github.com/grails-guides/).
4343
- Ask questions on the [Grails User Mailing List](https://lists.apache.org/[email protected])
4444
- Submit an issue: [Grails Issues](https://github.com/apache/grails-core/issues)
@@ -73,13 +73,13 @@ To create an Apache Grails Application with the wrapper follow these steps:
7373
3. Run the wrapper command `grailsw -t forge create-app` to create a new Apache Grails Application.
7474

7575
Please note, that the wrapper supports either the legacy `Apache Grails Shell` or the newer `Apache Grails Forge` CLI.
76-
For more detailed information about it, see the [documentation](https://docs.grails.org/snapshot/index.html).
76+
For more detailed information about it, see the [documentation](https://grails.apache.org/docs/snapshot/index.html).
7777

7878
#### Wrapper - Running Commands inside a Apache Grails Project
7979

8080
For running commands, the Grails Wrapper will always pull the Apache Grails version from `gradle.properties` and ignore
8181
any environment variables. Type `grailsw -t shell help` to see the available commands. For more detailed information
82-
about it, see the [documentation](https://docs.grails.org/snapshot/index.html).
82+
about it, see the [documentation](https://grails.apache.org/docs/snapshot/index.html).
8383

8484
### grails-shell-cli
8585

@@ -110,7 +110,7 @@ Once your Apache Grails Application is created, you can start it with the comman
110110

111111
./gradlew bootRun
112112

113-
For further information, please consult the [documentation](https://docs.grails.org).
113+
For further information, please consult the [documentation](https://grails.apache.org/docs/).
114114

115115
## Licensing
116116

0 commit comments

Comments
 (0)