Defaults for duplicate file prevention

Created on 5 July 2025, 4 days ago

Feature Request

It is great that there is an optional duplicate file prevention, but could that be enabled by default? Surely that would be a better practice for most Drupal sites. You could of course optinally disable this. It's just that it is better ot have less files in the file system, generally, and less duplicated files to manage in general.

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada mgifford Ottawa, Ontario

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @mgifford
  • πŸ‡¨πŸ‡¦Canada mgifford Ottawa, Ontario
  • Pipeline finished with Success
    4 days ago
    Total: 178s
    #539827
  • πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

    I don't intend to enable the dedupe validator by default. It is a complex feature that could be enabled site-wide, on a per-field basis, or programmatically; there are also the choices of "strict" dedupe and "original" dedupe. And I do consider it a "proof of concept" - sites may want to improve the dedupe UX.

  • πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

    As far as sustainability a few things come to mind:

    1. A file hash submodule could report duplicate files and even allow them to be merged.
    2. A "sustainability" contrib module could instruct site admins to install helpful modules and configure them more sustainably.
Production build 0.71.5 2024