Details

    • Change Log Group:
      Changed
    • Change Log Message:
      Store autoloader classmap on disk.
    • Story Points:
      1
    • Patch Instructions:

      Patches must be submitted through Phabricator.

    • BC Break Details:
      Hide

      Renamed pseudos:

      • "ModulesHelper" into "kModulesHelper"
      • "HTTPQuery" into "kHTTPQuery"
      • "EventManager" into "kEventManager"
      • "Socket" into "kSocket"

      Renamed classes:

      • "PhrasesCache" into "kPhraseCache"
      • "Session" into "BaseSession"
      • "SessionStorage" into "BaseSessionStorage"
      • "InpSession" into "Session"
      • "InpSessionStorage" into "SessionStorage"

      Solution

      1. rename classes:
        • "Session" into "InpSession"
        • "SessionStorage" into "InpSessionStorage"
        • "BaseSession" into "Session"
        • "BaseSessionStorage" into "SessionStorage"
      2. add protected "kFactory::deprecatedPseudos" array-type property, holding mapping between deprecated and new pseudos:
        • "ModulesHelper" to "kModulesHelper"
        • "HTTPQuery" to "kHTTPQuery"
        • "EventManager" to "kEventManager"
        • "Socket" to "kSocket"
      3. in the "kFactory::registerClass" method when used pseudo is from above added mapping trigger a deprecation notice
      Show
      Renamed pseudos: "ModulesHelper" into "kModulesHelper" "HTTPQuery" into "kHTTPQuery" "EventManager" into "kEventManager" "Socket" into "kSocket" Renamed classes: "PhrasesCache" into "kPhraseCache" "Session" into "BaseSession" "SessionStorage" into "BaseSessionStorage" "InpSession" into "Session" "InpSessionStorage" into "SessionStorage" Solution rename classes: "Session" into "InpSession" "SessionStorage" into "InpSessionStorage" "BaseSession" into "Session" "BaseSessionStorage" into "SessionStorage" add protected "kFactory::deprecatedPseudos" array-type property, holding mapping between deprecated and new pseudos: "ModulesHelper" to "kModulesHelper" "HTTPQuery" to "kHTTPQuery" "EventManager" to "kEventManager" "Socket" to "kSocket" in the "kFactory::registerClass" method when used pseudo is from above added mapping trigger a deprecation notice

      Description

      For each module:

      • create "/install/cache" folder in which add "file_hashes.php" file "svn:ignore" SVN property
      • use "php tools/build_class_map.php" script to generate "class_map.php" in that folder
      • when module information is loaded (during unit config cache build/load) immediately load contents of these "class_map.php" file into autoloader classmap array

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Gleb Sinkovskiy [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: