Coder Social home page Coder Social logo

Comments (8)

grtcdr avatar grtcdr commented on September 7, 2024

Hi, thanks for reporting these issues!

@123marvin123 should be able to look into them as support for macOS was introduced completely by him.
But in the meantime, I'll take a look and see if I can fix them.

  1. Big Sur, identifies itself as both version 10.16 and 11.0, so there's nothing wrong with the way Macchina reports your operating system information
  2. Macchina returns the total number of entries in both /usr/local/Cellar and /usr/local/Caskroom, can you confirm that there 6 total entries in both directories?

from macchina.

ftpd avatar ftpd commented on September 7, 2024

Thank you!

If you need more help with testing, feel free to contact me. I know nothing about coding in Rust, but I know macOS pretty well and I'll be glad to help as much as possible.

from macchina.

grtcdr avatar grtcdr commented on September 7, 2024

Thank you!

If you need more help with testing, feel free to contact me. I know nothing about coding in Rust, but I know macOS pretty well and I'll be glad to help as much as possible.

You're welcome! I didn't mention the third point but terminal fetching will probably evolve to no longer use $TERM on macOS.

from macchina.

123marvin123 avatar 123marvin123 commented on September 7, 2024

Describe the bug
There are some false information when running macchina on macOS:

  1. "OS — macOS 10.16.0 Big Sur" - Big Sur is actually version 11.
  2. "Packages — 7" - I don't know how it's getting this info, but for me it's false - I have 6 packages installed from brew. I did a very simple test and installed one more, so now macchina shows 8. So, there is +1 difference.
  3. "Terminal — xterm-256color" - it's not a bug, more like feature request: it would be better to see terminal emulator (built-in Terminal, iTerm2, Alacritty and so on), as now it shows the value of $TERM.

To Reproduce
Steps to reproduce the behavior:

  1. run macchina.

Expected behavior
Proper info.

System Information

  • Distribution: macOS 11.2.3
  • Desktop Environment: Aqua
  • Terminal: iTerm2
  • Macchina's version: 0.6.0
  1. If you downloaded the binary from the GitHub release page, you get this phenomenon because the GitHub-provided runner that builds it is still running Catalina and reports Big Sur as 10.16. After GitHub updated the runner, we will see the report as 11.2.*. If it bothers you, I can upload a binary built on Big Sur.
  2. At the moment, Macchina is counting the amount of directories in the Homebrew directory because I have not yet understood how they are bookkeeping the installed packages. I don’t want to invoke the „brew“ command from Macchina because it is really slow.
  3. Yes, it’s currently on the todo list :)

from macchina.

ftpd avatar ftpd commented on September 7, 2024
  1. No problem, I will wait.
  2. Where are you counting them? Maybe something like ls -1 /usr/local/Cellar | wc -l will work? It gives the correct number. Maybe you use ls -l, which also includes line total X - it would explain this +1 situation.
  3. Great ;-)

from macchina.

123marvin123 avatar 123marvin123 commented on September 7, 2024

It counts the folders in /usr/local/Cellar and Caskroom, but I think this will give a false reading if you load a package from a different Tap.

from macchina.

grtcdr avatar grtcdr commented on September 7, 2024

Is this issue still persistent or should I close this?

from macchina.

grtcdr avatar grtcdr commented on September 7, 2024

A workaround was implemented a while ago by @123marvin123 that addresses the terminal issue you were having, so I'm closing this for now.

from macchina.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.