bulk rename of remaining USER- packages

This commit is contained in:
Axel Kohlmeyer
2021-06-29 19:49:18 -04:00
parent 2d4bb8f38c
commit 878795e64a
759 changed files with 878 additions and 878 deletions

View File

@ -41,7 +41,7 @@ if not os.path.isdir(doc_dir):
pkgdirs = glob(os.path.join(src_dir, '[A-Z][A-Z]*'))
dirs = re.compile(".*/([0-9A-Z-]+)$")
user = re.compile("USER-.*")
user = re.compile(".*")
stdpkg = []
usrpkg = []
@ -90,7 +90,7 @@ for p in stdpkg:
counter += 1
print(f"Standard package {p} missing in Packages_details.rst")
matches = set(re.findall(':ref:`(USER-[A-Z0-9]+) <PKG-\\1>`', text, re.MULTILINE))
matches = set(re.findall(':ref:`([A-Z0-9]+) <PKG-\\1>`', text, re.MULTILINE))
for p in usrpkg:
if not p in matches:
counter +=1