From kde-devel Tue Feb 22 05:16:34 2022 From: Ben Cooksley Date: Tue, 22 Feb 2022 05:16:34 +0000 To: kde-devel Subject: Re: Updates to sysadmin/repo-metadata - project topics Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=164550700926134 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--0000000000008d1a3305d8947434" --0000000000008d1a3305d8947434 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 22, 2022 at 9:37 AM Johnny Jazeix 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 > 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 a >> =C3=A9crit : >> >> >> >> On Mon, Feb 21, 2022 at 5:41 AM Johnny Jazeix >> 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 >> >>>> >> >>>> >> > --0000000000008d1a3305d8947434 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Feb 22, 2022 at 9:37 AM Johnny Ja= zeix <jazeix@gmail.com> wrote= :
Thank you Nicol=C3=A1s!

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

Cheers,
B= en
=C2=A0
=

= Le=C2=A0lun. 21 f=C3=A9vr. 2022 =C3=A0=C2=A018:41, Nicol=C3=A1s Alvarez <= ;nicolas.alv= arez@gmail.com> a =C3=A9crit=C2=A0:
It turns out the syncing of topics is giving thi= s 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.g= it
hub.com/rest/reference/repos#replac= e-all-repository-topics"}

And since the hook fails after getting the error, it doesn't even push<= br> 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 comm= its 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.org> 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/r= epo-metadata/-/commit/43a83ede83402ca906a3ae85f84db1c4b27f3c2a) but I d= on't see them in https://github.com/KDE/gcompris. Is there so= mething to trigger so they can appear?
>>
>>
>> We only sync changes to GitHub when the repository is pushed to, a= nd it looks like GCompris itself hasn't been pushed to since you made t= hat 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 <<= a href=3D"mailto:alexander.semke@web.de" target=3D"_blank">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 inform= ation will be
>>>> > propagated to your GitHub project mirror to aid in th= e discoverability of
>>>> > your project. See
>>>> > ht= tps://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257<= /a>
>>>> > ee948449306b58567 and
https://github.com/KDE/lab= plot for an example of this.
>>>> Thanks, Ben!
>>>>
>>>> Cheers,
>>>> Alexander
>>>>
>>>>
--0000000000008d1a3305d8947434--