Store class map on disk

Components

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

Context Information

None

Additional information (do not use)

None

Attachments

1

Activity

[API] Administrator 
August 29, 2022 at 7:58 AM

User committed a fix to 5.3.x. Commit Message:

Fixes - Store class map on disk

Differential Revision: http://qa.in-portal.org/D427

Alex 
August 23, 2022 at 5:48 PM

Need to cover the merge of the  task.

Alex 
April 29, 2015 at 6:57 AM

alex closed D68: - Store class map on disk by committing rINP16156: Fixes - Store class map on disk.
alex updated the diff for D68: - Store class map on disk.

http://qa.in-portal.org/D68

[API] Administrator 
April 29, 2015 at 6:57 AM

User committed a fix to 5.3.x. Commit Message:

Fixes - Store class map on disk

Differential Revision: http://qa.in-portal.org/D68

Gleb Sinkovskiy 
April 28, 2015 at 4:35 PM

glebs accepted D68: - Store class map on disk.
D68: - Store class map on disk is now accepted and ready to land.

http://qa.in-portal.org/D68

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Change Log Message

Time tracking

1m logged

BC Break Details

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

Story Points

Fix versions

Patch Instructions

Patches must be submitted through Phabricator.

Created April 25, 2015 at 1:55 PM
Updated December 30, 2024 at 1:58 AM
Resolved August 29, 2022 at 7:58 AM