fix logging README.html examples' rendering problems (1962374)
fix broken internal links in README.md files (1962976) Fixed the bugs found in the review by @richm. Bump version to 1.2.1-1. Related: rhbz#1961404
This commit is contained in:
parent
17e4e5f377
commit
6611d4664d
2
.gitignore
vendored
2
.gitignore
vendored
@ -85,3 +85,5 @@
|
||||
/vpn-197a4b4b34911251b639307963f1aa3c50a10370.tar.gz
|
||||
/vpn-5f6cb73e6753fbdbb219b7d3079f0378b2d3bdb3.tar.gz
|
||||
/auto-maintenance-17baba973c8c77b32ae65838a98dc4fbaf7b7b3e.tar.gz
|
||||
/logging-5bb2a62d4432c12748ceb8cdfcf6c499151d288f.tar.gz
|
||||
/logging-20dd3e5520ca06dcccaa9b3f1fb428d055e0c23f.tar.gz
|
||||
|
@ -13,8 +13,8 @@ Name: linux-system-roles
|
||||
%endif
|
||||
Url: https://github.com/linux-system-roles/
|
||||
Summary: Set of interfaces for unified system management
|
||||
Version: 1.2.0
|
||||
Release: 2%{?dist}
|
||||
Version: 1.2.1
|
||||
Release: 1%{?dist}
|
||||
|
||||
#Group: Development/Libraries
|
||||
License: GPLv3+ and MIT and BSD
|
||||
@ -133,7 +133,7 @@ BuildRequires: ansible >= 2.9.10
|
||||
%global rolename9 kernel_settings
|
||||
#%%deftag 9 1.0.1
|
||||
|
||||
%defcommit 10 c3e5b03801a43e746961646ef0bea1b93a22c234
|
||||
%defcommit 10 20dd3e5520ca06dcccaa9b3f1fb428d055e0c23f
|
||||
%global rolename10 logging
|
||||
#%%deftag 10 0.2.0
|
||||
|
||||
@ -335,6 +335,13 @@ rm -r .collections/ansible_collections/%{collection_namespace}/%{collection_name
|
||||
cp -p galaxy.yml lsr_role2collection/.ansible-lint \
|
||||
.collections/ansible_collections/%{collection_namespace}/%{collection_name}
|
||||
|
||||
# Remove table of contents from logging README.md
|
||||
# It is not needed for html and AH/Galaxy
|
||||
sed -i -e 's/^\(## Table of Contents\)/## Background\n\1/' \
|
||||
.collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/logging/README.md
|
||||
sed -i -e '/^## Table of Contents/,/^## Background/d' \
|
||||
.collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/logging/README.md
|
||||
|
||||
# converting README.md to README.html for collection
|
||||
readmes=".collections/ansible_collections/%{collection_namespace}/%{collection_name}/README.md"
|
||||
for role in %{rolenames}; do
|
||||
@ -342,6 +349,13 @@ for role in %{rolenames}; do
|
||||
done
|
||||
sh md2html.sh $readmes
|
||||
|
||||
# Remove internal links from readme files
|
||||
# They are not rendered properly on AH.
|
||||
for role in %{rolenames}; do
|
||||
sed -r -i -e 's/\[([^[]+)\]\(#.*\)/\1/g' \
|
||||
.collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/$role/README.md
|
||||
done
|
||||
|
||||
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
|
||||
%ansible_collection_build
|
||||
popd
|
||||
@ -544,6 +558,12 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri May 21 2021 Noriko Hosoi <nhosoi@redhat.com> - 1.2.1-1
|
||||
- fix logging README.html examples' rendering problems
|
||||
Resolves rhbz#1962374
|
||||
- fix broken internal links in README.md files
|
||||
Resolves rhbz#1962976
|
||||
|
||||
* Mon May 21 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.2.0-2
|
||||
- Add BuildRequires: rubygem-kramdown for Fedora and RHEL >= 9
|
||||
|
||||
|
2
sources
2
sources
@ -5,7 +5,6 @@ SHA512 (crypto_policies-b2a9857ac661fa32e66666e444b73bfdb34cdf95.tar.gz) = 59471
|
||||
SHA512 (ha_cluster-6e1e37f0097db23c8b804e520e272575e9714d5f.tar.gz) = 3de43883f3af3f9c9a0def1f1b24796aec08d8fc97d6d2b542817e006c4408391243a17a99309d6d7fb4ee357cad05b0710d2208c339340625fc981caed0641b
|
||||
SHA512 (kdump-8243bd4315463a9d6022da5edd65dbc051a7d496.tar.gz) = fe5fe828e31dbc32cfadc5edc9d1e17c0f3ca3c7470f7ca3a2ba8b4b016c3dfecf51d4c34362d7f83d847dea45616fdf7afd57359f2ca42f1f89348f6870a692
|
||||
SHA512 (kernel_settings-9373303b98e09ef38df7afc8d06e5e55812096c7.tar.gz) = 41d757ebded7c37975a04549b28fd656d7e689f46351ba2476bf425b1673280bcc2ea432247b7f2d6d1dc51290a85672b9c0a8f5b6ca75f1af665d44d557631f
|
||||
SHA512 (logging-c3e5b03801a43e746961646ef0bea1b93a22c234.tar.gz) = 1338866a3d7673d5df5640fe82899c4e5498ef847eb54544b9cb91878a3dff962605909630ff7465ff4406631b6556c759b1c0cf2116f01a0b7e91cef46694ef
|
||||
SHA512 (metrics-384718b020c50ae274230e9dc59fc11620e03537.tar.gz) = 2dbc131279b73307695e10b335b9acb45a90e0c375446e36c8d8f19ccc0d8ace9aca2e27a68d8730f0e28ea7e66f0c3e3dd70b3ca33715fe5a4e6ab60ef7f3b0
|
||||
SHA512 (nbde_client-bef2fad5e365712d1f40e53662490ba2550a253f.tar.gz) = c18726135fc2b84b39418dfa5a0f119b569a27a8fe3e8a1a30067dc0263f453b55034e75cccde3d00af3a2b4e384899a3e0fac264f69d697ed44f1a62ced9e54
|
||||
SHA512 (nbde_server-c57d0b1f3384c525738fa26ba4bdca485e162567.tar.gz) = 644bc30e25969ef741cf09f88137553b89f55dd9b97cc1e02c15ddea1360490717d6b4cfb28762f8f02ec6826c26634ff75c1d950dbb3e57d3f35f7baabd6c07
|
||||
@ -17,3 +16,4 @@ SHA512 (storage-b3b456183edb7b8aa6ceff7ce667d8e22009ef6a.tar.gz) = faa3a15621bdf
|
||||
SHA512 (timesync-3f69039d5ff986a74ed76bc4419da7b2efb2992a.tar.gz) = 5f50055a6955358548efc46ab76a0e3e32577a8c0e4b8f43fc9317b371fcb65d615c3f58f420d8774a57d4d41865f97d209aebd7074bc3ed9c9bccf6a4b1818b
|
||||
SHA512 (tlog-2b9e53233ee3a68bdb532e62f289733e436a6106.tar.gz) = bc1499f1524408f960bf93a41b55ead436ecb26cf00c9d7147c530a46f647accd1246e81f92ac31a60c516ba9e38f2fa28a0727ce4130e892383982c67d3bd66
|
||||
SHA512 (vpn-5f6cb73e6753fbdbb219b7d3079f0378b2d3bdb3.tar.gz) = 308b44fa888c99a37dd1143c0e84edcd19d757662bcacbd8553f50842ab40ddfa1e2638ad1523e8d4fd6a0a57e37c6f47c10e62a585e1951314b07642043328b
|
||||
SHA512 (logging-20dd3e5520ca06dcccaa9b3f1fb428d055e0c23f.tar.gz) = 4f12297618e183b6c77a53bde76d6b95ef37c5a6cb7a73ec8a631190a6f2edc755a404cb3795caf4d966ad8c33e5068eb0604f4659cd3dfef3a14360825e9e1d
|
||||
|
Loading…
Reference in New Issue
Block a user