Skip to content
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

Feature proposal: profile readmes #12233

Closed
ptman opened this issue Jul 13, 2020 · 37 comments · Fixed by #23260
Closed

Feature proposal: profile readmes #12233

ptman opened this issue Jul 13, 2020 · 37 comments · Fixed by #23260
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@ptman
Copy link
Contributor

ptman commented Jul 13, 2020

Description

Basically a clone of github profile readmes. Such a good feature that's built on git. Hopefully easy to implement, as it builds on the ability to render README.md that already exists.

Screenshots

This repository README.md https://github.com/simonw/simonw is visible at https://github.com/simonw

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Jul 13, 2020
@fangmarks
Copy link

This'd be a really neat feature!

I currently link my main Account on my own Instance, but it would be neat if I could write a profile readme to basically list all my works, since they're not in one place and not every account on my instance is mine.

i.e. I could do something like this:

- [Account Name](LINK)
  - [Project](LINK)
  - [Project](LINK)

- [Account Name](LINK)
  - [Project](LINK)
  - [Project](LINK)
  - [Project](LINK)
  - [Project](LINK)

This would make it, for me personally, easier to even put my personal Gitea on a Résumé/CV and then make it easy for potential employers to look through my works

@jolheiser
Copy link
Member

What are thoughts on this simply being a field in profile settings?

Does it need to be in a magical repo with the same name as your username? (It does on GH, but in terms of Gitea)

I suppose being in a repo allows users to hook it into CI, but a repo with a single README always struck me as hacky.

@ptman
Copy link
Contributor Author

ptman commented Jun 21, 2021

Repo is much nicer, with history etc. Only put stuff in the DB when it needs to be queried.

@fangmarks
Copy link

i like how github did it tbh

@CodeDoctorDE

This comment has been minimized.

@fangmarks

This comment has been minimized.

@christaus
Copy link

We are in 2021 and I strongly agree with this feature, I fond this webpage looking for a way to use a README.md as profile on gitea.
This is absolutly a great idea on github, that could be on gitea.
Thank you for the one who will change the world to me 👍🏻 .

@lunny
Copy link
Member

lunny commented Dec 5, 2021

Where should we store the README.md? how about in a git repository named <user_name>/-/profile, so that you can git clone it and push to server?

@CodeDoctorDE
Copy link
Contributor

In github its github.com/Username/Username

@lunny
Copy link
Member

lunny commented Dec 5, 2021

github.com/Username/Usernam maybe conflicted with user's repository. i.e. gitea/gitea. Or /~<user_name>, I think it's compatible with something.

@CodeDoctorDE
Copy link
Contributor

On orgs, github uses .github as repository name like https://github.com/LinwoodCloud/.github.
Maybe gitea.com/Username/.gitea repository?

@lunny
Copy link
Member

lunny commented Dec 5, 2021

On orgs, github uses .github as repository name like https://github.com/LinwoodCloud/.github. Maybe gitea.com/Username/.gitea repository?

That sounds also OK.

@christaus
Copy link

christaus commented Dec 5, 2021

screenshot
Simply like that: https://github.com/cGIfl300 it is stored on https://github.com/cGIfl300/cGIfl300 indeed the repository using your own nickname is indicated as "special" and the README.md is show next to your profile. (you can see my profile, I do use it)

@lunny
Copy link
Member

lunny commented Dec 6, 2021

Or we can reuse repository_type, so it's a profile repository, other types are template and etc.

@togetherwithasteria
Copy link

Don't forget to also implement this on organizations.

@Akselmo

This comment has been minimized.

@MisileLab
Copy link

This feature would be great!

@mind-overflow
Copy link

hey! no update on this?

@hrueschwein
Copy link

Also waiting for this :)

@pratik9315
Copy link

Hey there! I saw this issue listed on bsource a year back. I would like to work on it if its still open :)

@justusbunsi
Copy link
Member

Hey there! I saw this issue listed on bsource a year back. I would like to work on it if its still open :)

@pratik2315 Contributions are always welcome. The issue is still open, there is no PR referenced, so... grab yourself a cup of tea and create some magic, I'd say. 😉

Feel free to join the Gitea Discord server in case you have questions. There is also a develop channel.

@pratik9315

This comment was marked as off-topic.

@jolheiser

This comment was marked as off-topic.

@pratik9315

This comment was marked as off-topic.

@pratik9315

This comment was marked as off-topic.

@jolheiser

This comment was marked as off-topic.

@pratik9315

This comment was marked as off-topic.

@Tech1k

This comment was marked as duplicate.

@twisted-nematic57

This comment was marked as duplicate.

@arlcrow

This comment was marked as duplicate.

@goodevilgenius
Copy link

Implementation-wise, I think calling it username/.profile would be better than username/username or username/.gitea.

Problems with the former have already been mentioned. For the latter, I just think something more neutral than .gitea would be better.

Additionally, this could be the basis for future features, as GitHub allows an org to put org-wide issue templates in this repo also. Something like that might be a useful feature in the future.

@CodeDoctorDE
Copy link
Contributor

I'm currently trying to implement this :)
I post my pull request here if I'm finished

@LAX18
Copy link
Contributor

LAX18 commented Mar 2, 2023

Do we like something to the effect of this? I am starting to work on this preliminarily.
image

@twisted-nematic57
Copy link

@LAX18 I suppose the message could be a bit more descriptive...

How about "{username}/.profile's README.md will be displayed here."

@LAX18
Copy link
Contributor

LAX18 commented Mar 2, 2023

I was meaning more about the placement. Eventually it won't be visible at all if there is not a username/.profile repository. As per Github's approach AFAIK

@twisted-nematic57
Copy link

Yeah, the placement is good.

techknowlogick added a commit that referenced this issue May 9, 2023
Implements displaying a README.md file present in a users ```.profile```
repository on the users profile page. If no such repository/file is
present, the user's profile page remains unchanged.

Example of user with ```.profile/README.md```

![image](https://user-images.githubusercontent.com/34464552/222757202-5d53ac62-60d9-432f-b9e3-2537ffa91041.png)

Example of user without ```.profile/README.md```

![image](https://user-images.githubusercontent.com/34464552/222759972-576e058b-acd4-47ac-be33-38a7cb58cc81.png)

This pull request closes the feature request in #12233 

Special thanks to @techknowlogick for the help in the Gitea discord!

---------

Co-authored-by: techknowlogick <[email protected]>
Co-authored-by: Yarden Shoham <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: yp05327 <[email protected]>
Co-authored-by: Yarden Shoham <[email protected]>
@delvh
Copy link
Member

delvh commented May 9, 2023

PR was merged but didn't close the issue.

@delvh delvh closed this as completed May 9, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.