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

360 Коммитов

Автор SHA1 Сообщение Дата
Jonathan French 88ea1aee20 Bug 1272049 - Generalize vagrant and vbox install requirements 2016-05-11 14:24:02 -04:00
William Lachance cf39f8b530 Bug 1216113 - Enable django debug toolbar in vagrant 2016-05-05 18:02:24 -04:00
Ed Morley 7dac747d5b Bug 1270239 - Docs: Remove the redundant sphinx_rtd_theme workaround
The workaround that allowed using sphinx_rtd_theme when building
locally, is no longer required. See:
https://github.com/rtfd/readthedocs.org/pull/2115
2016-05-04 20:31:50 +01:00
Ed Morley f9e3f57ed5 Bug 1270236 - Update ReadtheDocs links to the new .io domain
To save the hitting the newly added redirect from .org to .io.
2016-05-04 20:30:23 +01:00
William Lachance f44cd1c6ea Bug 1265829 - Clarify documentation around managing API credentials 2016-04-19 14:30:50 -04:00
Shing Lyu 8f14d9f206 Fixed typos in submitting data doc 2016-04-13 14:36:16 -04:00
Cameron Dawson 2a9dbefa49 Bug 1199364 - Use revsion instead of revision_hash for resultsets
New resultsets will still store a value in their ``revision_hash`` field, but it will
just be the same value as their ``long_revision`` field.

This will log an exception in New Relic when a new resultset or job is posted
to the API with only a ``revision_hash``and not a ``revision`` value.

This also switches to using the longer 40 char revisions along side the
12 char revisions.  But we leverage the longer ones for most actions.  The
short revisions are stored and used so that people and the UI can support
locating a resultset (or setting ranges) with short revisions.
2016-03-17 15:48:49 -07:00
James Graham 4cfe414d22 Bug 1255087 - Remove store_pulse_jobs Queue that is not used in production. 2016-03-16 17:46:16 +00:00
Ed Morley e13ed57593 Bug 1244142 - Vagrant: Remove support for creating a 'scratch' VM
Vagrant now supports a snapshots feature which makes this obsolete:
https://www.vagrantup.com/docs/cli/snapshot.html

By removing the 'scratch' Vm config, we avoid confusion console messages
when performing Vagrant commands, eg:

[~/src/treeherder]$ vagrant provision
==> default: Running provisioner: puppet...
...
==> default: Notice: Finished catalog run in 14.75 seconds
==> scratch: VM not created. Moving on...
2016-01-29 16:01:16 +00:00
Ed Morley 6b6e78cc72 Bug 1239428 - Docs: Clarify process for API credential approval
* Recommend using the same `client_id` for stage/prod.
* Mention the need to file a bug (and where) for requesting approval.
* Explain prod approval needs submission to be working on stage first.
2016-01-14 17:05:14 +00:00
William Lachance 6810ed9758 minor doc improvement for client-side installation
link directly to bugzilla for a link
2016-01-08 13:44:05 -05:00
Ed Morley 39d572d952 Bug 1230179 - Docs: Fix the links to Swagger so they don't 301 redirect
Avoids this redirect seen in prod gunicorn logs:

[05/Jan/2016:05:55:42 -0800] "GET /docs HTTP/1.1" 301 -
"http://treeherder.readthedocs.org/retrieving_data.html"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:46.0) Gecko/20100101 Firefox/46.0"
2016-01-06 16:44:29 +00:00
William Lachance bce0bef92e Bug 1231421 - Add hint about UI-only treeherder to installation docs 2015-12-09 17:10:36 -05:00
William Lachance 1c25789c10 Update docs title 2015-12-09 11:02:55 -05:00
Ed Morley 5f9a57ef21 Bug 1225597 - Docs: Use anonymous links to avoid build warnings
Fixes:
common_tasks.rst:2: WARNING: Duplicate explicit target name: "stage".
common_tasks.rst:2: WARNING: Duplicate explicit target name: "production".

http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#anonymous-hyperlinks
2015-11-25 13:35:25 +00:00
Ed Morley 6df3aa4ac3 Bug 1225597 - Docs: Make local hawk credentials section easier to find
Also remove the duplication between the two pages, by having the
submitting data section not mention requesting credentials at all, and
leave that to the common tasks page instead.
2015-11-25 13:35:25 +00:00
Ed Morley ed8498710c Bug 1221536 - Docs: Emphasise starting the worker before ingest_push
If the worker is not running, any `apply_async()` calls are silently
thrown away, due to `ingest_push`'s use of `CELERY_ALWAYS_EAGER` and:
https://github.com/celery/celery/issues/2910

As such, running the worker after ingest_push doesn't help (since the
rabbitmq queues are empty) and so if people are interested in perf/log
data, then they must start the worker first instead.
2015-11-04 16:18:14 +00:00
Ed Morley f059f88d85 Bug 1205758 - Run `grunt build` as part of the stage/prod deploy
In update.py, the line outputting revision.txt has to be moved later,
since the `dist/` directory won't exist until grunt build has run. In
addition, since `grunt build` removes the entire `dist/` directory, we
no longer need to manually remove *.gz.

We use the `--production` options for both `npm install` and
`grunt build`, so that the `devDependencies` in package.json are
ignored, and we only install/load the ones listed under `dependencies`
in package.json - since that's all that is required for the build.

We have to use `./node_modules/.bin/grunt` rather than `grunt`, since
grunt-cli is not installed globally on the treeherder admin machine for
greater isolation between stage and production.
2015-10-31 16:06:08 +00:00
Ed Morley 27941c32d9 Bug 1206381 - Add npm-shrinkwrap.json to pin grunt build dependencies
Whilst the packages listed in package.json are pinned to exact versions,
they will have their own dependencies, which may be specified via
version ranges. In order to make production/local behaviour more
deterministic, these can be pinned too, using `npm shrinkwrap`.
However the stock shrinkwrap command has a few deficiencies, so we're
using a wrapper around it:
https://github.com/uber/npm-shrinkwrap

Note: Only packages listed under `dependencies` will be shrinkwrapped,
not those under `devDependencies`. This is because using the `--dev`
option (which would include the dev packages in npm-shrinkwrap.json)
means there would then be no way to way to exclude the dev packages when
installing in production.

For more information about shrinkwrap in general, see:
https://docs.npmjs.com/cli/shrinkwrap
http://tilomitra.com/why-you-should-use-npm-shrinkwrap/
https://nodejs.org/en/blog/npm/managing-node-js-dependencies-with-shrinkwrap/
2015-10-28 09:33:17 +00:00
Mauro Doglio c876849a3c Bug 1193836 - Remove mention to init_master_db from docs 2015-10-27 11:19:18 +00:00
Ed Morley 2c89b988f6 Bug 1217496 - Docs: Mention Hawk auth requires correct system clock
Since if submitters' clocks are out of sync, Hawk auth will fail.
2015-10-23 13:39:08 +01:00
Ed Morley 32863c77a4 Bug 1216247 - Document how to create Hawk credentials locally
And also:
* Explain the process for request/approval on stage/prod
* Remove the unnecessary export_project_credentials step in the
"add a new repository" section, since Treeherder's ETL no longer uses
credentials.json.
2015-10-20 11:18:17 +01:00
William Lachance a164383961 Bug 1212931 - Update the client documentation to describe hawk auth
Since the old auth "TreeherderAuth" system is now deprecated.
2015-10-19 12:50:52 -04:00
Ed Morley 5bd8132ee2 Bug 1213847 - Deprecate passing the auth object to the client's methods
Since with the new per-user Hawk credentials, the same auth object can
be used for the whole session, so should just be passed when
instantiating TreeherderClient.
2015-10-12 16:11:19 +01:00
Ed Morley 8ae9071901 Bug 1197186 - Move settings to treeherder/config/
Since they're not specific to the Django app 'webapp'.

Whilst we're there, the local & example settings files have been
renamed. In the future I'd like to combine settings_local.example.py
with puppet/files/treeherder/local.vagrant.py, but I'll do that in
another bug.
2015-10-08 19:59:46 +01:00
Ed Morley 364f635917 Bug 1198536 - Remove job.build_url since it's unused 2015-10-05 20:41:34 +01:00
Ed Morley 40c90e3365 Bug 1192957 - Docs: Explain the Python import style and how to run isort
In the future, the new "Code Style" page will also be used to explain
other styles/linters used in the project, eg JavaScript / ESlint.
2015-10-02 17:55:28 +01:00
Cameron Dawson 4a4efd6e76 Bug 1205906 - Adds JSON schema for text_log_summary artifacts 2015-10-02 09:36:15 -07:00
Ed Morley a31174407a Bug 1207613 - Remove the dist/ directory from master
Heroku now generates it on deploy, and for stage/prod we generate it
fresh on the stage/prod branch and force push each time. As such, we
have no need for the directory on master, and by removing it we avoid
confusion when new contributors grep the repo.

As an added bonus, the stage/prod deploy script should fail if the dist
directory is missing, so the grunt build cannot be forgotten prior to
deploying. (Currently if it's forgotten, we end up deploying the ancient
dist directory from master that was last updated prior to us switching
to the new deployment strategy.)
2015-10-02 11:55:54 +01:00
Cameron Dawson 7510eb98d9 Bug 1169320 - Documentation for pulse ingestion
This documentation instructs a user on how to setup their local
machine to ingest data from existing exchanges as well as posting
to their own to test their jobs.
2015-10-01 15:50:12 -07:00
Ed Morley 7241b58c5d Docs: Minor cleanup to the "Building the docs" section 2015-09-30 16:04:34 +01:00
Ed Morley 90ba77e596 Bug 1192801 - Remove per-file MPL boilerplate since it's unnecessary
The MPL 2.0 terms state that as long as a LICENSE file is present, the
per-file header text is not required. See "Exhibit A" at the end of:
https://www.mozilla.org/MPL/2.0/
2015-08-18 23:32:11 +01:00
Ed Morley 26acccf944 Bug 1193775 - Document how to test UI-only changes using GitHub pages 2015-08-15 11:13:06 +01:00
Ed Morley ac8e41e5e9 Bug 1178300 - Docs: Formatting and readability tweaks to setup docs 2015-08-11 16:00:49 +01:00
Ed Morley fb9f0af43c Bug 1178300 - Docs: Move the hosts file step into the Vagrant section
Since it can be performed whilst `vagrant up` is running, and whilst
modifying the hosts file is not necessary for running the tests, most
people will still want to do it.
2015-08-11 15:55:27 +01:00
Ed Morley ed77e4e69c Bug 1178300 - Docs: Add Windows-specific setup help
Fixes #684.
2015-08-11 14:56:12 +01:00
Ed Morley 106c0bcca4 Bug 1178300 - Docs: Add a prerequisites section which links to Bootcamp
Also mention the need for Git to be installed & link to Git website.
2015-08-11 14:56:11 +01:00
Ed Morley 3e248c5bf8 Bug 1178300 - Docs: Move Vagrant troubleshooting steps to their own page
Since most people will not require them, and the list is growing quite
large.
2015-08-11 14:56:10 +01:00
Ed Morley 85a6cfdec3 Bug 1165929 - Docs: Add instructions on how to build the docs locally 2015-08-11 12:41:54 +01:00
Ed Morley e68c2403da Bug 1191602 - Docs: s/Vagrant instance/Vagrant VM/ 2015-08-11 12:14:35 +01:00
Ed Morley a36c7f47da Bug 1191602 - Docs: Clarify which commands should be run inside the VM
The shell prompts for each command example already mention vagrant, but
this can still be missed, so make the distinction extra clear.
2015-08-11 11:14:29 +01:00
Ed Morley 1c00ccfcc7 Bug 1192661 - Clean up Python import order
Created using |isort -p tests -rc .| and a couple of manual tweaks.

The order is:
* futures
* std library
* third party packages
* local imports
* relative local imports
...with each group ordered with "import x" before "from x import y", and
then alphabetically.
2015-08-10 18:33:49 +01:00
Ed Morley a34c805d40 Bug 1191738 - Fix code block markup in submitting_data.rst
It was using Markdown rather than reStructuredText syntax.
2015-08-06 11:47:52 +01:00
Ed Morley 4b8624c5a8 Bug 1190894 - Vagrant: Make it clearer that vagrant v1.5+ is required
We require 1.5+ due to the use of just the box name, without URL.

This is now mentioned in the setup docs, plus fails more obviously
during |vagrant up|, thanks to:
http://docs.vagrantup.com/v2/vagrantfile/vagrant_version.html
2015-08-05 13:23:02 +01:00
William Lachance f072d29380 Clarify ingest_push
* Reinforce push must be < 4 hours old
* s/mozilla-central/mozilla-inbound/ (better example, since mozilla-inbound is more likely to have pushes less than 4 hours old)
2015-08-04 13:00:54 -04:00
Ed Morley a49c98b180 Bug 1186357 - Remove the deprecated objectstore endpoint
Since bug 1140349, the objectstore endpoint has been deprecated, and
performs the same function as the jobs endpoint. Now that there are no
remaining submitters to it, let's remove it.
2015-07-30 13:19:30 +01:00
Cameron Dawson 00cfe6643d Bug 1140349 - Remove the objectstore code
After the previous commit, the Objectstore is effectively "dead code".
So this commit removes all the dead code after anything left over in
the Objectstore has been drained and added to the DB.
2015-07-21 14:13:21 -07:00
Mauro Doglio b9881f937c Bug 1183575 - Create a requests auth backend for 2-legged oauth 2015-07-20 16:12:33 +02:00
Jonathan French b6b0e1ac45 Bug 1184247 - Add celerybeat-schedule removal to Troubleshooting 2015-07-16 09:36:13 -04:00
MikeLing 5035bd6540 Bug 1184135-Fix "Validating Javascript" eslint steps 2015-07-16 08:59:31 +08:00
William Lachance 658927bdf7 Bug 1183367 - Add a grunt target to run eslint on JS frontend 2015-07-14 13:40:18 -04:00
Cameron Dawson 51cc8f6a27 Bug 1182299 - Support custom log name param in logslice
This adds the ability to specify a custom log name and have the log
viewer use the ``logname`` param of the ``text_log_summary`` to get the
right log.

This also improves the error message returned by the /logslice/ API if a
log name is used that is not found.
2015-07-13 09:18:24 -07:00
Ed Morley 7e7975d675 Bug 1179214 - Docs: Remove reference to a revision's 'files' property
Since it's been removed from the client/API.
2015-07-09 15:31:41 +01:00
Vaibhav Agrawal e693397b38 Bug 1180967 - Add a note that node.js should be in treeherder ui docs. 2015-07-06 16:55:54 -07:00
William Lachance 5e6ac65659 Clarify documentation for ingest_push
The revision specified for ingest_push was just an example
2015-06-30 17:17:58 -04:00
Ed Morley 58813b0c51 Bug 1169916 - Stop using Cython to build the log parser
Since it only speeds up parsing by a few percent of total runtime, and
is therefore not worth the added complexity for deployment and local
hack-test-debug cycles when working on the log parser.

The .gitignore and update.py entries will be removed in a later commit,
once the stage/prod src directories have been cleaned up.
2015-06-30 14:51:57 +01:00
Ed Morley e9efcf8584 Bug 1178224 - Remove the unused result_set_artifact table 2015-06-30 01:39:45 +01:00
William Lachance 1c129a5cc6 Bug 1175935 - Add a section on "retrieving data" to docs
Currently documents the swagger interface to the REST API and the python
client API.
2015-06-19 13:44:04 -04:00
Ed Morley bf4c7c05ff Bug 1151803 - Serve the UI using gunicorn/WhiteNoise instead of Apache
In order that we can serve the UI on Heroku, we wrap the Django wsgi app
with WhiteNoise, so both the UI and API requests are served by gunicorn.

In the Vagrant environment, Apache has been removed and Varnish instead
now proxies all requests to gunicorn/Django runserver directly, without
Apache as a go-between.

The UI on production will not be affected by this commit, since the
Apache config there will still intercept requests for the UI assets
rather than proxying them to gunicorn.

It's worth noting too, that we're not able to make use of WhiteNoise's
automatic Django GZip/caching support since that assumes we are using
Django templates and referring to resources using {% static "foo.css" %}

However, we can sub-class WhiteNoise (or more specifically the
DjangoWhiteNoise class) and override the is_immutable_file() method to
add caching support at a later date:
http://whitenoise.evans.io/en/latest/base.html#caching-headers

Documentation for WhiteNoise can be found at:
http://whitenoise.evans.io/
2015-06-19 15:56:23 +01:00
Ed Morley c3efa7c400 Bug 1151803 - Docs: Clarify the UI build/dist explanation & steps
Explains the reasoning behind the dist directory, and separates out the
"updating the dist directory" and "testing the dist directory" steps.
2015-06-19 15:08:44 +01:00
Ed Morley 15911f5d77 Bug 1151803 - Docs: Remove instructions on how to restart varnish
The Varnish config uses |return (pass)| unconditionally, so never
caches anything, so there's no need to suggest restarting it after
making changes to the UI.
2015-06-19 13:20:32 +01:00
Cameron Dawson f92ba96cb2 Bug 1174192 - Allow specifying tier for a job from the client 2015-06-18 08:46:47 -07:00
William Lachance 5475ae7f72 Fixes to submitting data section of documentation
* Shorten "Treeherder Python Client" to just "Python Client"
* Replace imports of TreeherderRequest with TreeherderClient
2015-06-18 10:42:28 -04:00
Ed Morley a4798aa840 Bug 1173409 - Vagrant: Add support for creating a 'scratch' VM
It's sometimes useful to be able to spin up an additional Vagrant
environment without affecting the first. To do this, we create two named
machines, both identical (since they inherit the main Vagrantfile
configuration) - one called default (to match the machine name used up
until now, so we don't force people to recreate their existing VMs when
we land this) and one called scratch.

The former is set to be the primary, so that single-machine commands
(eg `vagrant ssh`) work without having to append the machine name every
time.

The scratch machine has autostart set to false, so that it does not spin
up without explicitly using: `vagrant up scratch`

The name `scratch` is entirely arbitrary, and we can add additional
temporary machine names later, if people wish to have more than two
environments saved simultaneously.

For more information, see:
http://docs.vagrantup.com/v2/multi-machine/
2015-06-11 11:52:42 +01:00
Ed Morley c70bceee14 Bug 1170827 - Docs: Add |--concurrency| to the example celery command
Since the default of just one worker results in slow ingestion.
2015-06-10 00:02:56 +01:00
Ed Morley 80537079c8 Bug 1172036 - Vagrant: Run export_project_credentials during provision
This means there is one less manual step that has to be performed during
initial setup.
2015-06-10 00:02:55 +01:00
Ed Morley 6677fa739c Bug 1168741 - Docs: Emphasise that the hosts entry must be copied as-is
Since there has been confusion in the past that the IP should be updated
to match that of the host.
2015-06-10 00:02:55 +01:00
Ed Morley 1d1d35e5d5 Bug 1172021 - Docs: Remove unnecessary steps from setup instructions
These steps are already performed by puppet on provision, so don't need
to be performed again manually. They are mentioned on the "common tasks"
docs page if people need to run them again later.
2015-06-10 00:02:54 +01:00
Ed Morley 7a6e5d0d49 Bug 1172020 - Docs: Remove port 8000 mention on installation docs
Since gunicorn is only running on port 8000 inside the VM, it's then
proxied via varnish/apache and accessible on port 80 outside the VM, so
mentioning port 8000 is more confusing than helpful.
2015-06-10 00:02:54 +01:00
Jonathan French 49294ec7de Bug 1170172 - RTD Grunt Build updates - supplemental 2015-06-03 09:18:19 -04:00
Jonathan French 1f62d37470 Bug 1170172 - RTD Grunt build updates 2015-06-02 14:29:22 -04:00
Ed Morley 81c5c67a2a Bug 1170167 - Vagrant: cd into the treeherder directory on login
Also switches the activate-venv-on-login .bashrc entry to use an
absolute path, in case it gets added to .bashrc after the 'cd' line.
2015-06-02 13:44:55 +01:00
Ed Morley b3d8a7cbb1 Bug 1170269 - Docs: Remove unnecessary initial-setup Cython compile step
Puppet runs it on provision, so it's not necessary to do so manually.
2015-06-01 22:21:41 +01:00
Ed Morley 81ac118436 Bug 1144804 - Docs: Update the Vagrant examples with the new bash prompt
After updating the Vagrant image, the vagrant bash prompt has changed.
2015-06-01 19:59:31 +01:00
William Lachance 8eee644a00 Bug 1139998 - Make it more clear in docs how to set things up to run UI tests 2015-06-01 11:12:24 -04:00
Ed Morley 43da904de0 Bug 1160561 - Docs: Remove out of date deployment advice
We're no longer using the in-repo puppet config in production, nor would I
recommend anyone do so again in the future. In addition, copying and pasting
default configs into the docs isn't great, since they are a pain to maintain.
Let's just remove this from the docs.
2015-05-28 16:09:44 +01:00
Ed Morley 705140707e Bug 1074151 - Vagrant: Add a Vagrantfile pref for serving ui/ vs dist/
One of the few differences between vagrant.pp and production.pp is from
which directory the UI is served. This change adds the ability to toggle
the directory from the Vagantfile directly, thereby bringing
production.pp (and the duplication it brings) closer to being obsolete.
2015-05-28 14:06:09 +01:00
Ed Morley ae98e9d859 Bug 1168770 - web-server.js: Serve index.html by default, if present
Instead of always displaying the directory file listing, if index.html
is present we serve that instead. This not only fixes the remaining
broken URLs when using web-server.js, but also means people can click
the "Starting web server at <URL>" link in the console and immediately
see Treeherder, without having to then manually navigate to index.html
themselves.
2015-05-28 11:13:30 +01:00
Ed Morley 76c5b0de69 Bug 1085579 - Docs: Use the Read the Docs theme for local builds too
Using the instructions from:
https://docs.readthedocs.org/en/latest/theme.html#how-do-i-use-this-locally-and-on-read-the-docs
2015-05-26 13:56:18 +01:00
Maja Frydrychowicz 2e21d140b8 Look up credentials for a project 2015-05-25 16:01:41 -04:00
William Lachance 7a63110603 Bug 1167364 - Expand documentation on ingesting a single push
Give some extra details related to Talos data, among other things
2015-05-21 18:32:17 -04:00
Cameron Dawson 358e90f685 Bug 1080760 - Auto-generate bug suggestions asynchronously
This introduces two new ways to generate ``Bug suggestions`` artifacts from
a ``text_log_summary`` artifact
1. POST a ``text_log_summary`` on the ``/artifact`` endpoint
2. POST a ``text_log_summary`` with a job on the ``/jobs`` endpoint.

Both of these cases will schedule an asynchronous task to generate the
``Bug suggestions`` artifact with ``celery``.

