TEIC / TEI

The Text Encoding Initiative Guidelines
https://www.tei-c.org
Other
276 stars 88 forks source link

Remove those constructs deprecated for Unihan #2232

Closed sydb closed 2 years ago

sydb commented 2 years ago

I think I have this right. See #1805. I wanted to ask @duncdrum to review, but he was not in the drop-down list of possibilities. I made this high priority since the build is at least messed up, if not broken, until these deprecations are removed.

sydb commented 2 years ago

Thank you, @duncdrum !

martindholmes commented 2 years ago

This might be a bit of a pain, but I think I'd like to see a full build and Guidelines output from this, since the changes are so significant. I've set up a build job to see what happens:\

https://teijenkins.hcmc.uvic.ca/job/TEI-P5-sydb_uniHan_deprecations_of_2022-02-15/

sydb commented 2 years ago

I think I'd like to see a full build and Guidelines output from this, since the changes are so significant

Makes perfect sense to me. I do not understand why you would want Mr. Jenkins to build it rather than build it yourself, but I also don’t care.

[BTW, my local build worked fine, both in docker and just local. The Deprecations page looks a bit silly, as there is nothing on it, but other than that a quick once-over said it looked fine.]

martindholmes commented 2 years ago

@sydb The build failed, at the nvdl stage; take a look at the errors. I don't think you run the nvdl stuff locally, do you? There seem to be things in the Exemplars that need fixing.

sydb commented 2 years ago

Egads, no — it did not build OK for me. (I do not use nvdl in a local build, but do via Docker.) But that was not the problem, I don’t think. I am pretty confident I simply screwed up and was looking at the output of the wrong validation process. Sorry. (And thanks for catching!) I have a few minutes now to take a look …

sydb commented 2 years ago

Fixed, I hope, at 94dac19e4.

martindholmes commented 2 years ago

Building again on Jenkins now...

sydb commented 2 years ago

Mr. Travis is happy.

martindholmes commented 2 years ago

Mr Jenkins too. @duncdrum would you mind reading through this?

https://teijenkins.hcmc.uvic.ca/job/TEI-P5-sydb_uniHan_deprecations_of_2022-02-15/lastSuccessfulBuild/artifact/P5/release/doc/tei-p5-doc/en/html/WD.html

It looks OK to me, but a second pair of eyes would be good.

sydb commented 2 years ago

Note, though, @martindholmes, that there have been no changes to WD (except to remove the XIncludes of the now defunct elements). It has described use of <unicodeProp>, <unihanProp>, and <localProp> since summer 2019.

duncdrum commented 2 years ago

@martindholmes yup looks good to me, I would suggest to have a look into manual updating Unicode to the latest and greatest right now. I still wasn't able to complete the automated update for phase 5 on CI.

martindholmes commented 2 years ago

@duncdrum Do we have documentation on how to update to the latest Unicode?

martindholmes commented 2 years ago

@sydb @martinascholger I don't know what needs to be done to update the Unicode stuff, but since the build is already broken by the expired deprecations, I would recommend merging this PR and raising a separate issue for the updates to Unicode. That issue should also specify that documentation should be created for how to do it. Calling out to @martinascholger to make a final decision on merging.

After this PR is merged, we'll have to do the p5subset and fallout fixes in the Stylesheets repo too, before all is well again.

sydb commented 2 years ago

I agree with @martindholmes and think this PR should be merged urgently.

duncdrum commented 2 years ago

@martindholmes The query files should be in the repo, but I don’t think I finished documentation. Where should that go btw.

martindholmes commented 2 years ago

@duncdrum I'm not sure where the documentation should go. @sydb, what's the current Council practice here? Should it be a TCW?

martinascholger commented 2 years ago

Looks good to me. Will do the merge now. @martindholmes -- yes, I think this should be a TCW