From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Cc: Richard Palethorpe <rpalethorpe@suse.com>,
Xiao Yang <yangx.jy@cn.fujitsu.com>
Subject: [LTP] [RFC PATCH 1/2] doc: Rename files to names from ltp.wiki.git
Date: Tue, 28 Mar 2023 13:13:37 +0200 [thread overview]
Message-ID: <20230328111338.766712-2-pvorel@suse.cz> (raw)
In-Reply-To: <20230328111338.766712-1-pvorel@suse.cz>
Keeping the original extension from LTP wiki git brings:
* add syntax highlight for editors
* no need to add new file (only new extension)
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
.github/workflows/wiki-mirror.yml | 16 +++-------------
...{build-system-guide.txt => Build-System.rest} | 0
doc/{c-test-api.txt => C-Test-API.asciidoc} | 0
...-simple.txt => C-Test-Case-Tutorial.asciidoc} | 0
...ork-c-api.txt => C-Test-Network-API.asciidoc} | 0
doc/{kvm-test-api.txt => KVM-Test-API.asciidoc} | 0
... LTP-Library-API-Writing-Guidelines.asciidoc} | 0
...> Maintainer-Patch-Review-Checklist.asciidoc} | 0
...hell-test-api.txt => Shell-Test-API.asciidoc} | 0
...ed-kernel,-libc,-toolchain-versions.asciidoc} | 0
...ines.txt => Test-Writing-Guidelines.asciidoc} | 0
doc/{user-guide.txt => User-Guidelines.asciidoc} | 0
12 files changed, 3 insertions(+), 13 deletions(-)
rename doc/{build-system-guide.txt => Build-System.rest} (100%)
rename doc/{c-test-api.txt => C-Test-API.asciidoc} (100%)
rename doc/{c-test-tutorial-simple.txt => C-Test-Case-Tutorial.asciidoc} (100%)
rename doc/{network-c-api.txt => C-Test-Network-API.asciidoc} (100%)
rename doc/{kvm-test-api.txt => KVM-Test-API.asciidoc} (100%)
rename doc/{library-api-writing-guidelines.txt => LTP-Library-API-Writing-Guidelines.asciidoc} (100%)
rename doc/{maintainer-patch-review-checklist.txt => Maintainer-Patch-Review-Checklist.asciidoc} (100%)
rename doc/{shell-test-api.txt => Shell-Test-API.asciidoc} (100%)
rename doc/{supported-kernel-libc-versions.txt => Supported-kernel,-libc,-toolchain-versions.asciidoc} (100%)
rename doc/{test-writing-guidelines.txt => Test-Writing-Guidelines.asciidoc} (100%)
rename doc/{user-guide.txt => User-Guidelines.asciidoc} (100%)
diff --git a/.github/workflows/wiki-mirror.yml b/.github/workflows/wiki-mirror.yml
index 883892bf5..2ac0caf74 100644
--- a/.github/workflows/wiki-mirror.yml
+++ b/.github/workflows/wiki-mirror.yml
@@ -38,20 +38,10 @@ jobs:
commit=$(git log --pretty=format:"%h (\"%s\")" -1 .)
cd $GITHUB_WORKSPACE/ltp.wiki
-
- # Don't forget to update this list, keep it sorted
- cp -v $dir/c-test-api.txt C-Test-API.asciidoc
- cp -v $dir/c-test-tutorial-simple.txt C-Test-Case-Tutorial.asciidoc
- cp -v $dir/library-api-writing-guidelines.txt LTP-Library-API-Writing-Guidelines.asciidoc
- cp -v $dir/maintainer-patch-review-checklist.txt Maintainer-Patch-Review-Checklist.asciidoc
- cp -v $dir/network-c-api.txt C-Test-Network-API.asciidoc
- cp -v $dir/shell-test-api.txt Shell-Test-API.asciidoc
- cp -v $dir/supported-kernel-libc-versions.txt Supported-kernel,-libc,-toolchain-versions.asciidoc
- cp -v $dir/test-writing-guidelines.txt Test-Writing-Guidelines.asciidoc
- cp -v $dir/user-guide.txt User-Guidelines.asciidoc
- cp -v $dir/kvm-test-api.txt KVM-Test-API.asciidoc
-
+ # don't forget to add new extensions
+ cp -v $dir/*.asciidoc $dir/*.rest .
git add .
+
# only commit if there are changes
git diff-index --quiet HEAD -- || git commit -m "Update to $commit" .
git push
diff --git a/doc/build-system-guide.txt b/doc/Build-System.rest
similarity index 100%
rename from doc/build-system-guide.txt
rename to doc/Build-System.rest
diff --git a/doc/c-test-api.txt b/doc/C-Test-API.asciidoc
similarity index 100%
rename from doc/c-test-api.txt
rename to doc/C-Test-API.asciidoc
diff --git a/doc/c-test-tutorial-simple.txt b/doc/C-Test-Case-Tutorial.asciidoc
similarity index 100%
rename from doc/c-test-tutorial-simple.txt
rename to doc/C-Test-Case-Tutorial.asciidoc
diff --git a/doc/network-c-api.txt b/doc/C-Test-Network-API.asciidoc
similarity index 100%
rename from doc/network-c-api.txt
rename to doc/C-Test-Network-API.asciidoc
diff --git a/doc/kvm-test-api.txt b/doc/KVM-Test-API.asciidoc
similarity index 100%
rename from doc/kvm-test-api.txt
rename to doc/KVM-Test-API.asciidoc
diff --git a/doc/library-api-writing-guidelines.txt b/doc/LTP-Library-API-Writing-Guidelines.asciidoc
similarity index 100%
rename from doc/library-api-writing-guidelines.txt
rename to doc/LTP-Library-API-Writing-Guidelines.asciidoc
diff --git a/doc/maintainer-patch-review-checklist.txt b/doc/Maintainer-Patch-Review-Checklist.asciidoc
similarity index 100%
rename from doc/maintainer-patch-review-checklist.txt
rename to doc/Maintainer-Patch-Review-Checklist.asciidoc
diff --git a/doc/shell-test-api.txt b/doc/Shell-Test-API.asciidoc
similarity index 100%
rename from doc/shell-test-api.txt
rename to doc/Shell-Test-API.asciidoc
diff --git a/doc/supported-kernel-libc-versions.txt b/doc/Supported-kernel,-libc,-toolchain-versions.asciidoc
similarity index 100%
rename from doc/supported-kernel-libc-versions.txt
rename to doc/Supported-kernel,-libc,-toolchain-versions.asciidoc
diff --git a/doc/test-writing-guidelines.txt b/doc/Test-Writing-Guidelines.asciidoc
similarity index 100%
rename from doc/test-writing-guidelines.txt
rename to doc/Test-Writing-Guidelines.asciidoc
diff --git a/doc/user-guide.txt b/doc/User-Guidelines.asciidoc
similarity index 100%
rename from doc/user-guide.txt
rename to doc/User-Guidelines.asciidoc
--
2.40.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2023-03-28 11:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-28 11:13 [LTP] [RFC PATCH 0/2] Wiki: files rename,add 'Release procedure' Petr Vorel
2023-03-28 11:13 ` Petr Vorel [this message]
2023-03-28 11:13 ` [LTP] [RFC PATCH 2/2] doc: Add Release procedure Petr Vorel
2023-03-28 12:42 ` Li Wang
2023-03-28 13:04 ` Petr Vorel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230328111338.766712-2-pvorel@suse.cz \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=rpalethorpe@suse.com \
--cc=yangx.jy@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).