name: brickstore
description: A LEGO inventory management tool, connected to bricklink.com
services
snapcraft: https://github.com/rgriebl/brickstore/blob/main/unix/snapcraft.yaml.in
upstream: https://github.com/rgriebl/brickstore
upstream-relation: maintainer
plugs:
camera:
request-type: auto-connection
reasoning: BrickStore has a built-in part scanner that identifies LEGO parts
by pointing the camera at them and sending the frame to the Brickognize
recognition service. Without the connection the camera device list is
simply empty, which users report as a bug rather than as a missing
permission.
password-manager-service:
request-type: auto-connection
reasoning: BrickStore stores the user's BrickLink account credentials in the
Secret Service so they do not have to be re-entered on every start. It
uses libsecret with its own dedicated schema (attributes "service" and
"id") and only ever reads and writes its own items. Without the
connection the only alternatives are to prompt for the password on every
launch or to persist it outside the keyring, both of which are worse for
the user.
removable-media:
request-type: auto-connection
reasoning: BrickStore is a document-based application; its .bsx inventory
files are ordinary user documents that are frequently kept on external
drives, USB sticks and network shares mounted under /media. Opening and
saving documents is the application's central interaction.
Note: the packaging lives at unix/snapcraft.yaml.in; This project is built for many different platforms and packaging systems, so CMake substitutes the project URLs into it at build time and writes the final snapcraft.yaml.
On camera: +1 for auto-connection. The part scanner is a genuine built-in feature of the app and camera is an appropriate interface to auto-connect for a desktop app that has a real camera function.
On password-manager-service: -1 for auto-connection. This interface exposes the whole Secret Service, not individual items: a connected snap can read every secret in the user’s keyring and its own secrets become readable by any other app with keyring access. So we consistently decline auto-connection here, password-manager-service allows manual connection by default, so keyring-backed credentials work with a single snap connect brickstore:password-manager-service.
On removable-media: -1 for auto-connection. Documents in the user’s home directory are already covered by the home interface, removable-media specifically adds /media, /run/media and /mnt. Auto-connecting broad access to all removable and mounted volumes on every install is more than the occasional “open a .bsx from a USB stick” need warrants, which is why this interface is manual-connect by default.
So, +1 from me on camera auto-connects, and password-manager-service and removable-media as manual-connect plugs
+1 for auto-connecting camera interface. It would be great if you could update the description to make it clear that the snap uses the camera to get pictures that are then sent to Brickognize
-1 for password-manager-service interface. For your use case, using the Secret Portal looks more appropriate. libsecret should handle this seamlessly
-1 for removable-media interface. In this case the FileChooser portal may do the work and it is preferred over removable-media manual connection