jenkinsci/disk-usage-plugin — pull request #5 by ndeloof (2012-02-23 09:24:12+00:00)
Title: Fix for JENKINS-12870

as Disk usage graph is enabled, it sets a job property on all jobs.
When the job configuration is edited, this property has no UI and is then removed from configuration. Consequently the job don't display the graph anymore. And then after a while the graph comes back "magically".

Side effect : when Job Config History plugin is used, SYSTEM changes to enable disk usage pollute the configuration history

This pull request is a refactoring of existing feature (DiskUsageAction "injection") using a TransientProjectActionFactory to replace JobProperty. This avoids to pollute jobs configuration and history, and is dynamically computed (see Job#transientActions) so that the action will not disappear after job configuration being edited.