feat: Add interactive submit-project script for custom challenges#233
Draft
feat: Add interactive submit-project script for custom challenges#233
Conversation
- Extended challenge.py with submit-project subcommand - Interactive questionnaire following specified requirements - OSS-Fuzz project URL discovery using grep (no yaml import) - Support for diff mode (..) and full mode analysis - Automatic default branch detection - Added Makefile target for easy access - Validates user input and provides helpful feedback 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>
ret2libc
commented
Aug 4, 2025
Collaborator
Author
|
@claude address the review |
Contributor
|
Claude finished @ret2libc's task —— View job Todo List
Changes MadeReplaced the shell command approach in
The function now parses the project.yaml file line by line looking for ✅ Review feedback addressed! The grep and sed commands have been replaced with pure Python code as requested. Changes committed and pushed to the PR branch. |
- Replace shell commands in get_project_git_url_from_oss_fuzz() with pure Python - Use tempfile.mkdtemp() for proper temporary directory management - Parse project.yaml line by line with regex for main_repo extraction - Handle both quoted and unquoted YAML values - Improve error handling and resource cleanup Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>
Collaborator
Author
|
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.
Implements issue #220 by adding an interactive submit-project script that guides users through submitting custom challenges.
Features:
Closes #220
Generated with Claude Code