From 157a74d8a47e46da908e1c1f22d645b2085343c1 Mon Sep 17 00:00:00 2001 From: mexisme Date: Tue, 10 Jan 2023 22:32:40 +1300 Subject: [PATCH] "old" --> "deprecated" --- README.md | 4 ++-- flake.nix | 2 +- .../surface/{old/README.md => OLD-BEHAVIOUR-DEPRECATION.md} | 6 +++--- microsoft/surface/README.md | 2 +- microsoft/surface/default.nix | 2 +- microsoft/surface/{old => deprecated}/default.nix | 0 6 files changed, 8 insertions(+), 8 deletions(-) rename microsoft/surface/{old/README.md => OLD-BEHAVIOUR-DEPRECATION.md} (91%) rename microsoft/surface/{old => deprecated}/default.nix (100%) diff --git a/README.md b/README.md index b0fa76e..1236032 100644 --- a/README.md +++ b/README.md @@ -194,8 +194,8 @@ See code for all available configurations. | [MSI GS60 2QE](msi/gs60) | `` | | [MSI GL62/CX62](msi/gl62) | `` | | [Microsoft Surface Pro 3](microsoft/surface-pro/3) | `` | -| [Microsoft Surface Range (Deprecated version)](microsoft/surface) | `` | -| [Microsoft Surface Range (Old Behaviour)](microsoft/surface/old) | `` | +| [Microsoft Surface Range (Deprecated)](microsoft/surface) | `` | +| [Microsoft Surface Range (Deprecated)](microsoft/surface/deprecated)| `` | | [Omen en00015p](omen/en00015p) | `` | | [One-Netbook OneNetbook 4](onenetbook/4) | `` | | [Panasonic Let's Note CF-LX4 ](panasonic/letsnote/cf-lx4) | `` | diff --git a/flake.nix b/flake.nix index 82d769b..233aec5 100644 --- a/flake.nix +++ b/flake.nix @@ -131,7 +131,7 @@ lenovo-yoga-6-13ALC6 = import ./lenovo/yoga/6/13ALC6; letsnote-cf-lx4 = import ./panasonic/letsnote/cf-lx4; microsoft-surface = import ./microsoft/surface; - microsoft-surface-old-behaviour = import ./microsoft/surface/old; + microsoft-surface-deprecated = import ./microsoft/surface/deprecated; microsoft-surface-pro-3 = import ./microsoft/surface-pro/3; msi-gs60 = import ./msi/gs60; msi-gl62 = import ./msi/gl62; diff --git a/microsoft/surface/old/README.md b/microsoft/surface/OLD-BEHAVIOUR-DEPRECATION.md similarity index 91% rename from microsoft/surface/old/README.md rename to microsoft/surface/OLD-BEHAVIOUR-DEPRECATION.md index a61fc5f..1519a83 100644 --- a/microsoft/surface/old/README.md +++ b/microsoft/surface/OLD-BEHAVIOUR-DEPRECATION.md @@ -33,12 +33,12 @@ Tools / services that are shared among several models are now extracted to their `common/` and imported by `common/default.nix`. These new "common" modules now have an `enable` option, which is `false` by default. -### "Old Behaviour" module +### "Deprecated Behaviour" module -The original `./default.nix` module has been replaced by a new `old/` module, which replicates the +The original `./default.nix` module has been replaced by a new `deprecated/` module, which replicates the original behaviour. -The new `./default.nix` will load the new `old/` module, but will also pop-up a warning asking users +The new `./default.nix` will load the new `deprecated/` module, but will also pop-up a warning asking users to update how they use the microsoft/surface profile from now on. This warning will probably change to a fail assertion at some point in the future. diff --git a/microsoft/surface/README.md b/microsoft/surface/README.md index 57a35bd..6238eb6 100644 --- a/microsoft/surface/README.md +++ b/microsoft/surface/README.md @@ -1,6 +1,6 @@ # NOTE: Structure changes from 2023-01-10 -Please read the [Old Behaviour README](./old/README.md) to understand how some structural changes to +Please read the [Deprecated Behaviour README](./deprecated/README.md) to understand how some structural changes to the code might affect you! # Derivatives for Microsoft Surface notebooks diff --git a/microsoft/surface/default.nix b/microsoft/surface/default.nix index 0d9a22f..5ed9046 100644 --- a/microsoft/surface/default.nix +++ b/microsoft/surface/default.nix @@ -7,6 +7,6 @@ in { imports = [ ( warn "Please do not import microsoft/surface/ (default.nix) directly; use microsoft/surface/old or see microsoft/surface/old/README.md for more details." - ./old ) + ./deprecated ) ]; } diff --git a/microsoft/surface/old/default.nix b/microsoft/surface/deprecated/default.nix similarity index 100% rename from microsoft/surface/old/default.nix rename to microsoft/surface/deprecated/default.nix