Hello,
I would like to dump the config with all includes as a flat version, but do
not want to checkout the repositories. Trying this I stumbled across this
unexpected error.
```
% cat .config.yaml
header:
version: 11
repos:
bitbake:
url: "
https://git.openembedded.org/bitbake"
branch: master
path: "bitbake"
% ./kas-container dump --skip init_setup_repos
2026-01-27 21:08:29 - INFO - kas 5.1 started on Debian GNU/Linux 13
2026-01-27 21:08:29 - ERROR - 'Context' object has no attribute 'missing_repo_names'
Traceback (most recent call last):
File "/usr/local/lib/python3.13/dist-packages/kas/kas.py", line 244, in main
kas(sys.argv[1:])
~~~^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/kas.py", line 218, in kas
plugin.run(args)
~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/plugins/dump.py", line 226, in run
super().run(args)
~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/plugins/checkout.py", line 62, in run
macro.run(ctx, args.skip)
~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/libcmds.py", line 116, in run
if _run_single(cmd[0]) and cmd[1]:
~~~~~~~~~~~^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/libcmds.py", line 110, in _run_single
command.execute(ctx)
~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/libcmds.py", line 166, in execute
while all(executor(c) for c in self.commands):
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/libcmds.py", line 166, in <genexpr>
while all(executor(c) for c in self.commands):
~~~~~~~~^^^
File "/usr/local/lib/python3.13/dist-packages/kas/libcmds.py", line 164, in executor
return command.execute(ctx)
~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/libcmds.py", line 541, in execute
if not ctx.missing_repo_names:
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Context' object has no attribute 'missing_repo_names'
```
Is it possible to skip this step?
I also tried to skip all steps, but this does not work:
```
% ./kas-container dump --skip={setup_dir,setup_home,init_setup_repos,repo_setup_loop,finish_setup_repos,repos_checkout,repos_check_signatures,repos_apply_patches,setup_environ,write_bbconfig}
2026-01-27 21:29:18 - INFO - kas 5.1 started on Debian GNU/Linux 13
2026-01-27 21:29:18 - ERROR - Config has not been imported yet.
Traceback (most recent call last):
File "/usr/local/lib/python3.13/dist-packages/kas/kas.py", line 244, in main
kas(sys.argv[1:])
~~~^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/kas.py", line 218, in kas
plugin.run(args)
~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/plugins/dump.py", line 230, in run
else ctx.config.get_config(remove_includes=True)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/config.py", line 88, in get_config
config = copy.deepcopy(self._config)
^^^^^^^^^^^^
File "/usr/local/lib/python3.13/dist-packages/kas/config.py", line 65, in _config
raise RuntimeError("Config has not been imported yet.")
RuntimeError: Config has not been imported yet.
```
How can I dump the flat config without touching the repositories?
Best regards, Jörg
--
Navimatix GmbH T: 03641 - 327 99 0
Tatzendpromenade 2 F: 03641 - 526 306
07745 Jena
www.navimatix.de
Geschäftsführer: Steffen Späthe, Jan Rommeley
Registergericht: Amtsgericht Jena, HRB 501480