Skip to content

Conversation

@msaroufim
Copy link
Member

@msaroufim msaroufim commented Jun 8, 2025

Added scripts for both linux based and Windows based setup which would

  1. Download latest release binary
  2. Add to path
  3. Automatically register

With some doc instructions on what people should do at the physical workshop

Tested so far on my local mac and doing windows now

msaroufim added 7 commits June 8, 2025 11:44
…latform install scripts, hardcoded API URL, test/benchmark modes only
…nual registration step for hackathon participants
…e --anonymous flag from CLI - Update install scripts to use GitHub authentication - Re-enable all submission modes - Simplify authentication flow to GitHub OAuth only
@msaroufim msaroufim changed the title Add hackathon install scripts and restrict submission modes Add hackathon installation scripts Jun 8, 2025
@msaroufim msaroufim requested a review from S1ro1 June 8, 2025 19:46
@msaroufim msaroufim marked this pull request as ready for review June 8, 2025 20:41
@msaroufim msaroufim requested a review from Copilot June 8, 2025 20:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds dedicated installation scripts and preconfiguration for hackathon participants, and updates error messaging and documentation to streamline setup.

  • Preconfigure the POPCORN_API_URL at startup
  • Introduce bash and PowerShell installer scripts for hackathon mode
  • Update CLI error message and docs with quick-install and example code

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/main.rs Set default API URL and removed manual env-var check
src/cmd/mod.rs Updated error text to reference the popcorn-cli register command
install.sh New bash installer script for Unix/Linux/macOS
install.ps1 New PowerShell installer script for Windows
docs/AMD_workshop/example.py Added sample AMD workshop kernel implementation
docs/AMD_workshop/README.md Added hackathon quick-install instructions
Comments suppressed due to low confidence (2)

src/cmd/mod.rs:114

  • [nitpick] Error messages should use backticks around CLI commands for clarity, e.g., popcorn-cli register instead of 'popcorn-cli register'.
"cli_id not found in config file ({}). Please run 'popcorn-cli register' first."

install.ps1:4

  • The $Force parameter is defined but not used; implement its behavior or remove the parameter.
[switch]$Force = $false

Copy link
Member

@S1ro1 S1ro1 left a comment

Choose a reason for hiding this comment

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

Just remove from .gitignore, can merge after

S1ro1 and others added 2 commits June 8, 2025 13:50
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
msaroufim and others added 4 commits June 8, 2025 13:51
@msaroufim msaroufim merged commit cdd6bf9 into main Jun 8, 2025
5 checks passed
@msaroufim msaroufim deleted the hackathon-install-scripts branch June 9, 2025 03:31
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.

3 participants