When importing with bulkmarcimport, authorities may or may not be updated based on which authority is newer (005 are compared). It could be useful to keep track of which authority has been updated or not in the result yaml file. This patch does that. Test plan: 1) Import an authority file with -yaml. The resulting yaml file looks like this: --- 027226794: authid: 41759 subfields: - France 02722709X: authid: 44782 subfields: - Femmes - Travail [...] 2) Apply the patch. 3) Import an authority file with -yaml. The resulting yaml file should look like this: --- 027226794: authid: 41759 subfields: - France updated: 1 02722709X: authid: 44782 subfields: - Femmes - Travail updated: 0 [...]
Created attachment 44979 [details] [review] Bug 15214: bulkmarcimport should log if an authority has been updated
Created attachment 100591 [details] [review] Bug 15214: bulkmarcimport should log if an authority has been updated When importing with bulkmarcimport, authorities may or may not be updated based on which authority is newer (005 are compared). This patch allows to keep track in the result yaml file if an authority has been updated or not: Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>
Created attachment 101301 [details] [review] Bug 15214: bulkmarcimport should log if an authority has been updated When importing with bulkmarcimport, authorities may or may not be updated based on which authority is newer (005 are compared). This patch allows to keep track in the result yaml file if an authority has been updated or not: Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Nice work everyone! Pushed to master for 20.05
enhancement not backported to 19.11.x