Working with Git Submodules and Master Files
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Working with Git Submodules and Master Files
Hello,
I've noticed that for a project which contains a Git submodule and a Master File that links will not update if a file in the submodule is moved or renamed after a pull update. I'm guessing this is the expected behavior since the files were updated automatically outside of the Project View in Oxygen.
Am I correct that this is the expected behavior or is there something that I could do differently so that links automatically update? Is it generally recommended that files in a submodule should not be removed or renamed to avoid broken links? Maybe this is a good case where keys should be used instead of direct links?
Thanks,
Jonathan
I've noticed that for a project which contains a Git submodule and a Master File that links will not update if a file in the submodule is moved or renamed after a pull update. I'm guessing this is the expected behavior since the files were updated automatically outside of the Project View in Oxygen.
Am I correct that this is the expected behavior or is there something that I could do differently so that links automatically update? Is it generally recommended that files in a submodule should not be removed or renamed to avoid broken links? Maybe this is a good case where keys should be used instead of direct links?
Thanks,
Jonathan
-
- Posts: 402
- Joined: Mon May 09, 2016 9:37 am
Re: Working with Git Submodules and Master Files
Post by sorin_carbunaru »
Hello Jonathan,
Yes, this is indeed the expected behavior because, as you suspected, references are updated only if the rename/move operations are performed inside Oxygen, in the Project side-view.
All the best wishes,
Sorin Carbunaru
Oxygen XML Editor
Yes, this is indeed the expected behavior because, as you suspected, references are updated only if the rename/move operations are performed inside Oxygen, in the Project side-view.
Well, we don't have much experience with Git submodules, therefore I cannot give you any recommendations. But if you want to make sure you don't have broken references, you can use the DITA map completeness check from time to time (https://www.oxygenxml.com/doc/versions/ ... idate.html).Is it generally recommended that files in a submodule should not be removed or renamed to avoid broken links?
Yes, I would say using keys should make life easier. For example, if you rename a file, you would only need to update the key instead of updating all the direct references.Maybe this is a good case where keys should be used instead of direct links?
All the best wishes,
Sorin Carbunaru
Oxygen XML Editor
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service