mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-21 18:41:38 +00:00
In order for Sentry to parse our releases as semver, they need to be in the form of `package@version` [0]. Without this, the feature of "Mark this issue as resolved in the _next_ version" doesn't work properly because Sentry compares the versions as to when it first saw them vs parsing the semver string itself. We test versions prior to releasing them, meaning Sentry learns about a 1.4.0 version before it is actually released. This causes false-positive "regressions" even though they are fixed in a later (as per semver) release. This create some redundancy with the different DSNs that we are already using. I think it would make sense to consider merging the two projects we have for the GUI client for example. That is really just one project that happens to run as two binaries. For all other projects, I think the separation still makes sense because we e.g. may add Sentry to the "host" applications of Android and MacOS/iOS as well. For those, we would reuse the DSN and thus funnel the issues into the same Sentry project. As per Sentry's docs, releases are organisation-wide and therefore need a package identifier to be grouped correctly. [0]: https://docs.sentry.io/platforms/javascript/configuration/releases/#bind-the-version
20 lines
504 B
Rust
20 lines
504 B
Rust
#![cfg_attr(test, allow(clippy::unwrap_used))]
|
|
|
|
pub mod auth;
|
|
pub mod compositor;
|
|
pub mod controller;
|
|
pub mod deep_link;
|
|
pub mod errors;
|
|
pub mod ipc;
|
|
pub mod logging;
|
|
pub mod settings;
|
|
pub mod system_tray;
|
|
pub mod updates;
|
|
pub mod uptime;
|
|
|
|
/// The Sentry "release" we are part of.
|
|
///
|
|
/// IPC service and GUI client are always bundled into a single release.
|
|
/// Hence, we have a single constant for IPC service and GUI client.
|
|
pub const RELEASE: &str = concat!("gui-client@", env!("CARGO_PKG_VERSION"));
|