Giter VIP home page Giter VIP logo

Comments (31)

JJ avatar JJ commented on May 18, 2024 2

Um, but that's already tested. They don't need to stay there, right?

from ecosystem.

ugexe avatar ugexe commented on May 18, 2024 1

What real modules currently flex differences in auth only and also version only? And are they written in a way that they act as a good test module (won’t fail it’s tests we don’t care about, won’t fail it’s build, a dependency is added, etc)?

Additionally one cannot say this is confusing for everyone — you do not know if someone now (or in the future) will be writing their own CompUnit::Repository and want to test such a thing.

The ecosystem is not a curated list of modules — it’s not intended to be consumed directly by a human.

from ecosystem.

AlexDaniel avatar AlexDaniel commented on May 18, 2024 1

I'm totally fine with keeping these modules there. Maybe it would be nice if they had a description explaining why they exist, something similar to what @ugexe++ provided above.

from ecosystem.

JJ avatar JJ commented on May 18, 2024 1

At any rate, the OP is about removing these modules. It's quite clear now they shouldn't. So I guess the best now is to close this issue.

from ecosystem.

stmuk avatar stmuk commented on May 18, 2024

They are there specifically to test for the case of modules having the same name (which is allowed).

from ecosystem.

stmuk avatar stmuk commented on May 18, 2024

Looking at this another way does anyone but the original author have the right to delete a module from the ecosystem anyway?

I can see some genuine reasons for doing this (eg. removing malicious code) but just "cleaning up" because we think they aren't needed doesn't seem valid to me.

If you really want to do this I suggest you contact the original module owners/committers and only delete if they say its ok.

from ecosystem.

JJ avatar JJ commented on May 18, 2024

from ecosystem.

stmuk avatar stmuk commented on May 18, 2024

@JJ Aren't the original authors more likely to see this under the issues for the original modules themselves rather than here?

from ecosystem.

JJ avatar JJ commented on May 18, 2024

@stmuk right.

from ecosystem.

JJ avatar JJ commented on May 18, 2024

They were not added as part of an issue, they were directly added here by @FROGGS. I guess that would mean that they can be safely removed the same way, but at any rate, I guess he'll be aware of this issue now :-)

from ecosystem.

stmuk avatar stmuk commented on May 18, 2024

@JJ There is another Foo module added by @ugexe

from ecosystem.

JJ avatar JJ commented on May 18, 2024

from ecosystem.

ugexe avatar ugexe commented on May 18, 2024

They aren’t testing the ability of someone to upload such a module — they are for toolchain utilities such as zef to test searching and choosing between similar options.

from ecosystem.

JJ avatar JJ commented on May 18, 2024

from ecosystem.

ugexe avatar ugexe commented on May 18, 2024

https://github.com/ugexe/Perl6-Foo <- @JJ fwiw this is the version I put up, which I imagine you would not have had this issue with. But I don't think the perl6 modules web service handles this as expected, so you only see the ones with little description.

from ecosystem.

JJ avatar JJ commented on May 18, 2024

from ecosystem.

benjif avatar benjif commented on May 18, 2024

I agree with JJ on the removal of the three Foo modules. They all appear on https://modules.perl6.org/, serving as both a confusion and spam.

from ecosystem.

AlexDaniel avatar AlexDaniel commented on May 18, 2024

There are more than three Foo modules. Check it out again. Most of them are authored by me. While I'm kinda OK with delisting them visually from modules.perl6.org, they're actually there to find actual bugs. For example, check out the module named “../Foo”. It is there to demonstrate that modules.perl6.org does not escape things correctly.

from ecosystem.

JJ avatar JJ commented on May 18, 2024

@AlexDaniel wouldn't it be better to just create a clone of this list, instead of using the real one?

from ecosystem.

AlexDaniel avatar AlexDaniel commented on May 18, 2024

What do you mean? Why?

from ecosystem.

JJ avatar JJ commented on May 18, 2024

If the main intention of having test modules in the production ecosystem is to test some features, those features could possible be tested in a test ecosystem, and not left in the production ecosystem. At the end of the day, it's a string in a program, you can probably change it from https://github.com/Raku/ecosystem to https://github.com/Whoever/ecosystem or even https://github.com/Raku/mock-ecosystem.

from ecosystem.

