id = "dbeaver" name = "DBeaver" homepage = "https://dbeaver.io/" description = "Free universal database tool and SQL client." icon = "SimpleIcons:dbeaver" executables = ["dbeaver"] [dotfiles] # https://dbeaver.com/docs/dbeaver/Workspace-Location/ — the DBeaverData folder # is %APPDATA%\DBeaverData\ on Windows, ~/Library/DBeaverData/ on macOS and # $XDG_DATA_HOME/DBeaverData/ (default ~/.local/share) on Linux. The macOS one # is ~/Library/DBeaverData, not ~/Library/Application Support, so no named base # directory spells all three: each is written out. # The same page: workspace6 is the "Primary workspace containing configurations, # scripts, diagrams, and project files"; `drivers` holds automatically # downloaded driver jars, `install-data` runtime files and `secure` "Global # credentials (encrypted with master password)" — all three siblings of # workspace6, so listing workspace6 leaves them behind on its own. paths = [ "~/Library/DBeaverData/workspace6/", "%APPDATA%/DBeaverData/workspace6/", "~/.local/share/DBeaverData/workspace6/", ] # .metadata is Eclipse's own workspace state — the plugin registry, the error # log, the last window layout. It is regenerated on first launch and is not # settings. exclude = [ "~/Library/DBeaverData/workspace6/.metadata/", "%APPDATA%/DBeaverData/workspace6/.metadata/", "~/.local/share/DBeaverData/workspace6/.metadata/", ] # plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/app/DBPDataSourceRegistry.java # names the two files a project keeps side by side: MODERN_CONFIG_FILE_NAME is # "data-sources.json", the connection definitions, and # CREDENTIALS_CONFIG_FILE_NAME is "credentials-config.json", the passwords for # those connections. Only the second is a credential file; it is a per-project # file, hence the glob over the project name. The `secure` directory beside the # workspace is the global credential store the workspace-location page # describes. # credentials-config.json sits inside a directory `paths` covers, so a consumer # has to let secret win over the directory. secret = [ "~/Library/DBeaverData/workspace6/*/.dbeaver/credentials-config.json", "%APPDATA%/DBeaverData/workspace6/*/.dbeaver/credentials-config.json", "~/.local/share/DBeaverData/workspace6/*/.dbeaver/credentials-config.json", "~/Library/DBeaverData/secure/", "%APPDATA%/DBeaverData/secure/", "~/.local/share/DBeaverData/secure/", ] # No machine_lines: data-sources.json holds host names and ports, which are the # connections a user wants on the next machine, and a driver path pointing into # this machine's disk only appears when the user overrode the downloaded driver.