magento-hackathon/GeneratedCodeReaper

Name: GeneratedCodeReaper

Owner: FireGento e. V. - Hackathons

Description: null

Created: 2017-04-01 20:33:56.0

Updated: 2017-04-12 15:07:08.0

Pushed: 2017-04-02 08:27:27.0

Homepage: null

Size: 19

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

GeneratedCodeReaper

A tool to selectively delete generated code files if the originating source file has been modified.

Currently implemented reapers:

Usage

In the Magento back-end under Stores > Configuration > Developer > Static Files Settings >Base Paths for Generated Code Reaper configure the base paths you want to

Examples: vendor/VENDORNAME app/code/VENDORNAME

On demand from the command line

setup:di:reap

or on every request - enabled via the setting Stores > Configuration > Developer > Static Files Settings > Reap on all requests

Todo

1.) The at runtime reaper which runs on every request needs to shift to a different execution point, possibly use a custom ObjectManager 2.) Currently the Interceptor reaper works on the originating class only and does not pick constructor changes in the hierarchy


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.