Skip to content

Supporting capistrano's clean task #3

@denzelem

Description

@denzelem

In

PrecompiledAssets::Tasks.remove_unused
we are deleting all assets, that are not part of the manifest.js anymore.

IMHO we should support something like https://github.com/rails/propshaft/blob/e7cdbcd4aa9c9a390dade263bbd7c7cedc0c6442/lib/propshaft/railties/assets.rake#L17 && https://github.com/rails/propshaft/blob/e7cdbcd4aa9c9a390dade263bbd7c7cedc0c6442/lib/propshaft/processor.rb#L24 in propshaft. Then set :keep_assets, 2 in capistrano would work as expected again, and rolling release will keep older assets available.

Wdyt?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions