- gather-module can find modules through symlinks
- Bump version - Update changelog
This commit is contained in:
parent
1c3e5dce5e
commit
114a73f100
@ -2,7 +2,7 @@
|
||||
|
||||
Name: pungi
|
||||
Version: 4.3.7
|
||||
Release: 6%{?dist}.alma
|
||||
Release: 7%{?dist}.alma
|
||||
Summary: Distribution compose tool
|
||||
|
||||
License: GPL-2.0-only
|
||||
@ -159,6 +159,9 @@ rm %{buildroot}%{_bindir}/pungi
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Apr 13 2023 Stepan Oksanichenko <soksanichenko@cloudlinux.com> - 4.3.7-7
|
||||
- gather-module can find modules through symlinks
|
||||
|
||||
* Thu Apr 13 2023 Stepan Oksanichenko <soksanichenko@cloudlinux.com> - 4.3.7-6
|
||||
- CLI option `--label` can be passed through a Pungi config file
|
||||
|
||||
|
@ -2,6 +2,7 @@ import gzip
|
||||
import lzma
|
||||
import os
|
||||
from argparse import ArgumentParser, FileType
|
||||
from glob import iglob
|
||||
from io import BytesIO
|
||||
from pathlib import Path
|
||||
from typing import List, AnyStr, Iterable, Union, Optional
|
||||
@ -30,8 +31,11 @@ def grep_list_of_modules_yaml(repos_path: AnyStr) -> Iterable[BytesIO]:
|
||||
"""
|
||||
|
||||
return (
|
||||
read_modules_yaml_from_specific_repo(repo_path=path.parent)
|
||||
for path in Path(repos_path).rglob('repodata')
|
||||
read_modules_yaml_from_specific_repo(repo_path=Path(path).parent)
|
||||
for path in iglob(
|
||||
str(Path(repos_path).joinpath('**/repodata')),
|
||||
recursive=True
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user