Artifact generation scenarios:

JobCollections
^^^^^^^^^^^^^^
Via the ``/jobs`` endpoint:

1. Submit a Log URL with no ``parse_status`` or ``parse_status`` set to "pending"
    * This will generate ``text_log_summary`` and ``Bug suggestions`` artifacts
    * Current *Buildbot* workflow

2. Submit a Log URL with ``parse_status`` set to "parsed" and a ``text_log_summary`` artifact
    * Will generate a ``Bug suggestions`` artifact only
    * Desired future state of *Task Cluster*

3. Submit a Log URL with ``parse_status`` of "parsed", with ``text_log_summary`` and ``Bug suggestions`` artifacts
    * Will generate nothing

ArtifactCollections
^^^^^^^^^^^^^^^^^^^
Via the ``/artifact`` endpoint:

1. Submit a ``text_log_summary`` artifact
    * Will generate a ``Bug suggestions`` artifact if it does not already exist for that job.

2. Submit ``text_log_summary`` and ``Bug suggestions`` artifacts
    * Will generate nothing
    * This is *Treeherder's* current internal log parser workflow
2015-05-20 16:28:32 -07:00
Ed Morley 8507928699 Bug 1166426 - Update readthedocs links to point at the new RTD location
The docs have been moved from treeherder-service.readthedocs.org to
treeherder.readthedocs.org.
2015-05-20 22:06:33 +01:00
Ed Morley 2efb703f16 Bug 1056877 - Update UI path references after directory moves
As part of merging the UI repo into this one, the following directory
moves were performed:
  webapp/app/                   ->  ui/
  webapp/test/                  ->  tests/ui/
  webapp/config/                ->  tests/ui/config/
  webapp/scripts/               ->  tests/ui/scripts/
  webapp/scripts/web-server.js  ->  web-server.js
2015-05-20 16:55:55 +01:00
Ed Morley da294ba761 Bug 1056877 - Stop using/referring to the separate treeherder-ui repo
Since it has now been merged into this one.
2015-05-20 16:55:55 +01:00
Ed Morley de9b1cff02 Bug 1056877 - Add the UI docs pages to the main table of contents
The UI docs are now being built at the same time as the main service
docs. Until we combine them, let's at least make sure the UI parts are
still discoverable, by adding them to the main table of contents.
2015-05-20 16:55:49 +01:00
Ed Morley b4c7023ccc Bug 1056877 - Remove superfluous docs/ui/ Sphinx build files
Since the UI docs will be built by the docs directory Makefile/conf.py.
2015-05-20 12:34:25 +01:00
Ed Morley 347592a10e Merge treeherder-ui into this repo 2015-05-20 12:03:05 +01:00
William Lachance dc084310f6 Bug 1163674 - Update treeherder client to be more generic
* Create a generic TreeherderClient class
* Add a single method called `post_collection` which takes care of all
  details of validation, submitting stuff and raising errors
* Also add a new update_parse_status method, for updating status (replaces
  manual calls to post information on raw TreeherderRequest)
2015-05-19 17:32:22 -04:00
Ed Morley 90e3aa0dea Bug 1165925 - web-server.js should serve index.html at the site root 2015-05-19 15:50:30 +01:00
Mauro Doglio b23775c37c Update list_of_services.rst 2015-05-18 10:24:35 +01:00
Jonathan French 19b71bc4b4 Bug 1164881 - Add MPL2.0 headers to recent treeherder repo files 2015-05-14 11:45:26 -04:00
Jonathan French e471253de4 Bug 1056049 - Add NFS transport protocol troubleshooting to RTD 2015-05-12 15:08:25 -04:00
Ed Morley 6deb641608 Bug 1163591 - run_sql: support specifying the SQL statement via the CLI
Previously the run_sql manage.py command only supported reading the SQL
command from a specified file. It can now also be provided via the CLI.
2015-05-11 16:45:47 +01:00
William Lachance 0e6e61fbbe Bug 1159831 - Make treeherder use in-tree copy of treeherder-client 2015-05-01 13:34:29 -04:00
Jonathan French 0ac651cc69 Bug 1159236 - Add a timeout troubleshooting section to RTD 2015-04-28 16:23:17 -04:00
Jonathan French 2d9629f3ca Bug 1159288 - Add clarity to RTD for vagrant ssh access 2015-04-28 14:20:43 -04:00
Jonathan French bac9e98b35 Bug 1155868 - Update RTD that single ingestion is limited to builds4hr 2015-04-22 14:28:33 -04:00
Jonathan French 02033761cc Bug 1156420 - Update vagrant troubleshooting during installation 2015-04-21 10:55:53 -04:00
Ed Morley 8478629ef4 Bug 1056877 - Update links & puppet/Vagrant config for new repo name
The 'treeherder-service' repo has been renamed to 'treeherder', ready
for when the treeherder-ui repo is imported into it. This means the
Github URL, Travis URL and directory name when cloned changes. The Read
The Docs URL cannot be changed, so for now we will leave as-is, and in
the future (once service and UI docs combined) we will create a new
project on RTD with name "treeherder".

This updates doc links and puppet/Vagrant configs, but leaves the
stage/prod deploy script alone, since renaming the directories on our
infra is non-trivial. The dev instance will need some TLC since unlike
stage/prod, it does use the puppet scripts in the repo.
2015-04-20 22:00:04 +01:00
Ed Morley e8ad64842d Bug 1140850 - Remove gevent celery worker script from the repo
Since it's unused & we're moving away from gevent.
2015-04-13 17:12:44 +01:00
William Lachance 56b3351198 Update grunt steps 2015-03-27 11:15:55 -04:00
Jonathan French d10b7a8f8d Bug 1137164 - Add a shebang to setup.py 2015-03-17 11:51:45 -04:00
Ed Morley 34419d9f35 Bug 1139894 - Docs: Add instructions for how to run flake8 2015-03-16 12:16:18 +00:00
Ed Morley 213eb3a6a3 Bug 1139894 - Docs: Move the "Running the tests" section to common tasks
At some point in the future, we may break the "Running the tests"
section out to its own file, but for now "Common Tasks" seems like a
better home than the installation instructions.
2015-03-16 12:16:17 +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
William Lachance 62c9867072 Bug 1142242 - Better help output and docs for run_sql management command 2015-03-12 14:03:24 -04:00
Ed Morley 8718ccc5fd Bug 1059814 - Manual whitespace fixes for pep8 2015-03-03 02:34:38 +00:00
Jonathan French 76c4d64458 Bug 1135117 - Minor tweaks to readthedocs vagrant setup for clarity 2015-02-20 12:04:36 -05:00
Ed Morley d2f06b4e31 Bug 1060312 - Docs: Clean up the treeherder-ui installation instructions 2015-02-18 18:46:24 +00:00
deshraj ee7b795ff0 Bug 1134199: add instructions for installing nfs 2015-02-18 20:24:37 +05:30
Ed Morley f5c0b53e0c Bug 1059814 - Whitespace pep8 fixes
Generated using:
autopep8 --in-place --recursive .

Before:
$ pep8 | wc -l
1686

After:
$ pep8 | wc -l
57

A later autopep8 run will be performed using --aggressive, which makes
non-whitespace changes too.
2015-02-15 14:52:31 +00:00
Ed Morley fc88dcf73d Bug 1125530 - Remove the TREEHERDER_DATABASE_PORT pref
We only pass it in some cases, so setting it to anything other than the
default will break all the places where we don't use it. Django doesn't
require it is set, since it will fall back to the default port for that
engine type anyway.
2015-02-14 21:38:26 +00:00
Ed Morley 766c256c56 Bug 1091750 - Docs: Use correct inline code markup 2015-02-05 01:45:40 +00:00
Ed Morley da6518dd33 Bug 1091750 - Docs: Provide more py.test examples & list useful options 2015-02-05 01:40:40 +00:00
Ed Morley a42a7d09ef Bug 1088216 - docs: make the installation instructions easier to follow
* Separates out the steps required for running the tests, from those for
  setting up a local instance.
* The running ingestion tasks step now explains what they are, that the
  API server must be running already, and how to ingest just a single
  revision for testing.
* The log parser compile step is moved inline, so it's harder to forget.
2015-01-29 14:32:50 +00:00
mdoglio 18bf5bf5fd Bug 1112554 - set thServiceDomain to current host 2014-12-17 16:41:40 +00:00
Jonathan French dbb4d11e09 Bug 1090689 - Add MPL2.0 headers to the repo 2014-11-03 13:06:03 -05:00
Jonathan French c93f507e81 Bug 1090689 - Add MPL2.0 headers to the repo 2014-10-31 14:31:25 -04:00
Ed Morley 3b1a374149 Bug 1088556 - Use correct code-block lexer alias to fix Sphinx warning
This fixes:
docs/deployment.rst:: WARNING: Pygments lexer name u'INI' is not known
2014-10-24 09:36:05 +01:00
mdoglio d60b5ce3cf Bug 1087913 - Update celery instructions on RTD after bug 1016117 2014-10-24 08:39:05 +01:00
Jonathan French 4bb25b38ce Bug 1085455 - Update the docs Title to be consistent with treeherder-ui 2014-10-20 13:00:54 -04:00
AutomatedTester 0ebe134730 Bug 1064498: Update installation document to have subtitles for easier reading 2014-09-08 21:18:09 +01:00
Ed Morley 7a9a1c7010 Bug 1058676 - docs: Remove dependency on unused sphinxcontrib-httpdomain 2014-08-27 12:33:02 +01:00
Ed Morley 0b87b9e55b Bug 1032907 - Update to a newer version of Sphinx, to match treeherder-service 2014-08-26 17:18:30 +01:00
Ed Morley 6b6ee9c5e6 Bug 1058600 - Update sphinx build using output from newer sphinx-quickstart; r=mdoglio 2014-08-26 15:06:02 +01:00
Ed Morley 94c0d9aeb7 Bug 1058600 - Update sphinx build using output from newer sphinx-quickstart; r=mdoglio 2014-08-26 14:57:39 +01:00
Ed Morley ecfe1f6d25 Bug 1045090 - Fix docs to reflect dependency on ui repo in default configuration; r=mdoglio 2014-08-21 16:00:04 +01:00
Ed Morley 6113e32668 Bug 1056830 - docs: Link to Vagrant homepage rather than legacy downloads page 2014-08-21 15:07:31 +01:00
Cameron Dawson 910f3b8e29 use ``cacheResponseAndETAG`` instead of just cache 2014-08-11 11:58:21 -07:00
Mauro Doglio 1c23e0a0cf Update list_of_services.rst 2014-05-15 16:03:25 +02:00
Jonathan Eads 69e7dfaed5 added build instructions 2014-04-25 09:04:06 -07:00
Jonathan Eads 3e46386d05 fixed docs 2014-04-24 18:49:09 -07:00
Jonathan Eads c979d1f19e fixed docs 2014-04-24 18:44:53 -07:00
Jonathan Eads faa00f99cd fixed docs 2014-04-24 18:42:31 -07:00
Jonathan Eads 55e9eb466b fixed docs 2014-04-24 18:39:22 -07:00
Jonathan Eads bbedf98720 updated docs 2014-04-24 18:34:08 -07:00
Mauro Doglio 2eee2613a7 Update deployment.rst 2014-04-19 00:23:38 +01:00
Jonathan Eads 79fecd48be fixed indent 2014-04-18 16:08:50 -07:00
Mauro Doglio 495ebffdc3 Update troubleshooting.rst 2014-03-05 19:26:54 +01:00
mdoglio 5d31e638ef add more docs for common tasks and troubleshooting 2014-03-05 16:05:18 +01:00
mdoglio 5c1978bb90 add docs page for services architecture and troubleshooting 2014-03-04 19:23:03 +01:00
mdoglio 278e5b02af add ui integration to Vagrantifile and docs 2014-02-20 14:50:43 +01:00
Jonathan Eads d8f3ae575f added oauth credential export to installation docs 2014-01-31 18:28:32 -08:00
Jonathan Eads 50b67b86e4 updated manage.py commands 2014-01-10 13:31:08 -08:00
mdoglio 320bdd3be6 add some docuentation for deployment and fix a few bugs in the vagrant
setup
2014-01-07 16:44:24 +00:00
Mauro Doglio 0eda7ea205 Update installation.rst
Adds a couple of installation steps to:
init datasources
modify /etc/hosts
build the c extensions
2013-12-17 14:05:58 +00:00
mdoglio b9eb464176 improve usability of the vagrant dev environment 2013-11-29 13:15:12 +00:00
Cameron Dawson eac294da77 add filter for ``exclude_empty`` for result set list 2013-10-02 15:24:44 -07:00
Cameron Dawson 39ab0d78a7 requirements for building docs 2013-09-18 11:08:18 -07:00
Cameron Dawson 1fce94b343 Plugin architecture working and documented 2013-09-17 14:55:44 -07:00
mdoglio 2d8ca8f6a6 fix bad english in docs 2013-07-25 18:28:11 +01:00
mdoglio 781152195d fix typos in the documentation 2013-07-25 18:10:39 +01:00
mdoglio a3fbd7b405 add some documentation to setup periodic tasks 2013-07-24 15:15:50 +01:00
Ed Morley 44992b68b5 Fix formatting on installation instructions page 2013-07-17 18:38:13 +01:00
Ed Morley 3cab503e2d Bring installation instructions up to date 2013-07-09 17:35:19 +01:00
mdoglio bad6a30d25 fix conflict in docs 2013-07-01 14:56:05 +02:00
Ed Morley 1463651e46 Document the use of django runserver 2013-06-29 14:36:53 +01:00
mdoglio 1f7002df4f add (short) documentation on celery worker 2013-05-13 20:07:24 +02:00
mdoglio fe1c449459 add sphinx docs setup 2013-03-12 13:17:52 +00:00