Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #351 +/- ##
==========================================
- Coverage 94.63% 94.63% -0.01%
==========================================
Files 21 21
Lines 7052 7046 -6
==========================================
- Hits 6674 6668 -6
Misses 378 378 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thank you for doing this. I can see the value of moving metadata.xml from a Are the two files that were in |
|
Good point, I see there is now a slight difference where one file is using "LF" and the other is using "CRLF" I'm adding a .gitattributes https://code.visualstudio.com/docs/remote/troubleshooting#_resolving-git-line-ending-issues-in-wsl-resulting-in-many-modified-files to hopefully avoid that changing in the future. The idea is to seperate out the files needed for running XLSX.jl and put those is "src" and the files that are used only for testing, which are in "data", but will eventually go in a testing artifact. |
|
This is interesting, given that The Artifact system was introduced in XLSX in #127 to make it relocatable. I updated the comments on #325 with instructions on how to update artifacts. I think, intuitively, that the Artifacts solution is better suited for this, given this is not source code content, but static data. But I understand this move if it makes stuff easier to update (if you think you'll be updating XML often). |
|
There is also a performance improvement since this PR skips the need to do a file system lookup after pre compilation. Since the files are small I think it is okay for them to sit in memory after |
Fixes #325 by replacing the artifacts with baked in data.
This makes it easier to change the template xml data.
Relocatability tested with https://gist.github.com/nhz2/fef85cf22bef076348e921f5c46be2d3