Bug 2364617
| Summary: | Review Request: apostrophe - A distraction free Markdown editor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alexander Lent <lx> | ||||
| 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: | medium | ||||||
| Version: | rawhide | CC: | alex, decathorpe, gui1ty, package-review, yselkowi | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | Unretirement | ||||||
| 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: | |||||||
| Attachments: |
|
||||||
|
Description
Alexander Lent
2025-05-06 23:18:05 UTC
Copr build: https://copr.fedorainfracloud.org/coprs/build/9005654 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2364617-apostrophe/fedora-rawhide-x86_64/09005654-apostrophe/fedora-review/review.txt Found issues: - A package with this name already exists. Please check https://src.fedoraproject.org/rpms/apostrophe, https://src.fedoraproject.org/flatpaks/apostrophe Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names Please know that there can be false-positives. --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string. It looks like this was previously built in Fedora but was retired due to upstream issues (see rhbz#2291412 and rhbz#2290496). Looking at the upstream repo, I don't think much has changed. The codebase doesn't seem to have been updated in 4 years. While it's true that the codebase between 3.0 and 3.2 has been pretty stagnant, (though it seems like there's been a bit more activity since the 3.2 release,) my understanding of the previous reports is that most of the crashes were due to calling functions that didn't exist in upstream libspelling and gtksouceview5, which have now been upstreamed into recent versions of those libraries. I've been testing my builds for 3.2, and I haven't yet encountered the previous random crashes, though I have only tested relatively simple Markdown files so far (just text, links, headers, and images). Don't have time for a full package review at the moment, but I tried a local Fedora flatpak build of this and it seems to be working just fine. As soon as it's back in, I can reinstate the Fedora flatpak. I'd prefer to see less wildcards in %check and %files, but otherwise I don't see any blatantly obvious problems in the spec file. This looks a bit strange to me:
```
%forgeautosetup -p1
%setup -q -n %{name}-v%{version} -D -T -a1
```
You should very likely either use one or the other. Using more than one %*setup macro will do strange things.
First of all, thanks for trying to bring back Apostrophe to the Fedora repos. I've been unable to find a replacement that suits my needs since the package was retired. (In reply to Alexander Lent from comment #3) > While it's true that the codebase between 3.0 and 3.2 has been pretty > stagnant, (though it seems like there's been a bit more activity since the > 3.2 release,) my understanding of the previous reports is that most of the > crashes were due to calling functions that didn't exist in upstream > libspelling and gtksouceview5, which have now been upstreamed into recent > versions of those libraries. As of version 3.3 the upstream patches for libspelling and gtksourceview have been dropped. I've tried a local build and it worked well with the system installed libraries. I was unable to reproduce bug 2291412. (In reply to Yaakov Selkowitz from comment #4) > I'd prefer to see less wildcards in %check and %files, but otherwise I don't > see any blatantly obvious problems in the spec file. For the .desktop and .xml files you can simply replace the asterisk with the already defined macro %{appid}. You may also want to run some tests in %check with: %{py3_test_envvars} %python3 tests/test_regex_commonmark.py Could you update to version 3.3? I'd be willing to take a shot at the review since I'd really like to see this package back in Fedora. Thanks for the offer, and apologies that it's taken a week to get everything together. Let me know if you need me to handle a review or several down the line. I think I've addressed all the comments so far as well as bringing the package up to date as of v3.3: Spec URL: https://src.fedoraproject.org/fork/xanderlent/rpms/apostrophe/raw/3eb21eee31f3348da8e24b3d3ca6fc2a6bf03ca8/f/apostrophe.spec SRPM URL: https://gist.github.com/xanderlent/865bec2cdc3279c08387c8da89a0b594/raw/0e9d4d47750304eb064754e2c435e706423c1fa2/apostrophe-3.3-1.fc44.src.rpm Created attachment 2107949 [details]
The .spec file difference from Copr build 9005654 to 9625493
Copr build: https://copr.fedorainfracloud.org/coprs/build/9625493 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2364617-apostrophe/fedora-rawhide-x86_64/09625493-apostrophe/fedora-review/review.txt Found issues: - A package with this name already exists. Please check https://src.fedoraproject.org/rpms/apostrophe, https://src.fedoraproject.org/flatpaks/apostrophe Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_conflicting_package_names Please know that there can be false-positives. --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string. |