-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We need to include BuildEnvironment and objects alongside a Spec build, and we need it to be possible to build the same spec in different environments and have different ids/rows in the table. This is start of work to do that, and also clean up some of the API namespace. I next need to go into spack and refactor for this structure, and figure out how to get a list of object files after a build to (eventually) parse and send to the spack monitor Signed-off-by: vsoch <vsoch@users.noreply.github.com>
- Loading branch information
Showing
20 changed files
with
266 additions
and
204 deletions.
There are no files selected for viewing
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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.. _development-tables: | ||
|
||
====== | ||
Tables | ||
====== | ||
|
||
The table design is represented in the models.py file of each app. | ||
Once you have the application running, you can generate a graph as follows: | ||
|
||
.. code-block:: console | ||
$ python manage.py graph_models main -o tables.png | ||
Or from the outside of the container: | ||
|
||
.. code-block:: console | ||
$ docker exec -it spack-monitor_uwsgi_1 python manage.py graph_models main -o tables.png | ||
$ mv tables.png docs/development/img/ | ||
The output looks like this: | ||
|
||
.. image:: img/tables.png |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
from .auth import GetAuthToken | ||
from .base import ServiceInfo | ||
from .specs import NewSpec | ||
from .tasks import UpdateTaskStatus, UpdatePhaseStatus | ||
from .packages import UpdatePackageMetadata | ||
from .specs import NewSpec, UpdateSpecMetadata | ||
from .builds import UpdateBuildStatus, UpdatePhaseStatus |
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
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
This file was deleted.
Oops, something went wrong.
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from __future__ import unicode_literals | ||
|
||
from django.apps import AppConfig | ||
|
||
|
||
class BaseConfig(AppConfig): | ||
name = "base" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
User-agent: * | ||
Disallow: / |
Oops, something went wrong.