From 2241387378e638c3d73f18b2b0ef229f308ee003 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sat, 16 Sep 2017 17:41:02 +0000 Subject: [PATCH] Move sample datafile copyrights into metadata Instead of using YAML comments in the provided sample datafiles, standardize on a "_copy" metadata key for greater extensibility. --- etc/mudpy.yaml | 6 +++--- mudpy/tests/fixtures/test_daemon.yaml | 6 +++--- sample/__init__.yaml | 6 +++--- sample/area.yaml | 6 +++--- sample/prop.yaml | 6 +++--- share/archetype.yaml | 6 +++--- share/command.yaml | 6 +++--- share/menu.yaml | 6 +++--- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/etc/mudpy.yaml b/etc/mudpy.yaml index 76d1f01..4570691 100644 --- a/etc/mudpy.yaml +++ b/etc/mudpy.yaml @@ -1,6 +1,6 @@ -# Copyright (c) 2004-2017 Jeremy Stanley . Permission -# to use, copy, modify, and distribute this software is granted under -# terms provided in the LICENSE file distributed with this software. +_copy: Copyright (c) 2004-2017 Jeremy Stanley . + Permission to use, copy, modify, and distribute this software is granted + under terms provided in the LICENSE file distributed with this software. _load: [ archetype.yaml, command.yaml, menu.yaml, sample ] diff --git a/mudpy/tests/fixtures/test_daemon.yaml b/mudpy/tests/fixtures/test_daemon.yaml index 5d065e8..0f7e980 100644 --- a/mudpy/tests/fixtures/test_daemon.yaml +++ b/mudpy/tests/fixtures/test_daemon.yaml @@ -1,6 +1,6 @@ -# Copyright (c) 2004-2017 Jeremy Stanley . Permission -# to use, copy, modify, and distribute this software is granted under -# terms provided in the LICENSE file distributed with this software. +_copy: Copyright (c) 2004-2017 Jeremy Stanley . + Permission to use, copy, modify, and distribute this software is granted + under terms provided in the LICENSE file distributed with this software. _load: [ archetype.yaml, command.yaml, menu.yaml, sample ] diff --git a/sample/__init__.yaml b/sample/__init__.yaml index da51bad..159648d 100644 --- a/sample/__init__.yaml +++ b/sample/__init__.yaml @@ -1,6 +1,6 @@ -# Copyright (c) 2004-2014 Jeremy Stanley . Permission -# to use, copy, modify, and distribute this software is granted under -# terms provided in the LICENSE file distributed with this software. +_copy: Copyright (c) 2004-2017 Jeremy Stanley . + Permission to use, copy, modify, and distribute this software is granted + under terms provided in the LICENSE file distributed with this software. _load: [ area.yaml, prop.yaml ] diff --git a/sample/area.yaml b/sample/area.yaml index 93992a6..0213573 100644 --- a/sample/area.yaml +++ b/sample/area.yaml @@ -1,6 +1,6 @@ -# Copyright (c) 2004-2014 Jeremy Stanley . Permission -# to use, copy, modify, and distribute this software is granted under -# terms provided in the LICENSE file distributed with this software. +_copy: Copyright (c) 2004-2017 Jeremy Stanley . + Permission to use, copy, modify, and distribute this software is granted + under terms provided in the LICENSE file distributed with this software. area:-1,0,0: description: This is the West Sample Location. It is merely provided as an example of what an area might look like. diff --git a/sample/prop.yaml b/sample/prop.yaml index 4104787..259d75f 100644 --- a/sample/prop.yaml +++ b/sample/prop.yaml @@ -1,6 +1,6 @@ -# Copyright (c) 2004-2014 Jeremy Stanley . Permission -# to use, copy, modify, and distribute this software is granted under -# terms provided in the LICENSE file distributed with this software. +_copy: Copyright (c) 2004-2017 Jeremy Stanley . + Permission to use, copy, modify, and distribute this software is granted + under terms provided in the LICENSE file distributed with this software. prop:sample_prop: impression: A sample prop sits here. diff --git a/share/archetype.yaml b/share/archetype.yaml index b627080..88f612e 100644 --- a/share/archetype.yaml +++ b/share/archetype.yaml @@ -1,6 +1,6 @@ -# Copyright (c) 2004-2014 Jeremy Stanley . Permission -# to use, copy, modify, and distribute this software is granted under -# terms provided in the LICENSE file distributed with this software. +_copy: Copyright (c) 2004-2017 Jeremy Stanley . + Permission to use, copy, modify, and distribute this software is granted + under terms provided in the LICENSE file distributed with this software. _lock: true diff --git a/share/command.yaml b/share/command.yaml index fc4ce88..51c7c79 100644 --- a/share/command.yaml +++ b/share/command.yaml @@ -1,6 +1,6 @@ -# Copyright (c) 2004-2015 Jeremy Stanley . Permission -# to use, copy, modify, and distribute this software is granted under -# terms provided in the LICENSE file distributed with this software. +_copy: Copyright (c) 2004-2017 Jeremy Stanley . + Permission to use, copy, modify, and distribute this software is granted + under terms provided in the LICENSE file distributed with this software. _lock: true diff --git a/share/menu.yaml b/share/menu.yaml index 968c5f2..a58baf1 100644 --- a/share/menu.yaml +++ b/share/menu.yaml @@ -1,6 +1,6 @@ -# Copyright (c) 2004-2016 Jeremy Stanley . Permission -# to use, copy, modify, and distribute this software is granted under -# terms provided in the LICENSE file distributed with this software. +_copy: Copyright (c) 2004-2017 Jeremy Stanley . + Permission to use, copy, modify, and distribute this software is granted + under terms provided in the LICENSE file distributed with this software. _lock: true -- 2.11.0