Collect Version Histories For Vendor Products
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

179 lines
3.4 KiB

6 years ago
---
output: rmarkdown::github_document
editor_options:
chunk_output_type: console
6 years ago
---
5 years ago
```{r include=FALSE}
knitr::opts_chunk$set(
message = FALSE,
warning = FALSE,
fig.retina = 2
)
options(width=120)
```
6 years ago
# 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:
5 years ago
- `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
5 years ago
- `etcd_version_history`: Retrieve etcd Version Release History
- `google_chrome_version_history`: Retrieve Google Chrome Version Release History
5 years ago
- `isc_bind_version_history` : Retrieve ISC BIND Version Release History
5 years ago
- `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
5 years ago
- `php_version_history`: Retrieve PHP Version Release History
5 years ago
- `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
6 years ago
Utility:
5 years ago
- `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
6 years ago
## Installation
```{r eval=FALSE}
5 years ago
devtools::install_git("https://git.sr.ht/~hrbrmstr/vershist")
# OR
devtools::install_gitlab("hrbrmstr/vershist")
# OR
6 years ago
devtools::install_github("hrbrmstr/vershist")
```
## Usage
5 years ago
```{r}
6 years ago
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)
```
6 years ago
Apache
6 years ago
```{r apache, cache=TRUE}
6 years ago
apache_httpd_version_history()
```
Apple iOS
```{r apple_ios, cache=TRUE}
apple_ios_version_history()
```
etcd iOS
```{r etcd, cache=TRUE}
etcd_version_history()
```
6 years ago
Google Chrome
```{r chrome, cache=TRUE}
google_chrome_version_history()
```
5 years ago
ISC BIND
```{r isc-bind, cache=TRUE}
isc_bind_version_history()
```
6 years ago
lighttpd
6 years ago
```{r lighttpd, cache=TRUE}
6 years ago
lighttpd_version_history()
```
6 years ago
memcached
```{r memcached, cache=TRUE}
memcached_version_history()
```
6 years ago
mongodb
6 years ago
```{r mongodb, cache=TRUE}
6 years ago
mongodb_version_history()
```
6 years ago
MySQL
```{r mysql, cache=TRUE}
mysql_version_history()
```
6 years ago
nginx
6 years ago
```{r nginx, cache=TRUE}
6 years ago
nginx_version_history()
```
6 years ago
openresty
6 years ago
```{r openresty, cache=TRUE}
6 years ago
openresty_version_history()
```
6 years ago
OpenSSH
```{r openssh, cache=TRUE}
openssh_version_history()
```
5 years ago
PHP
```{r php, cache=TRUE}
php_version_history()
```
6 years ago
SQLite
```{r sqlite, cache=TRUE}
sqlite_version_history()
```
6 years ago
sendmail
6 years ago
```{r sendmail, cache=TRUE}
6 years ago
sendmail_version_history()
```
6 years ago
Tomcat
```{r tomcat, cache=TRUE}
tomcat_version_history()
```