You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Ivan Pavlukhin <vo...@gmail.com> on 2020/06/10 17:58:34 UTC
[DISCUSS] Fix confusing "Used by" on GitHub
Hi Igniters,
I noticed that we have a confusing "Used by" badge on a GitHub mirror
repository main page [1] (the badge is located in a line with Star and
Fork badges). It reports only a couple of usages while there are much
more. Actually it shows only apache-ignite-client NPM package usages.
As I understood it happens because only an NPM package config file
refers a GitHub repository URL while e.g. maven modules refer to an
ASF repository (GitBox) (see an <scm> section in parent/pom.xml).
IMHO a confusing usages number is a problem and it worth resolving. I
see following options:
1. Use an ASF repository URL in the NPM package config file.
2. Use the GitHub repository URL for maven packages.
While with the first option we will see no "Used by", I tend to think
that it is a better option. And what do you think?
[1] https://github.com/apache/ignite
--
Best regards,
Ivan Pavlukhin
Re: [DISCUSS] Fix confusing "Used by" on GitHub
Posted by Ivan Pavlukhin <vo...@gmail.com>.
Denis,
> However, you can always change it manually.
I spent a little time trying to find how but did not. Not sure that
today I can check it with INFRA timely. Actually I asked GitHub
support for help, see a conversation below.
2020-06-07 0:42 GMT+03:00, GitHub Developer Support
<de...@githubsupport.com>:
> ## Please do not write below this line ##
>
> Your request has been updated.
>
> You can add a comment by replying to this email.
>
> ----------------------------------------------
>
> Jamie Cansdale, Jun 6, 2020, 9:42:20 PM UTC
>
> Hello,
>
>> It displays usages for a one of Apache Ignite packages
>> (https://github.com/apache/ignite). And that package is not the most
>> used.
>
> I think it's pointing at this one because you're pointing at
> https://github.com/apache/ignite here:
> https://github.com/apache/ignite/blob/9d2824dd81e14c01a4e325e2ffe28f2608e2826e/modules/platforms/nodejs/package.json#L13
>
> ...but you aren't pointing pack to https://github.com/apache/ignite here:
> https://github.com/apache/ignite/blob/master/modules/core/pom.xml
>
> I think you might need a section like this:
> https://github.com/apache/ignite/blob/master/pom.xml#L38
>
> ...except pointing to https://github.com/apache/ignite
>
> This way GitHub can validate ownership of your package when it sees it
> published. Without this check, any repository could claim a package they
> didn't publish!
>
> I hope that helps!
>
> Regards,
> Jamie.
>
> ----------------------------------------------
>
> pavlukhin, Jun 2, 2020, 1:26:53 PM UTC
>
> Hi!
>
> How to configure "Used by" button on GitHub? It displays usages for a one of
> Apache Ignite packages (https://github.com/apache/ignite). And that package
> is not the most used. Is it possible to choose another package for counting
> usages or might be disable "Used by" button at all?
>
> Attachment(s):
> ignite-used-by.png -
> https://enterprise.githubsupport.com/attachments/token/AwAm2jptEyZQ9PRQQDXhrhVOI/?name=ignite-used-by.png
>
> --------------------------------
2020-06-11 2:43 GMT+03:00, Denis Magda <dm...@apache.org>:
> I can see the badge being signed in.
>
> In fact, there are many more dependents on our modules and packages:
> https://github.com/apache/ignite/network/dependents
>
> <https://github.com/apache/ignite/network/dependents>The badge displays
> "apache-ignite-client" stats by default because the package goes first in
> the list. However, you can always change it manually. For instance, there
> are more than 1,400 dependants on ignite-core module:
> https://github.com/apache/ignite/network/dependents?package_id=UGFja2FnZS0xODE0MjIyNzE%3D
>
> Probably, it's possible to show the stats of ignite-core in the badge but I
> don't have access to the repo settings. Ivan, would you mind checking this
> with INFRA?
>
> -
> Denis
>
>
> On Wed, Jun 10, 2020 at 1:40 PM Ivan Pavlukhin <vo...@gmail.com> wrote:
>
>> A screenshot from my browser [1]. I suppose we still think about
>> proper repository URLs.
>>
>> P.S. I do not see "Used by" when I am not logged in. Might it be the
>> case?
>>
>> [1]
>> https://gist.githubusercontent.com/pavlukhin/c8c7c6266eeab56048c31f5cdfb31d20/raw/3858c12d7b65e3162297b704ba861e4945ed9ca4/ignite-used-by.png
>>
>> 2020-06-10 23:05 GMT+03:00, Ilya Kasnacheev <il...@gmail.com>:
>> > Hello!
>> >
>> > Still nothng. Maybe they are A/B testing this feature? In this case, I
>> > suggest we wait.
>> >
>> > Regards,
>> > --
>> > Ilya Kasnacheev
>> >
>> >
>> > ср, 10 июн. 2020 г. в 22:40, Pavel Tupitsyn <pt...@apache.org>:
>> >
>> >> Ilya, Andrey, try a forced reload of the page:
>> >> [image: image.png]
>> >>
>> >>
>> >> On Wed, Jun 10, 2020 at 10:30 PM Andrey Gura <ag...@apache.org> wrote:
>> >>
>> >>> +1
>> >>>
>> >>> I don't see any badges.
>> >>>
>> >>> On Wed, Jun 10, 2020 at 10:27 PM Ilya Kasnacheev
>> >>> <il...@gmail.com> wrote:
>> >>> >
>> >>> > Hello!
>> >>> >
>> >>> > I don't see such a badge. Instead I see "Watch" "Star" "Fork".
>> >>> >
>> >>> > Regards,
>> >>> > --
>> >>> > Ilya Kasnacheev
>> >>> >
>> >>> >
>> >>> > ср, 10 июн. 2020 г. в 20:58, Ivan Pavlukhin <vo...@gmail.com>:
>> >>> >
>> >>> > > Hi Igniters,
>> >>> > >
>> >>> > > I noticed that we have a confusing "Used by" badge on a GitHub
>> >>> > > mirror
>> >>> > > repository main page [1] (the badge is located in a line with
>> >>> > > Star
>> >>> > > and
>> >>> > > Fork badges). It reports only a couple of usages while there are
>> >>> > > much
>> >>> > > more. Actually it shows only apache-ignite-client NPM package
>> >>> > > usages.
>> >>> > > As I understood it happens because only an NPM package config
>> >>> > > file
>> >>> > > refers a GitHub repository URL while e.g. maven modules refer to
>> >>> > > an
>> >>> > > ASF repository (GitBox) (see an <scm> section in parent/pom.xml).
>> >>> > >
>> >>> > > IMHO a confusing usages number is a problem and it worth
>> >>> > > resolving.
>> >>> > > I
>> >>> > > see following options:
>> >>> > > 1. Use an ASF repository URL in the NPM package config file.
>> >>> > > 2. Use the GitHub repository URL for maven packages.
>> >>> > >
>> >>> > > While with the first option we will see no "Used by", I tend to
>> >>> > > think
>> >>> > > that it is a better option. And what do you think?
>> >>> > >
>> >>> > > [1] https://github.com/apache/ignite
>> >>> > >
>> >>> > > --
>> >>> > >
>> >>> > > Best regards,
>> >>> > > Ivan Pavlukhin
>> >>> > >
>> >>>
>> >>
>> >
>>
>>
>> --
>>
>> Best regards,
>> Ivan Pavlukhin
>>
>
--
Best regards,
Ivan Pavlukhin
Re: [DISCUSS] Fix confusing "Used by" on GitHub
Posted by Denis Magda <dm...@apache.org>.
I can see the badge being signed in.
In fact, there are many more dependents on our modules and packages:
https://github.com/apache/ignite/network/dependents
<https://github.com/apache/ignite/network/dependents>The badge displays
"apache-ignite-client" stats by default because the package goes first in
the list. However, you can always change it manually. For instance, there
are more than 1,400 dependants on ignite-core module:
https://github.com/apache/ignite/network/dependents?package_id=UGFja2FnZS0xODE0MjIyNzE%3D
Probably, it's possible to show the stats of ignite-core in the badge but I
don't have access to the repo settings. Ivan, would you mind checking this
with INFRA?
-
Denis
On Wed, Jun 10, 2020 at 1:40 PM Ivan Pavlukhin <vo...@gmail.com> wrote:
> A screenshot from my browser [1]. I suppose we still think about
> proper repository URLs.
>
> P.S. I do not see "Used by" when I am not logged in. Might it be the case?
>
> [1]
> https://gist.githubusercontent.com/pavlukhin/c8c7c6266eeab56048c31f5cdfb31d20/raw/3858c12d7b65e3162297b704ba861e4945ed9ca4/ignite-used-by.png
>
> 2020-06-10 23:05 GMT+03:00, Ilya Kasnacheev <il...@gmail.com>:
> > Hello!
> >
> > Still nothng. Maybe they are A/B testing this feature? In this case, I
> > suggest we wait.
> >
> > Regards,
> > --
> > Ilya Kasnacheev
> >
> >
> > ср, 10 июн. 2020 г. в 22:40, Pavel Tupitsyn <pt...@apache.org>:
> >
> >> Ilya, Andrey, try a forced reload of the page:
> >> [image: image.png]
> >>
> >>
> >> On Wed, Jun 10, 2020 at 10:30 PM Andrey Gura <ag...@apache.org> wrote:
> >>
> >>> +1
> >>>
> >>> I don't see any badges.
> >>>
> >>> On Wed, Jun 10, 2020 at 10:27 PM Ilya Kasnacheev
> >>> <il...@gmail.com> wrote:
> >>> >
> >>> > Hello!
> >>> >
> >>> > I don't see such a badge. Instead I see "Watch" "Star" "Fork".
> >>> >
> >>> > Regards,
> >>> > --
> >>> > Ilya Kasnacheev
> >>> >
> >>> >
> >>> > ср, 10 июн. 2020 г. в 20:58, Ivan Pavlukhin <vo...@gmail.com>:
> >>> >
> >>> > > Hi Igniters,
> >>> > >
> >>> > > I noticed that we have a confusing "Used by" badge on a GitHub
> >>> > > mirror
> >>> > > repository main page [1] (the badge is located in a line with Star
> >>> > > and
> >>> > > Fork badges). It reports only a couple of usages while there are
> >>> > > much
> >>> > > more. Actually it shows only apache-ignite-client NPM package
> >>> > > usages.
> >>> > > As I understood it happens because only an NPM package config file
> >>> > > refers a GitHub repository URL while e.g. maven modules refer to an
> >>> > > ASF repository (GitBox) (see an <scm> section in parent/pom.xml).
> >>> > >
> >>> > > IMHO a confusing usages number is a problem and it worth resolving.
> >>> > > I
> >>> > > see following options:
> >>> > > 1. Use an ASF repository URL in the NPM package config file.
> >>> > > 2. Use the GitHub repository URL for maven packages.
> >>> > >
> >>> > > While with the first option we will see no "Used by", I tend to
> >>> > > think
> >>> > > that it is a better option. And what do you think?
> >>> > >
> >>> > > [1] https://github.com/apache/ignite
> >>> > >
> >>> > > --
> >>> > >
> >>> > > Best regards,
> >>> > > Ivan Pavlukhin
> >>> > >
> >>>
> >>
> >
>
>
> --
>
> Best regards,
> Ivan Pavlukhin
>
Re: [DISCUSS] Fix confusing "Used by" on GitHub
Posted by Ivan Pavlukhin <vo...@gmail.com>.
A screenshot from my browser [1]. I suppose we still think about
proper repository URLs.
P.S. I do not see "Used by" when I am not logged in. Might it be the case?
[1] https://gist.githubusercontent.com/pavlukhin/c8c7c6266eeab56048c31f5cdfb31d20/raw/3858c12d7b65e3162297b704ba861e4945ed9ca4/ignite-used-by.png
2020-06-10 23:05 GMT+03:00, Ilya Kasnacheev <il...@gmail.com>:
> Hello!
>
> Still nothng. Maybe they are A/B testing this feature? In this case, I
> suggest we wait.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> ср, 10 июн. 2020 г. в 22:40, Pavel Tupitsyn <pt...@apache.org>:
>
>> Ilya, Andrey, try a forced reload of the page:
>> [image: image.png]
>>
>>
>> On Wed, Jun 10, 2020 at 10:30 PM Andrey Gura <ag...@apache.org> wrote:
>>
>>> +1
>>>
>>> I don't see any badges.
>>>
>>> On Wed, Jun 10, 2020 at 10:27 PM Ilya Kasnacheev
>>> <il...@gmail.com> wrote:
>>> >
>>> > Hello!
>>> >
>>> > I don't see such a badge. Instead I see "Watch" "Star" "Fork".
>>> >
>>> > Regards,
>>> > --
>>> > Ilya Kasnacheev
>>> >
>>> >
>>> > ср, 10 июн. 2020 г. в 20:58, Ivan Pavlukhin <vo...@gmail.com>:
>>> >
>>> > > Hi Igniters,
>>> > >
>>> > > I noticed that we have a confusing "Used by" badge on a GitHub
>>> > > mirror
>>> > > repository main page [1] (the badge is located in a line with Star
>>> > > and
>>> > > Fork badges). It reports only a couple of usages while there are
>>> > > much
>>> > > more. Actually it shows only apache-ignite-client NPM package
>>> > > usages.
>>> > > As I understood it happens because only an NPM package config file
>>> > > refers a GitHub repository URL while e.g. maven modules refer to an
>>> > > ASF repository (GitBox) (see an <scm> section in parent/pom.xml).
>>> > >
>>> > > IMHO a confusing usages number is a problem and it worth resolving.
>>> > > I
>>> > > see following options:
>>> > > 1. Use an ASF repository URL in the NPM package config file.
>>> > > 2. Use the GitHub repository URL for maven packages.
>>> > >
>>> > > While with the first option we will see no "Used by", I tend to
>>> > > think
>>> > > that it is a better option. And what do you think?
>>> > >
>>> > > [1] https://github.com/apache/ignite
>>> > >
>>> > > --
>>> > >
>>> > > Best regards,
>>> > > Ivan Pavlukhin
>>> > >
>>>
>>
>
--
Best regards,
Ivan Pavlukhin
Re: [DISCUSS] Fix confusing "Used by" on GitHub
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
Still nothng. Maybe they are A/B testing this feature? In this case, I
suggest we wait.
Regards,
--
Ilya Kasnacheev
ср, 10 июн. 2020 г. в 22:40, Pavel Tupitsyn <pt...@apache.org>:
> Ilya, Andrey, try a forced reload of the page:
> [image: image.png]
>
>
> On Wed, Jun 10, 2020 at 10:30 PM Andrey Gura <ag...@apache.org> wrote:
>
>> +1
>>
>> I don't see any badges.
>>
>> On Wed, Jun 10, 2020 at 10:27 PM Ilya Kasnacheev
>> <il...@gmail.com> wrote:
>> >
>> > Hello!
>> >
>> > I don't see such a badge. Instead I see "Watch" "Star" "Fork".
>> >
>> > Regards,
>> > --
>> > Ilya Kasnacheev
>> >
>> >
>> > ср, 10 июн. 2020 г. в 20:58, Ivan Pavlukhin <vo...@gmail.com>:
>> >
>> > > Hi Igniters,
>> > >
>> > > I noticed that we have a confusing "Used by" badge on a GitHub mirror
>> > > repository main page [1] (the badge is located in a line with Star and
>> > > Fork badges). It reports only a couple of usages while there are much
>> > > more. Actually it shows only apache-ignite-client NPM package usages.
>> > > As I understood it happens because only an NPM package config file
>> > > refers a GitHub repository URL while e.g. maven modules refer to an
>> > > ASF repository (GitBox) (see an <scm> section in parent/pom.xml).
>> > >
>> > > IMHO a confusing usages number is a problem and it worth resolving. I
>> > > see following options:
>> > > 1. Use an ASF repository URL in the NPM package config file.
>> > > 2. Use the GitHub repository URL for maven packages.
>> > >
>> > > While with the first option we will see no "Used by", I tend to think
>> > > that it is a better option. And what do you think?
>> > >
>> > > [1] https://github.com/apache/ignite
>> > >
>> > > --
>> > >
>> > > Best regards,
>> > > Ivan Pavlukhin
>> > >
>>
>
Re: [DISCUSS] Fix confusing "Used by" on GitHub
Posted by Pavel Tupitsyn <pt...@apache.org>.
Ilya, Andrey, try a forced reload of the page:
[image: image.png]
On Wed, Jun 10, 2020 at 10:30 PM Andrey Gura <ag...@apache.org> wrote:
> +1
>
> I don't see any badges.
>
> On Wed, Jun 10, 2020 at 10:27 PM Ilya Kasnacheev
> <il...@gmail.com> wrote:
> >
> > Hello!
> >
> > I don't see such a badge. Instead I see "Watch" "Star" "Fork".
> >
> > Regards,
> > --
> > Ilya Kasnacheev
> >
> >
> > ср, 10 июн. 2020 г. в 20:58, Ivan Pavlukhin <vo...@gmail.com>:
> >
> > > Hi Igniters,
> > >
> > > I noticed that we have a confusing "Used by" badge on a GitHub mirror
> > > repository main page [1] (the badge is located in a line with Star and
> > > Fork badges). It reports only a couple of usages while there are much
> > > more. Actually it shows only apache-ignite-client NPM package usages.
> > > As I understood it happens because only an NPM package config file
> > > refers a GitHub repository URL while e.g. maven modules refer to an
> > > ASF repository (GitBox) (see an <scm> section in parent/pom.xml).
> > >
> > > IMHO a confusing usages number is a problem and it worth resolving. I
> > > see following options:
> > > 1. Use an ASF repository URL in the NPM package config file.
> > > 2. Use the GitHub repository URL for maven packages.
> > >
> > > While with the first option we will see no "Used by", I tend to think
> > > that it is a better option. And what do you think?
> > >
> > > [1] https://github.com/apache/ignite
> > >
> > > --
> > >
> > > Best regards,
> > > Ivan Pavlukhin
> > >
>
Re: [DISCUSS] Fix confusing "Used by" on GitHub
Posted by Andrey Gura <ag...@apache.org>.
+1
I don't see any badges.
On Wed, Jun 10, 2020 at 10:27 PM Ilya Kasnacheev
<il...@gmail.com> wrote:
>
> Hello!
>
> I don't see such a badge. Instead I see "Watch" "Star" "Fork".
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> ср, 10 июн. 2020 г. в 20:58, Ivan Pavlukhin <vo...@gmail.com>:
>
> > Hi Igniters,
> >
> > I noticed that we have a confusing "Used by" badge on a GitHub mirror
> > repository main page [1] (the badge is located in a line with Star and
> > Fork badges). It reports only a couple of usages while there are much
> > more. Actually it shows only apache-ignite-client NPM package usages.
> > As I understood it happens because only an NPM package config file
> > refers a GitHub repository URL while e.g. maven modules refer to an
> > ASF repository (GitBox) (see an <scm> section in parent/pom.xml).
> >
> > IMHO a confusing usages number is a problem and it worth resolving. I
> > see following options:
> > 1. Use an ASF repository URL in the NPM package config file.
> > 2. Use the GitHub repository URL for maven packages.
> >
> > While with the first option we will see no "Used by", I tend to think
> > that it is a better option. And what do you think?
> >
> > [1] https://github.com/apache/ignite
> >
> > --
> >
> > Best regards,
> > Ivan Pavlukhin
> >
Re: [DISCUSS] Fix confusing "Used by" on GitHub
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
I don't see such a badge. Instead I see "Watch" "Star" "Fork".
Regards,
--
Ilya Kasnacheev
ср, 10 июн. 2020 г. в 20:58, Ivan Pavlukhin <vo...@gmail.com>:
> Hi Igniters,
>
> I noticed that we have a confusing "Used by" badge on a GitHub mirror
> repository main page [1] (the badge is located in a line with Star and
> Fork badges). It reports only a couple of usages while there are much
> more. Actually it shows only apache-ignite-client NPM package usages.
> As I understood it happens because only an NPM package config file
> refers a GitHub repository URL while e.g. maven modules refer to an
> ASF repository (GitBox) (see an <scm> section in parent/pom.xml).
>
> IMHO a confusing usages number is a problem and it worth resolving. I
> see following options:
> 1. Use an ASF repository URL in the NPM package config file.
> 2. Use the GitHub repository URL for maven packages.
>
> While with the first option we will see no "Used by", I tend to think
> that it is a better option. And what do you think?
>
> [1] https://github.com/apache/ignite
>
> --
>
> Best regards,
> Ivan Pavlukhin
>