From 07a8b3ab377f4ceb2ad84c82dcdbb0e592a70b4c Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Fri, 24 Feb 2017 18:54:43 -0800 Subject: [PATCH] Dependency package builds have changed; Adjust accordingly (#9) * Also add README.md --- .gitignore | 2 ++ README.md | 43 +++++++++++++++++++++++++++++++++++++++++++ setup.py | 5 +++++ stdeb.cfg | 8 +------- 4 files changed, 51 insertions(+), 7 deletions(-) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..44da624ae244 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +deb_dist/ +*.egg-info/ diff --git a/README.md b/README.md new file mode 100644 index 000000000000..7c7a56679a02 --- /dev/null +++ b/README.md @@ -0,0 +1,43 @@ +# SONiC: Software for Open Networking in the Cloud + +## sonic-utilities + +Command-line utilities for SONiC + + +# Contribution guide + +All contributors must sign a contribution license agreement before contributions can be accepted. Contact kasubra@microsoft.com or daloher@microsoft.com. Later this will be automated. + +### GitHub Workflow + +We're following basic GitHub Flow. If you have no idea what we're talking about, check out [GitHub's official guide](https://guides.github.com/introduction/flow/). Note that merge is only performed by the repository maintainer. + +Guide for performing commits: + +* Isolate each commit to one component/bugfix/issue/feature +* Use a standard commit message format: + +> [component/folder touched]: Description intent of your changes +> +> [List of changes] +> +> Signed-off-by: Your Name your@email.com + +For example: + +> swss-common: Stabilize the ConsumerTable +> +> * Fixing autoreconf +> * Fixing unit-tests by adding checkers and initialize the DB before start +> * Adding the ability to select from multiple channels +> * Health-Monitor - The idea of the patch is that if something went wrong with the notification channel, +> we will have the option to know about it (Query the LLEN table length). +> +> Signed-off-by: user@dev.null + + +* Each developer should fork this repository and [add the team as a Contributor](https://help.github.com/articles/adding-collaborators-to-a-personal-repository) +* Push your changes to your private fork and do "pull-request" to this repository +* Use a pull request to do code review +* Use issues to keep track of what is going on diff --git a/setup.py b/setup.py index 8d856d358bf7..5ed14a13d021 100644 --- a/setup.py +++ b/setup.py @@ -27,6 +27,11 @@ 'show = sonic_cli.main:cli', ] }, + install_requires=[ + 'click', + 'click-default-group', + 'tabulate' + ], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', diff --git a/stdeb.cfg b/stdeb.cfg index a8c711ada78f..ad9dc4b00d14 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -1,8 +1,2 @@ -# Note: For this package, we are not able to specify dependencies in setup.py -# under "install_requires=[]" because when packaging as a .deb, stdeb adds a "python-" -# prefix to all dependencies and attempts to install via apt. Unfortunately, -# 'click-group-default' does not follow this naming convention, so we must use -# this stdeb.cfg file instead. - [DEFAULT] -Depends: python-click, click-default-group, python-tabulate, psmisc, grub2-common +Depends: psmisc, grub2-common