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

necessity of changing plugin itself and plugin update issues #67

Closed
MrDys opened this issue Mar 13, 2012 · 2 comments
Closed

necessity of changing plugin itself and plugin update issues #67

MrDys opened this issue Mar 13, 2012 · 2 comments

Comments

@MrDys
Copy link
Contributor

MrDys commented Mar 13, 2012

CODEBASE-33: In order to add some info to solr.yml, I had to make changes in the blacklight plugin:

I didn't want to add my vars to blacklight.rb, I wanted to make a separate class to load the stuff. (I called it display_fields.rb)

I couldn't do this at the level of my rails app - it didn't work.

I had to change the plugin: add lib/display_fields.rb and change init.rb

When Vernon was trying to make some local mods that involved init.rb, he ran into the same problem. See blacklight-dev list emails from Vernon and me week of 3/9/2009.

Ideally, sites would be able to make these sorts of changes and not have to be in the plugin itself. Why? A1: we at Stanford, for whatever reason, have been unable to run the following:

script/plugin update blacklight
script/plugin update (full svn url to blacklight)

the only thing that has worked is

script/plugin update --force (full svn url to blacklight)

the later would step on local mods to the plugin, no?

@MrDys
Copy link
Contributor Author

MrDys commented Mar 13, 2012

Original reporter: ndushay

@MrDys
Copy link
Contributor Author

MrDys commented Mar 13, 2012

: Closing as we've mostly resolved the display fields configuration issues and the plugin installation issues are separate and I believe on Bess's list.

@MrDys MrDys closed this as completed Mar 13, 2012
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

No branches or pull requests

1 participant