Adding logic for new REPACKING state
These are the changes required to enable the REPACKING tape state. After this repack will no longer be possible on tapes with other states.
CTA Issue: https://gitlab.cern.ch/cta/CTA/-/issues/1175
Edited by Joao Afonso