Skip to content

Comments

add documentation and versioning experimentals#7

Merged
Nagitch merged 3 commits intomainfrom
feature/prepare-cratesio-publishing
Oct 24, 2025
Merged

add documentation and versioning experimentals#7
Nagitch merged 3 commits intomainfrom
feature/prepare-cratesio-publishing

Conversation

@Nagitch
Copy link
Owner

@Nagitch Nagitch commented Oct 24, 2025

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 24 to 41
The CLI provides various subcommands for working with OSC data:

```bash
# Show help
osc-devtools --help

# Test roundtrip conversion between JSON and MessagePack
osc-devtools roundtrip

# Convert JSON to MessagePack
osc-devtools json-to-msgpack input.json output.msgpack

# Convert MessagePack to JSON
osc-devtools msgpack-to-json input.msgpack output.json

# Validate OSC IR data
osc-devtools validate data.json
```

Choose a reason for hiding this comment

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

P1 Badge Update README to match available CLI subcommands

The README lists commands such as roundtrip, json-to-msgpack, msgpack-to-json, and validate, but the binary only defines the clap subcommands json-roundtrip, msgpack-roundtrip, and bundle-demo in main.rs. Invoking the documented command names will exit with "unrecognized subcommand" errors, so the usage section is misleading for anyone trying the tool.

Useful? React with 👍 / 👎.

Comment on lines 86 to 99
## Library Usage

The crate also provides library functions for programmatic use:

```rust
use osc_devtools::{create_test_bundle, roundtrip_test};

// Create complex test data
let test_data = create_test_bundle();

// Test roundtrip conversion
let success = roundtrip_test(&test_data);
assert!(success);
```

Choose a reason for hiding this comment

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

P1 Badge Remove nonexistent library API from README

The README claims the crate exposes create_test_bundle and roundtrip_test for programmatic use, but the package only contains main.rs and does not export a library or those functions. Sample code use osc_devtools::{create_test_bundle, roundtrip_test}; will not compile. Either add a library module or adjust the documentation to reflect the actual binary-only crate.

Useful? React with 👍 / 👎.

@Nagitch
Copy link
Owner Author

Nagitch commented Oct 24, 2025

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

https://github.com/Nagitch/osc-data-model/blob/e5081f94eed65ca2e0c44d26387e6666b6cf86fd/Cargo.lock#L194-L196
P1 Badge Refresh Cargo.lock after bumping crate versions

All member Cargo.toml files now declare version 0.1.0-alpha.1, but the workspace lock file still pins osc-ir at 0.1.0. Any cargo invocation with --locked (common in CI or for reproducible builds) will fail with error: the lock file … needs to be updated because the manifest and lock versions no longer match. Regenerate and commit Cargo.lock so the recorded versions reflect the alpha release.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- Remove Cargo.lock from .gitignore to track dependency versions
- Include Cargo.lock in repository for reproducible builds
- Fixes CI builds with --locked flag

Resolves reviewer feedback about lock file version mismatch
@Nagitch
Copy link
Owner Author

Nagitch commented Oct 24, 2025

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Nagitch Nagitch merged commit 18ff29a into main Oct 24, 2025
4 checks passed
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.

1 participant