You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This use of a local version could be triggered with a cli flag like --local-requires
Ideally any modified target includes a header comment describing the different source which was used, but moban doesnt know how to do comments in every language, so that needs to be a separate enhancement, and there are a few quite-old issues which relate to this.
The text was updated successfully, but these errors were encountered:
The former is more powerful, and keeps the fallback resolution to be only occurring within template_dir.
And the solution could be as simple as allowing any template_dir beginning with ../ to be missing, emit a warning maybe, as an error will occur if the template isnt found in a subsequent template_dir.
However, if using template_dir to include alternatives, that creates a problem for layered template names as hoped in #17 .
Please try the following configuration as you have proposed. With version 0.6.0, it should work automatically, given that ../docker-mobans/templates exists. Jinja2-FSLoader(MultiFS) should stop at ../docer-mobans/templates/ if the file is found.
With a mobanfile containing
If I want to test an un-merged change to
docker-mobans
, I need to edit the mobanfile to look for a local versionIt would be nice to have a way to do that change without editing the mobanfile.
The way that would be most suitable for the way we have been setting up repos recently is to convert
however iirc pyexcel often has the local version as submodules so that would mean
This use of a local version could be triggered with a cli flag like
--local-requires
Ideally any modified target includes a header comment describing the different source which was used, but moban doesnt know how to do comments in every language, so that needs to be a separate enhancement, and there are a few quite-old issues which relate to this.
The text was updated successfully, but these errors were encountered: