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

Fixed Broken Badges in ReadMe.md #2358

Merged
merged 2 commits into from
Oct 4, 2020
Merged

Fixed Broken Badges in ReadMe.md #2358

merged 2 commits into from
Oct 4, 2020

Conversation

w3Abhishek
Copy link

@w3Abhishek w3Abhishek commented Oct 4, 2020

Hi Flarum Team,

I just noticed that all the badges provided by Poser are broken because their website server is no more available. So, I updated all the broken badges in the ReadMe.md file with the badges provided by the shields.io website which is a reliable and my favorite tool for adding badges to Readme.md files.

Badges updated:

  1. Total Downloads
  2. Latest Version
  3. License

Changes proposed in this pull request:
Updated Broken Badges in ReadMe.md file of flarum/core repository
Reviewers should focus on:
I have updated the ReadMe.md file kindly review it only.

Screenshot
Before:
image

After:

image

Kindly review and merge my Pull Request.

Thanks & Regards,
Abhishek Verma

Hi Flarum Team,

I just noticed that all the badges provided by Poser are broken because their website server is no more available. So, I updated all the broken badges in the ReadMe.md file with the badges provided by the shields.io website which is a reliable and my favorite tool for adding badges to Readme.md files.

Badges updated:
1. Total Downloads
2. Latest Version
3. License

Kindly review and merge my Pull Request.
Thanks.
README.md Outdated
<a href="https://packagist.org/packages/flarum/core"><img src="https://poser.pugx.org/flarum/core/v/unstable.svg" alt="Latest Version"></a>
<a href="https://packagist.org/packages/flarum/core"><img src="https://poser.pugx.org/flarum/core/license.svg" alt="License"></a>
<a href="https://packagist.org/packages/flarum/core"><img src="https://img.shields.io/packagist/dt/flarum/core" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/flarum/core"><img src="https://img.shields.io/packagist/v/flarum/core" alt="Latest Version"></a>
Copy link
Member

Choose a reason for hiding this comment

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

This shows v0.1.0-beta instead of v0.1.0-beta.13. I'm not sure if shields can show the latest beta correctly.

Copy link
Member

Choose a reason for hiding this comment

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

might be better to just use the lastest github release instead of packagist

latest_version

https://img.shields.io/github/v/release/flarum/core?include_prereleases&sort=semver

Copy link
Member

Choose a reason for hiding this comment

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

@SychO9 I like that, and we can remove include_prereleases and it'll still work

https://img.shields.io/github/v/release/flarum/core?sort=semver

image

Copy link
Author

@w3Abhishek w3Abhishek Oct 4, 2020

Choose a reason for hiding this comment

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

Hi @datitisev and @SychO9,
I have updated it as per the changes requested. It is now showing a full version of the latest release. Kindly review.

As suggested, I have changed the packagist badge to the Github Releases badge. Now, it is showing the full version of the latest release.
Kindly merge the PR.
@askvortsov1 askvortsov1 merged commit c6f2ff0 into flarum:master Oct 4, 2020
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.

5 participants