Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Don't deploy mimetype if its properties have not changed #287

Closed
rjrudin opened this issue Jul 9, 2018 · 0 comments
Closed

Don't deploy mimetype if its properties have not changed #287

rjrudin opened this issue Jul 9, 2018 · 0 comments
Assignees
Milestone

Comments

@rjrudin
Copy link
Contributor

rjrudin commented Jul 9, 2018

As an ml-gradle user
I want ml-gradle to (title)
So that the deployment process doesn't cause ML to restart for every unchanged mimetype, as the Manage API will trigger a restart regardless of whether the mimetype properties have changed or not

  • "Have the properties changed" is simple for mimetype, as there's just the "extension" array and the "format" field.
  • This feature should account for the extensions being in a different order and should consider those arrays to be equal - e.g. "jpeg, jpg, jpe" is the same as "jpe, jpeg, jpg"
@rjrudin rjrudin modified the milestones: 3.9.0, 3.8.1 Jul 9, 2018
@rjrudin rjrudin self-assigned this Jul 9, 2018
rjrudin added a commit that referenced this issue Jul 9, 2018
#287 Don't update mimetype if its properties have not changed
@rjrudin rjrudin closed this as completed Jul 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant