Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE-208: Actions, new processing logic. EAD Sync Plugin and Ingest Sanity #213

Draft
wants to merge 43 commits into
base: 0.9.0
Choose a base branch
from

Conversation

DiegoPino
Copy link
Member

See #208

@DiegoPino DiegoPino added this to the 0.9.0 milestone Aug 15, 2024
@DiegoPino DiegoPino added enhancement New feature or request Reporting Errors, Logs, etc. queue FIFO queue workers Ones taking the FI and doing the FO Ingest Setup Knobs and Levers you move while thinking about feelings and metadata and CSV files VBO Actions I got my head out the sunroof CSV Processing Things we do here and there to keep the tabulated goddesses happy Drupal 10 labels Aug 15, 2024
@DiegoPino
Copy link
Member Author

@alliomeria update to show actions/allow action configurations + enqueuing. Wonderful magic

Only used for Delete so far so ok to refactor. Will return an array keyed by UUID and CSVs if any in the value
Also adds an extra check and error for a CSV that no longer exist
This will have a config but for testing i added a if (TRUE) {
So far only acts on delete. But will do magic. I promise @alliomeria
…of code

and PUFFF... a lily transforms into a weee fish... beautiful magic @alliomeria
This will have a config but for testing i added a if (TRUE) {
So far only acts on delete. But will do magic. I promise @alliomeria
Also: @alliomeria trying a thing here. I will start making files (including LoD) private. Not sure yet if this will affect download/etc. So need to try. Reason is the new EAD Sync generates multiple CSVs for each EAD (top) and i need to have more security for those files (even if temporary) when generating them. Will test more tomorrow (Bc falling asleep)
The number of changes here are brutal (in effort and number) and it is not ready yet for testing. But i need to commit before it gets out of hands. More tomorrow AM (and explanation for a demo @alliomeria). Going to bed now.
Private text files are send directly to the browser ... which is annoying as hell.
We want the file to be downloaded... not shown as HTML. That leads to user error and Browser encoding options changing the original format .... damn Drupal (Drupal you are acting so bad lately)
basically we can't sort/organize if we don't process on every step possible sy=ub operations. Given that a 'sync' op depends on 'ami_sync_op' column being one of ['create','delete','update']
also empty($fullvalue) treats '' as empty ..

I added 3 panic lines there... NOT really needed. But hey... panic
Since A sync can create/update and delete .. should a Sync AMI set also show/process the Delete Processed ADOs (tab and form?)
@alliomeria you are the boss. You tell me
@DiegoPino DiegoPino changed the title ISSUE-208: Actions and new processing logic ISSUE-208: Actions, new processing logic. EAD Sync Plugin and Ingest Sanity Dec 13, 2024
Also use $config['temp_store_id']; are prefix for the generated CSVs
That way multiple runs of the same XML generate new CSVs
@alliomeria tested. Creates/updates/deletes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSV Processing Things we do here and there to keep the tabulated goddesses happy Drupal 10 enhancement New feature or request Ingest Setup Knobs and Levers you move while thinking about feelings and metadata and CSV files queue workers Ones taking the FI and doing the FO queue FIFO Reporting Errors, Logs, etc. VBO Actions I got my head out the sunroof
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant