-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom JSON files #2
Conversation
If I'm reading this correctly it allows any additional JSON fields, but I think we should specifically just check for 'subdir'. This will prevent simple exploits that try to add arbitrary data to our files. |
|
I would prefer to take the opposite approach as currently we only know about 'subdir'. It seems risky to accommodate an 'unkown unkown' as the manual review can still be overridden. Does that make sense? |
Yeah, if the human review is careless, we would want another guardrail to prevent something truly calamitous. Added in 00cb225. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just a couple things.
Packages like
paws
use subdirectories. These cases are extremely rare, so as we discussed in r-multiverse/help#1, this PR allows custom JSON entries for the little text files contributed to https://github.com/r-releases/r-releases. These are all detected as JSON, flagged for manual review, and merged into the universe.@shikokuchuo, would you please review?