Hi,
I have the following watch file:
Version: 5
Mode: git
Source: https://github.com/ngscopeclient/scopehal-apps.git
Matching-Pattern: refs/tags/v(.+)
Git-Pretty: describe
Git-Modules: doc;lib;lib/canvas_ity;lib/log;lib/xptools;src/ImGuiFileDialog;src/imgui;src/imgui-node-editor;src/imgui_markdown;src/nativefiledialog-extended
Compression: xz
Uversion-Mangle: s/-rc/~rc/
The goal is to exclude lib/VkFFT, as that is already packaged in Debian.
However, because "lib" itself is a submodule, which is not checked out yet,
this fails with
error: pathspec 'lib/canvas_ity' did not match any file(s) known to git
error: pathspec 'lib/log' did not match any file(s) known to git
error: pathspec 'lib/xptools' did not match any file(s) known to git
I can solve this for now using Files-Excluded, but I suspect this should be
a valid configuration.
In this particular case, this could also be solved by turning the toplevel
submodules into Components, but this would require a way to select a commit
referenced by a submodule in the main component as the version to download
in the subcomponent, since the projects are not synchronized and not
guaranteed to have matching tags.
Simon
--- /etc/devscripts.conf ---
Empty.
--- ~/.devscripts ---
Not present