in
2077900 includehandler: Fix repo path detection for local includes
the following is stated:
> So far, repository paths for local includes were derived from the path
> name of the config file containing the include, rather than using the
> actual repository root as specified in the documentation.
The documentation though states that for includes without repo specified they
should be interpreted relative to the current configuration file:
───────┬────────────────────────────────────────────────────────────────────────────────
│ File: docs/userguide.rst
───────┼────────────────────────────────────────────────────────────────────────────────
170 │ The specified files are addressed relative to your current configuration file.
... │ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 8< ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
259 │ * ``includes``: list [optional]
... │ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 8< ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
265 │ * item: string
266 │ The path to a kas configuration file, relative to the current file.
───────┴────────────────────────────────────────────────────────────────────────────────
───────┬────────────────────────────────────────────────────────────────────────
│ File: kas/includehandler.py
───────┼────────────────────────────────────────────────────────────────────────
116 │ The includes can be specified in two ways: as a string
117 │ containing the relative path from the current file or as a
118 │ dictionary. The dictionary should have a 'file' key containing
───────┴────────────────────────────────────────────────────────────────────────
What is the actual desired behaviour?
Sincerely
--
Daniel Wagenknecht
emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke
Ust-IdNr.: DE 205 198 055
emlix - smart embedded open source