From 1a383c5ca426fe196d3949e3b10c4316017163d5 Mon Sep 17 00:00:00 2001 From: hexchen Date: Wed, 20 Jan 2021 18:45:21 +0000 Subject: [PATCH] readme: remove old and add commit format --- README.md | 9 +++++++++ hosts/README.md | 22 ---------------------- 2 files changed, 9 insertions(+), 22 deletions(-) delete mode 100644 hosts/README.md diff --git a/README.md b/README.md index e9f8f61..586fe13 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,12 @@ nix build -f . deploy.$hostname && ./result switch ``` `$hostname` can be replaced with any hostname or group + +## committing to haccfiles +- split up commits, every commit is one atomic change + - e.g. no big "did some changes" but instead "updated service x", "updated service y", "update service z" +- follow the commit format: "$prefix$place: $change" + - prefix: one of fixup, nothing + - place: one of "modules/$module", "$hostname/service", "common/($place)", "pkgs/$pkgs" or "sources" + - change: describe your change, don't go over the character limit where git starts hiding/wrapping +- Exception: autogenerated messages (merge commits, reverts, etc) diff --git a/hosts/README.md b/hosts/README.md deleted file mode 100644 index cc8bf37..0000000 --- a/hosts/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# deploy auf hainich -**NICHT** nix os-re build sw itch -Auf hainich mit ssh verbinden. -Im root Verzeichnis sollte das haccfiles repro (das hier) liegen -Falls ja, einfach pullen -``git pull origin main;`` - -sonst erneut clonen - -``git clone https://gitlab.infra4future.de/infra/haccfiles.git`` - -dann in das repro wechseln - -``cd /root/haccfiles`` - -Und das ganze bauen - -``nix build -f . -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz deploy.hainich`` - -und mit ``./result`` als neue boot option auswählen und darauf wechseln -oder -mit``./result test`` das ganze nur bis zum reboot zu behalten. \ No newline at end of file