Skip to content

Incorrect version reported for Aoe_TemplateHints module #78

Open

Description

@aadmathijssen

The latest version of the Aoe_Templatehints module is 0.4.3 (according toe the config.xml), but the hypernode:modules:list-updates command outputs the following:

+-------------------+-----------+-----------------+----------------+--------+--------------------------+
| Name              | Code pool | Current version | Latest version | Status | Newer version available? |
+-------------------+-----------+-----------------+----------------+--------+--------------------------+
| Aoe_TemplateHints | community | 0.4.3           | 0.6.0          | active | Yes                      |
+-------------------+-----------+-----------------+----------------+--------+--------------------------+

Is it possible to remove this false positive?

Thanks.

Activity

  1. peterjaap commented on Jun 8, 2018

    @peterjaap
    Collaborator

    The reason why this happens is because Byte 'crowd-sources' the version numbers by parsing all app/etc/modules/*.xml files. If somebody forks an extension and keeps the name but ups the version number, this will create a false positive.

    Maybe Byte can implement a mechanism that filters out version numbers that only occur once across all codebases?

  2. vdloo commented on Jun 8, 2018

    @vdloo
    Member

    I've manually set this one back to 0.4.3 for now, that should remove the false positive temporary. but yes we should definitely make something to make this less error-prone

    127.0.0.1:6379> HGET magmodules Aoe_TemplateHints
    "0.6.0"
    127.0.0.1:6379> HSET magmodules Aoe_TemplateHints 0.4.3
    (integer) 0
    127.0.0.1:6379> HGET magmodules Aoe_TemplateHints
    "0.4.3"
    
  3. aadmathijssen commented on Jun 8, 2018

    @aadmathijssen
    Author

    Nice, thanks for the quick reply, guys!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions