Task #13189
Create CLI task to replace every description-actor link (e.g. creator, name access) to actor A with links to actor B
Status: | Verified | Start date: | 09/25/2019 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | José Raddaoui Marín | % Done: | 100% | |
Category: | CLI tools | |||
Target version: | Release 2.6.0 | |||
Google Code Legacy ID: | Tested version: | 2.6 | ||
Sponsored: | Yes | Requires documentation: |
Description
This new command line task would allow users to provide the task with the slugs of two authority records - the source, and target. When run, any description relations present on the source authority record would be moved to the target authority record - existing relations on the target should be unaffected and still present, in addition to the new relations from the source.
Notes and limitations
- This task will not delete either authority record. That must be done manually after the task is run, if desired
- The task will move description relations - not other relations, such as related actors
- This task does not attempt to merge actor metadata. Any metadata from the target that a user desires to see on the source must be manually added
History
#2 Updated by Dan Gillean over 2 years ago
- Private changed from Yes to No
#3 Updated by José Raddaoui Marín over 2 years ago
- Status changed from New to Code Review
Ready for code review: https://github.com/artefactual/atom/pull/984.
TODO: Add notes in here about task signature and process for documentation.
#4 Updated by José Raddaoui Marín over 2 years ago
- Assignee changed from José Raddaoui Marín to David Juhasz
#5 Updated by Dan Gillean over 2 years ago
- Description updated (diff)
#6 Updated by David Juhasz over 2 years ago
- Subject changed from Create an "actor:normalize" task to allow authority description relations to be merged to Create CLI task to replace every description-actor link (e.g. creator, name access) to actor A with links to actor B
#7 Updated by José Raddaoui Marín over 2 years ago
- Status changed from Code Review to QA/Review
- Assignee changed from David Juhasz to Dan Gillean
Merged in qa/2.6.x
#8 Updated by Dan Gillean over 2 years ago
- Status changed from QA/Review to Verified
- Assignee changed from Dan Gillean to José Raddaoui Marín
Seems to work really well - haven't been able to test it at a very large scale, but it successfully moved about 10 relations in under a minute, and it works with all event types for description relations, including name access points. Nice work!
#9 Updated by Dan Gillean about 2 years ago
- % Done changed from 0 to 100
- Requires documentation deleted (
Yes) - Tested version 2.6 added
Documentation added to 2.6 branch: https://github.com/artefactual/atom-docs/commit/d255781e64992053ad3b73c808d0660fc2b00e77