Git Product home page Git Product logo

Comments (8)

Llewellynvdm avatar Llewellynvdm commented on July 19, 2024

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.

Llewellynvdm avatar Llewellynvdm commented on July 19, 2024

We can make this message prominent so that it is noticeable.

from jedchecker.

dryabov avatar dryabov commented on July 19, 2024

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.

anibalsanchez avatar anibalsanchez commented on July 19, 2024

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.

dryabov avatar dryabov commented on July 19, 2024

Are there restrictions on the allowed characters (emoji, non-latin characters, zero-width space, etc.) and the length of extension's name?

from jedchecker.

anibalsanchez avatar anibalsanchez commented on July 19, 2024

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.

dryabov avatar dryabov commented on July 19, 2024

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.

anibalsanchez avatar anibalsanchez commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.