pjkm.core.groups.sources¶
Remote group source management: clone, cache, and sync git repos of group definitions.
Attributes¶
Classes¶
A registered group source. |
|
Manages remote git repositories that provide group definitions. |
Module Contents¶
- class pjkm.core.groups.sources.SourceEntry(url, name='', path='', ref='')[source]¶
A registered group source.
- property cache_dir: pathlib.Path[source]¶
- Return type:
- property groups_dir: pathlib.Path[source]¶
The directory containing group YAML files within the cached repo.
- Return type:
- class pjkm.core.groups.sources.GroupSourceManager[source]¶
Manages remote git repositories that provide group definitions.
Sources are registered in ~/.pjkm/sources.yaml and cached in ~/.pjkm/cache/sources/<name>/. They can also be declared in .pjkmrc.yaml under group_sources:.
- property sources: list[SourceEntry][source]¶
- Return type: