Skip to content
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

Merged
merged 3 commits into from
Jul 11, 2024
Merged

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Jul 3, 2024

@sigurdm
Copy link
Contributor

sigurdm commented Jul 5, 2024

cc @dcharkes

@@ -832,3 +833,20 @@ Iterable<ArchiveIssue> checkTopics(String pubspecContent) sync* {
}
}
}

Iterable<ArchiveIssue> checkHooks(Set<String> fileNames) sync* {
Copy link

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?

Copy link
Member

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.

Copy link
Member

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, PTAL.

Copy link
Member

@jonasfj jonasfj left a 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.

@isoos isoos merged commit c01523e into dart-lang:master Jul 11, 2024
32 checks passed
@isoos isoos deleted the hook branch July 11, 2024 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants