Skip to content
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

Update Grails Forge to Include more versions #380

Open
jamesfredley opened this issue Oct 4, 2024 · 2 comments
Open

Update Grails Forge to Include more versions #380

jamesfredley opened this issue Oct 4, 2024 · 2 comments
Assignees

Comments

@jamesfredley
Copy link
Contributor

jamesfredley commented Oct 4, 2024

Should be able to include next minor version, last minor version and potentially the next major version.

It should still default to the current release.

See: https://start.spring.io/

Version feed: https://start.grails.org/grails-version-feed.json

start.grails.org gets snapshot from https://snapshot.grails.org/versions

it attempts to call the following, but they have not been deployed like snapshot.

https://next.grails.org/versions
https://prev.grails.org/versions

@jamesfredley jamesfredley moved this to Todo in Grails 7 Oct 4, 2024
@jamesfredley
Copy link
Contributor Author

related to grails/grails-forge-ui#44

@jamesfredley jamesfredley moved this from Todo to In Progress in Grails 7 Nov 9, 2024
@jamesfredley
Copy link
Contributor Author

This work has started in preparation for Grails 7.0.0.M1

start.grails.org already checks next.grails.org, prev.grails.org. prev_snapshot.grails.org would need to be added to forge-ui.

I believe we will end up creating three addition github workflows for next, prev and prev_snapshot. We will also need to determine whether next, prev, prev_snapshot and snapshot are automatically triggered or manually run. snapshot is currently automatically triggered, but this means that 6.2.2-SNAPSHOT and 7.0.0-SNAPSHOT are competing when PRs are merged into either branch.

The current GitHub actions are release and snapshot:

https://github.com/grails/grails-forge/blob/7.0.x/.github/workflows/snapshot.yml#L46

https://github.com/grails/grails-forge/blob/7.0.x/.github/workflows/release.yml#L108

Once there are 5 environments, here are initial thoughts on what should be deployed on each:

These are not labelled on start.grails.org, so keeping them as distinct versions is the goal since snapshot and next can be somewhat overlapping depending on current development work

initial thoughts

before 7.0.0.M1 release:
release: 6.2.x - this is also what IntelliJ uses in New Grails Project and is default, it should be the latest release version
snapshot: 6.2.x-SNAPSHOT
next: 7.0.x-SNAPSHOT initially
prev: 6.1.x
prev_snapshot: 6.1.x-SNAPSHOT

after 7.0.0.M1 release:
release: 6.2.x
snapshot: 7.0.x-SNAPSHOT
next: 7.0.0.Mx
prev: 6.1.2
prev_snapshot: 6.2.x-SNAPSHOT

when 7.0.0 is released:
release: 7.0.x
snapshot: 7.0.x-SNAPSHOT
next: 7.0.x-SNAPSHOT
prev: 6.2.x
prev_snapshot: 6.2.x-SNAPSHOT

when 7.1.0-SNAPSHOT is started:
release: 7.0.x
snapshot: 7.0.x-SNAPSHOT
next: 7.1.x-SNAPSHOT
prev: 6.2.x
prev_snapshot: 6.2.x-SNAPSHOT

@jamesfredley jamesfredley self-assigned this Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant