-
-
Save lonnen/7830281 to your computer and use it in GitHub Desktop.
draft socorro makefile target changes
This file contains 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
what we've got now: | |
all | |
test | |
test-socorro | |
test-webapp | |
bootstrap | |
install | |
reinstall | |
install-socorro | |
lint | |
clean | |
breakpad | |
stackwalker | |
analysis | |
json_enhancements_pg_extension | |
webapp-django | |
targets: | |
bootstrap - make sure local deps for a dev environment are satisfied | |
tests $component - run the tests (bootstrap && test-logic) | |
release - package a release tarball (tests && release logic) | |
clean - clean up any files created by the other targets | |
rough mapping of new to old: | |
all - | |
test - tests | |
test-socorro - tests collector; tests processor; tests mware; tests admin; | |
test-webapp - tests webapp | |
bootstrap - bootstrap | |
install - release | |
reinstall - release | |
install-socorro - release | |
lint - tests $component (lint step everywhere) | |
clean - targets | |
breakpad - bootstrap | |
stackwalker - bootstrap | |
analysis - bootstrap | |
json_enhancements_pg_extension - ???? | |
webapp-django - release |
This file contains 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
components: | |
stackwalker/breakpad | |
socorro_app | |
collector | |
processor | |
admin/crontabber/crons | |
middleware | |
webapp | |
---- | |
Maybe we should abandon make and write four idempotent bash scripts instead, with the following make targets lumped into four new scripts. | |
bootstrap: | |
breakpad | |
stackwalker | |
analysis | |
bootstrap | |
test: | |
bootstrap | |
lint | |
test-socorro | |
test-webapp | |
cibuild: | |
install | |
reinstall | |
install-socorro | |
webapp-django | |
clean: | |
clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
json_enhancements_pg_extension
can go away once we've upgraded to 9.2, @selenamarie might be depending on it in the meantime though