Task #13189

Create CLI task to replace every description-actor link (e.g. creator, name access) to actor A with links to actor B

Added by Dan Gillean about 1 year ago. Updated 7 months ago.

Status:VerifiedStart date:09/25/2019
Priority:MediumDue 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 about 1 year ago

  • Private changed from Yes to No

#3 Updated by José Raddaoui Marín about 1 year 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 about 1 year ago

  • Assignee changed from José Raddaoui Marín to David Juhasz

#5 Updated by Dan Gillean about 1 year ago

  • Description updated (diff)

#6 Updated by David Juhasz about 1 year 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 12 months 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 12 months 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 7 months ago

  • % Done changed from 0 to 100
  • Requires documentation deleted (Yes)
  • Tested version 2.6 added

Also available in: Atom PDF