Fix decidim dev tasks not being exposed#1554
Merged
beagleknight merged 3 commits intomasterfrom Jul 10, 2017
Merged
Conversation
Decidim railtie was not being required. That meant its tasks `decidim:check_locales` and `decidim:generate_test_app` were not being exposed to the application. This change fixes it.
The task `decidim:check_locales` does not make sense here.
The `decidim:upgrade` task only makes sense inside an application.
Codecov Report
@@ Coverage Diff @@
## master #1554 +/- ##
==========================================
- Coverage 97.01% 90.51% -6.51%
==========================================
Files 495 352 -143
Lines 8434 5838 -2596
==========================================
- Hits 8182 5284 -2898
- Misses 252 554 +302 |
Codecov Report
@@ Coverage Diff @@
## master #1554 +/- ##
=======================================
Coverage 97.01% 97.01%
=======================================
Files 495 495
Lines 8434 8434
=======================================
Hits 8182 8182
Misses 252 252 |
mrcasals
approved these changes
Jun 30, 2017
Merged
|
@deivid-rodriguez, thanks for your PR! By analyzing the history of the files in this pull request, we identified @mrcasals and @josepjaume to be potential reviewers. |
leio10
pushed a commit
to podemos-info/decidim
that referenced
this pull request
Jul 26, 2017
* Fix decidim dev tasks not being exposed to end app Decidim railtie was not being required. That meant its tasks `decidim:check_locales` and `decidim:generate_test_app` were not being exposed to the application. This change fixes it. * Fix decidim-dev tasks exposed to main repo The task `decidim:check_locales` does not make sense here. * Don't load unnecessary task The `decidim:upgrade` task only makes sense inside an application.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
Since #1527, decidim-dev's railtie was not being required. That means its tasks
decidim:check_localesanddecidim:generate_test_appwere no longer being exposed to the application.This change fixes it.
It also stops exposing some "app only tasks" that don't make sense in the development repo side.
Before (in main repo):
Before (in end application):
After (in main repo):
After (in end application):
📌 Related Issues
None.
📋 Subtasks
None.
📷 Screenshots (optional)
None.
👻 GIF