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

Handle the case where the spec file is not at the top-level of the git repository #130

Closed poscat0x04 closed 2 weeks ago

poscat0x04 commented 6 months ago

Currently rpmautospec assumes every spec file is placed at the top-level of a git repository, see:

https://github.com/fedora-infra/rpmautospec/blob/db1d71fa5df8df791d924d6f664e656613279808/rpmautospec/pkg_history.py#L88 and

https://github.com/fedora-infra/rpmautospec/blob/db1d71fa5df8df791d924d6f664e656613279808/rpmautospec/pkg_history.py#L69-L80

It would be nice if it can also support the case where it's not at the top-level.

nphilipp commented 2 months ago

Sorry for the late response, but what’s the use case for this?

nphilipp commented 2 weeks ago

Closing for inactivity.