Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Machine readable output #59

Open
joewez opened this issue Aug 2, 2018 · 4 comments
Open

Machine readable output #59

joewez opened this issue Aug 2, 2018 · 4 comments

Comments

@joewez
Copy link

joewez commented Aug 2, 2018

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!

@dhalbert
Copy link
Contributor

dhalbert commented Aug 2, 2018

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.

@joewez
Copy link
Author

joewez commented Aug 2, 2018

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.

@dhalbert
Copy link
Contributor

dhalbert commented Aug 2, 2018

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.).

@dhalbert dhalbert closed this as completed Aug 2, 2018
@devxpy
Copy link
Member

devxpy commented Feb 25, 2019

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.

@devxpy devxpy reopened this Feb 25, 2019
@devxpy devxpy changed the title Changes to ls are great, but I need version 1.0.3 back machine readable Feb 25, 2019
@devxpy devxpy changed the title machine readable Machine readable output Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants