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

Use mira_publication_workflow and hyrax actor stack for self-deposit … #248

Closed
wants to merge 1 commit into from

Conversation

bess
Copy link
Contributor

@bess bess commented Sep 17, 2017

…contributions

Add feature test for capstone contribute
Persist depositor to fedora object (enables "my works" behavior)
Pdfs created via contribute should use default admin set and mira_publication_workflow
Use AttachFilesToWorkJob to attach uploaded file
Creation of default admin set now happens in db:seed, which is run in db:setup
Using Tufts::WorkflowSetup.setup instead of creating default admin set directly will avoid intermittent test failures
Enable customized notifications

Fixes #245
Fixes #3
Fixes #5
Fixes #235

@bess
Copy link
Contributor Author

bess commented Sep 17, 2017

This is a big PR, sorry about that.

…contributions

Add feature test for capstone contribute
Persist depositor to fedora object (enables "my works" behavior)
Pdfs created via contribute should use default admin set and mira_publication_workflow
Use AttachFilesToWorkJob to attach uploaded file
Creation of default admin set now happens in db:seed, which is run in db:setup
Using Tufts::WorkflowSetup.setup instead of creating default admin set directly will avoid intermittent test failures
Enable customized notifications
@bess
Copy link
Contributor Author

bess commented Sep 18, 2017

@no-reply afaict, this is failing for reasons unrelated to this PR. Would you please take a look? If I'm wrong I'm happy to revise.

@no-reply
Copy link
Collaborator

The failures look like they are javascript related. This is ringing a bell for me from earlier in the project. @little9: do you recall what we did the last time this popped up?

@no-reply
Copy link
Collaborator

I'll rebase after the merge of #253 to ensure we're passing. Still expecting to finish review this afternoon.

@@ -0,0 +1,15 @@
class CreateJobIoWrappers < ActiveRecord::Migration[5.0]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I didn't catch that this was in here before I submitted #255. I think we'll want to rebase this on that, so the migration has its own commit.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree. Good idea.

Copy link
Collaborator

@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.

I think this is all set.

Hold merge pending #255, and will push a rebase when that is in.

@@ -9,7 +9,8 @@

module Epigaea
class Application < Rails::Application
config.active_job.queue_adapter = :sidekiq
# config.active_job.queue_adapter = :sidekiq
config.active_job.queue_adapter = :inline
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you say something about this? I'm thinking this looks like an artifact of your development env?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are correct. Whoops. :(

end

# The Users who have an admin role
# @return [<Array>::User] an Array of Hyrax::User objects
Copy link
Collaborator

Choose a reason for hiding this comment

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

It think the correct Yard collection annotation syntax for this is [Array<User>]. I'm not too worried about getting a fix in for merge.

@bess
Copy link
Contributor Author

bess commented Sep 20, 2017

This PR was superseded.

@bess bess closed this Sep 20, 2017
@bess bess removed the in progress label Sep 20, 2017
@bess bess deleted the invoke_workflow_from_form branch September 28, 2017 17:45
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