Skip to content

Comments

Simpler READMEs#18

Merged
alexAubin merged 6 commits intomainfrom
simpler-readme
Apr 2, 2025
Merged

Simpler READMEs#18
alexAubin merged 6 commits intomainfrom
simpler-readme

Conversation

@alexAubin
Copy link
Member

The current system is flooding every app PR with boring README diffs because it updates every translations ... in the meantime, the README itself feels bloated with badges and stuff like This package allows you to install $app quickly and simply on a YunoHost server. etc ...

Ultimately imho Github READMEs can't be the place where we can have a proper presentation of the app, both because it's limited in terms of i18n and styling capabilities (it's just markdown with very few HTML/CSS features available), and because we can't expect random folks to be comfortable browsing Github repositories which are more of a power-user thing.

So here's the proposal to drop i18n for the READMEs and have a kind minimalistic README instead with only the short description, encourage people to browse the app catalog instead, and dev infos. Example for Nextcloud (i still need to update the badges tho):

Capture d’écran du 2025-01-06 19-51-04

@Thovi98
Copy link

Thovi98 commented Jan 6, 2025

I'm all for this 🤩

@alexAubin
Copy link
Member Author

Discussed today IRL :

  • let's transform the version into a badge ? (Possible evolution later : changing the color of the badge if a testing/autoupdate PR is pending)
  • add a badge with stars

@alexAubin
Copy link
Member Author

Merging as discussed in yesterday's meeting

@alexAubin alexAubin merged commit 1f35107 into main Apr 2, 2025
1 check passed
@alexAubin alexAubin deleted the simpler-readme branch April 2, 2025 18:43
@yalh76
Copy link
Contributor

yalh76 commented Apr 2, 2025

For packagers, having the level of the app and a direct link to https://ci-apps.yunohost.org/ci/apps/$app/ is very important.

Without that, there is no easy way to go from the package to the ci

You can see the result at https://github.com/YunoHost-Apps/fab-manager_ynh

Comment on lines -8 to -10
[![Integration level](https://apps.yunohost.org/badge/integration/gotosocial)](https://ci-apps.yunohost.org/ci/apps/gotosocial/)
![Working status](https://apps.yunohost.org/badge/state/gotosocial)
![Maintenance status](https://apps.yunohost.org/badge/maintained/gotosocial)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's bring these back?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fully agree or just the badge of the level including a link to https://ci-apps.yunohost.org/ci/apps/$app/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was removed because as an user the level of the app is almost irrelevant

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add a link “to the latest ci test” in the dev part?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But the git repository is more used by packager than users. Keeping the level of the app and a link to the CI is totally relevant for them

Users go through the webamin of their YunoHost or through the app catalog

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made a PR to have the link back to the CI:
#26

The image of the version number of the package don't have a link,, so maybe a good place to insert the link to the CI

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this an easter egg?
how the fuck am I supposed to guess that clicking on the version goes to the CI?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this an easter egg? how the fuck am I supposed to guess that clicking on the version goes to the CI?

nope. not an easter egg, actually the image for the version of the package link to the image itself https://camo.githubusercontent.com, that we don't care. That's why I proposed to go to the CI instead of adding a new image

feel free to propose something else.

Copy link
Contributor

@oleole39 oleole39 Apr 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yet another proposal with:

  • bigger app logo
  • centered top section
  • version text selectable (for easy copy-paste)
  • CI badge added

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe CI badge should go in Developper section ?

@yalh76
Copy link
Contributor

yalh76 commented Apr 3, 2025

Also having the current version of the package is important for packager. to be able to have it in the readme seems to me important instead of going in the manifest.toml

@oleole39
Copy link
Contributor

oleole39 commented Apr 3, 2025

Also having the current version of the package is important for packager. to be able to have it in the readme seems to me important instead of going in the manifest.toml

But has it been removed ?

{% endif %}![Version: {{ manifest.version}}](https://img.shields.io/badge/Version-{{manifest.version|replace("-", "--")}}-rgba(0,150,0,1)?style=for-the-badge)

@yalh76
Copy link
Contributor

yalh76 commented Apr 3, 2025

Also having the current version of the package is important for packager. to be able to have it in the readme seems to me important instead of going in the manifest.toml

But has it been removed ?

{% endif %}![Version: {{ manifest.version}}](https://img.shields.io/badge/Version-{{manifest.version|replace("-", "--")}}-rgba(0,150,0,1)?style=for-the-badge)

well, now it's an image, less easier to copy/paste

@DeMiro5001
Copy link

The upstream code link has been removed? I use it very frequently. Can it be as an icon (github, gitlab, others)

@alexAubin
Copy link
Member Author

2025-04-04-034852_538x93_scrot

@oleole39
Copy link
Contributor

oleole39 commented Apr 4, 2025

The upstream code link has been removed? I use it very frequently. Can it be as an icon (github, gitlab, others)

No it's there

🛠️ Upstream {{manifest.name}} repository: <{{manifest.upstream.code}}>

@alexAubin
Copy link
Member Author

(CI level / badge re-added in developer section in 6d3bd64 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants