Comments (8)
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.
- 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
- 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.
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.
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.
Describe the bug
There are some false information when running macchina on macOS:
- "OS — macOS 10.16.0 Big Sur" - Big Sur is actually version 11.
- "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.
- "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:
- run macchina.
Expected behavior
Proper info.System Information
- Distribution: macOS 11.2.3
- Desktop Environment: Aqua
- Terminal: iTerm2
- Macchina's version: 0.6.0
- 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.
- 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.
- Yes, it’s currently on the todo list :)
from macchina.
- No problem, I will wait.
- Where are you counting them? Maybe something like
ls -1 /usr/local/Cellar | wc -l
will work? It gives the correct number. Maybe you usels -l
, which also includes linetotal X
- it would explain this +1 situation. - Great ;-)
from macchina.
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.
Is this issue still persistent or should I close this?
from macchina.
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)
- [BUG] Add Debian point releases from /etc/debian_version HOT 2
- [New Distro] - Amazon Linux HOT 1
- Display aarch64 CPU info HOT 3
- [BUG] macOS Sonoma is shown as 'macOS 14.0.0 Unknown' HOT 10
- Does Macchina support two batteries? HOT 3
- [BUG] error[E0432]: unresolved imports `vergen::Config`, `vergen::ShaKind`, error[E0425]: cannot find function `vergen` in crate `vergen` HOT 1
- [BUG] Macchina errors for me when using the provided macchina.toml HOT 2
- -o isn't working properly HOT 5
- Wrong battery value on MacOS HOT 9
- CPU Load value greater than 100% on MacOS HOT 12
- [BUG] install failure (build and cargo run works just fine, however) HOT 2
- [Feature Request] Image support like Neofetch. HOT 1
- [BUG] version `GLIBC_2.33' not found HOT 5
- [BUG] no themes installed and no configs is found HOT 1
- [FEATURE] Palette spacing HOT 1
- Investigate CI failure of NetBSD cross-compilation HOT 3
- Only Include Certain Keys HOT 1
- Fails to build macchina from AUR HOT 2
- [Windows] Missing major features and some empty readouts HOT 2
- [Windows] Customization feature request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macchina.