Max Nikulin <[email protected]> writes: > On 16/12/2025 18:41, Rens Oliemans wrote: >> - When the 'libredirect data' (what should we redirect to what) changes >> between publishing, we now export all org files rather than only updated >> ones, described by Christian and Ihor. > > Will it work at sr.ht builders? I expect that CI starts from clean > state. So libredirect data should be effectively changed every build.
Yes CI does start from a clean state. But then it does not matter what logic we have - we need to rebuild everything from scratch anyway. Also, CI can be configured to save artifacts of the built and re-use it later. > Does emacs have URL parser (in url or some other package)? Properly > parsing URLs is really tricky: > <https://url.spec.whatwg.org/#concept-basic-url-parser> Probably yes, but I did not see anything that is documented. > In my opinion (perhaps others do not share it), fetching data from > network should be performed in a separate build step. Every local > rebuild should not require updating replacement list. There still may be > a convenience command that runs both data fetch and build. We may have code blocks in .org files that fetch from internet and export results. So, I see no way to completely decouple internet fetching and export. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
