Граф коммитов

651 Коммитов

Автор SHA1 Сообщение Дата
William Lachance 0e6e61fbbe Bug 1159831 - Make treeherder use in-tree copy of treeherder-client 2015-05-01 13:34:29 -04:00
Cameron Dawson b0a0ea7a8c Bug 1144417 - use treeherder-client 1.2 with requests 2015-04-30 11:28:53 -07:00
Ed Morley ec90285cfa Bug 1159250 - Update django-extensions to 1.5.2
https://github.com/django-extensions/django-extensions/blob/master/CHANGELOG.md#152
https://github.com/django-extensions/django-extensions/compare/1.5.1...1.5.2
2015-04-28 23:46:06 +01:00
Ed Morley 1a0386000a Bug 1159250 - Update WebOb to v1.4.1
http://docs.webob.org/en/latest/news.html
https://github.com/Pylons/webob/compare/1.4...1.4.1
2015-04-28 23:46:06 +01:00
Ed Morley d66e30f220 Bug 1118023 - Update to django-browserid v0.10
Changes:
e8d1d57145...v0.10

Using a specific version release of django-browserid (vs the Git zip
archive for a specific revision) means peep doesn't have to re-download
the package each time.
2015-04-28 19:12:09 +01:00
Ed Morley c71366aa8b Bug 1158380 - Update requests to v2.6.2
Fixes security bugs, includes perf improvements & also means we can use
the 'json' param for uploads instead of having to json.dumps() them.

https://github.com/kennethreitz/requests/blob/master/HISTORY.rst
https://github.com/kennethreitz/requests/compare/v2.4.1...v2.6.2
2015-04-27 19:15:04 +01:00
Ed Morley 1146796120 Bug 1158371 - Update simplejson to v3.6.5
Changes:
https://github.com/simplejson/simplejson/compare/v3.3.0...v3.6.5
2015-04-27 19:14:10 +01:00
Ed Morley 3b0469dbc5 Revert update to django-browserid v0.11.1 (bug 1118023)
This reverts commit 702259c181
and 42f54236b3.
2015-04-27 16:58:36 +01:00
Ed Morley 702259c181 Bug 1118023 - Update to django-browserid v0.11.1
Changes:
e8d1d57145...v0.11.1

This will fix the spurious "Setting BROWSERID_VERIFY_CLASS not found"
errors in logs, as well as possibly help with people getting logged out
intermittently. It also brings us up to the latest django-browserid
release, which means updating later to a (yet to be released) Django 1.8
compatible version of django-browserid should be much easier.

Using a specific version release of django-browserid (vs the Git zip
archive for a specific revision) also means peep doesn't have to
re-download the package each time.
2015-04-27 14:30:22 +01:00
Ed Morley bf2566386c Bug 1158395 - Update Cython to v0.22
Changes:
https://github.com/cython/cython/blob/master/CHANGES.rst
https://github.com/cython/cython/compare/0.19.2...0.22
2015-04-27 14:23:59 +01:00
Ed Morley 915d7dc775 Bug 1158212 - Update New Relic Python agent to v2.50.0.39
v2.44.0.36 (11th Feb) -> v2.50.0.39 (6th April)

Brings improvements to SQL reporting, Django 1.8 support, improved
perf/resource usage in some cases.

For more info see:
https://docs.newrelic.com/docs/release-notes/agent-release-notes/python-release-notes
2015-04-27 14:17:46 +01:00
Ed Morley 45ba990542 Bug 1158766 - Pin datasource dependency using a tagged version not SHA
This is a no-op, the v0.6 release tag corresponds to the same revision,
it just avoids peeps SHA special-casing which causes continual
re-installation of the package & subsequent Travis cache invalidation.

https://github.com/jeads/datasource/releases/tag/v0.6
2015-04-27 12:46:25 +01:00
Ed Morley 5e10c031de Bug 1158202 - Update to treeherder-client v1.1
Changes:
f236a3487e...1.1

Using a specific version release of treeherder-client (vs the Git zip
archive for a specific revision) also means peep doesn't have to
re-download the package each time.
2015-04-24 16:39:33 +01:00
Ed Morley eaf0c2a792 Bug 1155160 - Remove script for generating the vendor directory
We're no longer using the vendor directory & this script wasn't entirely
reliable anyway, so let's remove it. The virtualenv package can be
removed from dev.txt, since virtualenv is installed globally, and
nothing inside our virtualenv (which is where the packages in dev.txt
end up) needs a local installation of it.
2015-04-22 11:23:32 +01:00
Ed Morley 0e188d4d9b Bug 1155160 - Stop referring to compiled vs pure packages
This differentiation was only useful when explaining which packages
could be listed in which requirements file (since compiled packages
could not be added to checked-in.txt). Now that all packages are peep
installed, common.txt contains both pure and compiled packages.
2015-04-22 11:23:06 +01:00
Ed Morley 8cdc06ec26 Bug 1155160 - Remove duplicate entry for the 'requests' package
Previously, the requests package had to be listed in dev.txt even
though it was in the vendor directory, since it was used by conftest.py
before the vendor directory was added to the Python path. Now that the
packages in checked-in.txt have been moved to common.txt, 'requests' is
listed in two requirements files that are peep installed, so we can
remove the dupe.
2015-04-22 11:23:00 +01:00
Ed Morley a5295870a8 Bug 1155160 - Move packages in checked-in.txt to common.txt
Now that we're using virtualenvs and peep to manage packages in
production, there's no need to use an in-repo vendor directory. As
such, all packages that were in checked-in.txt have been moved to
common.txt, so they will now be peep installed during deployment/testing
and also during the provision of the Vagrant environment.
2015-04-22 11:22:37 +01:00
Ed Morley 738de334c6 Bug 1070470 - Correct "Required by" comment for fancy-tag
fancy-tag is only required by 'django-browserid', not also 'responses'.
2015-04-16 14:04:37 +01:00
Ed Morley 9a68acd173 Bug 1154471 - Remove newrelic-plugin-agent from requirements/prod.txt
Since it has to be installed globally & run as a daemon, and so we have
no use for it in the virtualenv.

Reverts 37ae564296 from bug 1070470.
2015-04-15 16:24:59 +01:00
Ed Morley 52d5c4fb89 Bug 1153966 - Remove unused MozillaPulse, carrot & amqplib requirements 2015-04-14 00:22:33 +01:00
Ed Morley 0c9203555f Bug 1140882 - Remove gevent & greenlet from requirements
Since they are now unused.
2015-04-13 17:14:13 +01:00
Mauro Doglio 25b2cd935b Bug 1141551 - upgrade django version 1.7.7 2015-04-10 13:31:42 +01:00
Ed Morley f1aec89409 Bug 1143350 - Add peep hashes to the requirements files
The whole point of peep is that it errors out if (a) hashes aren't
specified for a package, or (b) the provided hash is incorrect. As
such before we can start using peep, we must add the hashes. The
requirements files are still compatible with pip, since it just
treats them like any other comment.
2015-03-19 12:12:05 +00:00
William Lachance bb2e7c4356 Bug 1144138 - Set a timeout for treeherder client requests
Before we would wait forever. Let's start with 120 seconds, we can always
modify in the future.
2015-03-17 16:01:02 -04:00
Ed Morley ac58bb3aa2 Bug 1143033 - Update packages in dev.txt 2015-03-14 22:14:41 +00:00
Ed Morley e1631abac8 Bug 1076710 - Remove socketio remnants
We're not currently using socketio - and if we start doing so in the
future we'll likely want to update to a newer version/adjust the
implementation anyway. Removing the dependencies from common.txt speeds
up the pip install on Travis. The old files will still be in version
control should we wish to refer to them :-)
2015-03-13 14:28:08 +00:00
Ed Morley 311e82aeb9 Bug 1070470 - Remove django-webtest from dev packages since it's unused
We use WebTest but not django-webtest.
2015-03-12 19:04:13 +00:00
Ed Morley eb6494f6b1 Bug 1070470 - Move six to dev.txt since it's not used in production 2015-03-12 19:04:13 +00:00
Ed Morley 2e0bf448eb Bug 1070470 - Explicitly list all packages and versions in docs.txt
Pins Sphinx to an exact version & explicitly lists all required
packages. Also updates sphinxcontrib-httpdomain from 1.1.7 to 1.3.0.
2015-03-12 19:04:13 +00:00
Ed Morley 37ae564296 Bug 1070470 - Add newrelic-plugin-agent to prod.txt
It is already installed in production; prod.txt now reflects reality.
2015-03-12 19:04:12 +00:00
Ed Morley 62ffc602a6 Bug 1070470 - Update newrelic version to that used in production 2015-03-12 19:04:12 +00:00
Ed Morley 71ed4c3ce0 Bug 1070470 - Rename compiled.txt to common.txt
The packages in this file are already a mixture of pure and compiled
packages. It's not worth moving the pure packages to checked-in.txt,
since we'll eventually be removing checked-in.txt and the associated
vendor/ and moving everything in there to this file. As such, common.txt
more accurately reflects the purpose of this file.
2015-03-12 19:04:11 +00:00
Ed Morley f4e1361ffa Bug 1070470 - Add inferred dependencies to requirements files
There were many packages that end up being installed via dependency
chains, that were not themselves listed in the requirements files. To
ensure determinism with pip (and to prevent errors with peep, since it
uses --no-deps by default), all packages must be listed explicitly.

I've avoided adding any more packages to checked-in.txt since we will
soon be deleting the vendor directory, so it seems silly to pollute it
further. compiled.txt is now rather unfortunately named, since it lists
packages that are pure and could have been in vendor/.

Versions have been set to match those currently used in production, or
in the case of blessings (which is not installed in production, we're
just lucky our use of mozlog does not hit the import & so haven't seen
the error), I've just set it to the latest available version.
2015-03-12 19:04:11 +00:00
Ed Morley a4248c53cb Bug 1070470 - Specify #egg= for dependencies from zip archives
Since peep doesn't like it if it's not set, plus it apparently helps pip
figure out sooner in the process whether a dependency is covered.
2015-03-12 19:04:10 +00:00
Ed Morley cd0214af49 Bug 1070470 - Use source archives rather than git for faster pip install
Using git+git means cloning the repo, trying to determine if the ref
specified is a tag or revision or branch etc. Instead Github provides
direct archive zips that are much faster when using pip install.
2015-03-12 19:04:10 +00:00
Ed Morley 77eb712b0b Bug 1070470 - Fix capitalisation of MozillaPulse to match PyPI 2015-03-12 19:04:09 +00:00
Ed Morley 76e2a56d95 Bug 1070470 - Remove duplicate jsonschema requirement
|jsonschema==2.4.0| is already listed higher up in the file.
2015-03-12 19:04:09 +00:00
Ed Morley ee58de7de5 Bug 1070470 - Remove argparse package since it's built into Python 2.7
See:
https://code.google.com/p/argparse/
2015-03-12 19:04:08 +00:00
Ed Morley 453b0f0c08 Bug 1070470 - Set explicit versions for all packages in requirements
For changes in compiled.txt, the version matches that installed globally
in production. For those in checked-in.txt I've used the version in
vendor/ which is actually different from that in production's global
site-packages, but is what we're actually using, since vendor/ is
earlier in the Python path.
2015-03-12 19:04:08 +00:00
Ed Morley 99c6a1a9d6 Bug 1070470 - Rename pure.txt to checked-in.txt
The packages in this file are those that have been checked in to
vendor/, and the new name makes this more obvious.
2015-03-12 19:04:07 +00:00
Cameron Dawson dd612f0005 Bug 1113873 - Add ``mozlog`` to requirements
This library is used to handle structured logs
2015-03-11 08:49:10 -07:00
Ed Morley 6273d32f7e Bug 1107523 - Run flake8 as part of the Travis build
flake8 is pyflakes+pep8. In a later PR I'll add a mention of it to the
docs - particularly how to set it up as a local git commit hook, but for
now I'm just keen to not regress the passing flake8 run. We may also
need to further tweak the ignore settings in setup.cfg if we find
certain warning types to be too annoying.
2015-03-05 13:51:49 +00:00
Ed Morley 694dc0dd10 Bug 1125585 - Update datasource to 2f09c9cc87
To pick up the version number bump. This doesn't change the contents of
vendor/datasource/ so in theory shouldn't be necessary. However prod
pip installs the requirements in pure.txt when it shouldn't, and the
vendor directory is later in python.path than site-packages, so we end
up using the version installed globally. Unfortunately some of the nodes
have an older version of datasource installed, but without the version
bump it's hard to tell which.
2015-02-18 15:46:41 +00:00
Cameron Dawson 0c45e01bf9 Bug 1119479 - Remove South 2015-02-10 11:34:07 -08:00
Cameron Dawson 698fd05519 Bug 1119479 - Upgrade to Django 1.7 2015-02-10 11:34:07 -08:00
Ed Morley a9188108ec Bug 1125585 - Update datasource to fab643e0d5
To pick up the new require_host_type config option:
https://github.com/jeads/datasource/pull/22

