Skip to content

Conversation

@Christopher-Tan
Copy link
Contributor

Summary:

Fixed the first two issues with #245

  1. CLI looked for project.pros while uploading binary
  2. Omitting slot number causes error
  3. To be done: ut vs upload causes an error

Motivation:

To fix upload options

References (optional):

Closes #245

Test Plan:

  • pros upload --target v5 --slot 1 hello-world.bin have a binary called hello-world.bin in a directory with project.pros and it should upload successfully

  • run the same command without a slot number

  • run the same command with pros ut

@Christopher-Tan
Copy link
Contributor Author

Problem 3 is fixed, waiting for review.

Copy link
Member

@ayushuk ayushuk left a comment

Choose a reason for hiding this comment

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

Looks good, I forgot to test at this meeting but usually before we push a change relating to hardware we have a second person test it out. I'll do that at next meeting and approve.

from .terminal import terminal
ctx.invoke(upload, **upload_kwargs)
ctx.invoke(terminal, request_banner=False)
ctx.invoke(terminal, request_banner=False)
Copy link
Member

Choose a reason for hiding this comment

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

nit: add newline here

@omegaStag omegaStag removed their request for review March 3, 2023 02:12
@mayankpatibandla mayankpatibandla added the in testing This is currently in testing label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in testing This is currently in testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 A few related issues in upload commands

4 participants