-
Notifications
You must be signed in to change notification settings - Fork 127
WIP no submodules #512
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
base: master
Are you sure you want to change the base?
WIP no submodules #512
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Pull Request Test Coverage Report for Build 14553906133Details
💛 - Coveralls |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #512 +/- ##
=======================================
Coverage 97.61% 97.62%
=======================================
Files 46 46
Lines 13651 13658 +7
=======================================
+ Hits 13326 13333 +7
Misses 325 325 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fbee0da to
e4aa0b3
Compare
2d3a5b5 to
d6b80e0
Compare
779b983 to
3c045c9
Compare
3c045c9 to
a53ac09
Compare
9092456 to
62f058c
Compare
72ed803 to
b121877
Compare
3869565 to
91c88fe
Compare
1ff5a23 to
df6a8d4
Compare
|
If I understand correctly, the c4core submodule is replaced by a copy of the c4core repository, correct ? Why is this desirable, and what issue does this resolve ? Do you plan to remove the c4core repository and only maintain it within rapidyaml, and if not, how will the fixes from c4core be applied to rapidyaml (beside manually) ? Please clarify the intent here, I am really worried about this change. |
Yes, with some details to it:
I have had repeated feedback that the c4core submodule makes it impossible for some people to use rapidyaml, either because it contains submodules, or because c4core is a dependency boogeyman. While I disagree with both of these reasonings, it is not for me to dispute their choice. So I am removing these reasons by making the c4core code really standalone in rapidyaml, while striving to retain all current existing workflows.
No, not at all. c4core will remain just as it is, in https://github.com/biojppm/c4core.
This PR adds a helper makefile to simplify the workflow, with two main approaches:
The CI will enforce that the in-source c4core copy is in sync with the target commit hash (just like a submodule dirty status). While this PR is still a WIP, it will eventually contain instructions on how to use the makefile to accomplish these steps.
Thanks for looking into this, I truly appreciate. I am still working in this PR, so this is truly the proper time to start offering feedback. I have made a conscious effort to retain all existing usage scenarios, but if there is something I'm overlooking, I'd like to hear about it. And FWIW, after getting this PR ready and green, I will let it linger for some weeks before merging it. |
|
The makefile helper to sync with c4core is at ext/Makefile, and the README with instructions will be at ext/README.md. The file enforcing the c4core version is at ext/c4core.mk. |
|
Thanks for the context and clarifications, it helps. The reason I care in particular is because I now have a dependency on rapidyaml, as you may have noticed already. If not, it comes from: |
No description provided.