Commit Graph

32 Commits

Author SHA1 Message Date
Sarina Canelake
6923687c8e Merge pull request #460 from edx/sarina/update-diffcover
Update diff-cover to latest version
2013-07-24 20:18:15 -07:00
Calen Pennington
76055aa211 Add a manage.py command that understands the extra edX options 2013-07-24 09:04:12 -04:00
Sarina Canelake
4ee16f1664 Add diff-quality rake task (rake quality) 2013-07-23 09:16:35 -04:00
Calen Pennington
726a85c70f Merge pull request #409 from edx/cale/make-jasmine-tests-quieter
Make jasmine tests quieter
2013-07-17 10:58:40 -07:00
Don Mitchell
3722685e1a No longer persist XModule templates
Instead, we use XModule field default values when creating an empty
XModule. Driven by this use case, we also allow for XModules to be
created in memory without being persisted to the database at all. This
necessitates a change to the Modulestore api, replacing clone_item with
create_draft and save_xmodule.
2013-07-16 14:33:58 -04:00
Calen Pennington
22302e3a46 Make jasmine tests quieter 2013-07-15 16:50:46 -04:00
Jonah Stanley
786f422ffa Merge pull request #298 from edx/jonahstanley/acceptance-tests-unique-database
Jonahstanley/acceptance tests unique database
2013-07-10 14:09:28 -07:00
David Baumgold
17f2b7d988 Merge pull request #361 from edx/antoviaque/vagrant-rbenv
Add support for Vagrant install, and switch from RVM to rbenv
2013-07-10 13:33:05 -07:00
JonahStanley
a896ccfff7 Added in a comment
This explains why acceptance_static is used
2013-07-10 16:21:11 -04:00
JonahStanley
4685cacc7b Databases are now cleaned properly
Acceptance_static is used to prevent collect static from using a seed
test.py had its seed removed due to redundancy
2013-07-10 15:28:23 -04:00
Xavier Antoviaque
2a656d0a9b vagrant: Windows - Exclude README from ws_migration
Windows doesn't differentiate between files with/without executable bit,
so this can't be used to exclude the README file from the migrations to
be executed, when the sources are accessed from a Windows partition.
2013-07-10 09:26:43 -04:00
David Baumgold
1388684194 Sass 3.2.9, Bourbon 3.1.8 2013-07-10 09:17:58 -04:00
David Baumgold
3b1182b462 Merge pull request #332 from edx/db/rake-pylint
Refactor rake tasks for pylint/pep8
2013-07-10 06:12:16 -07:00
David Baumgold
7bf2b1e316 Re-add pylint task dependencies 2013-07-09 21:47:07 -04:00
cahrens
f73aadbee7 Simplify boolean check. 2013-07-09 14:32:15 -04:00
cahrens
0bad62942e Update migrate and syncdb commands so they run on CMS as well, delete obsolete migrate task. 2013-07-09 09:36:28 -04:00
David Baumgold
5de4b4ef14 Refactor rake tasks for pylint/pep8
Split components with : instead of _
2013-07-03 14:50:59 -04:00
Calen Pennington
babbc37a0a Merge pull request #287 from edx/cale/teach-rake-test_$lib-to-understand-specific-test-names
Teach rake test_$lib to understand specific test names
2013-07-01 13:05:38 -07:00
Calen Pennington
8d4c2af9f2 Teach rake test_$lib to understand specific test names 2013-06-27 13:34:58 -04:00
Will Daly
ed57e7e555 Used dependency to ensure that REPORT_DIR exists before cleaning.
This allows the build to pass in Jenkins
2013-06-27 11:43:11 -04:00
Will Daly
9336ffde94 Added clean reports dependency to rake JavaScript test tasks.
This ensures that `rake test` will clean the report directories
*before* running the JS tests.
2013-06-26 17:14:12 -04:00
Jonah Stanley
b14553d867 Merge pull request #220 from edx/jonahstanley/make-units-parallel
Jonahstanley/make units parallel
2013-06-25 11:44:01 -07:00
JonahStanley
cb04f9f0b8 Moved port range to rake file 2013-06-21 08:51:44 -04:00
Will Daly
f109e5b01c Changed order of arguments to test tasks so that the report
directory is created before it is cleaned.
2013-06-21 08:02:23 -04:00
Will Daly
106e0aae01 Clean tests step now removes stale coverage report files.
Added test cleaning to fasttest_* instead of test_*, so that
it always gets executed for lms and cms tests.

Added comment to `directory` command for tests.rake

Separated cleaning of test fixtures from cleaning of reports
directory to resolve conflicts with collectstatic.
2013-06-20 16:08:18 -04:00
Calen Pennington
cd972d6427 Merge branch 'cale/standard-coffee-watch' into cale/stabilize-dev-env
Conflicts:
	CHANGELOG.rst
	rakelib/assets.rake
2013-06-20 09:23:57 -04:00
Calen Pennington
f11900a85c Merge branch 'cale/singleton-watchers' into cale/stabilize-dev-env
Conflicts:
	CHANGELOG.rst
2013-06-20 09:23:18 -04:00
Calen Pennington
64912a7741 Make assets watchers run as singletons
Previously, multiple copies of the watchers started from the different
shells would run simultaneously, which left the possiblity of zombie
watchers, increased resource consumption, and incorrect results. This
fixes that problem by only starting a watcher if that same command isn't
already in the process list.

Fixes LMS-499
2013-06-20 09:21:49 -04:00
Calen Pennington
f4200127bc Make coffee watch message more informative
When running under watchmedo, coffee doesn't display any useful
information when it recompiles a changed file, so we make watchmedo echo
that information instead.
2013-06-20 09:18:58 -04:00
Calen Pennington
2e480f6404 Switch to standard coffee watcher
Using `ulimit -n` to set the limit much higher than the default of 256
in Darwin seems to avoid the `EMFILE` error that was plaguing our Mac
developers.
2013-06-20 09:18:11 -04:00
Calen Pennington
d99ad53ae9 Add system and env arguments to asset tasks
The preprocess task requires system and env arguments in order to
correctly load up the django environment to preprocess sass files to
inject themes.

In order for that task to recieve the arguments, all tasks that depend
on it also have to accept that same set of arguments.

This will all go away once the next evolution of themes arrives, which
will remove the preprocessing needed to inject theme names.
2013-06-20 09:17:51 -04:00
Calen Pennington
83af3e594f Use built-in rakelibdir feature
Rake by default imports all .rake files in the rakelib dir, so we can
use that rather than doing our own import loop.
2013-06-20 09:11:45 -04:00