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

Add rake task to check for spending proposals #3441

Merged
merged 2 commits into from
Apr 17, 2019

Conversation

voodoorai2000
Copy link
Member

@voodoorai2000 voodoorai2000 commented Apr 16, 2019

References

Context

Spending Proposals was used in the first Participatory Budgets to store proposals created by citizens. Since then Spending Proposals have become deprecated in favor of Budget Investments.

Only the first forks will have Spending Proposals in their Production servers. The forks that started using CONSUL since version 0.7 released on April 25th 2016 do not need to migrate. Please check out the rake tasks in this PR to make sure you do not have Spending Proposals in your Production environment.

Objectives

Add a rake task to be executed in the production environment to check for spending proposals. In case spending proposals are found, display a link to the PR with instructions on how to migrate to Budget Investments.

Release Notes

To run the rake task to check for spending proposals run this command:

bin/rake spending_proposals:check RAILS_ENV=production

@voodoorai2000 voodoorai2000 merged commit da23468 into master Apr 17, 2019
@voodoorai2000 voodoorai2000 deleted the spending_proposals_check_rake branch April 17, 2019 14:53
@voodoorai2000 voodoorai2000 added this to Release 1.0.0-beta in Roadmap Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants