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.

143 lines
2.7 KiB

6 years ago
---
output: rmarkdown::github_document
editor_options:
chunk_output_type: console
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:
- `apache_httpd_version_history`: Retrieve Apache httpd Version Release History
- `apple_ios_version_history`: Retrieve Apple iOS Version Release History
6 years ago
- `google_chrome_version_history`: Retrieve Google Chrome Version Release History
- `lighttpd_version_history`: Retrieve lighttpd Version Release History
6 years ago
- `memcached_version_history`: Retrieve memcached Version Release History
- `mongodb_version_history`: Retrieve MongoDB Version Release History
6 years ago
- `mysql_version_history`: Retrieve MySQL Version Release History
- `nginx_version_history`: Retrieve nginx Version Release History
6 years ago
- `openresty_version_history`: Retrieve openresty Version Release History
6 years ago
- `openssh_version_history`: Retrieve OpenSSH Version Release History
- `sendmail_version_history`: Retrieve sendmail Version Release History
6 years ago
- `sqlite_version_history`: Retrieve sqlite Version Release History
6 years ago
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
6 years ago
## Installation
```{r eval=FALSE}
devtools::install_github("hrbrmstr/vershist")
```
```{r message=FALSE, warning=FALSE, error=FALSE, include=FALSE}
options(width=120)
```
## Usage
```{r message=FALSE, warning=FALSE, error=FALSE}
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()
```
6 years ago
Google Chrome
```{r chrome, cache=TRUE}
google_chrome_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()
```
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()
```