~pieq/bugit/+git/qabro:no-sudo-needed

Last commit made on 2018-07-06
Get this branch:
git clone -b no-sudo-needed https://git.launchpad.net/~pieq/bugit/+git/qabro
Only Pierre Equoy can upload to this branch. If you are Pierre Equoy please log in for upload directions.

Branch merges

Branch information

Name:
no-sudo-needed
Repository:
lp:~pieq/bugit/+git/qabro

Recent commits

f69f9d7... by Pierre Equoy

Add default values if running outside a snap

When debugging, the $SNAP* env variables are not necesarily set. It's good
to have defaults.

674a8b1... by Pierre Equoy

Add a check to make sure qabro is run as normal user

An user reported an issue, and after some investigation it was found that he
was launching qabro as a super user, which is not needed anymore.

An error message is now shown, telling the user to run qabro as a normal user.

e55ab18... by PMR <pmr@pmr-lander>

Merge #348977 from ~pieq/qabro/+git/qabro:fix-1778444-additional-info

fb7a0ca... by Pierre Equoy

Add standard info (CPU, GPU, BIOS, Image...) in the bug description when uploading to Launchpad

This feature was copied over and adapted from a similar feature in
checkbox-oem-bug.

LP: #1778444

9da5bb0... by Pierre Equoy

Change reference for Launchpad auth

64db5e1... by PMR <pmr@pmr-lander>

Merge #348449 from ~pieq/qabro/+git/qabro:no-sudo

e0a2642... by Pierre Equoy

Bump to v0.5

b47f025... by Pierre Equoy

Add dbus-x11 dependency for a smoother Launchpad authorization process

dbus-x11 includes the dbus-launch command which will launch the default
Internet browser with the Launchpad authorization page.

If using qabro on a headless device (server or Ubuntu core image), the user
will still have to manually click on the link.

fb1aa82... by Pierre Equoy

Update documentation to remove need for sudo

4093df0... by Pierre Equoy

Remove the need for calling qabro with sudo

Installing the snap will create a /etc/sudoers.d/qabro file allowing
`sudo` commands to be called without having to input admin password.

Removing the snap will also remove this file.

This means we don't need to prefix `qabro` with `sudo`, and it means we can
only prefix the commands requiring sudo (currently, only `sosreport`).