Merge lp:~milo/linaro-ci-dashboard/hacking-file into lp:linaro-ci-dashboard

Proposed by Milo Casagrande
Status: Merged
Approved by: Stevan Radaković
Approved revision: 27
Merged at revision: 27
Proposed branch: lp:~milo/linaro-ci-dashboard/hacking-file
Merge into: lp:linaro-ci-dashboard
Diff against target: 54 lines (+50/-0)
1 file modified
HACKING (+50/-0)
To merge this branch: bzr merge lp:~milo/linaro-ci-dashboard/hacking-file
Reviewer Review Type Date Requested Status
Stevan Radaković Approve
Review via email: mp+121136@code.launchpad.net

Description of the change

Fairly simple merge, just adding the HACKING file as discussed some days ago on IRC, with some details on the directory/apps layout of the project.

At this stage is very simple, ideas on what to add are welcome.

To post a comment you must log in.
Revision history for this message
Stevan Radaković (stevanr) wrote :

Good hacking file.
Approve +1.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'HACKING'
--- HACKING 1970-01-01 00:00:00 +0000
+++ HACKING 2012-08-24 09:01:20 +0000
@@ -0,0 +1,50 @@
1= Directory Layout =
2
3At the moment, the directory layout for `lianro-ci-dashboard' is as follows:
4
5dashboard/
6 |
7 +--- frontend/
8 | |
9 | +--- integration_loop/
10 | |
11 | + tests/
12 | + ...
13 | +--- android_build/
14 | +--- kernel_build/
15 | |
16 | + models/
17 | + templates/
18 | + tests/
19 |
20 +--- jenkinsserver/
21 |
22 + settings.py
23 + urls.py
24 |
25 +--- lib/
26
27(the above schema is not a complete representation of the structure)
28
29There are two main applications: `frontend' and `jenkinsserver'.
30
31All the loops are, in Django terms, sub-applications of `frontend', also
32declared as such in the `dashboard/settings.py' file.
33
34Base templates for the loops are stored in `frontend/templates/', base models in
35`frontend/models'.
36
37`lib/' contains libraries useful throughout all the project.
38
39= Creating a New Loop =
40
41A new loop model should inherit the base `Loop' model as defined in
42`frontend/models/loop.py'.
43
44For the templates, the base ones defined in `frontend/templates/' should be used
45and extended.
46
47Specific URLs definition should be included in the base `urls.py' file, under
48`dashboard/'.
49
50Tests should be written and defined inside each sub-application.

Subscribers

People subscribed via source and target branches