-
Notifications
You must be signed in to change notification settings - Fork 21
/
GUIDELINES.TXT
69 lines (46 loc) · 1.62 KB
/
GUIDELINES.TXT
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
68
69
GUIDELINES.TXT: Defines the development guidelines of this repository.
Filenames Guidelines
=====================
Contrib File Format:
--------------------
installer-contrib-{+name}-{+version}-{+repoType}-{appserver}-{appserver_version}-{database}-{database_version}-{appRuntime}-{appRuntime_version}-{other}.conf
Example:
installer-contrib-lemp-nginx-osrepo-mysqlserver-5.7-php-7.2-phpfpm.conf
Apps File Format:
-----------------
{+name}-{+version}-{+repoType}-{appserver}-{appserver_version}-{database}-{database_version}-{appRuntime}-{appRuntime_version}
Example:
openvpn-2.6-offisrc
phpmyadmin-4.1.6-localsrc
phpmyadmin-latest-offisrc
magento-2.3.0-offirepo-nginx-mysqlserver-5.7-php-7.2
Service File Format:
--------------------
{+name}-{+version}-{+repoType}
Example:
mongodb-3.2-offirepo
docker-latest-offirepo
docker-1.3-offirepo
pureftpd-latest-osrepo
Variables Explained:
----------------------
+:
must be included variable
name:
Official name of the service, no dash
version:
{specific version number} (example: 1.2, 3.2, 3.23-3, etc.)
latest
repoType:
osrepo - Operating System built-in repository
offirepo - Officeial Vendor repository
offisrc - Official Vendor source
offibin - Official Binary
localsrc - Local file uploaded to this repository
Development Guidelines
======================
- Use only curl to download files (do not use wget).
- Scripts ends with an exit code based on the success or failure of the script.
- Scripts must includes the startup.sh file.
- Make sure you add dependencies tags and tagging at the end of the script for depedencies.
- System envrionment varialbes are always CAPITAL LETTERS.