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

JBIDE-16657 - Handle case when cr == final in /downloads #73

Closed
wants to merge 1 commit into from

Conversation

xcoulon
Copy link
Member

@xcoulon xcoulon commented Apr 4, 2014

Added a banner on the page with a link to the .Final download page
when there's a .Final version matching the current .CRx one.

- elsif page.build_info.build_type_label == :nightly
.alert.alert-warning
%strong Warning!
The
%strong nightly build
contains the latest and greatest new features, but nothing is stable or guaranteed - yet.

- elsif is_candidate_release_version(page.build_info.version) && has_final_version(site, page.build_info.product_id, page.build_info.version)
Copy link
Member

Choose a reason for hiding this comment

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

why does it matter if it is a CR version ? if there is a final version and the entry has the updatesite url is when the entry is to be shown.

Copy link
Member Author

Choose a reason for hiding this comment

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

you mean when there's a .Final version and the current version has an update site url or zips of the update site ?

Copy link
Member

Choose a reason for hiding this comment

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

no i mean if development site is beta and the next is a final - shouldn't happen but just thinks it is not about wether the site name is cr or not. its if there is a final/stable release for the development version.

@maxandersen
Copy link
Member

Looks good - one caveat I noticed is that 4.1.0 final aren't warned about there being a 4.1.1 final :)

@xcoulon
Copy link
Member Author

xcoulon commented Apr 7, 2014

IIRC, we said we would compare in a X.Y.Z range, i.e., warn that 4.1.1.Final exists when browsing 4.1.1.Alpha1 (for example)

Added a banner on the page with a link to the latest version download page
when there's a more recent version matching the current one (including 4.1.1.Final -> 4.1.2.Final)
@maxandersen
Copy link
Member

looks great! applied.

@maxandersen maxandersen closed this Apr 7, 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.

None yet

2 participants