[Bug 2263790] Review Request: python-yq - Command-line YAML/XML processor - jq wrapper for YAML/XML documents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2263790



--- Comment #12 from Petr Menšík <pemensik@xxxxxxxxxx> ---
(In reply to Cristian Le from comment #10)
> Both `yq` should be compatible with each other and compatible with `jq`. No
> reason why we can't have both implementations as long as both are prefixed
> with `python/go`. Not sure if each one needs to mark the other as
> conflicting explicitly or if that is handled by `Provides` automatically.

Hmm, as matter of fact, current spec provides %{_bindir}/yq, just as bug
#2074467 package. So they will conflict once passed both. In order to both be
installable on single system, at least one of them need to rename the
conflicting binary.

A way around that would be using alternatives subsystem, where both could
provide the same name and user would choose a preferred one. But that would
require interchangable parameters, at least to some extent.

I don't remember my exact workflow when creating the package. I think I haven't
used any tool to create spec file, but used existing package as a template with
manual changes.

I have found OpenSUSE rpm spec at
https://build.opensuse.org/projects/devel:languages:python/packages/python-yq/files/python-yq.spec?expand=1

I am not confident lowering of explicit requirements would be safe without
using it that first. I think such lowering should happen only for older
releases, if any.

Yes, I would like to finish this review.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2263790

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202263790%23c12
--
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux