[Git][java-team/css-validator][master] 3 commits: d/README.TODO: add entry for '-h' cli argument
bastif (@bastif)
gitlab at salsa.debian.org
Fri Mar 6 08:39:13 GMT 2026
bastif pushed to branch master at Debian Java Maintainers / css-validator
Commits:
b76d17e8 by Fab Stz at 2026-03-06T08:35:03+01:00
d/README.TODO: add entry for '-h' cli argument
- - - - -
581f33ea by Fab Stz at 2026-03-06T08:41:27+01:00
Release 0~20250226+dfsg-2 to unstable
- - - - -
73e27fc2 by Fab Stz at 2026-03-06T08:54:40+01:00
d/tests: properly set value of $PORT or $port
- - - - -
5 changed files:
- debian/README.TODO
- debian/changelog
- debian/tests/webapp_validate_common.sh
- debian/tests/webapp_validate_file.sh
- debian/tests/webapp_validate_url.sh
Changes:
=====================================
debian/README.TODO
=====================================
@@ -1,7 +1,8 @@
TODO:
-----
- - done
+ - When updating to version later than 2026-03-06, update the manpage according to fix of
+ https://github.com/w3c/css-validator/issues/454
Reminder & Packaging notes:
---------------------------
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+css-validator (0~20250226+dfsg-2) unstable; urgency=medium
+
+ * d/tests: move common code to start_server() function
+ * d/t/webapp_validate_common.sh: merge changes from vnu package
+ * d/t/webapp_validate_common.sh: redirect stderr to stdout on systemctl call
+
+ -- Fab Stz <fabstz-it at yahoo.fr> Fri, 06 Mar 2026 08:31:22 +0100
+
css-validator (0~20250226+dfsg-2~exp3) experimental; urgency=medium
* d/test: improve reliability of tests
=====================================
debian/tests/webapp_validate_common.sh
=====================================
@@ -48,10 +48,10 @@ wait_until_ready()
port="$2"
path="$3"
count=0
- echo "Waiting until $server is up and running at http://localhost:${port:-8080}/$path"
+ echo "Waiting until $server is up and running at http://localhost:${port}/$path"
TIMEFORMAT='Elapsed time is %R seconds.'
{ time {
- while ! nc -z localhost "${port:-8080}" >/dev/null 2>&1 && [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:${port:-8080}/$path)" != "200" ]]; do
+ while ! nc -z localhost "${port}" >/dev/null 2>&1 && [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:${port}/$path)" != "200" ]]; do
if [ $count -gt 60 ]; then
break
fi
=====================================
debian/tests/webapp_validate_file.sh
=====================================
@@ -6,10 +6,10 @@ server="$1"
source "$(dirname "$0")"/webapp_validate_common.sh
-PORT=8080
+PORT=${PORT:-8080}
CONTEXT_PATH="css-validator/"
-start_server "$server" "${PORT:-8080}" "$CONTEXT_PATH"
+start_server "$server" "${PORT}" "$CONTEXT_PATH"
#echo "current path: $PWD"
@@ -21,7 +21,7 @@ curl -v --stderr - \
-F vextwarning= \
-F lang=en \
-o "$tempfile" \
- "http://localhost:${PORT:-8080}/css-validator/validator"
+ "http://localhost:${PORT}/css-validator/validator"
if grep "<h3>Congratulations! No Error Found.</h3>" "$tempfile"; then
echo "Validation of file was successful."
=====================================
debian/tests/webapp_validate_url.sh
=====================================
@@ -6,16 +6,16 @@ server="$1"
source "$(dirname "$0")"/webapp_validate_common.sh
-PORT=8080
+PORT=${PORT:-8080}
CONTEXT_PATH="css-validator/"
-start_server "$server" "${PORT:-8080}" "$CONTEXT_PATH"
+start_server "$server" "${PORT}" "$CONTEXT_PATH"
#echo "current path: $PWD"
curl -v --stderr - \
-o "$tempfile" \
- "http://localhost:${PORT:-8080}/css-validator/validator?uri=http://localhost:${PORT:-8080}&profile=css3svg&usermedium=all&warning=2&vextwarning=&lang=en"
+ "http://localhost:${PORT}/css-validator/validator?uri=http://localhost:${PORT}&profile=css3svg&usermedium=all&warning=2&vextwarning=&lang=en"
if grep "<h3>Congratulations! No Error Found.</h3>" "$tempfile"; then
echo "Validation of file was successful."
View it on GitLab: https://salsa.debian.org/java-team/css-validator/-/compare/e1c80e7c345eb1f633d760dc580cb39b32a5e02a...73e27fc2ae46a2d2415f4fe8b4fe82fea8751428
--
View it on GitLab: https://salsa.debian.org/java-team/css-validator/-/compare/e1c80e7c345eb1f633d760dc580cb39b32a5e02a...73e27fc2ae46a2d2415f4fe8b4fe82fea8751428
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20260306/3aaccffa/attachment.htm>
More information about the pkg-java-commits
mailing list