Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b9c6954
Docker image for testing ssh
richfitz May 1, 2018
4f8570f
Add basic test infrastructure
richfitz May 1, 2018
ccaa05d
Basic support for creating/removing sshd server
richfitz May 1, 2018
cc4c7a4
Add helper for making connection
richfitz May 1, 2018
bf46bb8
Store keys within sshd path
richfitz May 1, 2018
bf9ddfb
Basic ssh file ops implemented
richfitz May 2, 2018
d5b9757
Vectorised exists/delete and report exists on delete
richfitz May 3, 2018
8bc3e5b
Human-readable ops type
richfitz May 3, 2018
8af8cd2
Tidy up the ssh ops
richfitz May 3, 2018
39b3ebf
Make key finding more robust in test
richfitz May 3, 2018
2932ad6
Add generalised remote storr driver
richfitz May 3, 2018
19a3ddc
Full rds configuration support
richfitz May 3, 2018
3c41d30
Big simplification based on storr update
richfitz May 3, 2018
b3da3f2
Tweaks for changes to storr
richfitz May 3, 2018
d73c961
Expand testing
richfitz May 3, 2018
d824c98
Tests for assertions
richfitz May 3, 2018
72e93b0
Minimal roxygen
richfitz May 3, 2018
3f7e6f0
Untested port of the s3 driver
richfitz May 3, 2018
fab9f3f
Disable root login
richfitz May 3, 2018
acc3af0
Don't start ssh server if ssh package not found
richfitz May 3, 2018
d2d31cd
Docs for running tests
richfitz May 3, 2018
6b25452
Update to use dest_dir not dest for download_file
richfitz May 3, 2018
4761f46
Add travis (just on my fork for now)
richfitz May 3, 2018
fa2923f
Update storr reference
richfitz May 3, 2018
60f7bbd
Add default_argument documentation
richfitz May 3, 2018
dc0a7ba
Add a licence
richfitz May 3, 2018
f1b8543
Fix typo
richfitz May 3, 2018
50f7ba0
Enable tests on travis
richfitz May 3, 2018
8058f65
More QA tweaks
richfitz May 3, 2018
1aec88c
Everything on cran now
richfitz Jun 12, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.travis\.yml$
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: r
cache: packages

# Departure from usual setup because we need docker for testing
sudo: true
service: docker

# Make tests more reliable by getting this up early
before_script:
- docker pull sickp/alpine-sshd:latest
- docker build tests/testthat/sshd

env:
- STORR_REMOTE_USE_SSHD=true

# Not 'addon' based because we're on sudo infrastructure
apt_packages:
- libssh-dev

# Test coverage
r_packages:
- covr
after_success:
- Rscript -e 'covr::codecov()'
7 changes: 5 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ Description: This package provides remote back ends to the wonderful storr
key/val package. Right now AWS S3 is implemented, but we hope it will be
easy for others to contribute other backends.
Depends: R (>= 3.1.0)
License: What license is it under?
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Imports:
storr (>= 1.2.0)
Suggests:
aws.s3,
storr
ssh,
testthat
RoxygenNote: 6.0.1
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
YEAR: 2018
COPYRIGHT HOLDER: Ben Gready
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this and the license. It's something I've basically not thought of much before. If it's acceptable to add more than one person, happy for you to be on here as well.

5 changes: 4 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Generated by roxygen2: do not edit by hand

export(storr_rds_s3)
export(driver_s3)
export(driver_ssh)
export(storr_s3)
export(storr_ssh)
303 changes: 0 additions & 303 deletions R/driver_rds_s3.R

This file was deleted.

Loading