Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Dataset import lock #20

Open
wants to merge 29 commits into
base: 7.x-1.x
Choose a base branch
from
Open

Conversation

ziodave
Copy link

@ziodave ziodave commented May 29, 2015

Hello,

After migrating data from CKAN, editors update the dataset metadata with additional data or editing the existing data, which eventually gets overwritten by a subsequent import.

I have been ask therefore to support a migrate lock flag which tells the migrate procedure not to import the dataset.

This PR provides support for this (optional) field. If the field doesn't exist, is not set, or is set to something different than 1 then the dataset is imported as usual, otherwise the import is skipped.

Resources for a dataset are always imported.

ziodave added 29 commits May 3, 2015 15:31
@dafeder
Copy link
Member

dafeder commented Oct 4, 2016

We will keep this PR open but have not prioritized it. Among other things, the multiple processes needed are not available in all environments - notably, Pantheon. Still a compelling improvement that we will try to revisit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants