? Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
19 Jun 2019

Pull Request for Issue #25274 .

Summary of Changes

Correct the appveyor badge for 4.0-dev:

  • Changed project/joomla/joomla-cms to project/release-joomla/joomla-cms.
  • Changed token.

Thanks to @blastoise186 for reporting that issue.

Testing Instructions

Check colour of the AppVeyor badge.

Click the AppVeyor badge on README.md.

Expected result

Colour fits to current build status for 4.0-dev.

After click, AppVeyor activity shown for the latest commits.

https://github.com/richard67/joomla-cms/blob/patch-2/README.md

Actual result

Colour fits to current build status in neolithicum.

AppVeyor activity shown for commits from 9 months ago and older.

https://github.com/joomla/joomla-cms/blob/4.0-dev/README.md

Documentation Changes Required

None.

avatar richard67 richard67 - open - 19 Jun 2019
avatar richard67 richard67 - change - 19 Jun 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Jun 2019
Category Repository
avatar richard67 richard67 - change - 19 Jun 2019
The description was changed
avatar richard67 richard67 - edited - 19 Jun 2019
avatar richard67 richard67 - change - 19 Jun 2019
The description was changed
avatar richard67 richard67 - edited - 19 Jun 2019
avatar richard67 richard67 - change - 19 Jun 2019
The description was changed
avatar richard67 richard67 - edited - 19 Jun 2019
avatar richard67
richard67 - comment - 19 Jun 2019

@blastoise186 Could you test this PR and mark the test result on https://issues.joomla.org/? You can use the links in the description for testing.

avatar blastoise186
blastoise186 - comment - 19 Jun 2019

I have tested this item successfully on c5a674d

As with #25275 the AppVeyor Badge correctly directs a user to /release-joomla/joomla-cms


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25276.

avatar blastoise186 blastoise186 - test_item - 19 Jun 2019 - Tested successfully
avatar Quy
Quy - comment - 19 Jun 2019

Please confirm that the URL will be the same for J3 and J4.

avatar richard67
richard67 - comment - 19 Jun 2019

Yes, the URL was and still is the same, so when you click the link, you see in both cases commit history for all branches together. But the link for the SVG is different, and so the badge has the right color depending on branch. It was like that also before this PR.

avatar Quy
Quy - comment - 19 Jun 2019

I have tested this item successfully on c5a674d


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25276.

avatar Quy
Quy - comment - 19 Jun 2019

I have tested this item successfully on c5a674d


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25276.

avatar Quy Quy - test_item - 19 Jun 2019 - Tested successfully
avatar Quy Quy - change - 19 Jun 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 19 Jun 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25276.

avatar blastoise186
blastoise186 - comment - 19 Jun 2019

AppVeyor appears to have been configured to process all the branches under the same Project, and it doesn't appear to distinguish between them for the tokens which are being used.

While there is a way to separate the badges for multiple branches according to the docs, I think that would just cause more problems as branches get moved around. I also note that the badges for the other CI's are generic for the whole project.

avatar richard67
richard67 - comment - 19 Jun 2019

Yeah, those badges are confusing, color for branch but activity list for all. That's why I did not notice the problem fixed by this PR when recently testing other changes on badges, and I think that's the reason why other people haven't noticed those errors with the badges form months if not for years.

avatar blastoise186
blastoise186 - comment - 19 Jun 2019

Thanks for helping out though!

On the plus side, it does at least look like keeping the AppVeyor Badges updated in the future would be a simple case of changing the branch that the badge icon points to, provided the project isn't moved to a new location

avatar wilsonge wilsonge - change - 20 Jun 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-06-20 01:52:51
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 20 Jun 2019
avatar wilsonge wilsonge - merge - 20 Jun 2019
avatar wilsonge
wilsonge - comment - 20 Jun 2019

Cheers guys!

avatar richard67
richard67 - comment - 20 Jun 2019

Cheers and thanks

Add a Comment

Login with GitHub to post a comment