Age | Commit message (Collapse) | Author |
|
The import script had not been updated to work properly with Django 1.8;
in particular the transaction handling code needed some adaptation. The
script will also now return an exit code of 1 on error instead of always
returning 0.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Update stated versions to those used during recent testing.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
We shouldn't be referring to the commit object here. We already grabbed
the hexsha value into b.vcs_rev earlier so just use that here instead.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Also necessitated updating to jQuery 1.12.3.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
We'd already prepared the way when upgrading to 1.6 so almost nothing
needed doing. Also tweak the README at the same time.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
django.conf.urls.defaults was removed in 1.6.
Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
|
|
setup_environ is depreciated in 1.5. This is the recommended
way of importing settings in 1.6 (NOTE: This is different in 1.7)
Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
|
|
Some explaination on why this is done is here:
http://stackoverflow.com/questions/19985103/django-1-6-and-django-registration-built-in-authentication-views-not-picked-up
Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
|
|
{% url myview %} becomes {% url "myview" %} The old style tags
were depreciated in 1.5 and if not corrected will throw:
"Error: 'url' requires a non-empty first argument.
The syntax changed in Django 1.5, see the docs."
Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
|
|
Django 1.6.x no longer supports execute_manager which was
deprecated in Django 1.4 and removed in 1.6 per the depreciation
timeline:
https://docs.djangoproject.com/en/1.4/internals/deprecation/#id3
Updated to a more recent manage.py
Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
There's really no need to iterate over all of the buildhistory commits,
we just want the difference from the last build.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Record the last revision against the build so that we can use it next
time rather than requiring it to be specified on the import command
line.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Support branches in the buildhistory repository. If the branch is
specified at import time, check out that branch before proceeding. Also
record the branch against the build.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Record a build every time the tool is run.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
This is needed with the navbar in current versions of Bootstrap.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
* Use title_append instead of title
* Add scripts block
* Add missing closing body tag and remove body tags from other templates
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
This is the recommended best practice.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Update from layerindex-web.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
This should allow the templates to be found and swapped out more easily.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
This is needed for the registration system
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
This should be set when the application is deployed, not set to some
default value out of the box.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
If using sqlite3, the full path should be specified, otherwise if the
import script or possibly other scripts are run from another directory
they won't find the correct database file.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Ensure we get redirected to the default URL for the main page of the
application.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
This allows the application to be installed in a directory with any name
rather than forcing it to be called "warningmanager".
Fixes [YOCTO #3412].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
The original code here was copy/pasted from buildhistory-diff and
assumed that the directory where the python script is located was within
the metadata. Change it to use the specified path to find the metadata,
and look in BITBAKEDIR, the specified metadata directory or its parent
to find BitBake.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Explain how to set up the database and test the web application.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|