diff options
author | 2022-01-25 18:55:59 +0100 | |
---|---|---|
committer | 2022-01-25 19:06:12 +0100 | |
commit | 6bbb7756374ace7ffe183c7aa118051fe69e61d6 (patch) | |
tree | 565e668fdeb31da7d201557de3962789f6e0eebc | |
parent | docs: Fix DOCTYPE line syntax (diff) | |
download | metagen-6bbb7756374ace7ffe183c7aa118051fe69e61d6.tar.gz metagen-6bbb7756374ace7ffe183c7aa118051fe69e61d6.tar.bz2 metagen-6bbb7756374ace7ffe183c7aa118051fe69e61d6.zip |
Use https:// in DOCTYPE URL
Bug: https://bugs.gentoo.org/832056
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | docs/README | 8 | ||||
-rwxr-xr-x | metagen/metagenerator.py | 2 |
3 files changed, 6 insertions, 6 deletions
@@ -19,7 +19,7 @@ to report bugs about **metagen**. # cat metadata.xml <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> <pkgmetadata> <maintainer type="person"> <email>somebody@gentoo.org</email> diff --git a/docs/README b/docs/README index 8ec11d9..6715eb3 100644 --- a/docs/README +++ b/docs/README @@ -35,7 +35,7 @@ metagen -m * This takes the maintainer info from your ECHANGELOG_USER variable. <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer> <email>pythonhead@gentoo.org</email> @@ -49,7 +49,7 @@ metagen -m -d "I maintain this because I'm crazy." * Maintainer with description of maintenance <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer> <email>pythonhead@gentoo.org</email> @@ -64,7 +64,7 @@ metagen -m -l "This package does X, Y, and Z." * Maintainer, long description <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer> <email>pythonhead@gentoo.org</email> @@ -78,7 +78,7 @@ metagen -m -e "jdoe@gentoo.org","tsmith@gentoo.org" -n "Jane Doe","Tom Smith" -l * 3 maintainers, long description <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer> <email>pythonhead@gentoo.org</email> diff --git a/metagen/metagenerator.py b/metagen/metagenerator.py index c0b79d7..862df8c 100755 --- a/metagen/metagenerator.py +++ b/metagen/metagenerator.py @@ -53,7 +53,7 @@ class MyMetadata: self._long_description = longdesc def __str__(self): - doctype = '<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">' + doctype = '<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">' root = Element('pkgmetadata') for maintainer_data in self._maintainers: |