Repository navigation
fix(ilok): accept plugg-2 for the iLok environment - #15
Merged
Merged
Conversation
`ilok create` refused anything except plugg-1, so a library that selected plugg-2 could not create an iLok environment. The pin named a runtime when PACE needs its fixes, and plugg-2 has those modules byte for byte. Accept both, and record the runtime actually used. PACE 6.0.1 installs on plugg-2 and its service runs with the same configuration as on plugg-1. Sign-in and activation are untested there, so the refusal message still names plugg-1. Also correct docs/runtime.md, which said every new environment runs on plugg-1. It runs on the selected runtime, or plain UMU-Proton without one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
plugg ilok createnow acceptsplugg-1orplugg-2, and records the one it used. It used to refuse anything exceptplugg-1, so a library that selectedplugg-2had to switch back first.docs/runtime.mdalso said every new environment runs onplugg-1. It runs on the runtime chosen withplugg runtime select, or plain UMU-Proton 10.0-4 with none chosen.Evidence
I ran the real
ilok_setup.createwith the unmodified PACE 6.0.1 MSI in a fresh library onplugg-2. That library assembled the runtime from the publishedruntime-plugg-2release, and its hash matched.Return value 1and no failed actions.plugg-2.PaceLicenseDServiceshas the same start type, account and failure actions size as in a workingplugg-1iLok environment, andsc queryreports itRUNNING. The test overrode the pin from a scratch script and did not touch a real iLok environment.The refusal message still names
plugg-1, because activation has only been tested there.runtime-overlays.jsonrecords the untested part undernot_yet_tested.For code:
python3 scripts/check-contribution.pySafety
plugg/licensing.pyand callslicensing.guard. It adds no such operation.