vagrant-scp-sync 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,39 @@
1
+ # Description
2
+
3
+ Please include a summary of the vagrant-scp-syncs and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this vagrant-scp-sync.
4
+
5
+ Fixes # (issue)
6
+
7
+ ## Type of vagrant-scp-sync
8
+
9
+ Please delete options that are not relevant.
10
+
11
+ - [ ] Bug fix (non-breaking vagrant-scp-sync which fixes an issue)
12
+ - [ ] New feature (non-breaking vagrant-scp-sync which adds functionality)
13
+ - [ ] Breaking vagrant-scp-sync (fix or feature that would cause existing functionality to not work as expected)
14
+ - [ ] This vagrant-scp-sync requires a documentation update
15
+
16
+ # How Has This Been Tested?
17
+
18
+ Please describe the tests that you ran to verify your vagrant-scp-syncs. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
19
+
20
+ - [ ] Test A
21
+ - [ ] Test B
22
+
23
+ **Test Configuration**:
24
+ * Firmware version:
25
+ * Hardware:
26
+ * Toolchain:
27
+ * SDK:
28
+
29
+ # Checklist:
30
+
31
+ - [ ] My code follows the style guidelines of this project
32
+ - [ ] I have performed a self-review of my code
33
+ - [ ] I have commented my code, particularly in hard-to-understand areas
34
+ - [ ] I have made corresponding vagrant-scp-syncs to the documentation
35
+ - [ ] My vagrant-scp-syncs generate no new warnings
36
+ - [ ] I have added tests that prove my fix is effective or that my feature works
37
+ - [ ] New and existing unit tests pass locally with my vagrant-scp-syncs
38
+ - [ ] Any dependent vagrant-scp-syncs have been merged and published in downstream modules
39
+
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Vagrant::ScpSync
2
+
3
+ Copy files to a Vagrant guest via SCP.
4
+
5
+ ## Installation
6
+
7
+ You need to install the plugin, like so
8
+
9
+ vagrant plugin install vagrant-scp
10
+
11
+ ## Usage
12
+
13
+ If you have just a single Vagrant guest, you can copy files over like this:
14
+
15
+ vagrant scp <some_local_file_or_dir> <somewhere_on_the_vm>
16
+
17
+ If you have multiple VMs, you can specify it.
18
+
19
+ vagrant scp <some_local_file_or_dir> [vm_name]:<somewhere_on_the_vm>
20
+
21
+ Copying files out of the guest works in the same fashion
22
+
23
+ vagrant scp [vm_name]:<somewhere_on_the_vm> <some_local_file_or_dir>
24
+
25
+ If source is a directory it will be copied recursively.
26
+
27
+
28
+ ## Examples
29
+
30
+ If you have just one guest, you can copy files to it like this:
31
+
32
+ vagrant scp file_on_host.txt :file_on_vm.txt
33
+
34
+ And from the guest like this:
35
+
36
+ vagrant scp :file_on_vm.txt file_on_host.txt
37
+
38
+ ## Vagrant version
39
+ We require Vagrant v1.7 or newer. If you are running older version (check with `vagrant --version`), install recent version directly from [vendor site](https://www.vagrantup.com/).
data/RELEASE.md ADDED
@@ -0,0 +1,22 @@
1
+ # Release process
2
+
3
+ This is vagrant-vagrant-scp-sync' current release process, documented so people know what is
4
+ currently done to release it.
5
+
6
+ ## Prepare the release
7
+
8
+ Github Actions now handles the release cycle. We are using SemVer Verision and Convential Commits to ensure that we can use our Commits in our CI/CD Workflow
9
+
10
+ To push a fix, ie a the Patch digit in Version string, prefix your commit header with "fix: Some Commit Message"
11
+
12
+ To push a feature, ie a the feature digit in Version string, prefix your commit header with "feat: Some Commit Message"
13
+
14
+ Doing so will cause GitHub Actions to perform the following
15
+ * Update the version in "lib/vagrant-vagrant-scp-sync/version.rb"
16
+ * Update the version in CHANGELOG.md
17
+ * Create a Release and Corresponding tag
18
+ * Push the package to the GPR and Ruby Gems
19
+
20
+ The CHANGELOG.md will be automatically maintained in a similar format to Vagrant by the Github Action Release-Please:
21
+
22
+ https://github.com/mitchellh/vagrant/blob/master/CHANGELOG.md
data/Rakefile ADDED
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rubygems'
4
+ require 'bundler/setup'
5
+ require 'rspec/core/rake_task'
6
+ require 'rubocop/rake_task'
7
+
8
+ # Immediately sync all stdout so that tools like buildbot can
9
+ # immediately load in the output.
10
+ $stdout.sync = true
11
+ $stderr.sync = true
12
+
13
+ # Change to the directory of this file.
14
+ Dir.chdir(File.expand_path(__dir__))
15
+
16
+ # This installs the tasks that help with gem creation and
17
+ # publishing.
18
+ Bundler::GemHelper.install_tasks
19
+
20
+ # Install the `spec` task so that we can run tests.
21
+ RSpec::Core::RakeTask.new
22
+
23
+ # Install the `rubocop` task
24
+ RuboCop::RakeTask.new
25
+
26
+ RuboCop::RakeTask.new(:rubocoplayout) do |t|
27
+ t.options = ['--auto-correct --only ']
28
+ end
29
+
30
+ # Default task is to run the unit tests
31
+ task default: %w[rubocop spec]
data/SECURITY.md ADDED
@@ -0,0 +1,16 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ These versions are in active development, prior verisions are not supported.
6
+
7
+ | Version | Supported |
8
+ | ------- | ------------------ |
9
+ | 0.1.0 | :white_check_mark: |
10
+
11
+
12
+ ## Reporting a Vulnerability
13
+
14
+ Please report all vulnerabilites in the Github [Issues](https://github.com/Makr91/vagrant-scp-sync/) for this project.
15
+
16
+ Should a Issue be marked a vulnerability, it will be moved to the highest priorty workflow to resolve.
data/docs/CNAME ADDED
@@ -0,0 +1 @@
1
+ vagrant-scp-sync.startcloud.com
data/docs/_config.yml ADDED
@@ -0,0 +1 @@
1
+ theme: jekyll-theme-midnight
data/docs/css/main.css ADDED
@@ -0,0 +1,55 @@
1
+ body {
2
+ background-image: url("../assets/bg-pattern.png");
3
+ }
4
+
5
+ .container {
6
+ max-width: 1080px;
7
+ }
8
+
9
+ .header {
10
+ background-color: #000000;
11
+ }
12
+
13
+ .logo-big {
14
+ max-width: 500px;
15
+ max-height: 140px;
16
+ }
17
+
18
+ .logo-small {
19
+ max-width: 250px;
20
+ max-height: 75px;
21
+ }
22
+
23
+ .menu-link > a {
24
+ color: #ffffff;
25
+ text-decoration: none;
26
+ }
27
+
28
+ .menu-link > a:hover {
29
+ color: #8ac740;
30
+ text-decoration: none;
31
+ }
32
+
33
+ .mail-link {
34
+ color: #588029;
35
+ text-decoration: none;
36
+ }
37
+
38
+ .mail-link:hover {
39
+ color: #8ac740;
40
+ text-decoration: none;
41
+ }
42
+
43
+ .card {
44
+ padding: 0;
45
+ margin: 16px;
46
+ height: 100%;
47
+ }
48
+
49
+ .footer {
50
+ background-color: #000000;
51
+ }
52
+
53
+ .copyright {
54
+ color: #cccccc;
55
+ }