Skip to content

Conversation

@dauer
Copy link
Contributor

@dauer dauer commented Aug 6, 2025

Added the deprecated attribute with a short description to plugins where the GitHub repository had been archived or in some cases removed

dauer added 27 commits August 6, 2025 09:34
The plugins have been marked as archived on Github.
Added the deprecated attribute to the plugins metadata with the message:
    "This repository was archived by the owner..."
…c, segment

The metadata has been updated with a "deprecated" message
The two projects have been merged into one project and "adopted" by Apache
Grails
The plugins have been moved to Apache and the grails-data-mapping
project
Theu have all been integrated into the grails-spring-security-core project
Moved to a new project from owner 'grails' to 'grails-plugins'
@jdaugherty
Copy link
Contributor

Several of these projects weren't archived directly - they were just moved and the original repo is archived. @jamesfredley did we intend to add the other ones somewhere else? for example, spring-security-rest is still very active, but it's under https://github.com/apache/grails-spring-security

@jamesfredley
Copy link
Contributor

I am not familiar enough with how this file is used, but we do need to handle the plugins which were consolidated to a new location and also address the ones with new apache maven groupids. asset-pipeline falls into the same boat with the new groupid. Does the existing entry get updated or do we create a new one for the new coordinates?

@dauer
Copy link
Contributor Author

dauer commented Aug 7, 2025

I just checked the entries in the grails-plugins.json file against the GitHub API, fx.:

$ gh repo view grails/grails-views --json isArchived
{ "isArchived": false }

And if "isArchived" was true I added a "deprecated" field with the message "This repository was archived by the owner on THE_DATE",
The "deprecated" field is not shown anywhere, I think it was introduced by @matrei a few years ago.
There are 77 out of 272 projects marked with "deprecated", we could use the attribute as a kind of "Todo" marker...

The JSON file is fetched from the Grails Static Website https://github.com/apache/grails-static-website/blob/master/buildSrc/src/main/groovy/org/grails/gradle/PluginsTask.groovy#L28 when generating the plugin.html page.

We could discuss it at the next "Apache Grails Weekly Planning Meeting" on the 13. of august?

@matrei
Copy link
Contributor

matrei commented Aug 7, 2025

@dauer Yes, I added the deprecated property when going over the plugin list to get some sanity.
It is not used anywhere yet, but just a marker with some info for future reference.

dauer added 4 commits August 14, 2025 11:26
Updated metadata:
Some of the projects have been moved into the Apache Grails Core repo
- grails-converters
- grails-data-hibernate5-dbmigration
- grails-fields
- grails-geb
- grails-gsp
- grails-data-mongodb
- grails-scaffolding
- grails-spring-security-acl
- grails-spring-security-cas
- grails-spring-security-ldap
- grails-spring-security-oauth2
- grails-spring-security-rest
- grails-spring-security-rest-datamapping
- grails-spring-security-rest-redis
- grails-spring-security-ui
@dauer
Copy link
Contributor Author

dauer commented Oct 2, 2025

Several of these projects weren't archived directly - they were just moved and the original repo is archived. @jamesfredley did we intend to add the other ones somewhere else? for example, spring-security-rest is still very active, but it's under https://github.com/apache/grails-spring-security

I have updated the metadata for the plugins that have been moved to the Apache Grails Core project

@@ -221,6 +223,7 @@
"readme": "<h1>Grails 3 Angular Scaffolding Plugin</h1>\n<p><a href=\"https://travis-ci.org/grails-plugins/grails-angular-scaffolding\"><img src=\"https://travis-ci.org/grails-plugins/grails-angular-scaffolding.svg?branch=master\" alt=\"Build Status\" /></a></p>\n<p>A plugin for generating client side assets based on domain classes</p>\n<h2>Documentation</h2>\n<p>Latest: https://grails-plugins.github.io/grails-angular-scaffolding/latest\nSnapshot: https://grails-plugins.github.io/grails-angular-scaffolding/snapshot</p>\n"
},
{
"deprecated": "This repository was archived by the owner on Feb 28, 2025. It is now read-only.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to https://github.com/apache/grails-core does not make it deprecated?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We removed the angular profile and suggest end users use the rest api, so this is correct

@@ -1122,6 +1136,7 @@
"readme": null
},
{
"deprecated": "This repository was archived by the owner on Sep 10, 2024. It is now read-only.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to https://github.com/apache/grails-core does not make it deprecated?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plugin should be deprecated because it was combined into grails-core?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated to point to grails-core since it has its own released artifact https://repo1.maven.org/maven2/org/grails/grails-console/maven-metadata.xml

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, i viewed the wrong package, this is grails-web-console not grails-console

@@ -1930,6 +1947,7 @@
"readme": "<p><a href=\"https://github.com/sbglasius/external-config\">See the README</a> on GitHub</p>"
},
{
"deprecated": "This repository was archived by the owner on Jan 18, 2023. It is now read-only.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to https://github.com/apache/grails-core does not make it deprecated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find where it has been moved to?

@@ -2859,6 +2879,7 @@
"readme": "<h1>Grails Views</h1>\n<p>Additional View Technologies for Grails 3.0 and above.</p>\n<p>Initial implementation includes JSON views powered by Groovy's JsonBuilder, however this project provides the basis for implementation other view types.</p>\n<p>View <a href=\"https://grails.github.io/grails-views/latest/\">the latest documentation</a> for details.</p>\n<p><a href=\"https://github.com/grails/grails-views/actions/workflows/gradle.yml\"><img src=\"https://github.com/grails/grails-views/actions/workflows/gradle.yml/badge.svg?branch=master\" alt=\"Java CI\" /></a></p>\n"
},
{
"deprecated": "This repository was archived by the owner on Apr 14, 2025. It is now read-only.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to https://github.com/apache/grails-core does not make it deprecated?

"documentationUrl": "https://grails.github.io/grails-data-mapping/",
"mavenMetadataUrl": "https://repo1.maven.org/maven2/org/grails/plugins/hibernate5/maven-metadata.xml",
"documentationUrl": null,
"mavenMetadataUrl": "https://repo1.maven.org/maven2/org/apache/grails/grails-data-hibernate5/maven-metadata.xml",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hibernate4 vs hibernate5

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old and the new url both contains hibernate5 ?

],
"vcsUrl": "https://github.com/grails/grails-spring-security-oauth2"
"vcsUrl": "https://github.com/apache/grails-core"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

],
"vcsUrl": "https://github.com/alvarosanchez/grails-spring-security-rest"
"vcsUrl": "https://github.com/apache/grails-core"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

],
"vcsUrl": "https://github.com/grails-plugins/grails-spring-security-rest"
"vcsUrl": "https://github.com/apache/grails-core"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

],
"vcsUrl": "https://github.com/alvarosanchez/grails-spring-security-rest"
"vcsUrl": "https://github.com/apache/grails-core"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

],
"vcsUrl": "https://github.com/grails-plugins/grails-spring-security-ui"
"vcsUrl": "https://github.com/apache/grails-core"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants