public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users@googlegroups.com
Subject: Re: [RFC Kernel PATCH 1/1] builddeb: support creation of linux-perf packages
Date: Tue, 3 Sep 2019 16:59:32 +0200	[thread overview]
Message-ID: <20190903145932.GD6062@yssyq.m.ilbers.de> (raw)
In-Reply-To: <4c350bba-d2c1-9689-b42f-9c18dcfb3e13@mentor.com>

Hello Cedric,

On Tue, Sep 03, 2019 at 10:01:43AM +0200, Cedric Hombourger wrote:
> Unfortunately Ubuntu does not use the same package structure
...
> Anything comes to mind?
> 
> Should we give up the idea of using builddeb and instead use our own
> debian/{control,rules} in Isar? (Jan told me that you have started to
> discuss/consider this)

Thanks for summarizing the differences. I'm afraid there is no silver bullet,
it will diverge. As I see it, the approach matrix is still the same:

          generic  specific

own       complex  simple
                   repetitive

upstream  complex  complex
          fragile  fragile

For a single downstream project, I'd choose own-specific at the cost of some
repetition. I assume it to require less effort than upstream-generic. In my
understanding, this is what Ubuntu does due to practical reasons. Unifying the
three upstreams is a noble task, but I don't see anyone feeling inclined to
solve that for the long-term.

For Isar or a generic base layer on top of it, the effort mix will be
different. Upstream-specific doesn't make sense, and upstream-generic is
difficult due to the reasons in your mail. The alternative is copying
own-specific. Given enough permutations, this will become unmanageable at some
point (updating will be costly and error-prone). Start with own-generic via
e.g. sed <config.in >config -- and you end up with your own version of deb-pkg.
So, here the question is how many variants one is going to ultimately have.

For the generic case, I don't see approaches better than deb-pkg ATM. IMHO, it
doesn't have to be ugly. They already support e.g. rpm; do they have variants
for Fedora, SUSE, etc.?

With kind regards,
Baurzhan.

  reply	other threads:[~2019-09-03 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28  7:17 [RFC Kernel PATCH 0/1] " Cedric Hombourger
2019-08-28  7:17 ` [RFC Kernel PATCH 1/1] builddeb: " Cedric Hombourger
2019-08-30 13:58   ` Henning Schild
2019-09-03  8:01     ` Cedric Hombourger
2019-09-03 14:59       ` Baurzhan Ismagulov [this message]
2019-09-03 15:19         ` Jan Kiszka
2019-09-04  8:37           ` Henning Schild

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20190903145932.GD6062@yssyq.m.ilbers.de \
    --to=ibr@radix50.net \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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