Bug 2554737
| Summary: | Review Request: git-diff-html - Generate side-by-side HTML diff reports for Git repositories | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | luhaoran <37183985> |
| Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fedora, package-review |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 177841 | ||
|
Description
luhaoran
2026-10-18 08:40:12 UTC
> Source0: %{name}-%{version}.tar.gz Ideally, this should be a downloadable URL. Since you're hosting on GitHub, you should consider using git tags for marking new releases. Then, you can use the forge macros to auto-generate the URLs. https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/ > install -D -m 0755 git_diff_html.py %{buildroot}%{_bindir}/git-diff-html > install -D -m 0644 git-diff-html.1 %{buildroot}%{_mandir}/man1/git-diff-html.1 You should use `-p` here to preserve file timestamps. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_timestamps Thanks for the review! Both points are fixed:
1. Source0 is now a downloadable GitHub archive URL using the v%{version} release tag (git tags now mark releases):
https://github.com/LuHaoran1981/GitDiffLocal/archive/refs/tags/v%{version}.tar.gz
2. Added -p to the install commands to preserve file timestamps.
Updated:
Spec URL: https://download.copr.fedorainfracloud.org/results/luhaoran/git-diff-html/srpm-builds/11173452/git-diff-html.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/luhaoran/git-diff-html/srpm-builds/11173452/git-diff-html-1.0-1.src.rpm
Copr build: https://copr.fedorainfracloud.org/coprs/luhaoran/git-diff-html/build/11173452/
Please upload the files to some persistent storage. COPR deletes the files after a couple of days; both the spec and srpm links are now 404. |