-
Notifications
You must be signed in to change notification settings - Fork 142
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
Minimal check for hook/ files in new uploads. #7847
Conversation
cc @dcharkes |
@@ -832,3 +833,20 @@ Iterable<ArchiveIssue> checkTopics(String pubspecContent) sync* { | |||
} | |||
} | |||
} | |||
|
|||
Iterable<ArchiveIssue> checkHooks(Set<String> fileNames) sync* { |
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.
Should this use the SDK version as @jonasfj suggested in the issue?
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.
Yeah, if we could pass along the SDK constraint and require that this greater than 3.6.0-0
ensuring that it's at-least Dart 3.6, then I think that'd help a bit.
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.
@dcharkes we don't know what SDK it'll land in yet, right? Just that it definitely won't be 3.5
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.
Updated, PTAL.
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.
Don't mind landing this as is though. But it'd be nice to add the SDK constraint check later.
Co-authored-by: Jonas Finnemann Jensen <jopsen@gmail.com>
#7541