-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Output should mention installation method #942
Comments
Should every run of a program optimize for but reports, or would maybe this enchancement and the version declaration as it exists be reserved for a |
I figured that it doesn't add much overhead so it's fine always displaying it wherever we show the version, but only displaying the info on |
@Daniel15 To continue with your examples, there are a number of ways to get Yarn. So, are you thinking something like the following? tarball brew msi Chocolatey CentOS / Fedora / RHEL Solus Arch Linux Shell Script npm |
@olingern - Tarball and shell script are essentially the same (the shell script just downloads and extracts the tarball). Right now, the Solus and Arch packages are not official, I'm not sure how those packages are being built (probably using the tarball) so I don't know how we'd record the installation method for those. Maybe I'll look into how those packages are built, and add them to our official build scripts. |
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
When running
yarn
commands, it includes the version number:This is very useful, particularly with bug reports (as anyone that includes the full output with the bug report will automatically include the version number.
What is the expected behavior?
It would be useful to also include the installation method in that output. For example, when installed from the Debian/Ubuntu repo:
Similarly, when installed via Windows installer:
Or from tarball:
Some bugs are specific to certain installation methods, so we end up having to ask "Did you install through the Ubuntu package, the tarball, or npm?" in some bug reports.
This would require the packaging scripts to make a modification to some file to signify the installation method, and something at runtime to read that file.
The text was updated successfully, but these errors were encountered: