pypi / warehouse

The Python Package Index
https://pypi.org
Apache License 2.0
3.58k stars 964 forks source link

Add the ability to provide some links (to homeage / homesite / personal website, GitHub, Twitter, Facebook, etc.) on user pages #5145

Open shlomif opened 5 years ago

shlomif commented 5 years ago

What's the problem this feature will solve? Currently the personal info in PyPI user pages such as https://pypi.org/user/shlomif-gmail/ is very bare in comparison to metacpan user pages such as https://metacpan.org/author/SHLOMIF which have a link to one's website, GitHub/Twitter/etc. profiles and more (see the left part of the page there).

Describe the solution you'd like

Add an ability to edit and add such links.

Additional context

There is https://en.wikipedia.org/wiki/FOAF_(ontology) which we may be able to use. I started implementing the feature here but ran into some problems and was told to file an issue here first for getting comments.

di commented 5 years ago

I think this is worth doing, especially for a "personal website".

It'd be nice if we could find a way to add new social media profiles without requiring a DB migration to add a new column.

It's also probably important to note that we should be very clear that this information will be displayed on the user's public profile page.

shlomif commented 5 years ago

Any other comments or can we carry forward with implementing it?

shlomif commented 5 years ago

Any other comments or can we carry forward with implementing it?

Anyone?

robindboer commented 5 years ago

I want to start working on this.

Regarding:

It'd be nice if we could find a way to add new social media profiles without requiring a DB migration to add a new column.

Are users free in what they can add or does it need to be a fixed set of profiles you can link (e.g. GitHub, LinkedIn, Personal website, Stackoverflow)?

We can also start with a simpler, less dynamic, implementation and add a website_url attribute to the user. The user can then fill this with a link to his website. Later we can migrate this to a more dynamic setup where you can add more social profiles.