aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-02-16 23:39:24 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-02-16 23:39:24 -0700
commit06f65655c006ab41e103ed17b1da8df298fad67d (patch)
treec8a1e199bda3fc63120d1449e67003cf5136e913 /src
parent110cd5c2a8c7e912a42320d50baec8de3a8ee94e (diff)
downloadconsfigurator-06f65655c006ab41e103ed17b1da8df298fad67d.tar.gz
normalise file headers and some comments
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src')
-rw-r--r--src/connection/local.lisp17
-rw-r--r--src/connection/ssh.lisp17
-rw-r--r--src/core.lisp17
-rw-r--r--src/data/asdf.lisp17
-rw-r--r--src/data/pgp.lisp19
-rw-r--r--src/property/command.lisp17
-rw-r--r--src/property/file.lisp17
-rw-r--r--src/util.lisp20
8 files changed, 140 insertions, 1 deletions
diff --git a/src/connection/local.lisp b/src/connection/local.lisp
index 0852e72..f1eaaca 100644
--- a/src/connection/local.lisp
+++ b/src/connection/local.lisp
@@ -1,3 +1,20 @@
+;;; Consfigurator -- Lisp declarative configuration management system
+
+;;; Copyright (C) 2020-2021 Sean Whitton <spwhitton@spwhitton.name>
+
+;;; This file is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3, or (at your option)
+;;; any later version.
+
+;;; This file is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
(in-package :consfigurator.connection.local)
(defmethod establish-connection ((type (eql :local)) host &key)
diff --git a/src/connection/ssh.lisp b/src/connection/ssh.lisp
index 9e51ffb..118e527 100644
--- a/src/connection/ssh.lisp
+++ b/src/connection/ssh.lisp
@@ -1,3 +1,20 @@
+;;; Consfigurator -- Lisp declarative configuration management system
+
+;;; Copyright (C) 2021 Sean Whitton <spwhitton@spwhitton.name>
+
+;;; This file is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3, or (at your option)
+;;; any later version.
+
+;;; This file is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
(in-package :consfigurator.connection.ssh)
(defmethod establish-connection ((type (eql :ssh)) remaining
diff --git a/src/core.lisp b/src/core.lisp
index 48339f5..f329ed9 100644
--- a/src/core.lisp
+++ b/src/core.lisp
@@ -1,3 +1,20 @@
+;;; Consfigurator -- Lisp declarative configuration management system
+
+;;; Copyright (C) 2020-2021 Sean Whitton <spwhitton@spwhitton.name>
+
+;;; This file is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3, or (at your option)
+;;; any later version.
+
+;;; This file is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
(in-package :consfigurator.core)
;;;; Connections
diff --git a/src/data/asdf.lisp b/src/data/asdf.lisp
index 98d2e4f..914f242 100644
--- a/src/data/asdf.lisp
+++ b/src/data/asdf.lisp
@@ -1,3 +1,20 @@
+;;; Consfigurator -- Lisp declarative configuration management system
+
+;;; Copyright (C) 2021 Sean Whitton <spwhitton@spwhitton.name>
+
+;;; This file is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3, or (at your option)
+;;; any later version.
+
+;;; This file is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
(in-package :consfigurator.data.asdf)
(defmethod register-data-source ((type (eql :asdf)) &key)
diff --git a/src/data/pgp.lisp b/src/data/pgp.lisp
index c5affa5..cfe3a9c 100644
--- a/src/data/pgp.lisp
+++ b/src/data/pgp.lisp
@@ -1,6 +1,23 @@
+;;; Consfigurator -- Lisp declarative configuration management system
+
+;;; Copyright (C) 2021 Sean Whitton <spwhitton@spwhitton.name>
+
+;;; This file is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3, or (at your option)
+;;; any later version.
+
+;;; This file is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
(in-package :consfigurator.data.pgp)
-;;;; Simple PGP-encrypted file source of prerequisite data
+;; Simple PGP-encrypted file source of prerequisite data
;; We provide an implementation of REGISTER-DATA-SOURCE and functions for the
;; user to call at the REPL to add pieces of data, see what's there, etc. (a
diff --git a/src/property/command.lisp b/src/property/command.lisp
index 95a4238..e3a80e8 100644
--- a/src/property/command.lisp
+++ b/src/property/command.lisp
@@ -1,3 +1,20 @@
+;;; Consfigurator -- Lisp declarative configuration management system
+
+;;; Copyright (C) 2020-2021 Sean Whitton <spwhitton@spwhitton.name>
+
+;;; This file is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3, or (at your option)
+;;; any later version.
+
+;;; This file is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
(in-package :consfigurator.property.command)
(defprop shell-command :posix (cmd args &key environment)
diff --git a/src/property/file.lisp b/src/property/file.lisp
index 9684af7..2d91943 100644
--- a/src/property/file.lisp
+++ b/src/property/file.lisp
@@ -1,3 +1,20 @@
+;;; Consfigurator -- Lisp declarative configuration management system
+
+;;; Copyright (C) 2020-2021 Sean Whitton <spwhitton@spwhitton.name>
+
+;;; This file is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3, or (at your option)
+;;; any later version.
+
+;;; This file is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
(in-package :consfigurator.property.file)
(defprop file-has-content :posix (path lines)
diff --git a/src/util.lisp b/src/util.lisp
index 6378d02..5f0b93a 100644
--- a/src/util.lisp
+++ b/src/util.lisp
@@ -1,3 +1,20 @@
+;;; Consfigurator -- Lisp declarative configuration management system
+
+;;; Copyright (C) 2020-2021 Sean Whitton <spwhitton@spwhitton.name>
+
+;;; This file is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3, or (at your option)
+;;; any later version.
+
+;;; This file is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
(in-package :consfigurator.util)
(defun noop (&rest args)
@@ -15,6 +32,9 @@
`(and (symbolp ,symbol)
(string= (symbol-name ',name) (symbol-name ,symbol))))
+
+;;;; Version numbers
+
(defun version< (x y)
(dpkg-version-compare x "<<" y))