Comments (8)
This sounds okay, but what about packages, should they then add names for each extension in the package?
Further for me automation is always my goal as it is the future... and so can we not instead as part of the result "messages" instead of a field give a message that will say something like:
When adding this extension to the JED only the following name will be excepted,
provided that it is not already taken: Extension Name
This way they need not add a name, we tell them what should be the name based on the xml of the extensions. The wording can change and here we can do some validation if the name is in fact following good practice as @dryabov has already started to do in this #80
from jedchecker.
We can make this message prominent so that it is noticeable.
from jedchecker.
IMHO, it's better to display above message in the public JEDChecker component, and as to the internal one, it's better to implement an events system in JEDChecker (e.g. onJEDCheckerCheckListingName($report, $listingName)
), so that it will be possible to implement extra checks in CLI interface to JEDChecker.
from jedchecker.
This sounds okay, but what about packages, should they then add names for each extension in the package?
@Llewellynvdm Yes, packages must also match the listing name. The package name is only noticeable in the Extension Manager, but it must also match the Listing name (to avoid the case of installing the extension AAA and finding a package installed as BBB).
can we not instead as part of the result "messages" instead of a field
@Llewellynvdm No, we need to do it prominently. The developers don't realize that the Listing Name is the same name that is declared in the manifests. The developers create the extensions well before submitting them, so they forget the assigned name or forget to think twice about the extension name.
I think that a new field is the only way to make them think about the missing link. With the new field, we are going to make the developers wonder "why the JED Checker asks for the Listing Name to check it now?"
Additionally, the new field Listing name field can help to validate the consistency of the declared manifest names. Sometimes, the developer applies the right name to the component and forget to check the plugins name. On top of that, most of the times, the Listing Specialist can't check all names of a big package in a reasonable time.
from jedchecker.
Are there restrictions on the allowed characters (emoji, non-latin characters, zero-width space, etc.) and the length of extension's name?
from jedchecker.
The JED only allows English/Latin characters.
There were efforts to implement a part of the system with multi-lingual features (for instance, reviews). But, it is only partial support and the listings have to be in English.
from jedchecker.
I've found a dozen of extension names with characters out of standard ASCII (32-127). Most of them are Extended Latin (ãéèíóúÜ), and two others are "´" and "®". So, it seems to be sufficient to allow "Basic Latin" and "Latin-1 Supplement" Unicode blocks only.
The question about maximal length is inspired by recent changes in Google Play rules: they reduced it from 50 to 30 characters. Currently the longest Joomla! extension name is "JEmbedAll embeds videos, images, documents and all you need for your website" (76 characters), but IMHO it's too much long.
from jedchecker.
The published extensions are not a good sample for standardization. In JED history, there has been a lot of changes and different criteria.
from jedchecker.
Related Issues (20)
- False positive The JEXEC security check was not found in this file. HOT 18
- [Suggestion] - Extend the readme on Crowdin Project
- False positive PH2 error HOT 4
- Dependency Dashboard
- Error: Whitespace in the key is not allowed HOT 3
- JED Checker 2.4.1 extension downloaded from the JED differs from development repository
- Language file is not loaded, when lang prefix is missing. HOT 1
- JEXEC security check HOT 6
- [PHP 8.1] Deprecated: trim(): Passing null to parameter #1 ($string) in rules/xmlinfo.php on line 322 HOT 2
- Warning: syntax error, unexpected '{' or '!' HOT 1
- NOTICE: Node <folder> has unknown attribute 'plugin' is wrong? HOT 2
- Not recognized in XML: <name>language KEY</name> HOT 3
- JEDchecked in Joomla 3.10.12 failed: TypeError: Failed to fetch HOT 17
- [J5] JED Checker extension only works with b/c plugin enabled HOT 2
- JEF Checker 2.4.2 has no checksum HOT 2
- 0 strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) HOT 1
- JED Checker to report linebreaks in language files HOT 4
- JED Checker never finishes in PHP 8.3.0 HOT 14
- Wrong deprecation: Joomla\CMS\Filesystem\File and Joomla\CMS\Filesystem\Folder ? HOT 4
- There is interference in the mobile version, Joomla 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jedchecker.