/
README
executable file
·67 lines (51 loc) · 2.28 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Who said "temporary (bash) scripts"? Not me.
Versions
````````
0_alpha0: what i and kore cracked wep keys with
0_alpha1: new extension: vcs.sh
0.1_alpha0: new extension: vps.sh all functions and variablesprefixed with vps_
wifi.sh: bugfix, added reload function, stable.
vcs.sh: regenerate $tag on load, stable.
0.1_alpha1: vps.sh: tested/fixed vps stuff except ssh
0.1_alpha2: vps.sh: vps_ssh works
0.1_alpha3: vps.sh: portage shortcuts
0.1_beta0: vps.sh: everything seems to work, freezing vps_ api
0.2_alpha0: bootstrap script
0.2_alpha1: configuration module (part that was decoupled) with a simple demonstration break module
0.2_alpha2: os management module basics
0.2_alpha3: simple demonstration volume control module
0.2_alpha4: simple demonstration music module
0.2_alpha5: convenient interactive module configuration UI: conf_module()
0.3_alpha0: major refactor
0.4_alpha0: "remove 50% of code" refactor
0.4_alpha1: Test break
0.4_alpha2: Test conf
0.4_alpha3: Test hack
0.4_alpha4: Test mpd
0.4_alpha5: Test os
0.4_alpha6: Test todo
0.4_alpha7: Test tpl
0.4_alpha8: Test vcs
0.4_alpha9: Test vps
Roadmap
```````
Skipping directly to 0.2 without 0.1 release.
The 0.2 version aims toward modularity, ease of initial development and refactoring, even more documented API with bashdoc, and lots of fun playing around with bash with the help of #bash@irc.freenode.net.
The 0.3 version aims toward a better module layout:
- functions go in yourmodule/functions.sh
- tiein functions like if yourmodule uses conf then it goes in yourmodule/conf.sh
- yourmodule/source.sh should only define runtime critical stuff ie. variables, init() start() stop() etc ..
The 0.4 version aims toward a better design:
- conf does not do any magic and is driven by yourmodule/conf.sh submodule,
- jpic does less magic and just takes cares of sourcing, initializing and blacklisting modules,
- jpic is renamed to "module" and most functions are renamed for better consistency,
Bootstrap script
````````````````
The bootstrap script "jpic.sh" will initiate any avalaible modules, refer to API documentation for more information.
Credit
``````
#bash@irc.freenode.net: very very nice and knowledgeable users...
All Open Source hackers. Thanks a bunch for your involvement!
Author
``````
James Pic <jamespic@gmail.com>