[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Updates to sysadmin/repo-metadata - project topics
From:       Ben Cooksley <bcooksley () kde ! org>
Date:       2022-02-22 5:16:34
Message-ID: CA+XidOHwpdXUst=UBh8snA8OwPNk7p0Ar94bT6oW-16XFWa-sg () mail ! gmail ! com
[Download RAW message or body]

On Tue, Feb 22, 2022 at 9:37 AM Johnny Jazeix <jazeix@gmail.com> wrote:

> Thank you Nicol=C3=A1s!
>

For future reference i've now updated the tooling to automatically lower
case all topics entered in the metadata, to prevent this from happening in
the future.

Cheers,
Ben


>
> Le lun. 21 f=C3=A9vr. 2022 =C3=A0 18:41, Nicol=C3=A1s Alvarez <nicolas.al=
varez@gmail.com>
> a =C3=A9crit :
>
>> It turns out the syncing of topics is giving this error, I guess it
>> doesn't like "Qt" as a topic:
>>
>> 422 {"message": "Validation Failed", "errors": ["Topics must start
>> with a lowercase letter or number, consist of 35 characters or less,
>> and can include hyphens."], "documentation_url": "https://docs.git
>> hub.com/rest/reference/repos#replace-all-repository-topics"}
>>
>> And since the hook fails after getting the error, it doesn't even push
>> the commits...
>>
>> --
>> Nicol=C3=A1s
>>
>> El lun, 21 feb 2022 a la(s) 09:02, Johnny Jazeix (jazeix@gmail.com)
>> escribi=C3=B3:
>> >
>> > Hi,
>> >
>> > Isn't the synchro handled automagically? There has been a few commits
>> in the last week pushed in invent.kde.org (
>> https://invent.kde.org/education/gcompris/-/commits/master) but as you
>> say they are not in the GitHub mirror.
>> >
>> > Cheers,
>> >
>> > Johnny
>> >
>> > Le lun. 21 f=C3=A9vr. 2022 =C3=A0 11:11, Ben Cooksley <bcooksley@kde.o=
rg> a
>> =C3=A9crit :
>> >>
>> >> On Mon, Feb 21, 2022 at 5:41 AM Johnny Jazeix <jazeix@gmail.com>
>> wrote:
>> >>>
>> >>> Hi,
>> >>
>> >>
>> >> Hi Johnny,
>> >>
>> >>>
>> >>>
>> >>> Thanks for the feature!
>> >>>
>> >>> I've added some for GCompris (
>> https://invent.kde.org/sysadmin/repo-metadata/-/commit/43a83ede83402ca90=
6a3ae85f84db1c4b27f3c2a)
>> but I don't see them in https://github.com/KDE/gcompris. Is there
>> something to trigger so they can appear?
>> >>
>> >>
>> >> We only sync changes to GitHub when the repository is pushed to, and
>> it looks like GCompris itself hasn't been pushed to since you made that
>> change.
>> >> Once you do that the changes will be synced.
>> >>
>> >>>
>> >>>
>> >>> Cheers,
>> >>>
>> >>> Johnny
>> >>
>> >>
>> >> Cheers,
>> >> Ben
>> >>
>> >>>
>> >>>
>> >>> Le dim. 13 f=C3=A9vr. 2022 =C3=A0 10:47, Alexander Semke <
>> alexander.semke@web.de> a =C3=A9crit :
>> >>>>
>> >>>> On Montag, 7. Februar 2022 11:05:26 CET Ben Cooksley wrote:
>> >>>> > Once specified in sysadmin/repo-metadata, this information will b=
e
>> >>>> > propagated to your GitHub project mirror to aid in the
>> discoverability of
>> >>>> > your project. See
>> >>>> >
>> https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd623=
7257
>> >>>> > ee948449306b58567 and https://github.com/KDE/labplot for an
>> example of this.
>> >>>> Thanks, Ben!
>> >>>>
>> >>>> Cheers,
>> >>>> Alexander
>> >>>>
>> >>>>
>>
>

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr">On Tue, Feb 22, 2022 at 9:37 AM Johnny Jazeix &lt;<a \
href="mailto:jazeix@gmail.com">jazeix@gmail.com</a>&gt; 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="ltr">Thank \
you Nicolás!</div></blockquote><div><br></div><div>For future reference i&#39;ve now \
updated the tooling to automatically lower case all topics entered in the metadata, \
to prevent this from happening in the \
future.</div><div><br></div><div>Cheers,</div><div>Ben</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"><div dir="ltr">

</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le  lun. 21 \
févr. 2022 à  18:41, Nicolás Alvarez &lt;<a \
href="mailto:nicolas.alvarez@gmail.com" \
target="_blank">nicolas.alvarez@gmail.com</a>&gt; a écrit  :<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">It turns out the syncing of topics is giving this \
error, I guess it<br> doesn&#39;t like &quot;Qt&quot; as a topic:<br>
<br>
422 {&quot;message&quot;: &quot;Validation Failed&quot;, &quot;errors&quot;: \
[&quot;Topics must start<br> with a lowercase letter or number, consist of 35 \
characters or less,<br> and can include hyphens.&quot;], \
&quot;documentation_url&quot;: &quot;<a href="https://docs.git" rel="noreferrer" \
target="_blank">https://docs.git</a><br> <a \
href="http://hub.com/rest/reference/repos#replace-all-repository-topics" \
rel="noreferrer" target="_blank">hub.com/rest/reference/repos#replace-all-repository-topics</a>&quot;}<br>
 <br>
And since the hook fails after getting the error, it doesn&#39;t even push<br>
the commits...<br>
<br>
-- <br>
Nicolás<br>
<br>
El lun, 21 feb 2022 a la(s) 09:02, Johnny Jazeix (<a href="mailto:jazeix@gmail.com" \
target="_blank">jazeix@gmail.com</a>) escribió:<br> &gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Isn&#39;t the synchro handled automagically? There has been a few commits in the \
last week pushed in <a href="http://invent.kde.org" rel="noreferrer" \
target="_blank">invent.kde.org</a> (<a \
href="https://invent.kde.org/education/gcompris/-/commits/master" rel="noreferrer" \
target="_blank">https://invent.kde.org/education/gcompris/-/commits/master</a>) but \
as you say they are not in the GitHub mirror.<br> &gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Johnny<br>
&gt;<br>
&gt; Le lun. 21 févr. 2022 à 11:11, Ben Cooksley &lt;<a \
href="mailto:bcooksley@kde.org" target="_blank">bcooksley@kde.org</a>&gt; a écrit \
:<br> &gt;&gt;<br>
&gt;&gt; On Mon, Feb 21, 2022 at 5:41 AM Johnny Jazeix &lt;<a \
href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>&gt; wrote:<br> \
&gt;&gt;&gt;<br> &gt;&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi Johnny,<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks for the feature!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;ve added some for GCompris (<a \
href="https://invent.kde.org/sysadmin/repo-metadata/-/commit/43a83ede83402ca906a3ae85f84db1c4b27f3c2a" \
rel="noreferrer" target="_blank">https://invent.kde.org/sysadmin/repo-metadata/-/commit/43a83ede83402ca906a3ae85f84db1c4b27f3c2a</a>) \
but I don&#39;t see them in <a href="https://github.com/KDE/gcompris" \
rel="noreferrer" target="_blank">https://github.com/KDE/gcompris</a>. Is there \
something to trigger so they can appear?<br> &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; We only sync changes to GitHub when the repository is pushed to, and it \
looks like GCompris itself hasn&#39;t been pushed to since you made that change.<br> \
&gt;&gt; Once you do that the changes will be synced.<br> &gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Cheers,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Johnny<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Ben<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Le dim. 13 févr. 2022 à 10:47, Alexander Semke &lt;<a \
href="mailto:alexander.semke@web.de" target="_blank">alexander.semke@web.de</a>&gt; a \
écrit :<br> &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Montag, 7. Februar 2022 11:05:26 CET Ben Cooksley wrote:<br>
&gt;&gt;&gt;&gt; &gt; Once specified in sysadmin/repo-metadata, this information will \
be<br> &gt;&gt;&gt;&gt; &gt; propagated to your GitHub project mirror to aid in the \
discoverability of<br> &gt;&gt;&gt;&gt; &gt; your project. See<br>
&gt;&gt;&gt;&gt; &gt; <a \
href="https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257" \
rel="noreferrer" target="_blank">https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257</a><br>
 &gt;&gt;&gt;&gt; &gt; ee948449306b58567 and <a href="https://github.com/KDE/labplot" \
rel="noreferrer" target="_blank">https://github.com/KDE/labplot</a> for an example of \
this.<br> &gt;&gt;&gt;&gt; Thanks, Ben!<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Cheers,<br>
&gt;&gt;&gt;&gt; Alexander<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
</blockquote></div>
</blockquote></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic