devel:blueprints:unified_source
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
devel:blueprints:unified_source [2009/07/16 12:52] – created klette | devel:blueprints:unified_source [2010/07/18 15:18] (current) – add link back to the lp blueprint morten | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[https:// | ||
===== Unified Source layout ===== | ===== Unified Source layout ===== | ||
Line 60: | Line 61: | ||
==== New source layout proposal ==== | ==== New source layout proposal ==== | ||
- | The new layout is based upon how most django based projects are organized. | + | The proposed |
< | < | ||
Line 67: | Line 68: | ||
| |-- system1.py | | |-- system1.py | ||
| `-- system2.py | | `-- system2.py | ||
- | |-- conf | + | |-- etc |
| |-- nav.conf | | |-- nav.conf | ||
| |-- system1.conf | | |-- system1.conf | ||
| `-- system2.conf | | `-- system2.conf | ||
|-- doc | |-- doc | ||
- | | | + | | |
- | | | + | | |
- | | | + | | |
- | |-- other | + | |-- java |
| `-- java_app1 | | `-- java_app1 | ||
- | |-- source | + | |-- media |
+ | | |-- images | ||
+ | | |-- js | ||
+ | | `-- style | ||
+ | |-- python | ||
| `-- nav | | `-- nav | ||
| |-- __init__.py | | |-- __init__.py | ||
Line 87: | Line 92: | ||
| | | | ||
| `-- system4 | | `-- system4 | ||
- | | | `-- __init__.py | + | | |
|-- sql | |-- sql | ||
| |-- nav-3.5.sql | | |-- nav-3.5.sql | ||
Line 104: | Line 109: | ||
</ | </ | ||
- | * The '' | + | * The '' |
- | * The '' | + | * The '' |
- | * The '' | + | * The '' |
- | * The '' | + | * The '' |
- | * The '' | + | * The '' |
- | * The '' | + | * The '' |
- | * The '' | + | * The '' |
+ | * The '' | ||
This allows us to easily reach all other systems in nav without touching the system-wide installed files. Tests can be neatly organized and run on the development code | This allows us to easily reach all other systems in nav without touching the system-wide installed files. Tests can be neatly organized and run on the development code | ||
Line 117: | Line 123: | ||
This change does require quite some work though. All Makefiles must be changed, and systems dependand on relative paths to their configfile must be updated. | This change does require quite some work though. All Makefiles must be changed, and systems dependand on relative paths to their configfile must be updated. | ||
I do think it will be worth the job in the long run though. | I do think it will be worth the job in the long run though. | ||
- | |||
- |
devel/blueprints/unified_source.1247748733.txt.gz · Last modified: by klette