Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77823 - [ripgrep-all] Backport a change for pandoc 3.x compatibility

Attached to Project: Community Packages
Opened by Chih-Hsuan Yen (yan12125) - Sunday, 12 March 2023, 12:27 GMT
Last edited by freswa (frederik) - Wednesday, 22 March 2023, 14:37 GMT
Task Type Feature Request
Category Upstream Bugs
Status Closed
Assigned To freswa (frederik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Current rga does not work with pandoc 3.x as an option is gone:

$ rga foo xxx.docx
-------------------------------------------------------------------------------
xxx.docx: preprocessor command failed: '"/usr/bin/rga-preproc" "xxx.docx"':
-------------------------------------------------------------------------------
adapter: pandoc
Unknown option --atx-headers.
Try pandoc --help for more information.
Error: subprocess failed: ExitStatus(unix_wait_status(1536))
-------------------------------------------------------------------------------

The upstream dev has fixed it in git-master [1], where only the one-line change in src/adapters/custom.rs is necessary. Furthermore, relevant codes were migrated from src/adapters/pandoc.rs during a refactor [2]. Overall, changes to PKGBUILD can be found in the attached file.

Additional info:

* community/ripgrep-all 0.9.6-3
* There are no new upstream releases yet. In https://github.com/phiresky/ripgrep-all/issues/115, the upstream developer said "i'll probably release the beta of 1.0 soon". I assume a stable version is still far away.

[1] https://github.com/phiresky/ripgrep-all/commit/020000cc77d0d63c5a7b2871e6f22550b4dbc1a0
[2] https://github.com/phiresky/ripgrep-all/commit/8070a94d84aae06f9968cbe93da73867b7f70dff

Steps to reproduce:
This task depends upon

Closed by  freswa (frederik)
Wednesday, 22 March 2023, 14:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  ripgrep-all-0.9.6-4
Comment by Toolybird (Toolybird) - Tuesday, 21 March 2023, 20:33 GMT
Dupe  FS#77932 

Loading...