Skip to content

Move PhD auxiliary-file generation out to php/phd - #1

Closed
lacatoire wants to merge 1 commit into
staging-base-phdmovefrom
drop-phd-generation
Closed

Move PhD auxiliary-file generation out to php/phd#1
lacatoire wants to merge 1 commit into
staging-base-phdmovefrom
drop-phd-generation

Conversation

@lacatoire

Copy link
Copy Markdown
Owner

Staging PR (fork-internal review before targeting php/doc-base).

configure.php now only assembles and validates XML. Removes the generation of version.xml, sources.xml and fileModHistory.php (phd_acronym/php_history/phd_sources/phd_version), delegating it to php/phd via doc-base/temp/phd-conf.json. Also fixes --history-file, which set SOURCES_FILE instead of HISTORY_FILE.

Companion: lacatoire/phd#2 (adds genphdfiles.php). Do NOT merge before the pipeline calls:
php phd/genphdfiles.php doc-base/temp/phd-conf.json

Verified end-to-end with the phd PR: the three files are byte-identical to master (docker php:8.4-cli, en).

configure.php now only assembles and validates the XML. The generation of
version.xml, sources.xml and fileModHistory.php is removed (phd_acronym,
php_history, phd_sources, phd_version) and delegated to php/phd via a
doc-base/temp/phd-conf.json handoff.

Also fixes the --history-file option, which set SOURCES_FILE instead of
HISTORY_FILE.

Depends on php/phd (adds genphdfiles.php). The build pipeline must call
'php phd/genphdfiles.php doc-base/temp/phd-conf.json' before this lands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant