* Bitbake.conf in isar and linting
@ 2025-08-12 6:44 'Simone Weiß' via isar-users
2025-08-12 9:09 ` 'MOESSBAUER, Felix' via isar-users
0 siblings, 1 reply; 7+ messages in thread
From: 'Simone Weiß' via isar-users @ 2025-08-12 6:44 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 761 bytes --]
Hey,
I am wondering if a specific styleguide exists for isar? Normally for
bitbake based projects I am using oelint-adv.
When I played around with dpkg-raw and wanted to install some file under
/etc, this caused the linker to complain about not using sysconfdir for etc.
Is there a specific reason why isars bitbake.conf would omit to also define
variables got etc, bin and friends?
Best,
Simone
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/cfa3847c-8253-4e5b-9a67-36d75293c0f9n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1163 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bitbake.conf in isar and linting
2025-08-12 6:44 Bitbake.conf in isar and linting 'Simone Weiß' via isar-users
@ 2025-08-12 9:09 ` 'MOESSBAUER, Felix' via isar-users
2025-08-19 7:15 ` 'Simone Weiß' via isar-users
2025-08-20 5:40 ` 'Schmidt, Adriaan' via isar-users
0 siblings, 2 replies; 7+ messages in thread
From: 'MOESSBAUER, Felix' via isar-users @ 2025-08-12 9:09 UTC (permalink / raw)
To: Schmidt, Adriaan, simone.weiss; +Cc: isar-users
On Mon, 2025-08-11 at 23:44 -0700, 'Simone Weiß' via isar-users wrote:
> Hey,
>
> I am wondering if a specific styleguide exists for isar? Normally for
> bitbake based projects I am using oelint-adv.
>
> When I played around with dpkg-raw and wanted to install some file
> under /etc, this caused the linker to complain about not using
> sysconfdir for etc.
Hi,
let's loop Adriaan Schmidt in, as he already worked on an ISAR linter.
Felix
>
> Is there a specific reason why isars bitbake.conf would omit to also
> define variables got etc, bin and friends?
>
>
> Best,
> Simone
--
Siemens AG
Linux Expert Center
Friedrich-Ludwig-Bauer-Str. 3
85748 Garching, Germany
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/cdb58ccf839ef4594d0b5a1dcb3050cce8f15bd1.camel%40siemens.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bitbake.conf in isar and linting
2025-08-12 9:09 ` 'MOESSBAUER, Felix' via isar-users
@ 2025-08-19 7:15 ` 'Simone Weiß' via isar-users
2025-08-20 5:40 ` 'Schmidt, Adriaan' via isar-users
1 sibling, 0 replies; 7+ messages in thread
From: 'Simone Weiß' via isar-users @ 2025-08-19 7:15 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 1252 bytes --]
Hi,
any feedback here?
Best,
Simone
On Tuesday, August 12, 2025 at 11:09:40 AM UTC+2 MOESSBAUER, Felix wrote:
> On Mon, 2025-08-11 at 23:44 -0700, 'Simone Weiß' via isar-users wrote:
> > Hey,
> >
> > I am wondering if a specific styleguide exists for isar? Normally for
> > bitbake based projects I am using oelint-adv.
> >
> > When I played around with dpkg-raw and wanted to install some file
> > under /etc, this caused the linker to complain about not using
> > sysconfdir for etc.
>
> Hi,
>
> let's loop Adriaan Schmidt in, as he already worked on an ISAR linter.
>
> Felix
>
> >
> > Is there a specific reason why isars bitbake.conf would omit to also
> > define variables got etc, bin and friends?
> >
> >
> > Best,
> > Simone
>
> --
> Siemens AG
> Linux Expert Center
> Friedrich-Ludwig-Bauer-Str. 3
> 85748 Garching, Germany
>
>
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/1a739df6-1484-44b2-872a-8b8d1b6c591bn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1908 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Bitbake.conf in isar and linting
2025-08-12 9:09 ` 'MOESSBAUER, Felix' via isar-users
2025-08-19 7:15 ` 'Simone Weiß' via isar-users
@ 2025-08-20 5:40 ` 'Schmidt, Adriaan' via isar-users
2025-08-20 11:52 ` 'Simone Weiß' via isar-users
2025-08-20 13:07 ` Baurzhan Ismagulov
1 sibling, 2 replies; 7+ messages in thread
From: 'Schmidt, Adriaan' via isar-users @ 2025-08-20 5:40 UTC (permalink / raw)
To: MOESSBAUER, Felix, simone.weiss; +Cc: isar-users
Moessbauer, Felix (FT RPD CED OES-DE), Dienstag, 12. August 2025 11:10:
> On Mon, 2025-08-11 at 23:44 -0700, 'Simone Weiß' via isar-users wrote:
> > Hey,
> >
> > I am wondering if a specific styleguide exists for isar? Normally for
> > bitbake based projects I am using oelint-adv.
> >
> > When I played around with dpkg-raw and wanted to install some file
> > under /etc, this caused the linker to complain about not using
> > sysconfdir for etc.
>
> Hi,
>
> let's loop Adriaan Schmidt in, as he already worked on an ISAR linter.
Well, yes and no...
Years ago I very briefly looked into technical solutions for bitbake linting (maybe it was oelint-adv, but I don't exactly remember), and how flexible/extensible those might be.
Even with that in place, it would be up to the Isar Community to actually define a style and rules, but as far as I'm aware nothing like this exists yet.
Adriaan
> Felix
>
> >
> > Is there a specific reason why isars bitbake.conf would omit to also
> > define variables got etc, bin and friends?
> >
> >
> > Best,
> > Simone
>
> --
> Siemens AG
> Linux Expert Center
> Friedrich-Ludwig-Bauer-Str. 3
> 85748 Garching, Germany
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/AS4PR10MB531881491F2C8A8579B95A14ED33A%40AS4PR10MB5318.EURPRD10.PROD.OUTLOOK.COM.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bitbake.conf in isar and linting
2025-08-20 5:40 ` 'Schmidt, Adriaan' via isar-users
@ 2025-08-20 11:52 ` 'Simone Weiß' via isar-users
2025-08-20 13:07 ` Baurzhan Ismagulov
1 sibling, 0 replies; 7+ messages in thread
From: 'Simone Weiß' via isar-users @ 2025-08-20 11:52 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 2185 bytes --]
Hi I see thanks,
While oelint-adv is fairly configurable, I see another point here: Is it
really advisable to hard code paths such as /etc, /usr/bin, bin and so on?
I only noticed that those are hard-coded by running oelint-adv, If a distro
(also in different versions I believe there was some switch with debian
12(merged usr))
however handles bin usr etc differently then other it would be nice to
configure them in variables.
Simone
On Wednesday, August 20, 2025 at 7:40:55 AM UTC+2 Schmidt, Adriaan wrote:
> Moessbauer, Felix (FT RPD CED OES-DE), Dienstag, 12. August 2025 11:10:
> > On Mon, 2025-08-11 at 23:44 -0700, 'Simone Weiß' via isar-users wrote:
> > > Hey,
> > >
> > > I am wondering if a specific styleguide exists for isar? Normally for
> > > bitbake based projects I am using oelint-adv.
> > >
> > > When I played around with dpkg-raw and wanted to install some file
> > > under /etc, this caused the linker to complain about not using
> > > sysconfdir for etc.
> >
> > Hi,
> >
> > let's loop Adriaan Schmidt in, as he already worked on an ISAR linter.
>
> Well, yes and no...
> Years ago I very briefly looked into technical solutions for bitbake
> linting (maybe it was oelint-adv, but I don't exactly remember), and how
> flexible/extensible those might be.
> Even with that in place, it would be up to the Isar Community to actually
> define a style and rules, but as far as I'm aware nothing like this exists
> yet.
>
> Adriaan
>
> > Felix
> >
> > >
> > > Is there a specific reason why isars bitbake.conf would omit to also
> > > define variables got etc, bin and friends?
> > >
> > >
> > > Best,
> > > Simone
> >
> > --
> > Siemens AG
> > Linux Expert Center
> > Friedrich-Ludwig-Bauer-Str. 3
> > 85748 Garching, Germany
>
>
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/b2cf3b00-12df-4d6a-9a0a-380ff95a43afn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2933 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bitbake.conf in isar and linting
2025-08-20 5:40 ` 'Schmidt, Adriaan' via isar-users
2025-08-20 11:52 ` 'Simone Weiß' via isar-users
@ 2025-08-20 13:07 ` Baurzhan Ismagulov
2025-08-21 9:16 ` 'Weiß, Simone' via isar-users
1 sibling, 1 reply; 7+ messages in thread
From: Baurzhan Ismagulov @ 2025-08-20 13:07 UTC (permalink / raw)
To: isar-users
On 2025-08-20 05:40, 'Schmidt, Adriaan' via isar-users wrote:
> > > I am wondering if a specific styleguide exists for isar? Normally for
> > > bitbake based projects I am using oelint-adv.
> > >
> > > When I played around with dpkg-raw and wanted to install some file
> > > under /etc, this caused the linker to complain about not using
> > > sysconfdir for etc.
>
> Well, yes and no...
> Years ago I very briefly looked into technical solutions for bitbake linting (maybe it was oelint-adv, but I don't exactly remember), and how flexible/extensible those might be.
> Even with that in place, it would be up to the Isar Community to actually define a style and rules, but as far as I'm aware nothing like this exists yet.
>
> > > Is there a specific reason why isars bitbake.conf would omit to also
> > > define variables got etc, bin and friends?
We've looked at pylint but not at oelint-adv.
Ideally, we imagined our recipes as three-liners (inherit dpkg, SRC_URI, SRCREV
or similar) which wouldn't require much of style. In the (very distant) future,
we'd need automatically created recipes or even not need recipes at all (all
necessary metadata is already inside the Debian-style source packages). This
not being the case today :) , I think oelint-adv could be evaluated whether
it's useful and configurable enough for Isar. Experiences welcome.
Regarding your specific questions -- sysconfdir, etc, bin and friends -- those
vars are very OE-specific and in are in case of Isar all managed by the Debian
package building infrastructure. So my wish would be exactly about it -- if the
tool turns to be useful for Isar, we shouldn't force people to deal with many
false positives.
Other than that, seems that the tool is not intended to provide pure formatting
guidance, but also real style guidance -- in that case, I think major effort
would be needed to make it useful to check for Isar development patterns.
With kind regards,
Baurzhan
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/aKXIqAKlHsQqM-NN%40abai.de.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bitbake.conf in isar and linting
2025-08-20 13:07 ` Baurzhan Ismagulov
@ 2025-08-21 9:16 ` 'Weiß, Simone' via isar-users
0 siblings, 0 replies; 7+ messages in thread
From: 'Weiß, Simone' via isar-users @ 2025-08-21 9:16 UTC (permalink / raw)
To: isar-users, ibr
[-- Attachment #1: Type: text/plain, Size: 3466 bytes --]
On Wed, 2025-08-20 at 15:07 +0200, Baurzhan Ismagulov wrote:
> CAUTION: This email originated from outside of the Elektrobit
> organization. Do not click links or open attachments unless you
> recognize the sender and know the content is safe.
>
>
> On 2025-08-20 05:40, 'Schmidt, Adriaan' via isar-users wrote:
> > > > I am wondering if a specific styleguide exists for isar?
> > > > Normally for
> > > > bitbake based projects I am using oelint-adv.
> > > >
> > > > When I played around with dpkg-raw and wanted to install some
> > > > file
> > > > under /etc, this caused the linker to complain about not using
> > > > sysconfdir for etc.
> >
> > Well, yes and no...
> > Years ago I very briefly looked into technical solutions for
> > bitbake linting (maybe it was oelint-adv, but I don't exactly
> > remember), and how flexible/extensible those might be.
> > Even with that in place, it would be up to the Isar Community to
> > actually define a style and rules, but as far as I'm aware nothing
> > like this exists yet.
> >
> > > > Is there a specific reason why isars bitbake.conf would omit to
> > > > also
> > > > define variables got etc, bin and friends?
>
> We've looked at pylint but not at oelint-adv.
>
> Ideally, we imagined our recipes as three-liners (inherit dpkg,
> SRC_URI, SRCREV
> or similar) which wouldn't require much of style. In the (very
> distant) future,
> we'd need automatically created recipes or even not need recipes at
> all (all
> necessary metadata is already inside the Debian-style source
> packages).
I was thinking about recipes that inherit dpkg-raw e.g. sdk-files.bb
> This
> not being the case today :) , I think oelint-adv could be evaluated
> whether
> it's useful and configurable enough for Isar. Experiences welcome.
>
we have ok experiences with the following config:
FILES="$(find . -name "*.conf" -o -name "*.bb*" -o -name "*.inc")"
oelint-adv \
--suppress oelint.var.mandatoryvar.HOMEPAGE \
--suppress oelint.var.mandatoryvar.DESCRIPTION \
--suppress oelint.task.docstrings \
--suppress oelint.task.heredocs \
--suppress oelint.vars.homepageping \
--suppress oelint.vars.mispell \
--suppress oelint.vars.pathhardcode \
--exit-zero --quiet --hide info --output result \
--messageformat "::error file={path},line={line}::{id}::{msg}" \
$FILES
> Regarding your specific questions -- sysconfdir, etc, bin and friends
> -- those
> vars are very OE-specific and in are in case of Isar all managed by
> the Debian
> package building infrastructure. So my wish would be exactly about it
> -- if the
> tool turns to be useful for Isar, we shouldn't force people to deal
> with many
> false positives.
>
> Other than that, seems that the tool is not intended to provide pure
> formatting
> guidance, but also real style guidance -- in that case, I think major
> effort
> would be needed to make it useful to check for Isar development
> patterns
> .
>
> With kind regards,
> Baurzhan
>
>
Kind Regards,
Simone Weiß
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/461d97ae67082dcea8ff99b83451c8c436cd9024.camel%40elektrobit.com.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-08-21 9:16 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-12 6:44 Bitbake.conf in isar and linting 'Simone Weiß' via isar-users
2025-08-12 9:09 ` 'MOESSBAUER, Felix' via isar-users
2025-08-19 7:15 ` 'Simone Weiß' via isar-users
2025-08-20 5:40 ` 'Schmidt, Adriaan' via isar-users
2025-08-20 11:52 ` 'Simone Weiß' via isar-users
2025-08-20 13:07 ` Baurzhan Ismagulov
2025-08-21 9:16 ` 'Weiß, Simone' via isar-users
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox