distributions.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Neal Gompa <ngompa13@gmail.com>
To: "Anna (cybertailor) Vyalkova" <cyber+gentoo@sysrq.in>
Cc: distributions@lists.linux.dev
Subject: Re: Detect QML Dependencies
Date: Fri, 31 Mar 2023 12:00:39 -0400	[thread overview]
Message-ID: <CAEg-Je_e_PzcCLyn=Kb8XdcP4JOKX6cFJrncMY9qnuxyWcKFpA@mail.gmail.com> (raw)
In-Reply-To: <ZCb9MrFq5IbdnIZ-@sysrq.in>

On Fri, Mar 31, 2023 at 11:39 AM Anna (cybertailor) Vyalkova
<cyber+gentoo@sysrq.in> wrote:
> Hey,
> in Debian we package more and more QML applications and face the problem, that
> we don't have tooling to easily get a list of QML dependencies out of the qml
> files. I normally end up doing a grep in the qml files and than I need to
> translate these dependencies to the corresponding Debian packages. What is
> quite error prune.
> Does anyone have already a working solution to detect the QML dependencies -
> maybe there is alaready a qmllinter/qmlchecker tool that returns the needed
> QML dependencies and create package dependencies?
> That is currently my way:
> grep -r --include="*qml" '^import ' | sed 's/^.*\.qml:import \([^ ]*.*\)/\1/g'
> | sort | uniq

I've been looking into this for Fedora as well:

There are some examples of dependency generators from openSUSE,
Sailfish OS, and OpenMandriva.

It'd be good to turn this into a unified framework that distributions
can use, because all these implementations are kind of scattered with
their own issues.

真実はいつも一つ!/ Always, there's only one truth!

      reply	other threads:[~2023-03-31 16:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-31 15:33 Fwd: Detect QML Dependencies Anna (cybertailor) Vyalkova
2023-03-31 16:00 ` Neal Gompa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEg-Je_e_PzcCLyn=Kb8XdcP4JOKX6cFJrncMY9qnuxyWcKFpA@mail.gmail.com' \
    --to=ngompa13@gmail.com \
    --cc=cyber+gentoo@sysrq.in \
    --cc=distributions@lists.linux.dev \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).