AlexDaniel avatar AlexDaniel commented on May 18, 2024

To be honest, I don't care anymore. Sure, go ahead, hide modules that deliberately expose bugs in tooling.

from ecosystem.

AlexDaniel avatar AlexDaniel commented on May 18, 2024

Also, FYI, some of the Foo modules are used for testing Blin. Feel free to take over Blin and maintain it, given that it's just “a string in a program”.

from ecosystem.

Altai-man avatar Altai-man commented on May 18, 2024

@JJ is there actual harm done by those modules?

If you type in "Test" and get them first, it is because the search results ordering is bogus (it should first show exact matches by name and then by description). Improving sorting would also make results to all the queries better in general.
Removing the help modules sweeps the real issue (bogus search ordering) under the carpet, and mild harmful at best (removing regression checks we want to have).

from ecosystem.

JJ avatar JJ commented on May 18, 2024

@Altai-man we probably need to decide first what META.list is for. If we think that's it's a list of modules that are searchable by zef and that people can download and install, well, if they can't be downloaded and installed, they don't belong there. I could turn around the question. Is there any function they do that can't be done in any other way? Or that they have done already and is no longer needed? Or that can be done by adding them temporarily and then removing them?

from ecosystem.

ugexe avatar ugexe commented on May 18, 2024

The ecosystem doesn't know the health of a module. Just because YOU can't get it to install on whatever system YOU have doesn't mean some exotic system can't install it successfully. I don't know about you but having a separate ecosystem for such exotic modules sounds rather silly.

if they can't be downloaded

What modules can't be downloaded? And if such things exists couldn't they be downloaded with a zef plugin? In other words -- the p6c ecosystem isn't omnipotent and can't possibly know what is downloadable or not for a given user.

Is there any function they do that can't be done in any other way?

Is there any function the problem you are complaining about can be done in any other way?

from ecosystem.

JJ avatar JJ commented on May 18, 2024

I'm getting kind of lost here. First, let us see what I'm talking about.
Captura de pantalla de 2020-07-12 18-23-47
Let's look at the original post date, which was April 2018. These three were the only "Foo"s back them. Three modules, all of them called Foo. All of them saying "Test for installation of...". The point of this issue was: did that test pass? Or fail? Is it continuing?
I couldn't possibly know about AlexDaniel's Foo modules, which somehow along the way got blended in this discussion. I might or might not have an issue with them, but if I (or someone) does, it's definitely not this issue.
As far as I can tell, installing distributions with different auths has many other examples in the ecosystem. Also, that test happened 3 years ago. So can we at least agree that seeing them showing up as search results serves no purpose?

from ecosystem.

AlexDaniel avatar AlexDaniel commented on May 18, 2024

it's definitely not this issue

I think it is. All these modules are not meant to be used by users. They are there so that you can test tools. While Foo, Foo and Foo modules test that installation of same named dists works, Foo::Dependencies::B-on-A and Foo::Dependencies::A-on-B are meant to test what happens when you try to install modules with cyclic dependencies, etc.

Talking about all these modules, “the test” passed for some tools, failed for others, but essentially it is still continuing.

from ecosystem.

AlexDaniel avatar AlexDaniel commented on May 18, 2024

To make it a bit cleaner, you can rename all three to “Foo::SameName”, unless there are tests somewhere that have the name hardcoded (in which case either rename it there too, or just drop the idea).

from ecosystem.

JJ avatar JJ commented on May 18, 2024

So, let me see if I understand that correctly (and please allow me to stick to the original post intention): The three Foo modules with different auths are still being used to test some tool?
In that case, let me again turn around what you're proposing about renaming them. If they are not being used continuously, it's still the same problem. If they are and we have a bunch of modules that are using the self same production infrastructure as the rest of the modules, could we at least agree on some naming convention so that we could work around them? If that ends up being Foo::Something, let that be. But if, as you say, "they are not meant to be used by users" there should be some easy way to mark them so that they don't show up in searches, or in modules.raku.org.

from ecosystem.

Altai-man avatar Altai-man commented on May 18, 2024

The three Foo modules with different auths are still being used to test some tool?

Yes.

there should be some easy way to mark them so that they don't show up in searches, or in modules.raku.org

Improving the search sorting suggested above?

from ecosystem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.