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

Separate harvest classes into separate files and do some light cleanup #2983

Merged
merged 7 commits into from Dec 12, 2019

Conversation

dafeder
Copy link
Member

@dafeder dafeder commented Nov 14, 2019

Stop creating new revisions throughout the dataset creation process in Harvest, so that we have a cleaner history revision history on newly harvested datasets.

Also, refactoring to make code easier to work with.

Note: The cache dir logic now goes in HarvestMigration by default, and does not need to be added in additional migration classes. See https://github.com/GetDKAN/dkan/pull/2983/files#diff-4e04b5611bd1607adc9902f7c27dbbbcL20-L21

QA Steps

If tests pass, try running an HHS or LKY harvest using this branch to make sure no ill-effects. You should see a reduced number of revisions (actually, just one revision) on new datasets.

Everything should work the same.

@dafeder
Copy link
Member Author

dafeder commented Dec 10, 2019

Now includes commits from #2978

@janette janette self-assigned this Dec 11, 2019
@janette janette merged commit 02e7a30 into 7.x-1.x Dec 12, 2019
@janette janette deleted the harvest-mini-refactor branch December 12, 2019 16:16
dafeder added a commit that referenced this pull request Jan 22, 2020
#2983)

* No revision on og group sync changes

* Eliminate extra revisioning in harvest

* Separate harvest classes into separate files and do some light cleanup

* Restore getIdList() command to HarvestMigration

* Extend stringIfExists to all multiple elements.
dafeder added a commit that referenced this pull request Mar 31, 2020
#2983)

* No revision on og group sync changes

* Eliminate extra revisioning in harvest

* Separate harvest classes into separate files and do some light cleanup

* Restore getIdList() command to HarvestMigration

* Extend stringIfExists to all multiple elements.
dafeder added a commit that referenced this pull request Apr 24, 2020
#2983)

* No revision on og group sync changes

* Eliminate extra revisioning in harvest

* Separate harvest classes into separate files and do some light cleanup

* Restore getIdList() command to HarvestMigration

* Extend stringIfExists to all multiple elements.
dafeder added a commit that referenced this pull request Apr 24, 2020
#2983)

* No revision on og group sync changes

* Eliminate extra revisioning in harvest

* Separate harvest classes into separate files and do some light cleanup

* Restore getIdList() command to HarvestMigration

* Extend stringIfExists to all multiple elements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants