Skip to content

Releases: gpu-mode/popcorn-cli

Release v1.2.33

11 Feb 02:50
178f408

Choose a tag to compare

Support archive (tarball/zip) submissions for model competitions (#34)

- Read submission files as bytes (Vec<u8>) instead of String to handle
  binary archives without crashing on invalid UTF-8
- Change submit_solution signature from &str to &[u8] for file content
- Add is_archive_file() helper to detect .tar.gz, .tgz, .zip files
- Skip popcorn directive parsing for archive files (return empty directives)

Release v1.2.31

09 Feb 06:48

Choose a tag to compare

Move admin commands and contributor docs to CONTRIBUTING.md

Release v1.2.30

09 Feb 06:36

Choose a tag to compare

Add docs for installing extra Python dependencies in submissions

Release v1.2.29

06 Feb 16:09
dd46c00

Choose a tag to compare

Add user submissions management commands (#32)

Release v1.2.28

03 Feb 17:54

Choose a tag to compare

Fix https://github.com/gpu-mode/popcorn-cli/issues/23

Release v1.2.21

01 Feb 20:53
bb01cc4

Choose a tag to compare

Fix version mismatch by setting version from CI env var (#31)

- Add build.rs that reads CLI_VERSION env var (defaults to "dev")
- Update clap to use CLI_VERSION set by build script
- Set Cargo.toml version to 0.0.0-dev as placeholder
- CI passes git tag as CLI_VERSION when building releases

Local builds show "dev", release builds show the tag version.

Fixes #25

Release v1.2.16

01 Feb 20:39
90fd941

Choose a tag to compare

Add test suite, CI workflow, and fix all clippy warnings (#30)

* Add test suite, CI workflow, and fix all clippy warnings

- Add 20 unit tests for core logic (directive parsing, text wrapping, HTTP client)
- Add GitHub Actions workflow for tests on Linux/macOS/Windows
- Fix all clippy warnings to enable -D warnings in CI
- Add CLAUDE.md with contribution guidelines and architecture overview
- Add tempfile dev-dependency for file-based tests

Warnings fixed:
- Remove redundant imports
- Remove unused SubmissionResultMsg struct
- Remove unused get_ascii_art/display_ascii_art functions
- Fix int_plus_one, map_or, manual_strip, borrowed_box, redundant_closure
- Fix needless_return and unnecessary_cast

* Fix formatting in admin code after merge from main

Release v1.2.14

01 Feb 20:16
297253f

Choose a tag to compare

Add admin CLI commands (#29)

* Add admin CLI commands

- Add admin subcommand with start, stop, stats, and CRUD operations
- Add admin service functions with Bearer token authentication
- New commands:
  - popcorn admin start/stop - control job acceptance
  - popcorn admin stats - view server statistics
  - popcorn admin get-submission/delete-submission
  - popcorn admin create-leaderboard/delete-leaderboard

Requires POPCORN_ADMIN_TOKEN environment variable for authentication.

* Simplify create-leaderboard to match kernelbot API

- Only require directory as positional arg (e.g., "identity_py")
- Accept --gpu multiple times for multiple GPU types
- Name and deadline auto-derived by server

* Simplify create-leaderboard to only require directory

- Remove --gpu argument (GPUs now come from task.yml)
- Remove unimplemented LoadCompetition stub
- Service only sends directory in payload

* Add update-problems admin command

Adds CLI support for updating problems from a GitHub repository,
mirroring the Discord /admin update-problems command. Supports
--problem-set, --repository, --branch, and --force options.

* Clarify CLI support for Discord functionalities

Removed 'almost' from the description of CLI capabilities.

Release v1.2.7

28 Jan 05:11
a270241

Choose a tag to compare

Update README.md

Release v1.2.6

25 Jan 02:35

Choose a tag to compare

update README'

with instructions on single file native submisions