-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
docs(#1036): Update linux installation instructions via apt #1037
base: main
Are you sure you want to change the base?
docs(#1036): Update linux installation instructions via apt #1037
Conversation
|
Not sure, but feels like #1203 is related. |
These instructions worked for me after a lot of searching online. Mostly, the |
This is definitely not necessary on LinuxMint and should not be added as a general rule. Btw, there is already the instruction |
My gpg was configured and already in use. I searched comprehensively for a fix, to no avail. Only creating this thing in root fixed it - I'm using Pop_Os |
Ok, I tried on a fresh linuxMint install in a VM and this is my result: So ok, I agree this check can be part of the install script for linux. But instead of doing it with mkdir, it can be checked with just
|
I confirm |
@@ -61,12 +61,11 @@ flatpak install com.usebruno.Bruno | |||
|
|||
# On Linux via Apt | |||
sudo mkdir -p /etc/apt/keyrings | |||
sudo apt-get update && sudo apt-get install gpg | |||
sudo gpg --list-keys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it probably is too noisy to add a comment here for why this is needed. But maybe squashing the commits and adding the necessity for this line there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean, something like that?
sudo gpg --list-keys && sudo gpg --no-default-keyring --keyring ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command to list keys looks like a noop, but it actually does something (as discussed in the PR). This is surprising, so a comment may help.
But: a comment pointing out why this command is there, at that place is probably not relevant for 99% of users. So that's why I suggested squashing the commits and adding a line about this to the commit message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit, where I added this command, has message:
In APT instructions: Use "gpg --list-keys" to create ".gnupg" directory
Are you sure squashing needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, didn't see that one, my bad.
I think in general squashing commits from (esp smaller) feature branches is a good thing. But it depends a bit on the practices of the project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, I've squished commits related to gpg now - you can see commit
4e841e1
to
b8a51a8
Compare
All looks good. I would need to review this part to make sure that all of these are really needed. And that will take time. deb: {
// Docs: https://www.electron.build/configuration/linux#debian-package-options
depends: [
'libgtk-3-0',
'libnotify4',
'libnss3',
'libxss1',
'libxtst6',
'xdg-utils',
'libatspi2.0-0',
'libuuid1',
'libsecret-1-0',
'libasound2' // #1036
]
}, Can you submit the above part as a separate PR and keep this PR just to update the linux install instructions ? |
- Add instructions to install gpg; - Use "gpg --list-keys" to let gpg create ".gnupg" directory with correct rights; - Use "arch=amd64" - see commit 6c8c87f.
b8a51a8
to
5f9c21d
Compare
@helloanoop Thanks for the response! I updated this branch and created separate pull request. |
Description
Fix #1036 - I modify instructions in READMEs to avoid two errors when installing Bruno in Linux via Apt (see issue for more info).
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.