-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
178 lines (127 loc) Β· 3.44 KB
/
README.Rmd
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
---
output: rmarkdown::github_document
editor_options:
chunk_output_type: console
---
```{r include=FALSE}
knitr::opts_chunk$set(
message = FALSE,
warning = FALSE,
fig.retina = 2
)
options(width=120)
```
# vershist
Collect Version Histories For Vendor Products
## Description
Provides a set of functions to gather version histories of products
(mainly software products) from their sources (generally websites).
## What's Inside The Tin
The following functions are implemented:
Core:
- `apache_httpd_version_history`: Retrieve Apache httpd Version Release History
- `apple_ios_version_history`: Retrieve Apple iOS Version Release History
- `citrix_netscaler_version_history`: Citrix Netscaler ADC Version History
- `etcd_version_history`: Retrieve etcd Version Release History
- `google_chrome_version_history`: Retrieve Google Chrome Version Release History
- `isc_bind_version_history` : Retrieve ISC BIND Version Release History
- `lighttpd_version_history`: Retrieve lighttpd Version Release History
- `memcached_version_history`: Retrieve memcached Version Release History
- `mongodb_version_history`: Retrieve MongoDB Version Release History
- `mysql_version_history`: Retrieve MySQL Version Release History
- `nginx_version_history`: Retrieve nginx Version Release History
- `openresty_version_history`: Retrieve openresty Version Release History
- `openssh_version_history`: Retrieve OpenSSH Version Release History
- `php_version_history`: Retrieve PHP Version Release History
- `sendmail_version_history`: Retrieve sendmail Version Release History
- `sqlite_version_history`: Retrieve sqlite Version Release History
- `tomcat_version_history`: Retrieve Apache Tomcat Version Release History
Utility:
- `is_valid_semver`: Test if semantic version strings are valid
- `complete_semver`: Turn partial "valid" semantic version strings into a complete semver-tri or quad strings
## Installation
```{r eval=FALSE}
devtools::install_git("https://git.sr.ht/~hrbrmstr/vershist")
# OR
devtools::install_gitlab("hrbrmstr/vershist")
# OR
devtools::install_github("hrbrmstr/vershist")
```
## Usage
```{r}
library(vershist)
# current verison
packageVersion("vershist")
```
Utility
```{r utility}
versions <- c("steve", "1", "2.1", "3.2.1", "4.3.2.1")
# Technically, a "valid" semver string is MAJOR.MINOR.PATCH
is_valid_semver(versions)
complete_semver(versions)
complete_semver(versions, quad=TRUE)
```
Apache
```{r apache, cache=TRUE}
apache_httpd_version_history()
```
Apple iOS
```{r apple_ios, cache=TRUE}
apple_ios_version_history()
```
etcd iOS
```{r etcd, cache=TRUE}
etcd_version_history()
```
Google Chrome
```{r chrome, cache=TRUE}
google_chrome_version_history()
```
ISC BIND
```{r isc-bind, cache=TRUE}
isc_bind_version_history()
```
lighttpd
```{r lighttpd, cache=TRUE}
lighttpd_version_history()
```
memcached
```{r memcached, cache=TRUE}
memcached_version_history()
```
mongodb
```{r mongodb, cache=TRUE}
mongodb_version_history()
```
MySQL
```{r mysql, cache=TRUE}
mysql_version_history()
```
nginx
```{r nginx, cache=TRUE}
nginx_version_history()
```
openresty
```{r openresty, cache=TRUE}
openresty_version_history()
```
OpenSSH
```{r openssh, cache=TRUE}
openssh_version_history()
```
PHP
```{r php, cache=TRUE}
php_version_history()
```
SQLite
```{r sqlite, cache=TRUE}
sqlite_version_history()
```
sendmail
```{r sendmail, cache=TRUE}
sendmail_version_history()
```
Tomcat
```{r tomcat, cache=TRUE}
tomcat_version_history()
```