Quellcode durchsuchen

Added notes on inheritance

Alois Mahdal (@azzgoat) vor 11 Jahren
Ursprung
Commit
322c3ddd5a
1 geänderte Dateien mit 39 neuen und 0 gelöschten Zeilen
  1. 39
    0
      notes/inheritance.md

+ 39
- 0
notes/inheritance.md Datei anzeigen

@@ -0,0 +1,39 @@
1
+INHERITANCE
2
+===========
3
+
4
+Based on organization properties like Groups or Tags (TBD), an inheritance of
5
+other properties is desirable.
6
+
7
+First idea of implementation is a set of configuration files, where each defines
8
+header contents for certain group.  These items are then inherited to 
9
+
10
+
11
+Quick example
12
+-------------
13
+
14
+`etc/projects/headers.conf:`
15
+
16
+    Project: printer_driver
17
+    Manufacturer: hp, brother
18
+    Proto: lpt, usb, smb, lpr
19
+
20
+Then each STT with `Project: printer_driver` would be automatically appended
21
+above headers.
22
+
23
+
24
+TODO
25
+----
26
+
27
+*   help avoid conflict
28
+
29
+    *   override?
30
+
31
+    *   append?
32
+
33
+    *   exclude?
34
+
35
+    *   duplication: organization by folder structure vs. by groups?
36
+
37
+*   define groups
38
+
39
+*   inheritance on folders?