[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Per project repository snapcraft files?
From: Nicolas Fella <nicolas.fella () gmx ! de>
Date: 2023-08-18 19:45:07
Message-ID: 714de2ed-6b8e-7515-ef2f-676c5570fe8d () gmx ! de
[Download RAW message or body]
Am 18.08.23 um 21:41 schrieb Ben Cooksley:
> On Fri, Aug 18, 2023 at 10:17 PM Scarlett Moore
> <scarlett.gately.moore@gmail.com> wrote:
>
>
>
> On Fri, Aug 18, 2023, 12:55 AM Ben Cooksley <bcooksley@kde.org> wrote:
>
> On Fri, Aug 18, 2023 at 3:53 AM Scarlett Moore
> <scarlett.gately.moore@gmail.com> wrote:
>
> Hello everyone,
>
>
> Hey Scarlett,
>
> I am asking to revisit per project repo snapcraft files. I
> see now
> that flatpak files are in project repos but I understand
> this was
> rejected for snapcraft. I would like to re-propose the
> idea, and here
> is why.
> The CI jobs for snap builds is cludgy at best. We have
> huge amounts of
> failures because we must do a public upload to launchpad
> which places
> us at the lowest priority and we have many timeouts etc. Their
> solution is to create proper snap recipes pointing to our
> repos with
> the snapcraft.yaml. Our current setup won't work because
> we use
> subdirectories in one repo.
> Thoughts?
>
>
> My understanding (when automating the triggering of these
> builds on invent.kde.org <http://invent.kde.org> was discussed
> with Sysadmin) was that the Snap folks had wanted to have
> everything in one repository.
> I had queried at the time why we weren't adding a file into
> each repository (which is what we do with Flatpak, and now
> with Craft as well - although those builds have yet to be
> widely rolled out)
>
> With regards to the triggering of these builds, how will this
> happen?
> It sounds like what you are describing here will result in
> Canonical servers polling invent.kde.org
> <http://invent.kde.org> for changes, which is something we're
> not huge fans of as most projects only change every couple of
> days.
>
>
> Thanks for your time,
> Scarlett
>
>
> Cheers,
> Ben
>
>
>
> Hi!
>
> Thanks all for responding.
>
> Albert: snapcraft files have been ironed out. I have been quite
> busy over the last year doing so.
>
> Ben: There is an option to have launchpad build on changes which
> would have polling. However, I would opt out of this feature and
> instead write some tooling using launchpad API and Neons watcher
> tooling to update versions and trigger launchpad builds. It would
> actually lighten the load on KDE servers significantly.
>
>
> Yes, we would definitely want to opt out of that completely - due to
> the number of repositories we have, any kind of polling quickly turns
> into a fairly significant number of requests.
>
> Wouldn't you want to trigger this from a .gitlab-ci.yml job definition
> though like we do for Flatpak and will be doing very soon for all of
> the Craft builds that support Android, Windows and Linux appimage
> binaries?
I was about to ask how the "future binary-factory" on invent will look
like and suggest to follow that precedent. Can you elaborate on that?
Will these be jobs in the relevant repos or will there be a meta-repo
with all of the "release" jobs?
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Am 18.08.23 um 21:41 schrieb Ben
Cooksley:<br>
</div>
<blockquote type="cite"
cite="mid:CA+XidOFQpNpkt5ixSBtgrx1V3+8ftHL-iaHFL3CVsxX_Fo2Zqg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">On Fri, Aug 18, 2023 at 10:17 PM Scarlett Moore
<<a href="mailto:scarlett.gately.moore@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">scarlett.gately.moore@gmail.com</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Aug 18,
2023, 12:55 AM Ben Cooksley <<a
href="mailto:bcooksley@kde.org" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">bcooksley@kde.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">On Fri, Aug 18, 2023 at 3:53 AM
Scarlett Moore <<a
href="mailto:scarlett.gately.moore@gmail.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">scarlett.gately.moore@gmail.com</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hello
everyone,<br>
</blockquote>
<div><br>
</div>
<div>Hey Scarlett,</div>
<div> </div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
I am asking to revisit per project repo
snapcraft files. I see now<br>
that flatpak files are in project repos but I
understand this was<br>
rejected for snapcraft. I would like to
re-propose the idea, and here<br>
is why.<br>
The CI jobs for snap builds is cludgy at best.
We have huge amounts of<br>
failures because we must do a public upload to
launchpad which places<br>
us at the lowest priority and we have many
timeouts etc. Their<br>
solution is to create proper snap recipes
pointing to our repos with<br>
the snapcraft.yaml. Our current setup won't
work because we use<br>
subdirectories in one repo.<br>
Thoughts?<br>
</blockquote>
<div><br>
</div>
<div>My understanding (when automating the
triggering of these builds on <a
href="http://invent.kde.org"
rel="noreferrer" target="_blank"
moz-do-not-send="true">invent.kde.org</a>
was discussed with Sysadmin) was that the Snap
folks had wanted to have everything in one
repository.</div>
<div>I had queried at the time why we weren't
adding a file into each repository (which is
what we do with Flatpak, and now with Craft as
well - although those builds have yet to be
widely rolled out)</div>
<div><br>
</div>
<div>With regards to the triggering of these
builds, how will this happen? </div>
<div>It sounds like what you are describing here
will result in Canonical servers polling <a
href="http://invent.kde.org"
rel="noreferrer" target="_blank"
moz-do-not-send="true">invent.kde.org</a>
for changes, which is something we're not huge
fans of as most projects only change every
couple of days.</div>
<div> </div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
Thanks for your time,<br>
Scarlett<br>
</blockquote>
<div><br>
</div>
<div>Cheers,</div>
<div>Ben </div>
</div>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Hi!</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks all for responding.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Albert: snapcraft files have been ironed
out. I have been quite busy over the last year doing so.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Ben: There is an option to have launchpad
build on changes which would have polling. However, I
would opt out of this feature and instead write some
tooling using launchpad API and Neons watcher tooling to
update versions and trigger launchpad builds. It would
actually lighten the load on KDE servers significantly. </div>
</div>
</blockquote>
<div><br>
</div>
<div>Yes, we would definitely want to opt out of that
completely - due to the number of repositories we have, any
kind of polling quickly turns into a fairly significant
number of requests.</div>
<div><br>
</div>
<div>Wouldn't you want to trigger this from a .gitlab-ci.yml
job definition though like we do for Flatpak and will be
doing very soon for all of the Craft builds that support
Android, Windows and Linux appimage binaries?</div>
</div>
</div>
</blockquote>
I was about to ask how the "future binary-factory" on invent will
look like and suggest to follow that precedent. Can you elaborate on
that? Will these be jobs in the relevant repos or will there be a
meta-repo with all of the "release" jobs?<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic