Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-20809

Move extensions cache from $extensionsDir to $uploadDir

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.20
    • Fix Version/s: 4.7.23
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      CiviCRM has been putting cache files in the extensions direction (i.e. cache/timestamp.txt and cache/extensions.json.*).

      In some deployments, all extensions are committed to an aggregated git repo, but these files should not be.

      In line with other .gitignore files that CiviCRM provides, a .gitignore file should be written to the extensions directory to exclude the cache folder in its entirety.

      Move these files to the uploadDir, which is more commonly used for ephemeral data.

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              torrance123 Torrance
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: