-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e54e76
commit 14234a0
Showing
1 changed file
with
84 additions
and
0 deletions.
There are no files selected for viewing
84 changes: 84 additions & 0 deletions
84
whelktool/scripts/cleanups/2024/07/lxl-4532-cleanup-dead-holdings.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
// Delete old bad holdings of bib-IDs that do not exist. Most of these were inherited from the Voyager era, a few were | ||
// introduced during the initial launch of XL, when creating them was possible for a brief time. | ||
|
||
hold_ids = [ | ||
"tz6nr97057hmx4w", | ||
"mr0gk33s102jdkx", | ||
"jnwcgzsp1038h7b", | ||
"v07psbc13919tq9", | ||
"jnwcgzpp0100jl0", | ||
"kpxdh0qq3h86ffx", | ||
"lqzfj1rr5hbfrvj", | ||
"mr0gk2ss2l2lpkk", | ||
"z3bswc240tjtbg8", | ||
"kpxdh1xq0f7l34l", | ||
"jnwcgx9p13r7c3v", | ||
"6bk14lzc0m57vht", | ||
"6bk14lxc1xbstbd", | ||
"7cl25mxd0tmg424", | ||
"9fn47p0g4p111n1", | ||
"04ctxgg54g03r5s", | ||
"jnwcgx6p0rx4ngj", | ||
"fks8ctwl547n94p", | ||
"04ctxdr503wvcjr", | ||
"4czdh7l32vrs59f8", | ||
"48gg2ll958wmvp7", | ||
"26fw0gt75dqvgpk", | ||
"jnvqzgmp0bfc6p3", | ||
"mrzvqt7s3rk9140", | ||
"9fn47p2g2gb78lj", | ||
"bgp58q3h0mrth7d", | ||
"8dm36n3f39nwz7q", | ||
"48hz2jw90892w56", | ||
"04b98tt55brhtvg", | ||
"7cl25pld4gr2c7b", | ||
"hmvbfwbn0rmlznk", | ||
"59j03mmb176bvfn", | ||
"t2n02k4mrjd4hgbs", | ||
"7cl25m0d309dfl1", | ||
"59j03k0b06hf8dg", | ||
"x29rvbn33bjmggh", | ||
"ns1hl3vt1nmq110", | ||
"qv3kn4kw49w2810", | ||
"v07ps93129sj8r6", | ||
"chq69r6j54nlg27", | ||
"07t8gd9xx24whznj", | ||
"37gx1hv82swr9k4", | ||
"ns1hl30t2sns3h9", | ||
"w4q5dx1ktr2x71mc", | ||
"mrzv4xts00jr3g2", | ||
"37fj9kl845smv6b", | ||
"59h3q34b13g8lqr", | ||
"37f1n1280wf0dxs", | ||
"48g2p2391tq4c4l", | ||
"6bj4r45c1mbl1nt", | ||
"tz5rtm604wn1sq0", | ||
"hmtg067n31m5qlj", | ||
"9fmf2bqg4rgn0ph", | ||
"48hqrqj92bm6v9q", | ||
"gltq13pm20gk8k0", | ||
"9fnjlj5g1pf130b", | ||
"hmvrkhvn4t64vdk", | ||
"bgplbj0h25fmnrl", | ||
"bgp40rkh2nrndmv", | ||
"bgn9mw7h3fgtx4l", | ||
"z39zfmj44hcb5zt", | ||
"glskwzxm2pdh0t7", | ||
"ns0rjp2t0836w7s", | ||
"59h9dqzb30kxncg", | ||
"48h9gxw92pm7j74", | ||
"9fnjzscg200gsc2", | ||
"w1882j8243f42fc", | ||
"04cg4wj54zk1qb5", | ||
"59jsdq1b00cp2m4", | ||
"26fw0gw7382h428", | ||
"6f1cfzbb43bn3wsq", | ||
"pt2jm37v38vsjt4", | ||
"59j03kxb2h2ktmr", | ||
"8dm36n1f5mns3nm", | ||
"bgp58q5h2rjmxch" | ||
] | ||
|
||
selectByIds( hold_ids ) { hold -> | ||
hold.scheduleDelete() | ||
} |