Skip to content

Conversation

@rhelmer
Copy link
Contributor

@rhelmer rhelmer commented Feb 27, 2014

No description provided.

@rhelmer
Copy link
Contributor Author

rhelmer commented Feb 27, 2014

r? @peterbe

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In case you're wondering, this code now picks the new "expired, featured" version I've added.. I am not sure if this is what's wanted for this report so adjusted the test. It may be that we want to adjust the code for that view though - wdyt?

Copy link
Contributor

Choose a reason for hiding this comment

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

"expired, featured"? What's that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So the release is still marked as featured in the database, but it has expired (it's past its sunset_date in product_versions table, which is generally set in releases_raw by ftpscraper but can be manually manipulated)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Although for the purposes of this test all you care about is that current versions service is returning a release that is both expired and also featured, which currently does happen (whether or not that is a bug is a valid question - I think it's probably OK but it's a bit sad-making)

@rhelmer
Copy link
Contributor Author

rhelmer commented Mar 5, 2014

@peterbe tests pass now :)

@peterbe
Copy link
Contributor

peterbe commented Mar 5, 2014

r+

rhelmer added a commit that referenced this pull request Mar 5, 2014
fix bug 977406 - exclude expired versions from front page graph
@rhelmer rhelmer merged commit 7d29515 into mozilla-services:master Mar 5, 2014
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.

2 participants