scientifichackers / ampy

MicroPython Tool - Utility to interact with a MicroPython board over a serial connection.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Machine readable output

joewez opened this issue · comments

I have a downstream application that utilizes the output of the ls command to function.

 https://github.com/joewez/AmpyFileManager

Unfortunately, the latest changes to the output formats has totally thrashed my app!

While I mean to update the application to work with the new formatting ASAP, I have a couple of non-specific requests for help...

  1. How do I extract version 1.0.3 from the source on github? I know I should have it as soon as I clone the repo, but I'm not git savvy enough to switch to before the latest changes.

  2. Could you consider a means of differentiating the files from the sub-directories with the ls command? As it is, the only general difference is the lack of an extension.

Anyway, thanks everyone for their great work!

I'll add tags that mark the versions. Then you can do git checkout 1.0.3. I'll comment here when that's done.

Please write up 2. as a separate issue, maybe with some examples.

Thanks for marking the versions.
I already have a ticket for 2 (Issue #44). I will see if I can flesh it out with some examples.

OK, made lots of tags for lots of previous versions. The initial version was 0.9.0, and then it went back to 0.5.0, so I skipped the initial version, since it was out of order.

Do git pull --tags if you cloned the original, or git fetch --tags adafruit if you're using a remote called adafruit (or upstream for upstream, etc.).

Hey! Sorry, you had this experience.

I plan to add a more computer-readable output (preferably JSON) for other tools to parse.

Your GUI project looks great, looking forward to having first-class support for stuff like this.