Is there a way of adding multiple Project References at once, or listing all those missing in a repo and then adding them at once?
E.G. you can select at a folder level and it will add all the RIDs of datasets contained in there, or perhaps you can mark a whole project as ‘referenced’ somehow please?
Adding each dataset is very tiresome, and there doesn’t seem to be any way of doing it without either searching each dataset via the ‘references’ button on a project, or going through each transform and clicking the ‘add reference’ high light in the Code Repo (which you can’t search for). Is there any way of listing all unapproved references in a repo?
This is follow up to What are the changes from project scoped exemptions post, where we have now removed them add set the repo to ‘allow security markings’ - but now the checks fail with:
* What went wrong:
Execution failed for task ':checkShrinkwrap'.
> ChecksException: (TransformsGradlePlugin:ShrinkwrapResolutionError): {task="checkShrinkwrap",
project="<redacted>", errors="\n - Alias 'ri.foundry.main.dataset.<redacted>' has been deleted.\n
Known files that use this alias: [transforms-python/src/<redacted>, transforms-python/src/<redacted>]"}
These files haven’t been deleted, they just aren’t referenced, so I’m currently having to manually add all these references, which is annoying.
What’s also annoying is that the checks don’t seem to list all the missing files at once. Just a few, so I add them, re-run the checks, fails again with another list of ‘missing’ files etc.
@redboyben I don’t know if the PSJ exemption removal triggered this, or the setting of the markings option in the repo, but it’d be good to highlight as a difference when PSJ exemption is removed.