fedora-infra / rpmautospec

Automatically generate release values and changelog entries from git history in RPM spec files
MIT License
4 stars 7 forks source link

Support spec files in subdirectories #208

Open HauserV opened 1 week ago

HauserV commented 1 week ago

I would like to work with .spec files which are located in subdirectories of a git repository but that doesn't work because rpmautospec initializes the pygit2.Repository with the parent directory of the provided spec file. The pygit2.discover_repository could be used to find the correct repository path.