#2167021: Revamp Libraries API integration bumped the Underscore library requirement to >=1.5.0 but the project page currently links to 1.4.4.

It would also be nice to add a note about the version requirement change to the 7.x-1.3 release notes.

CommentFileSizeAuthor
#19 navbar-status-page-error.png9.17 KBtenken
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

travisc’s picture

++ Please update the project page, the nav is broken with the current instructions!

Dane Powell’s picture

Yes, please fix this. The error message is cryptic too- it says 1.4.4 is not supported, but it doesn't say what *is* supported.

presleyd’s picture

And the site should probably mention what to rename the library folders to (i.e. that you have to remove the version numbers and not capitalize Modernizr)

jasonawant’s picture

Hi,

I've updated the documentation page with the correct underscore version link: https://drupal.org/node/1993254.

I've also updated the doc page with explicit directions to rename the library directories.

I can't touch the project page itself. I recommend removing the instructions from the project page and just include them on the docs page, so other community members can keep up with them there.

Jason.

jlporter’s picture

Agreed, if the project page is not going to be maintained then keep the setup documentation within the documentation area.

Anonymous’s picture

Can this be fixed please? I've been tripped up by this on two separate occasions, and someone without knowledge of how the libraires API works might struggle to find which version is required.

drclaw’s picture

Status: Active » Needs review

Maybe "needs review" will help get some attention?

Anonymous’s picture

Priority: Normal » Major

+1. Why not move the content about library installation from the project page to the documentation at https://drupal.org/node/1993254 and link to it from the project page. The links in the documentation for underscore works for me too and you will only need to keep one point of documentation.

rv0’s picture

The comments in #4, #8 = lifesaver

+1 for removing the wrong info from project page.

frob’s picture

Status: Needs review » Needs work

The project page still says 1.4.4 it should say 1.5.2

drupalshrek’s picture

+1 that this needs to be fixed asap. I followed the installation instructions and they point to the wrong version.

I have noted this on the community docs: https://drupal.org/node/1993254

mengi’s picture

Thank you all for providing/editing the docs. Trying out navbar for the first time and went with the directions on the front page, didn't work and then read the docs and found the notes about underscore.

Also I found a repo that includes the modernizr min library (from here). It would be helpful to have that link on the project page so people can include if they use drush make.

Pere Orga’s picture

Please can somebody update the project page?

frob’s picture

Status: Needs work » Reviewed & tested by the community

since all that is left to do is edit the project node, I am marking this as rtbc

rbomhof’s picture

+1 just bumping this one. thanks!

Elijah Lynn’s picture

Is there a discussion on D.O somewhere to just use the project readme file as the description on the project page? Like Github does. I would think this would have already come up, if not I want to open a discussion on it.

drupalshrek’s picture

Maybe. I would ask the question in the forums:
https://www.drupal.org/forum

frob’s picture

For that I would start with talking to someone on IRC or posting an issue in the drupal.org webmaster issue queue.

tenken’s picture

+1 confusing project page.

I havent been to the docs page, I was making a bash file + Drush commands to update a D6 site to D7:

Could the docs page include something like:

# From drupal docroot, an Example.
wget https://github.com/jashkenas/underscore/archive/1.5.0.zip -O sites/all/libraries/underscore-temp.zip
unzip sites/all/libraries/underscore-temp.zip -d sites/all/libraries/
mv sites/all/libraries/underscore-1.5.0 sites/all/libraries/underscore
rm sites/all/libraries/underscore-temp.zip

The attached error message is useless for the Underscore error. Navbar is installed -- it's just not the right version. The error should announce the correct version to use.

Elijah Lynn’s picture

I found that the Chosen Drupal module provides a Drush command to download the correct library.

drush chosenplugin
https://www.drupal.org/project/chosen

Would anyone else like a drush command to download all the correct libraries?

frob’s picture

@Elijah Lynn, I think that all library modules should have some mechanism to download the lib automatically. However, I think that should be a new issue. this issue is about updating the d.o project page.

Elijah Lynn’s picture

@frob True dat, I just wanted to gauge some interest. I made an issue here #2328853: Create Drush command to download required libraries

frob’s picture

No worries, just don't want to derail either issue.

2pha’s picture

+1 please update the project page

eshta’s picture

Status: Reviewed & tested by the community » Fixed

I love the idea of a drush command to pull all this stuff in. There certainly are a lot of moving pieces that have to be installed for this module. In the meantime, however, to address this issue the project page has been updated to the correct version of underscore.

Apologies that this sat so long.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Elijah Lynn’s picture

Fyi, there is an issue to use a readme.md as a project description.

#1674976: Allow README.md to optionally render as the project page