Configurability and reporting

Created on 2 September 2021, about 3 years ago
Updated 14 September 2023, about 1 year ago

Problem/Motivation

The module is great, however it lacks flexibility. We used the module to convert file fields into media reference fields, but doing this in a local/dev environment posed few challenges.

Due to amount of files, average file size, limits on storage in local/dev environment - in our particular case not all files were present in the files system. This make it impossible for the module to generate hash, as the hash is generated based on the files content. Another issue are files 500MB in size or more (yes we have those).

When generating migration scripts, the media field suffix is hard-coded to "_media", which is probably fine in many cases, but had conflicts in our case.

We also found it useful to be able to inspect fields - to see the list of fields by type. This allows to see new field additions easily.

Outputs of the module's commands can be very long, so some sort of filtering would be nice to have. E.g. not showing already processed files...

Proposed resolution

  • Add support for Stage File Proxy module - to pull missing files on the go
  • Add support for simple hash calculation, which can be done on filename, type and size (or URI, which supposed to be unique?)
  • Add support for configurable field suffix
  • Add support for filtered output
✨ Feature request
Status

Postponed

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States euk

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine HitchShock Ukraine
  • Status changed to Postponed about 1 year ago
  • πŸ‡ΊπŸ‡¦Ukraine HitchShock Ukraine

    Hi @euk
    The first thing I need to say is that you've created too big ticket, with several different issues. The ticket must be divided.
    But, a few words about the issues:
    1. Not sure that we need Stage File Proxy here. It makes the process too heavy + adds a new required module. On Loval/Dev env we can just test the solution. For this, we don't need whole files, you can prepare test examples for that. That's it.
    2. It's not a bad idea to allow suffix customization, if you will provide it in a separate ticket it will be approved.
    3. The point about inspecting the available fields is interesting too. Create a separate ticket for that, please.
    4. Add support for filtered output must be a separate ticket too.

    I will postpone the ticket for now. Probably someone will create separate tickets and patches for listed proposals.

Production build 0.71.5 2024