grails / grails3-plugins Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sheehan/grails3-plugins
Grails 3 plugin portal
Home Page: https://grails.org/plugins.html
License: Apache License 2.0
This project forked from sheehan/grails3-plugins
Grails 3 plugin portal
Home Page: https://grails.org/plugins.html
License: Apache License 2.0
Grails plugins page at https://plugins.grails.org/ shows 0 plugins sometimes and we have to go in an restart it. then it works again.
I took at look at this in depth and will post some notes
Tested in safari and chrome MacOS
The displayed dependencies
block for a given plugin may be incorrect in the case that the plugin has had multiple groupId/artifactId combinations (system_ids) in bintray. Take the excel-export plugin. This plugin is currently at version 2.0.2 and had a previous groupId in bintray of pl.touk while the current version is org.grails.plugins.
When building the plugin page, it looks like plugin metadata is read from bintray and used to build out the plugin details on the page. Continuing our example, that metadata is read from https://api.bintray.com/packages/grails/plugins/excel-export and looks like so:
{
"name": "excel-export",
"repo": "plugins",
"owner": "grails-excel-export",
"desc": "This plugin helps you export data in Excel (xlsx) format, using Apache POI.",
"labels": [],
"attribute_names": [],
"licenses": ["Apache-2.0"],
"custom_licenses": [],
"followers_count": 0,
"created": "2016-11-28T18:56:02.983Z",
"website_url": "https://github.com/TouK/excel-export",
"issue_tracker_url": "https://github.com/TouK/excel-export/issues",
"linked_to_repos": [],
"permissions": [],
"versions": ["2.0.2", "2.0.1"],
"latest_version": "2.0.2",
"updated": "2016-11-28T22:39:46.878Z",
"rating_count": 0,
"system_ids": ["org.grails.plugins:excel-export", "pl.touk:excel-export"],
"vcs_url": "https://github.com/TouK/excel-export",
"maturity": ""
}
From that data, the Plugins.es6 file builds the dependencies block from the latest_version
, and the last value in the system_ids
array. Herein lies the problem if the latest version does not correspond to that last system_id in the array. The result is:
dependencies {
compile 'pl.touk:excel-export:2.0.2'
}
when it should be:
dependencies {
compile 'org.grails.plugins:excel-export:2.0.2'
}
I'm not sure the best solution to fix this otherwise I would have made a pull request.
The current link https://blog.agileorbit.com/2015/10/07/Publishing-Grails-3-Plugins.html for Publishing FAQ does not make sense anymore as we are moving away form Bintray. So, we either need to remove to update the FAQ link.
If a plugin changes their coordinates such as:
com.bertramlabs.plugins:asset-pipeline-grails:2.14.2
org.grails.plugins:asset-pipeline:3.2.1
It would be good to have the ability to specify something either in the metadata or on the site it's superseded by a different plugin.
Maybe also in the list view as well a badge or something.
README.md references Bintray:
This project is a Grails app that provides a better viewing experience for Grails plugins which are hosted in the Grails plugins repo in Bintray.
One common issue for grails developer it that they can't see if the plugin works for a particular Grails version. They can only check in the plugin source code or figure it out by facing issues on their projects. Actually there's a ticket for it grails/grails-core#10195 that suggest to show an error/warning message when a user tries to use that plug-in with a version of Grails that is not supported.
I think a nice to have would be showing the min version as in the old portal https://grails.org/plugins/
Reported on slack and seen many times myself it seems when a refresh is done the portal is cleared out and re-loaded - causing users to only see a few plugins. This usually lasts a few minutes or more but isn't a good experience for users.
If you go to:
https://grails.org/plugins.html
It shows 184 plugins, all with out-dated versions.
If you visit:
It shows 228 plugins with correct versions.
Googling: "grails 3 plugins" returns the first result and even this GitHub repo description includes the bad link.
I had been assuming that names would be unique for some reason, but there are now two plugins with the same name. That's causing a lot of errant tweets. Also the direct link will just pick the first one it finds.
Maybe this was intentional? The page metadata was removed so plugins are no longer expanded in twitter, slack, etc...
Used to be here
On the plugin portals (https://plugins.grails.org) the Publishing Guide link in the left Navigation Menu still point to https://medium.com/@benorama/how-to-publish-your-grails-3-plugin-to-bintray-c341b24f567d which should be updated to https://grails.org/blog/2021-04-07-publish-grails-plugin-to-maven-central.html
need to make the absolute
Many plugins in Grails 2 pertained to the build system, but that is now all Gradle based. If we could somehow incorporate a (curated?) set of Gradle plugins into the grails plugins it would help users discover what they may be missing.
The bottom of each plugin page includes a broken image link:
The link is pointing to https://plugins.grails.org/plugin/grails/assets/oci_home_to_grails.svg.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.