Also includes:
https://github.com/jeads/datasource/pull/17
2015-01-29 18:23:29 +00:00
mdoglio 6dc451372b Bug 1016117 - update celery and kombu version in requirements 2014-10-10 18:09:45 +01:00
Jonathan Eads 94bbbfb183 Bug 1016117 - Added/updated vendor libs to support publishing to pulse 2014-10-10 18:08:45 +01:00
mdoglio cb3d46df36 Bug 1072291 - handle 404 responses from json-pushes 2014-09-26 17:08:28 +01:00
Ed Morley 6ea4d2862b Bug 1032907 - Relax Sphinx version requirements 2014-08-26 17:10:02 +01:00
mdoglio e1d1a62f37 separate docs requirements from dev requirements 2014-08-26 16:28:55 +01:00
Cameron Dawson 3432fc2644 Add caching to endpoints that don't change much 2014-08-11 11:58:21 -07:00
mdoglio 8e0c47068c add log parsing status handling 2014-07-03 15:58:04 +02:00
Jonathan Eads 5676ff2ee8 new vendor lib 2014-05-30 14:49:41 -07:00
Mauro Doglio 6e1259ae8c Downgrade gunicorn version
18.0 isn't working on treeherder-dev
2014-05-20 11:57:41 +01:00
mdoglio c26f7f510d enable newrelic in wsgi when available 2014-05-16 18:31:28 +02:00
Jonathan Eads a97f1b6a2a updated sha for treeherder-client to include author property changes 2014-04-21 17:00:50 -07:00
Cameron Dawson d9527f7da5 updates per mdoglio's feedback 2014-04-17 13:28:54 -07:00
Cameron Dawson 611ee5b7c0 fix socket.io fetchJobs method to use GUID 2014-04-15 10:43:51 -07:00
mdoglio c7ddeed0f7 support exclusion profiles on the ui 2014-04-09 15:35:51 +01:00
mdoglio f2a11cfcb8 update thclient version 2014-03-10 19:38:03 +01:00
mdoglio 08105369ce update django-browserid version 2014-02-14 17:11:01 +00:00
Jonathan Eads 599b7ac06a changed argparse version requirement to preven python 2.6 related failure 2014-02-10 15:38:24 -08:00
Jonathan Eads d6bb075d72 removed unnecessary requirements 2014-02-04 10:02:30 -08:00
Jonathan Eads 27de2e2a4c new django_browserid requirements 2014-02-03 17:57:09 -08:00
Jonathan Eads 80e2c4d111 merged 2014-01-31 12:44:05 -08:00
vagrant 35be73269c made changes 2014-01-31 19:35:46 +00:00
mdoglio 7d75781531 update django-rest-framework and add swagger docs 2014-01-29 15:57:54 +00:00
Jonathan Eads 8fa7524d0c fixed oauth_required decorator 2014-01-28 14:33:05 -08:00
Jonathan Eads d0c8dbaac9 added stuff 2014-01-18 19:00:43 -08:00
Jonathan Eads 15ea648d53 updated vendor libs to include recent version of treeherder-client 2014-01-10 10:37:11 -08:00
Jonathan Eads 0fc9c386a2 added treeherder-client 2014-01-08 17:39:17 -08:00
Jonathan Eads e66e63c6d2 merged master 2014-01-08 17:34:23 -08:00
Jonathan Eads 601f46a22b added oauth requirements 2014-01-08 17:23:57 -08:00
mdoglio 327ed28648 improve environment setup via puppet 2014-01-07 15:24:35 +00:00
mdoglio 02395c9160 add argparse to requirements for py2.6 compatibility 2014-01-06 16:10:00 +00:00
mdoglio 0ff4a19477 change the gevent-socketio entry in requirements 2014-01-02 10:48:13 +01:00
mdoglio ac8689e178 add gevent-socketio machinery 2013-12-20 16:57:45 +00:00
Jonathan Eads 643a86e0d7 add oauth requirements 2013-12-17 16:10:08 -08:00
mdoglio b9eb464176 improve usability of the vagrant dev environment 2013-11-29 13:15:12 +00:00
mdoglio a180bca259 improve log parser performance using cython 2013-11-21 14:25:07 +00:00
mdoglio 82d46abcd1 update django-browserid version 2013-11-13 14:30:15 +00:00
mdoglio 4a8ec631c3 add persona authentication service 2013-08-13 16:06:00 +01:00
mdoglio 9a3a8fa9b1 add support for cors headers 2013-08-05 16:59:53 -07:00
mdoglio b7cf4d0b13 merge from master 2013-06-18 15:15:40 +02:00
Cameron Dawson 259521109d added datadiff module for diffing dicts. also new tinderboxprintline sub parser. 2013-06-10 16:44:49 -07:00
mdoglio 3edefd9f0c add simplejson to compiled requirements 2013-06-07 13:51:52 -04:00
mdoglio 4adc94b2fe add djangorestframework to pure requirements 2013-06-07 13:51:52 -04:00
mdoglio 1f0b3380e6 code cleaning 2013-05-15 13:54:42 +01:00
mdoglio 17d98479e2 add celery ecosystem 2013-05-13 19:19:19 +02:00
Cameron Dawson ce466a578d adding artifact test code and job model creation test code 2013-04-30 14:07:13 -07:00
Jonathan Eads 4b62e9f18f merged 2013-04-05 10:23:33 -07:00
Jonathan Eads ba56ab7540 new pulse consumer 2013-04-03 09:06:06 -07:00
mdoglio b7d194671b add sql-datasource; port datazilla sql datasource (with tests) to treeherder 2013-03-27 14:25:19 +00:00
mdoglio 5b8063cef8 add memcached setup 2013-03-26 16:24:38 +00:00
mdoglio 983932f1d9 update py version in dev requirements 2013-03-20 14:00:28 +00:00
mdoglio df70a95fa0 fix py.test version in dev requirements 2013-03-20 10:53:47 +00:00
mdoglio 8151206a2f upgraded pytest to use the new fixtures style 2013-03-19 18:59:00 +00:00
mdoglio ce4b07cb1d add south to pure requirements. install pure.txt inside the virtualenv 2013-03-11 16:44:52 +00:00
mdoglio 314a6b0ee6 add new line where missing 2013-03-06 17:19:12 +00:00
mdoglio ff8c73668c Add a vagrant setup for dev and a basic django webapp. 2013-03-06 17:08:21 +00:00