From: Jeremy Stanley Date: Sat, 16 Sep 2017 17:41:02 +0000 (+0000) Subject: Move sample datafile copyrights into metadata X-Git-Tag: 0.0.1~133 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=2241387378e638c3d73f18b2b0ef229f308ee003;ds=sidebyside 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. --- 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