Comments (31)
Um, but that's already tested. They don't need to stay there, right?
from ecosystem.
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.
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.
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.
They are there specifically to test for the case of modules having the same name (which is allowed).
from ecosystem.
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.
from ecosystem.
@JJ Aren't the original authors more likely to see this under the issues for the original modules themselves rather than here?
from ecosystem.
@stmuk right.
from ecosystem.
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.
@JJ There is another Foo module added by @ugexe
from ecosystem.
from ecosystem.
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.
from ecosystem.
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.
from ecosystem.
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.
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.
@AlexDaniel wouldn't it be better to just create a clone of this list, instead of using the real one?
from ecosystem.
What do you mean? Why?
from ecosystem.
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.
To be honest, I don't care anymore. Sure, go ahead, hide modules that deliberately expose bugs in tooling.
from ecosystem.
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.
@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.
@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.
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.
I'm getting kind of lost here. First, let us see what I'm talking about.
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.
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.
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.
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.
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)
- Check for incorrect version strings (including an v at the beginning)
- Testing fails in distributions where provided files are generated in the Build phase
- Testing should be smarter
- Only source-url is checked for source and downloading
- Test script only works on git URIs in source
- Test script fails in a weird way if no distribution name is present
- git: URIs for source-urls work to download source, but then fail test
- Spin off module testing to a specific distribution
- Besides checking source-url, we need to figure out the way to check non-git source-urls
- "No license" passes tests
- Should I submit here and at PAUSE?
- The test script does not understand git URIs
- Modules by deceased community members HOT 4
- Modules with external dependencies could specify a Docker container to test them HOT 2
- DBIish HOT 4
- "Error accessing GitHub API. HTTP Code: 401" HOT 14
- When installing Pod::To::HTML, Raku::Pod::Render ver<3.5.2> tries to install HOT 4
- Create a VSCode dev container for Raku HOT 5
- Some tarballs on REA have 0 bytes
- [File::Temp] Add File::Temp to https://github.com/raku-community-modules HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecosystem.