Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change when AF::Noid 2.0 is required so it doesn't break in production mode #1061

Merged
merged 1 commit into from
Oct 25, 2016

Conversation

mjgiarlo
Copy link
Member

@mjgiarlo mjgiarlo commented Oct 19, 2016

Automatically run the new AF::Noid generator to complete installation of AF::Noid.

DO NOT MERGE until the PR points at a released version of AF::Noid (pointing at a GitHub branch at the moment).

@projecthydra/sufia-code-reviewers

Copy link
Contributor

@val99erie val99erie left a comment

Choose a reason for hiding this comment

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

I can confirm that this does allow me to launch the rails console in production mode with no errors, so it seems to be a good fix for the problem I was having in this issue:
#1045

I'll do a little more testing later today or tomorrow, but at first glance, it seems like this does fix the problem.

@val99erie
Copy link
Contributor

Ping @tpendragon and @sethaj

I know that Trey had implemented a work-around in Plum, and Seth did in Heliotrope, by adding a file to app/models/minter_state.rb. It seems this fix will allow you to remove that placeholder file.

@mjgiarlo mjgiarlo changed the title Make CC pull in AF::Noid the same way Sufia does [WIP] Make CC pull in AF::Noid the same way Sufia does Oct 19, 2016
@mjgiarlo mjgiarlo force-pushed the align_cc_with_sufia_wrt_af_noid branch from 17bade6 to 833c1b6 Compare October 19, 2016 18:22
@mjgiarlo mjgiarlo changed the title [WIP] Make CC pull in AF::Noid the same way Sufia does [WIP] Change when AF::Noid is required so it doesn't break in production mode. Oct 19, 2016
@mjgiarlo mjgiarlo force-pushed the align_cc_with_sufia_wrt_af_noid branch from 833c1b6 to bd68bfe Compare October 19, 2016 18:24
@mjgiarlo mjgiarlo changed the title [WIP] Change when AF::Noid is required so it doesn't break in production mode. [WIP] Change when AF::Noid 2.0 is required so it doesn't break in production mode. Oct 19, 2016
@mjgiarlo mjgiarlo force-pushed the align_cc_with_sufia_wrt_af_noid branch 2 times, most recently from 997943c to f960839 Compare October 20, 2016 16:28
@mjgiarlo mjgiarlo changed the title [WIP] Change when AF::Noid 2.0 is required so it doesn't break in production mode. Change when AF::Noid 2.0 is required so it doesn't break in production mode Oct 21, 2016
@mjgiarlo
Copy link
Member Author

Fixes #1045.

* Update to latest release of AF::Noid
* Automatically run the new AF::Noid generator to complete installation of AF::Noid.
* Use latest 4.2 and 5.0 Rails versions.
@mjgiarlo mjgiarlo force-pushed the align_cc_with_sufia_wrt_af_noid branch from 4d26163 to 5df115b Compare October 24, 2016 22:10
Copy link
Contributor

@no-reply no-reply left a comment

Choose a reason for hiding this comment

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

Cool.

@no-reply no-reply merged commit 03093da into master Oct 25, 2016
@no-reply no-reply deleted the align_cc_with_sufia_wrt_af_noid branch October 25, 2016 05:58
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Feb 28, 2017
* Updates preservation gem.
* Adds gem therubyracer.
* Do not load  rake tasks for 'dev' and 'test' environments when in production.
* Applies patch for active_fedora-noid require bug for curation_concerns 1.6.3.
  This is a tmp measure for getting cc 1.6.3 to run in production without having
  to upgrade to 1.7.x yet.
  See samvera-deprecated/curation_concerns#1061
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Feb 28, 2017
* Updates preservation gem.
* Adds gem therubyracer.
* Do not load  rake tasks for 'dev' and 'test' environments when in production.
* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Feb 28, 2017
* Updates preservation gem.
* Adds gem therubyracer.
* Do not load  rake tasks for 'dev' and 'test' environments when in production.
* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.
* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Feb 28, 2017
* Updates preservation gem.
* Adds gem therubyracer.
* Do not load  rake tasks for 'dev' and 'test' environments when in production.
* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.
* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.
* Add solr_wrapper and fcrepo_wrapper to main bundle (not just development and
  test). We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Feb 28, 2017
* Updates preservation gem.

* Adds gem therubyracer.

* Do not load  rake tasks for 'dev' and 'test' environments when in production.

* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.

* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.

* Add solr_wrapper and fcrepo_wrapper to bundle (not just :development and
  :test groups). Also adds config for both in .solr_wrapper.production and
  .fcrepo_wrapper.production.

  NOTE: We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Feb 28, 2017
* Updates preservation gem.

* Adds gem therubyracer.

* Do not load  rake tasks for 'dev' and 'test' environments when in production.

* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.

* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.

* Add solr_wrapper and fcrepo_wrapper to bundle (not just :development and
  :test groups). Also adds config for both in .solr_wrapper.production and
  .fcrepo_wrapper.production.

  NOTE: We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.

* Config solr to use collection named 'phydo-production' for production env.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Mar 1, 2017
* Updates preservation gem.

* Adds gem therubyracer.

* Do not load  rake tasks for 'dev' and 'test' environments when in production.

* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.

* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.

* Add solr_wrapper and fcrepo_wrapper to bundle (not just :development and
  :test groups). Also adds config for both in .solr_wrapper.production and
  .fcrepo_wrapper.production.

  NOTE: We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.

* Config solr to use collection named 'phydo-production' for production env.

* Runs preservation:install generator.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Mar 1, 2017
* Updates preservation gem.

* Adds gem therubyracer.

* Do not load  rake tasks for 'dev' and 'test' environments when in production.

* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.

* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.

* Add solr_wrapper and fcrepo_wrapper to bundle (not just :development and
  :test groups). Also adds config for both in .solr_wrapper.production and
  .fcrepo_wrapper.production.

  NOTE: We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.

* Config solr to use collection named 'phydo-production' for production env, and
  to have the core persist after restarting.

* Runs preservation:install generator.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Mar 1, 2017
* Updates preservation gem.

* Adds gem therubyracer.

* Do not load  rake tasks for 'dev' and 'test' environments when in production.

* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.

* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.

* Add solr_wrapper and fcrepo_wrapper to bundle (not just :development and
  :test groups). Also adds config for both in .solr_wrapper.production and
  .fcrepo_wrapper.production.

  NOTE: We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.

* Config solr to use collection named 'phydo-production' for production env.

* Runs preservation:install generator.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Mar 1, 2017
* Updates preservation gem.

* Adds gem therubyracer.

* Do not load  rake tasks for 'dev' and 'test' environments when in production.

* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.

* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.

* Add solr_wrapper and fcrepo_wrapper to bundle (not just :development and
  :test groups). Also adds config for both in .solr_wrapper.production and
  .fcrepo_wrapper.production.

  NOTE: We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.

* Config solr to use collection named 'phydo-production' for production env.

* Runs preservation:install generator.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Mar 1, 2017
* Updates preservation gem.

* Adds gem therubyracer.

* Do not load  rake tasks for 'dev' and 'test' environments when in production.

* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.

* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.

* Add solr_wrapper and fcrepo_wrapper to bundle (not just :development and
  :test groups). Also adds config for both in .solr_wrapper.production and
  .fcrepo_wrapper.production.

  NOTE: We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.

* Adds results of running Preservation gem install generator.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Mar 1, 2017
Changes needed for deploying to demoable host

* Updates preservation gem.

* Adds gem therubyracer.

* Do not load  rake tasks for 'dev' and 'test' environments when in production.

* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.

* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.

* Add solr_wrapper and fcrepo_wrapper to bundle (not just :development and
  :test groups). Also adds config for both in .solr_wrapper.production and
  .fcrepo_wrapper.production.

  NOTE: We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.

* Adds results of running Preservation gem install generator.

* StorageControllerBehavior Module is defined without a namespace, but was
  trying to be included with `HydraDAM::StorageControllerBehavior`.

* Removes `require 'pry'` everywhere. It's not part of the production bundle.
  Require it in development as needed, but please don't commit it.
afred added a commit to WGBH-MLA/phydo_forked that referenced this pull request Mar 1, 2017
* Updates preservation gem.

* Adds gem therubyracer.

* Do not load  rake tasks for 'dev' and 'test' environments when in production.

* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.

* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.

* Add solr_wrapper and fcrepo_wrapper to bundle (not just :development and
  :test groups). Also adds config for both in .solr_wrapper.production and
  .fcrepo_wrapper.production.

  NOTE: We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.

* Adds results of running Preservation gem install generator.

* StorageControllerBehavior Module is defined without a namespace, but was
  trying to be included with `HydraDAM::StorageControllerBehavior`.

* Removes `require 'pry'` everywhere. It's not part of the production bundle.
  Require it in development as needed, but please don't commit it.

Closes HDM-800.
amolmkhedkar pushed a commit to IUBLibTech/phydo that referenced this pull request Mar 1, 2017
* Updates preservation gem.

* Adds gem therubyracer.

* Do not load  rake tasks for 'dev' and 'test' environments when in production.

* Applies patch for active_fedora-noid. This is a tmp measure for getting
  curation_concerns 1.6.3 to run in production without having to upgrade to
  1.7.x yet. See samvera-deprecated/curation_concerns#1061.

* Adds config for 'production' enviornment in config/role_map.yml. Without
  some config for 'production' env, we get errors from hydra-access-controls.

* Add solr_wrapper and fcrepo_wrapper to bundle (not just :development and
  :test groups). Also adds config for both in .solr_wrapper.production and
  .fcrepo_wrapper.production.

  NOTE: We're going to use them in production to get a demo up quickly. We will
  want to come back to this when building out a more robust production env.

* Adds results of running Preservation gem install generator.

* StorageControllerBehavior Module is defined without a namespace, but was
  trying to be included with `HydraDAM::StorageControllerBehavior`.

* Removes `require 'pry'` everywhere. It's not part of the production bundle.
  Require it in development as needed, but please don't commit it.

Closes HDM-800.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants