Vit, Dan,

Thanks for the feedback, I have updated the spec file.

https://raw.githubusercontent.com/snecklifter/rubygem-asciidoctor-diagram/master/rubygem-asciidoctor-diagram.spec

COPR: https://copr.fedorainfracloud.org/coprs/snecker/rubygem-asciidoctor-diagram/

Would be good to get this approved in short order if anyone is able and free to do so?

Regards
Chris

On Wed, 18 Nov 2020 at 20:13, Dan Allen <dan.j.allen@gmail.com> wrote:
Christopher,

I just noticed these lines in the spec file:

BuildRequires: rubygem(prawn-svg)
BuildRequires: rubygem(asciidoctor-pdf)

Asciidoctor Diagram does not depend on Asciidoctor PDF. It's an independent extension that only depends on the main asciidoctor gem (in order to use the extension API).

Best Regards,

-Dan


On Fri, Nov 13, 2020 at 9:48 AM Christopher Brown <chris.brown@redhat.com> wrote:
Hi folks,

I've got a working build of asciidoctor-diagram ready for review:


Spec file:


@Dan - this includes support for graphviz, plantuml, and blockdiag you mentioned plus a few others that are already packaged.

Appreciate any eyes on this, particularly with regards to running rspec as I'm specifically running just the tests for the attributes that are available.

Regards
Christopher

On Tue, 3 Nov 2020 at 10:19, Christopher Brown <chris.brown@redhat.com> wrote:
Neal, Dan,

Thanks both, I think we have a way forward. I'll start the dialog upstream.

@Neal - would it be possible to update the Fedora wiki regarding bundling Nodejs deps? Not sure if it needs to be:


or


I'm unable to do so because I get the error message: "The action you have requested is limited to users in the group: Packaging."

On Mon, 2 Nov 2020 at 22:06, Neal Gompa <ngompa13@gmail.com> wrote:
On Mon, Nov 2, 2020 at 10:41 AM Christopher Brown
<chris.brown@redhat.com> wrote:
>
> Hi Dan,
>
> Thanks for this. The issue I think is that there is a large number of dependencies and AIUI, Fedora doesn't allow these to be bundled with the gem[1]. This means a fairly significant task creating packages for a variety of nodejs dependencies amongst other things, e.g. Vega[2] has a fairly rapid release schedule.
>
> The more I consider the situation, the more I'm thinking that rpm is not the correct packaging format for asciidoctor-pdf and friends given their long list of dependencies and that a better fit would be a containerised deployment or perhaps flatpak/snap.
>
> However I thought I'd put this out for further responses from anyone with a vested interest.
>
> 1. https://fedoraproject.org/wiki/Bundled_Libraries?rd=Packaging:Bundled_Libraries
> 2. https://github.com/vega/vega/tags
>

Bundling Nodejs dependencies is perfectly fine. Most of us do that
now. Gem and C/C++ dependencies should not be bundled, though.



--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org
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/ruby-sig@lists.fedoraproject.org


--
Christopher Brown
Senior Consultant
Red Hat UK Ltd
chris.brown@redhat.com


--
Christopher Brown
Senior Consultant
Red Hat UK Ltd
chris.brown@redhat.com
_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org
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/ruby-sig@lists.fedoraproject.org


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux
_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org
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/ruby-sig@lists.fedoraproject.org


--
Christopher Brown
Senior Consultant
Red Hat UK Ltd
chris.brown@redhat.com