-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency and Reverse Dependency #789
Comments
Why not change the card a little... Instead of linking from the title, link from the version. Then add the additional versions to the card. i.e.: <h3>Package Title</h3>
<p><a href="">v1.0</a>, <a href="">v2.0</a> and <a href="">v3.0</a> by <a href="">Author Name</a> Or if there are a lot of versions (over 5???), we could do: <h3>Package Title</h3>
<p><a href="">v1.0</a> to <a href="">v33.0</a> by <a href="">Author Name</a> |
That's fine with me! Sent from my iPhone
|
One other thing to think of, is that we have some packages with missing dependency information... but we can't currently tell the difference between a package not having dependencies and our metadata just being incomplete. I'm not sure if we should do anything about this in the UI or not but our current dependency information is very... "fuzzy" might be the right word for it. Projects might also have different dependencies depending on what file you download (like different for Windows vs OSX or something). It's actually fairly complex and I don't know what the right answer is for usably showing that information to people and what they actually care about (do they just care to get a general idea of what will be installed or do they want very specific data?). |
So we know when a project has 'fuzzy' dependencies and when it does not? "Warning: some dependency data may be missing, or our metadata may be incomplete. Please check the dependency information on the package source."
For this, how many variations should we expect? If we're only talking about a couple of variations, we could use a button set to toggle between the variations: Otherwise, if we expect more than 4(?), we could use a dropdown: Each would require clear naming convention for each variation, and we would need to default to the most popular variation. |
We have two observable states within the database and here's what they could mean:
We can (obviously) determine the difference between the top level list items, but not between the sub items. |
Gah! What a nightmare! Ok, how about this:
"Warning! Dependency information is provided as a guide only and may be incomplete. Please check the package source for more information."
"Sorry, we do not have any dependency information for this package. Either:
Please check the package source for more information." |
That would work. Oh, to make things a bit more complicated: At some point in the future we will be able to get to a point where we are more sure of whether or not we have accurate metadata or not so hopefully this can be a little bit of a legacy turd at some point. |
Sounds good :D Can you please give both divs the class of |
This entire tab will be commented out for launch (see #1309) - let's focus on getting this done after that :) |
In our meeting today we confirmed that, as a new feature, this isn't urgent enough to put into one of our early milestones. |
Is anyone working on this issue? |
@ChillarAnand Sorry for the wait. This is a complicated problem -- check out pypa/packaging-problems#54 to understand more about why. If you'd like to work on it specifically, please say so here and we'll see what a good first step would be. If you're looking for opportunities to contribute to Warehouse more generally, please check out these issues! |
Just as reference/inspiration, GitHub now lists dependent packages: https://help.github.com/en/articles/listing-the-projects-that-depend-on-a-repository |
To be clear, GitHub's data is wrong-ish if I understand correctly. They're simply parsing Not bad to look at it from a perspective of UI and UX though. |
The new design has dependency and reverse dependency information. We'll want to implement this so that it shows up in the new design. One potential snag is that dependencies are specifiers which can match a range of versions... but we can only really display one version. I'm not quite sure what we should do there, maybe just display the latest that matches the specifier?
The text was updated successfully, but these errors were encountered: