Skip to content

Commit 8968d06

Browse files
committed
Package the defaults file.
Loading new feature flag defaults from a file enables deployment of new features by deploying a new defaults file rather than deploying the entire software package. One mechanism that we can effect this deployment is by using regular Debian packaging; here, we introduce a new package `cuttlefish-defaults` for rolling out feature flag default changes. When we want to experimentally deploy a new feature associated with a feature flag, the defaults file is changed and a new release of this package is cut. This new version of the package can reside in an unstable repository at a different cadence from the software package, which can go to stable earlier.
1 parent 795e159 commit 8968d06

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

base/debian/cf_defaults

Whitespace-only changes.

base/debian/control

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,9 @@ Provides: ${diverted-files}
9898
Description: Utilities for Android cuttlefish devices in the cloud
9999
Configuration and utilities for Android cuttlefish devices running on
100100
Google Compute Engine. Not intended for use on developer machines.
101+
102+
Package: cuttlefish-defaults
103+
Architecture: any
104+
Depends: cuttlefish-base,
105+
Description: May potentially enable new or experimental cuttlefish
106+
features before being enabled by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
debian/cf_defaults /usr/lib/cuttlefish-common/etc/

0 commit comments

Comments
 (0)