Re: Updates to sysadmin/repo-metadata - project topics

2022-02-21 Thread Ben Cooksley
On Tue, Feb 22, 2022 at 9:37 AM Johnny Jazeix  wrote:

> Thank you Nicolás!
>

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évr. 2022 à 18:41, Nicolás Alvarez 
> a écrit :
>
>> 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ás
>>
>> El lun, 21 feb 2022 a la(s) 09:02, Johnny Jazeix (jaz...@gmail.com)
>> escribió:
>> >
>> > 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évr. 2022 à 11:11, Ben Cooksley  a
>> écrit :
>> >>
>> >> 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/43a83ede83402ca906a3ae85f84db1c4b27f3c2a)
>> 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évr. 2022 à 10:47, Alexander Semke <
>> alexander.se...@web.de> a écrit :
>> 
>>  On Montag, 7. Februar 2022 11:05:26 CET Ben Cooksley wrote:
>>  > Once specified in sysadmin/repo-metadata, this information will be
>>  > propagated to your GitHub project mirror to aid in the
>> discoverability of
>>  > your project. See
>>  >
>> https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257
>>  > ee948449306b58567 and https://github.com/KDE/labplot for an
>> example of this.
>>  Thanks, Ben!
>> 
>>  Cheers,
>>  Alexander
>> 
>> 
>>
>


Re: Updates to sysadmin/repo-metadata - project topics

2022-02-21 Thread Johnny Jazeix
Thank you Nicolás!

Le lun. 21 févr. 2022 à 18:41, Nicolás Alvarez 
a écrit :

> 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ás
>
> El lun, 21 feb 2022 a la(s) 09:02, Johnny Jazeix (jaz...@gmail.com)
> escribió:
> >
> > 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évr. 2022 à 11:11, Ben Cooksley  a écrit
> :
> >>
> >> 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/43a83ede83402ca906a3ae85f84db1c4b27f3c2a)
> 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évr. 2022 à 10:47, Alexander Semke 
> a écrit :
> 
>  On Montag, 7. Februar 2022 11:05:26 CET Ben Cooksley wrote:
>  > Once specified in sysadmin/repo-metadata, this information will be
>  > propagated to your GitHub project mirror to aid in the
> discoverability of
>  > your project. See
>  >
> https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257
>  > ee948449306b58567 and https://github.com/KDE/labplot for an
> example of this.
>  Thanks, Ben!
> 
>  Cheers,
>  Alexander
> 
> 
>


Re: Updates to sysadmin/repo-metadata - project topics

2022-02-21 Thread Nicolás Alvarez
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ás

El lun, 21 feb 2022 a la(s) 09:02, Johnny Jazeix (jaz...@gmail.com) escribió:
>
> 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évr. 2022 à 11:11, Ben Cooksley  a écrit :
>>
>> 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/43a83ede83402ca906a3ae85f84db1c4b27f3c2a)
>>>  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évr. 2022 à 10:47, Alexander Semke  a 
>>> écrit :

 On Montag, 7. Februar 2022 11:05:26 CET Ben Cooksley wrote:
 > Once specified in sysadmin/repo-metadata, this information will be
 > propagated to your GitHub project mirror to aid in the discoverability of
 > your project. See
 > https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257
 > ee948449306b58567 and https://github.com/KDE/labplot for an example of 
 > this.
 Thanks, Ben!

 Cheers,
 Alexander




Re: Updates to sysadmin/repo-metadata - project topics

2022-02-21 Thread Johnny Jazeix
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évr. 2022 à 11:11, Ben Cooksley  a écrit :

> 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/43a83ede83402ca906a3ae85f84db1c4b27f3c2a)
>> 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évr. 2022 à 10:47, Alexander Semke 
>> a écrit :
>>
>>> On Montag, 7. Februar 2022 11:05:26 CET Ben Cooksley wrote:
>>> > Once specified in sysadmin/repo-metadata, this information will be
>>> > propagated to your GitHub project mirror to aid in the discoverability
>>> of
>>> > your project. See
>>> >
>>> https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257
>>> > ee948449306b58567 and https://github.com/KDE/labplot for an example
>>> of this.
>>> Thanks, Ben!
>>>
>>> Cheers,
>>> Alexander
>>>
>>>
>>>


Re: Updates to sysadmin/repo-metadata - project topics

2022-02-21 Thread Ben Cooksley
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/43a83ede83402ca906a3ae85f84db1c4b27f3c2a)
> 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évr. 2022 à 10:47, Alexander Semke  a
> écrit :
>
>> On Montag, 7. Februar 2022 11:05:26 CET Ben Cooksley wrote:
>> > Once specified in sysadmin/repo-metadata, this information will be
>> > propagated to your GitHub project mirror to aid in the discoverability
>> of
>> > your project. See
>> >
>> https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257
>> > ee948449306b58567 and https://github.com/KDE/labplot for an example of
>> this.
>> Thanks, Ben!
>>
>> Cheers,
>> Alexander
>>
>>
>>


Re: Updates to sysadmin/repo-metadata - project topics

2022-02-20 Thread Johnny Jazeix
Hi,

Thanks for the feature!

I've added some for GCompris (
https://invent.kde.org/sysadmin/repo-metadata/-/commit/43a83ede83402ca906a3ae85f84db1c4b27f3c2a)
but I don't see them in https://github.com/KDE/gcompris. Is there something
to trigger so they can appear?

Cheers,

Johnny

Le dim. 13 févr. 2022 à 10:47, Alexander Semke  a
écrit :

> On Montag, 7. Februar 2022 11:05:26 CET Ben Cooksley wrote:
> > Once specified in sysadmin/repo-metadata, this information will be
> > propagated to your GitHub project mirror to aid in the discoverability of
> > your project. See
> >
> https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257
> > ee948449306b58567 and https://github.com/KDE/labplot for an example of
> this.
> Thanks, Ben!
>
> Cheers,
> Alexander
>
>
>


Re: Updates to sysadmin/repo-metadata - project topics

2022-02-13 Thread Alexander Semke
On Montag, 7. Februar 2022 11:05:26 CET Ben Cooksley wrote:
> Once specified in sysadmin/repo-metadata, this information will be
> propagated to your GitHub project mirror to aid in the discoverability of
> your project. See
> https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257
> ee948449306b58567 and https://github.com/KDE/labplot for an example of this.
Thanks, Ben!

Cheers,
Alexander




Updates to sysadmin/repo-metadata - project topics

2022-02-07 Thread Ben Cooksley
HI all,

As announced in earlier emails, we made changes not too long ago to add
support for collecting the Bugzilla metadata needed by GitLab - which would
enable support for that.

In that same vein, i'm now happy to announce support for "project topics"
has also been added to the metadata you can set on your project.

Once specified in sysadmin/repo-metadata, this information will be
propagated to your GitHub project mirror to aid in the discoverability of
your project. See
https://invent.kde.org/sysadmin/repo-metadata/commit/f54a6b2837f3fdfd6237257ee948449306b58567
and https://github.com/KDE/labplot for an example of this.

Please note that this information is not GitHub specific as GitLab has
similar support - we just have yet to write support for syncing that up to
GitLab. If anyone is interested in looking into this the code that is
responsible for this is located at
https://invent.kde.org/sysadmin/repo-management/-/blob/master/maintenance/update-project-settings.py

Cheers,
Ben