This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git
The following commit(s) were added to refs/heads/master by this push:
new 166accc Fixed: fixes syntax in .asf.yaml, it has changed recently
166accc is described below
commit 166accc606a14e50d796831ae4b4d589a4ee8412
Author: Jacques Le Roux <[email protected]>
AuthorDate: Tue Mar 25 10:45:21 2025 +0100
Fixed: fixes syntax in .asf.yaml, it has changed recently
We got below syntax errors w/ last commit
We should follow
https://github.com/apache/infrastructure-asfyaml?tab=readme-ov-file#deploy
git.exe push --progress -- "origin" master:master
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 8 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 897 bytes | 897.00 KiB/s, done.
Total 4 (delta 3), reused 0 (delta 0), pack-reused 0 (from 0)
remote: To github:apache/ofbiz-site.git
remote: 4115036..e582b6a e582b6a7a7b3e73138586a37a2bf9bc8490d0e75 ->
master
remote: Syncing refs/heads/master...
remote: Sending notification emails to: ['"[email protected]"
<[email protected]>']
remote: Traceback (most recent call last):
remote: File "/x1/gitbox/hooks/post-receive.d/05-asfyaml.py", line 106,
in <module>
remote: get_yaml()
remote: File "/x1/gitbox/hooks/post-receive.d/05-asfyaml.py", line 60, in
get_yaml
remote: instance.run_parts()
remote: File "/usr/lib/python3/dist-packages/asfyaml/asfyaml.py", line
165, in run_parts
remote: yaml_parsed = strictyaml.dirty_load(
remote: ^^^^^^^^^^^^^^^^^^^^^^
remote: File "/usr/lib/python3/dist-packages/strictyaml/parser.py", line
313, in dirty_load
remote: return generic_load(
remote: ^^^^^^^^^^^^^
remote: File "/usr/lib/python3/dist-packages/strictyaml/parser.py", line
292, in generic_load
remote: raise parse_error
remote: File "/usr/lib/python3/dist-packages/strictyaml/parser.py", line
285, in generic_load
remote: document = ruamelyaml.load(yaml_string,
Loader=DynamicStrictYAMLLoader)
remote:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
remote: File "/usr/lib/python3/dist-packages/strictyaml/ruamel/main.py",
line 986, in load
remote: return loader._constructor.get_single_data()
remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
remote: File
"/usr/lib/python3/dist-packages/strictyaml/ruamel/constructor.py", line 114, in
get_single_data
remote: node = self.composer.get_single_node()
remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
remote: File
"/usr/lib/python3/dist-packages/strictyaml/ruamel/composer.py", line 78, in
get_single_node
remote: document = self.compose_document()
remote: ^^^^^^^^^^^^^^^^^^^^^^^
remote: File
"/usr/lib/python3/dist-packages/strictyaml/ruamel/composer.py", line 101, in
compose_document
remote: node = self.compose_node(None, None)
remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
remote: File
"/usr/lib/python3/dist-packages/strictyaml/ruamel/composer.py", line 111, in
compose_node
remote: if self.parser.check_event(AliasEvent):
remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
remote: File
"/usr/lib/python3/dist-packages/strictyaml/ruamel/parser.py", line 140, in
check_event
remote: self.current_event = self.state()
remote: ^^^^^^^^^^^^
remote: File
"/usr/lib/python3/dist-packages/strictyaml/ruamel/parser.py", line 339, in
parse_block_node
remote: return self.parse_node(block=True)
remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
remote: File
"/usr/lib/python3/dist-packages/strictyaml/ruamel/parser.py", line 521, in
parse_node
remote: raise ParserError(
remote: strictyaml.ruamel.parser.ParserError: while parsing a block node
remote: expected the node content, but found '<document end>'
remote: in "ofbiz-site.git/.asf.yaml::publish", line 1, column 1:
remote: ...
remote: ^ (line: 1)
remote: Error running hook: /x1/gitbox/hooks/post-receive.d/05-asfyaml.py
To https://gitbox.apache.org/repos/asf/ofbiz-site.git
4115036..e582b6a master -> master
Success (4072 ms @ 24/03/2025 20:15:33)
---
.asf.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.asf.yaml b/.asf.yaml
index 6de7e2b..1d4a523 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,3 +1,4 @@
# Publishing profile for ofbiz-site.git:
publish:
+ whoami: asf-site