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

Devs contribute #10

Merged
merged 13 commits into from
Jun 28, 2017
Merged

Devs contribute #10

merged 13 commits into from
Jun 28, 2017

Conversation

francozappa
Copy link
Collaborator

@francozappa francozappa commented Jun 22, 2017

Checks:

  • User installation commands
  • Developer installation commands
  • Clear how to test/modify/add a new Protocol or State

@aporan
Copy link
Collaborator

aporan commented Jun 27, 2017

Current Read The Docs

  • Missing Info for installing rednose (pip install rednose)
  • Missing info for installing pymodbus (pip install -U pymodbus)

User Installation

  • missing python-pip installation info
  • not sure how to test
  • If i clone minicps repo, nosetests and python-networkx is required to be installed

Dev Installation

  • missing python-pip installation info
  • nosetest command not found // installed python-nose
  • no module networkx // installed python-networkx

@francozappa
Copy link
Collaborator Author

francozappa commented Jun 27, 2017

Hi @remmihsorp,

In general I think that we do not have to provide instructions about pip installation.

  • test user installation with requirements.txt
  • test dev installation with requirements-dev.txt

Thanks a lot for the review.

@aporan
Copy link
Collaborator

aporan commented Jun 28, 2017

Hi @francozappa,

minicps user

  • downloading example and running sudo python run.py fails with missing nose. (which is correct i think).
  • pip install -r requirements.txt runs examples/swat-s1 successfully (loads mininet).
  • perhaps a simple command to run inside mininet maybe given to ensure that the system works.

minicps dev

  • requirements-dev.txt installs almost everything apart from nose for some reason. Screenshot below.
  • so make tests fails // installed python-nose (maybe the package name has changed?, I am not sure.)

minicps-dev

Protocol Wording

  • Under Protocols > If you want to add a new protocol please look at the minicps/protocols.py module. Protocol is the base class, and the [NewProtocolName]Protocol(Protocol) // added [] around class name
  • Under Testing > Please if you find any inconsistent unit test or decomposable unit test or you want to add a new one. // something's missing. Maybe a pull request statement.

Thank you!

@francozappa
Copy link
Collaborator Author

francozappa commented Jun 28, 2017

  • Re-test 1.1.3 nose deps
  • Add note about nosetests in the user and root PATH
  • Add release 1.1.3

Copy link
Collaborator

@aporan aporan left a comment

Choose a reason for hiding this comment

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

🚢

@francozappa francozappa merged commit cad09f7 into master Jun 28, 2017
@francozappa francozappa deleted the devs-contribute branch June 28, 2017 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants