MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    LICENSE: on modules.magicmirror.builders shows @noassertion instead of MIT

    Scheduled Pinned Locked Moved Development
    12 Posts 5 Posters 952 Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      ASteinsdoerfer
      last edited by

      Hello,

      I added the MIT license to my github project MMM-HusqvarnaAutomower in package.json and as a LICENSE file but on modules.magicmirror.builders it is shown an @noassertion. So no screenshot will be displayed.

      What am I doing wrong?

      Thanks
      Andreas

      S BKeyportB karsten13K 3 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @ASteinsdoerfer
        last edited by

        @ASteinsdoerfer @KristjanESPERANTO will need to help

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • BKeyportB Offline
          BKeyport Module Developer @ASteinsdoerfer
          last edited by

          @ASteinsdoerfer having suffered the same issue - there’s a slight formatting difference between your LICENSE file and mine (other than copyright name). Therefore, I think Kristjan is being too picky on the file.

          Maybe we can get a rethink on this.

          The "E" in "Javascript" stands for "Easy"

          karsten13K 1 Reply Last reply Reply Quote 0
          • karsten13K Offline
            karsten13 @BKeyport
            last edited by

            @KristjanESPERANTO

            AFAIS the wrong license is coming from the gitHubData.json file.

            So looking into https://github.com/MagicMirrorOrg/MagicMirror-3rd-Party-Modules/blob/main/scripts/updateGitHubApiData.js I stumbled over the line
            let maxQueryCount = 58; which is used in the shouldFetch function.

            Maybe I’m wrong but this looks like we only fetch 58 repos from github and then switch to historical data?

            KristjanESPERANTOK 1 Reply Last reply Reply Quote 1
            • KristjanESPERANTOK Offline
              KristjanESPERANTO Module Developer @karsten13
              last edited by

              @karsten13 is right. We only query GitHub data via the API twice a day - each time we can only make about 50 queries. The infos about a module via the GitHub API are therefore queried over the thumb every 13 days.

              The problem with this module was that it had no license file the first time it was called, then the API responds with NOASSERTION. This will be automatically corrected after a few days.

              It works and only in rare cases has such rather cosmetic effects, so it is not high on my priority list to optimise this. With authenticating we could make 5000 requests per hour. If anyone would like to implement this, please feel free to create a PR.

              karsten13K 1 Reply Last reply Reply Quote 0
              • karsten13K Offline
                karsten13 @KristjanESPERANTO
                last edited by

                @KristjanESPERANTO

                Thanks! Maybe I take a look into the authenticating stuff …

                karsten13K 1 Reply Last reply Reply Quote 1
                • karsten13K Offline
                  karsten13 @karsten13
                  last edited by

                  see https://github.com/MagicMirrorOrg/MagicMirror-3rd-Party-Modules/pull/65

                  1 Reply Last reply Reply Quote 1
                  • karsten13K Offline
                    karsten13 @ASteinsdoerfer
                    last edited by

                    @ASteinsdoerfer

                    the problems (license and screenshot) are fixed.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @karsten13
                      last edited by sdetweil

                      @karsten13 my screenshot is not displayed and dev advice page will not open
                      MMM-Config
                      license reporting is correct

                      seems all dev view is broken
                      took 45 seconds to open on my phone on wifi on 1g network.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      karsten13K 1 Reply Last reply Reply Quote 0
                      • karsten13K Offline
                        karsten13 @sdetweil
                        last edited by

                        @sdetweil

                        6c3d9694-32c7-4032-855a-cdfa13df8ed3-grafik.png

                        everything working on my side …

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy