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

CRM-13283 - Status page project #5973

Closed
wants to merge 50 commits into from

Conversation

MegaphoneJon
Copy link
Contributor

This is the work that Andrew and I worked on during the post-Denver sprint, Michael's work is largely separate.

agh1 and others added 30 commits June 7, 2015 15:14
----------------------------------------
* CRM-13823: Admin Status Page
  https://issues.civicrm.org/jira/browse/CRM-13823
----------------------------------------
* CRM-13823: Admin Status Page
  https://issues.civicrm.org/jira/browse/CRM-13823
----------------------------------------
* CRM-13823: Admin Status Page
  https://issues.civicrm.org/jira/browse/CRM-13823
----------------------------------------
* CRM-13823: Admin Status Page
  https://issues.civicrm.org/jira/browse/CRM-13823
----------------------------------------
* CRM-13823: Admin Status Page
  https://issues.civicrm.org/jira/browse/CRM-13823
agh1 added 2 commits June 7, 2015 15:24
----------------------------------------
* CRM-13823: Admin Status Page
  https://issues.civicrm.org/jira/browse/CRM-13823
----------------------------------------
* CRM-13823: Admin Status Page
  https://issues.civicrm.org/jira/browse/CRM-13823
@colemanw
Copy link
Member

colemanw commented Jun 7, 2015

Wait, no bomb icon? How are we supposed to know what's going on with CiviCRM without a bomb icon??

@eileenmcnaughton
Copy link
Contributor

Looks like Jenkins has something to say.... but I think despite the claim of 45 alerts a lot of them are in a single block of code

@MegaphoneJon
Copy link
Contributor Author

This looks to mostly be civilint stuff...I didn't civilint others' code, and by the look of it, maybe didn't even civilint all of mine. I'll go over that tomorrow.

@agh1
Copy link
Contributor

agh1 commented Jun 8, 2015

I think I'm the culprit on most of it--spacing issue here and there. I'll take care of it in a minute.

----------------------------------------
* CRM-13283: Number of terms does not update the end date of membership
  https://issues.civicrm.org/jira/browse/CRM-13283
@agh1
Copy link
Contributor

agh1 commented Jun 8, 2015

Okay so I created MegaphoneJon#1 against PalanteJon/status-page-jon which should fix the problems. And yes, I was responsible for 90% of the problems (I was putting spaces after function comments all over the place).

CRM-13823 misc sp  acing    problems
@MegaphoneJon
Copy link
Contributor Author

Just a note that this should be CRM-13823, not CRM-13283.

@eileenmcnaughton
Copy link
Contributor

still red :-(

@agh1
Copy link
Contributor

agh1 commented Jun 8, 2015

These are a bunch of test failures--some of the new api, and others that are new tests themselves. @ginkgomzd @PalanteJon you know the new API code better than I.

@colemanw here you go:
bomb

@colemanw
Copy link
Member

colemanw commented Jun 8, 2015

👍
Ooh, github comments have lots of emoticons. How about:
💣

@eileenmcnaughton
Copy link
Contributor

looks like they are mostly e-notices

@eileenmcnaughton
Copy link
Contributor

Looks like an integer rather than a string is being passed to the severity map function - leading to enotice - leading to bomb

@MegaphoneJon
Copy link
Contributor Author

This is on my radar for this week, I haven't forgotten! The severity map should be able to take integer OR string, depending on the value of the $reverse argument. I'll get this sorted.

@eileenmcnaughton
Copy link
Contributor

How goes on this?

@MegaphoneJon
Copy link
Contributor Author

At the top of my list for Wednesday.

@MegaphoneJon
Copy link
Contributor Author

Eileen, Andrew - OK, I took a crack at this today. Andrew, I think you're more familiar with the code in question, so I'd like you to review. My first commit removed a few calls to severityMap where we were already evaluating integers. There's a second commit I did NOT make - look at $returnValues here: https://github.com/PalanteJon/civicrm-core/blob/status-page-jon/CRM/Utils/Check/Env.php#L418.

It seems like that array isn't used anywhere - and there's an e-notice because $return isn't defined. I'm not sure what this code is intended to do, but I wanted to check in with you before simply removing it.

Finally - when I clicked on "Details" on my failed build merge above, I got a 404 error. Do the test reports expire?

@eileenmcnaughton
Copy link
Contributor

They do expire - but you have a new result now due to your new commit. Sadly it's rejected you on test formatting

@MegaphoneJon
Copy link
Contributor Author

Ugh, the one day my linter isn't working...but that's OK, I'm just
excited to have a new test result. I'll check this out today.

@MegaphoneJon
Copy link
Contributor Author

Hmm - these Jenkins results all relate to files that aren't touched by this PR. It points to formatting issues with:
ActivitySearch.php
ContribSYBNT.php
EventAggregate.php
TagContributions.php
FourFive.php
AddMessageTemplateTest.php

None of those are the 24 files we edited: https://github.com/civicrm/civicrm-core/pull/5973/files

Does that mean we're off the hook?

@totten
Copy link
Member

totten commented Jul 8, 2015

Spot checking a random file, the smelly code in CRM/Contact/Form/Search/Custom/ContribSYBNT.php appears to have originated circa March 1 (8bb3a4f) and it was cleaned up circa May 14 (d14ccbd). It doesn't have anything to do with this PR, but I suspect that the PR hasn't been rebased or merged since early May (and thus never got the cleanup). Tangentially: Github says it can't merge the branch automatically due to conflicts. If it were my branch, I'd rebase and resolve conflicts.

@MegaphoneJon
Copy link
Contributor Author

I can take a hint :) I'll try not to let this sit too long.

@MegaphoneJon
Copy link
Contributor Author

Hmm...I rebased but I'm still getting errors? I'm going to ask Joseph for some git help.

@MegaphoneJon
Copy link
Contributor Author

Closing in favor of #6276.

@MegaphoneJon MegaphoneJon deleted the status-page-jon branch October 10, 2017 02:26
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.

6 participants