Skip to content

Conversation

marcnause
Copy link
Contributor

@marcnause marcnause commented Oct 12, 2025

Fixes: #2962

Requires testing with phone and PSLab device.

Summary by Sourcery

Enhancements:

  • Switch usb_serial from the GitHub repository to version ^0.5.0 published on pub.dev

Copy link
Contributor

sourcery-ai bot commented Oct 12, 2025

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Replaces the usb_serial dependency from a Git reference to the official pub.dev version (^0.5.0), adjusting the lock file to reflect the updated source and versioning.

Flow diagram for dependency update process

flowchart TD
  A["Start: Existing dependency on usb_serial (GitHub)"] --> B["Update pubspec.yaml to use usb_serial from pub.dev"]
  B --> C["Update pubspec.lock to reflect new source/version"]
  C --> D["End: Project now uses usb_serial from pub.dev"]
Loading

File-Level Changes

Change Details Files
Swap usb_serial dependency from Git to pub.dev version
  • Removed git URL and master ref under usb_serial
  • Added version constraint ^0.5.0 for usb_serial
  • Updated pubspec.lock to reflect new usb_serial source and version
pubspec.yaml
pubspec.lock

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@marcnause marcnause force-pushed the replaceUsbSerialDependency branch from a8b0d32 to 2d547df Compare October 12, 2025 16:31
Copy link
Contributor

Build Status

Build successful. APKs to test: https://github.com/fossasia/pslab-app/actions/runs/18446588839/artifacts/4248784139.

Screenshots

Android Screenshots
iPhone Screenshots
iPad Screenshots

@marcnause marcnause self-assigned this Oct 12, 2025
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.

usb_serial is pulled from git instead of pub.dev

1 participant