-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use official XSpec repo, not user fork #116
Conversation
The reason for temporarily using a user fork of the XSpec repo is no longer relevant. usnistgov#47 was from July 2023, while XSpec v2.3 was released in October 2023.
In the "CI / Test and Collect Results (pull_request)" log, I see
instead of the following, which is from #115 from yesterday.
Having the same branch as before this change looks suspicious, as if the image being obtained from xspec/xspec is from last July. I'll try specifying |
Even with
and https://github.com/xspec/xspec/tree/d7fa240395dbae3886c558d2ee5bd98a97fcd73d says, "d7fa240 · 8 months ago". So, I'm not sure if I should be doing something different. |
Hi @galtm, did you do the following?
I sometimes forget about 3 and 4 so in short the remote has changed but not the particular commit to retrieve from the remote, does that help? |
Thanks a lot for the advice, @aj-stein-nist ! My local result of step 2 still referred to the old SHA.
I found some useful instructions at https://devconnected.com/how-to-add-and-update-git-submodules/#Update_a_Git_Submodule and now the latest log for this PR says
Now, I have a question for you: do you want XSpec v2.3.2 or the release candidate for v3.0? My 3rd commit is for the release candidate, but if you want v2.3.2, I'll redo my process to give you v2.3.2 instead. The breaking changes in v3.0 are that XSLT code coverage requires Saxon 12.4 and Schematron testing uses SchXslt under the hood instead of the skeleton implementation. Everything else should be backward compatible. |
Hi,
As a footnote, the XSLT code coverage feature is something we are not using (yet), although the XSpec in XSpec might do so. In any case upgrading to latest Saxon is fine.
Cheers, Wendell
From: Amanda Galtman ***@***.***>
Sent: Tuesday, March 26, 2024 11:21 AM
To: usnistgov/metaschema-xslt ***@***.***>
Cc: Piez, Wendell A. (Fed) ***@***.***>; Review requested ***@***.***>
Subject: Re: [usnistgov/metaschema-xslt] Use official XSpec repo, not user fork (PR #116)
Thanks a lot for the advice, @aj-stein-nist<https://github.com/aj-stein-nist> !
My local result of step 2 still referred to the old SHA.
git submodule update --init --recursive
Submodule path 'support/xspec': checked out 'd7fa240395dbae3886c558d2ee5bd98a97fcd73d'
I found some useful instructions at https://devconnected.com/how-to-add-and-update-git-submodules/#Update_a_Git_Submodule and now the latest log for this PR says
Submodule path 'support/xspec': checked out '5069d13709373bd2a545947a2d059e81f29bd828'
Now, I have a question for you: do you want XSpec v2.3.2 or the release candidate for v3.0? My 3rd commit is for the release candidate, but if you want v2.3.2, I'll redo my process to give you v2.3.2 instead. The breaking changes in v3.0 are that XSLT code coverage requires Saxon 12.4 and Schematron testing uses SchXslt under the hood instead of the skeleton implementation. Everything else should be backward compatible.
-
Reply to this email directly, view it on GitHub<#116 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAMDYBDNGBZYY2OZCOVWZOLY2GG7LAVCNFSM6AAAAABFI3RJ26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQG4ZDQMJVGI>.
You are receiving this because your review was requested.Message ID: ***@***.******@***.***>>
|
@galtm wrt the question of XSpec version - we need to consider this, also/esp given work over at usnistgov/xslt3-functions#9 where same question comes up. Everything else being equal, I guess I am inclined to peg it to the latest release, not the latest RC, unless there is a reason to prefer the RC. But almost any reason would do. Thanks for the initiative here. It is spurring work. (If there isn't a more up to date metaphor to use 🚀 ) |
OK. Locally, I have a commit that pegs it to v2.3.2, which at this moment is the latest release. Let me know if/when I should push that commit to this branch for this PR. |
Excellent, thanks! @galtm does it make sense to do this as a precautionary measure? Now I'm actually thinking that with more refactoring soon to come (if/as xslt3-functions repo comes into play), having this in place and current will be verry niice, helping to align the dependencies and removing one potential source of instability. Thanks again for advancing - |
I guess. Should I go ahead? |
Instead of v3.0
The 4th commit in this PR, 8e3d07e, is for XSpec v2.3.2, and the test log includes |
@galtm after thrashing on my part this is good to go right? (I have also fixed up that other repository.) |
Yes, I believe so! |
Committer Notes
The reason for temporarily using a user fork of the XSpec repo is no longer relevant, so it makes sense to use the official XSpec repo.
#47 was from July 2023, while XSpec v2.3 supporting Saxon 12.x was released in October 2023.
All Submissions:
Changes to Core Features:
N/A because this is not a change in a core feature.