Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a Vagrantfile for easier collaboration #193

Merged
merged 6 commits into from
Aug 10, 2018
Merged

Added a Vagrantfile for easier collaboration #193

merged 6 commits into from
Aug 10, 2018

Conversation

jdbohrman
Copy link
Contributor

Hello, I've tested the build and it's passing on my system so I hope this helps with faster collaboration.

@jdbohrman jdbohrman changed the base branch from master to development July 31, 2018 21:48
Copy link
Owner

@ljvmiranda921 ljvmiranda921 left a comment

Choose a reason for hiding this comment

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

Hi @jdbohrman !

Welcome to PySwarms! Adding a Vagrantfile looks interesting, and it coincides with our aim to make the project easier to contribute/collaborate to. I'd love to have this on the project! (Although I think I still need to read up on this technology.)

Currently, we're preparing a v.0.3.0 release (#180) on August 10 and we decided to do a feature-lock (except bug-fixes, patches, and doc updates) for the next release.

We can set this feature on the v.0.4.0 pipeline (and to also buy me time to read-up on this tech).

Although there are some questions I have on-the-fly:

  • There seems to be an RSA private key. Who currently owns the key? Will this affect development of other devs? Is it possible to have a project-specific key than a user-specific key?
  • Some paths were hardcoded, I'll bump them in the comments below. Are they really necessary?

My guess is that we only need the Vagrantfile, provisioner.sh, and the updated README. All other files and configs inside .vagrant/ should be declared in the .gitignore.

Agian, thank you so much for this configuration and we're looking forward to working with you!

@@ -0,0 +1 @@
/home/jdbohrman/Documents/pyswarms
Copy link
Owner

Choose a reason for hiding this comment

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

I'm wondering if the hardcoded paths are necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey @ljvmiranda921 great to be here! Here's the info I found on it. The documentation is slim but it appears that is the default insecure private key that Vagrant ships with. Here's a couple links:

https://www.vagrantup.com/docs/vagrantfile/ssh_settings.html
hashicorp/vagrant#8058

Also, I'm fairly sure you're absolutely correct, as running vagrant up would provision the config files and others.

@@ -0,0 +1 @@
{"virtualbox":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/home/jdbohrman/Documents/pyswarms","disabled":false,"__vagrantfile":true}}}
Copy link
Owner

Choose a reason for hiding this comment

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

I'm wondering if the hardcoded paths are necessary.

@ljvmiranda921 ljvmiranda921 added the enhancement Feature requests label Aug 1, 2018
@ljvmiranda921 ljvmiranda921 self-assigned this Aug 1, 2018
@ljvmiranda921
Copy link
Owner

ljvmiranda921 commented Aug 4, 2018

LGTM! Thanks for this @jdbohrman ! We appreciate your contribution, adding a Vagrantfile can indeed improve collaboration into our project. We're also looking into adding a Docker option aside from Vagrant or pure virtualenvs + requirements.txt and thankfully this PR is a step into the right direction.

I will merge this soon after we do the v.0.3.0 release on Friday.

@ljvmiranda921 ljvmiranda921 merged commit b8602e3 into ljvmiranda921:development Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants