-
Notifications
You must be signed in to change notification settings - Fork 2
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
Automate XSLT update in gems #230
Comments
@Intelligent2013 please let me know how do you think generally about the topic? Also maybe you have something to say for the open question? |
@CAMOBAP when I update XSLTs, I change them in a separate branch to make sure that all PDF generate ok. After merge branch to master, XSLTs in |
@Intelligent2013 thanks for your input, push to master as the event, works perfectly also |
@CAMOBAP So has this functionality been implemented? That behaviour does not seem to be happening... |
@opoudjis hmm, let me check |
Ping @CAMOBAP. |
@Intelligent2013 I think @CAMOBAP is on holiday, he's returning the week after. |
@opoudjis @ronaldtse @Intelligent2013
|
@CAMOBAP rename: yes please, an excellent find 😉 Also need to ping @opoudjis that the XSL names will change.
@Intelligent2013 can you please help answer? Thanks! |
@ronaldtse @opoudjis I can change it in specific processors too. To be on the same page, should I care about potential backward compatibility issues or anything what should I check after this rename? |
@CAMOBAP I didn't look at changes in PR yet, therefore answer about current situation.
Each xslt filename has a parts related to xml structure. For example,
These rules are using for PDF generating in mn-native-pdf in gh-pages branch. If we change
@CAMOBAP in
So in xslt/*presentation.xsl should be used. |
@Intelligent2013 thanks for the explanation, I asked about XSLT with |
Yes, I rename the *.presentation suffixes to strip them when I copy them into the individual gems. There are indeed rules for allocating the multiple XSLTs of a flavour; they are often but not always doctype. The rules are implemented in the lib/isodoc/*/pdf_converter.rb files. |
I propose to remove non-presentation xslt in mn-native-pdf, and rename *presentation.core.xsl into *core.xsl (+ update Makefile). |
@CAMOBAP I'll do it in |
@Intelligent2013 Good idea!
Yes please, just let me know once you are done |
@CAMOBAP Done. |
…sors #230 add xslt update step into ubuntu worflow file
It works! Several commits were pushed: For Closing this one |
Intro
Thanks to @opoudjis for the suggestion of improvement which can help us to keep xslt up-to-date in our gems
Problem
We need to always keep eye on xslt update & propagate them to gems
Proposed solution
Implement separate GHA workflow which will be triggered by release (or other even on this repo), the steps of this flow
make xslts
Open questions
push: on master
as trigger eventcc @opoudjis @Intelligent2013 @ronaldtse
The text was updated successfully, but these errors were encountered: