The recent move of the Internet2 Spaces wiki into the new Internet2 Collaboration Platform created a new "short" URL for each of the wiki pages. The new URLs were the same as the old ones, except that the host name is now spaces.at.internet2.edu, instead of spaces.internet2.edu. The Collaboration Platform deployers provided redirects for the old short URLs, but that was intended only as a short-term solution to give people time to update links. Since the T&I Document Repository uses the short URL as the target for the DOI System's redirects, we need to update the DOI System.
Fortunately, CrossRef, Internet2's DOI registrar, can accept a two-column .tsv file with DOIs and redirect URLs to perform the update, so we didn't have to make all the changes manually, but we did have to create the .tsv file. Unfortunately, it's not easy to get short URLs from Confluence in a programmatic fashion. Here's what I did:
NewDOIRedirects < RepositoryIndex.txt > DOIsAndRedirects-Old.tsv" to get the current redirect mappings.