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

Change old repository link with the new one in the Readme.md #1748

Merged
merged 6 commits into from Jul 1, 2019

Conversation

Copy link
Member

@dingo-d dingo-d commented Jun 26, 2019

Old repository links in the readme have been changed with the new ones.

Fixes #1747 issue

I'm not sure if the packagist package should be moved as well, since the poser.pugx.org cannot find the wp-coding-standards/wpcs repository when you search for it (although it seems to be pulling the information correctly). I guess that would be a big breaking change for all the people who are using WPCS in their standards.

@dingo-d dingo-d requested review from GaryJones and jrfnl Jun 26, 2019
@dingo-d dingo-d self-assigned this Jun 26, 2019
GaryJones
GaryJones previously requested changes Jun 26, 2019
README.md Outdated Show resolved Hide resolved
README.md Outdated

[![Minimum PHP Version](https://img.shields.io/packagist/php-v/wp-coding-standards/wpcs.svg?maxAge=3600)](https://packagist.org/packages/wp-coding-standards/wpcs)
[![Tested on PHP 5.4 to nightly](https://img.shields.io/badge/tested%20on-PHP%205.4%20|%205.5%20|%205.6%20|%207.0%20|%207.1%20|%207.2%20|%20nightly-green.svg?maxAge=2419200)](https://travis-ci.org/WordPress-Coding-Standards/WordPress-Coding-Standards)
[![Tested on PHP 5.4 to nightly](https://img.shields.io/badge/tested%20on-PHP%205.4%20|%205.5%20|%205.6%20|%207.0%20|%207.1%20|%207.2%20|%20nightly-green.svg?maxAge=2419200)](https://travis-ci.org/WordPress/WordPress-Coding-Standards)
Copy link
Member

@GaryJones GaryJones Jun 26, 2019

Choose a reason for hiding this comment

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

Should include 7.3 (and 7.4 snapshot?) as well.

Copy link
Member

@jrfnl jrfnl Jun 26, 2019

Choose a reason for hiding this comment

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

Oops... that should have been adjusted when I adjusted the Travis script. Mea culpa.

But as we're on the topic now anyway, we should (for now) remove nightly as we're currently not testing against nightly. See #1643

Copy link
Member Author

@dingo-d dingo-d Jun 27, 2019

Choose a reason for hiding this comment

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

Should I just replace the alt with Tested on PHP 5.4 to 7.4 snapshot?

Copy link
Member

@jrfnl jrfnl Jun 27, 2019

Choose a reason for hiding this comment

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

I don't favour replacing it with the short version, being explicit that we really test on all versions inbetween was the point of the badge.

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 26, 2019

I'm not sure if the packagist package should be moved as well, since the poser.pugx.org cannot find the wp-coding-standards/wpcs repository when you search for it (although it seems to be pulling the information correctly). I guess that would be a big breaking change for all the people who are using WPCS in their standards.

I've just updated Packagist to point to the new GH repo address, so on that side things should be fine again now.

I don't think we need to adjust the Packagist package name as it already didn't reflect the previous repo name 1-on-1 anyway (and would break the stats).

@jrfnl jrfnl added this to the 2.x Next milestone Jun 26, 2019
@jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 26, 2019

There are a lot more places in the repo which reference the old repo address.

Think: the Contributing.md file, the @link tag in the file docblock of all sniff and unit test files, various links in the Changelog.md, (documentation) links in the ruleset.xml files and even the .travis.yml file.

Question: should those all be changed in one go ? Or do we update the repo bit by bit ?

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 26, 2019

Regarding Packagist:

We're getting mixed messages from Packagist.

  • On the one hand, it says everything is fine when I look at the Packagist list of packages I can manage and I have gone through the "GitHub Hook Sync" process just to be sure.
  • On the other hand, it shows an error when I look at the Repo Settings -> Webhooks on GH for Packagist.

I'd leave it for now, but we'll need to monitor the next time someone pushes a new branch to the repo to see if the branch shows up on Packagist correctly.
This branch, at least, shows up correctly, but that was from before I updated Packagist to point to the new repo natively.

If not, we may need to ask someone to grant Packagist access to the GH WordPress organisation.

@dingo-d
Copy link
Member Author

@dingo-d dingo-d commented Jun 27, 2019

I'm fine with looking for old links in the entire repo and submitting it in this PR, just not to have too many PRs open that essentially are doing the same thing.

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 27, 2019

I'm fine with looking for old links in the entire repo and submitting it in this PR, just not to have too many PRs open that essentially are doing the same thing.

@dingo-d That would be awesome! I'm definitely +1 on doing it in one PR (which is, of course, why I asked the question).

jrfnl
jrfnl approved these changes Jul 1, 2019
Copy link
Member

@jrfnl jrfnl left a comment

@dingo-d Thank you very much for making those additional changes ! All looks good to me.

I've verified with a text-search that no links to the old repo remain. ✔️

@jrfnl jrfnl dismissed GaryJones’s stale review Jul 1, 2019

Requesteed changes have been made

@jrfnl jrfnl merged commit fab1ed5 into develop Jul 1, 2019
2 checks passed
@jrfnl jrfnl deleted the feature/fix-readme-icons branch Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants