Skip to content

Commit 07a8b3a

Browse files
authored
Dependency package builds have changed; Adjust accordingly (sonic-net#9)
* Also add README.md
1 parent 06ba40e commit 07a8b3a

File tree

4 files changed

+51
-7
lines changed

4 files changed

+51
-7
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
deb_dist/
2+
*.egg-info/

README.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# SONiC: Software for Open Networking in the Cloud
2+
3+
## sonic-utilities
4+
5+
Command-line utilities for SONiC
6+
7+
8+
# Contribution guide
9+
10+
All contributors must sign a contribution license agreement before contributions can be accepted. Contact [email protected] or [email protected]. Later this will be automated.
11+
12+
### GitHub Workflow
13+
14+
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.
15+
16+
Guide for performing commits:
17+
18+
* Isolate each commit to one component/bugfix/issue/feature
19+
* Use a standard commit message format:
20+
21+
> [component/folder touched]: Description intent of your changes
22+
>
23+
> [List of changes]
24+
>
25+
> Signed-off-by: Your Name [email protected]
26+
27+
For example:
28+
29+
> swss-common: Stabilize the ConsumerTable
30+
>
31+
> * Fixing autoreconf
32+
> * Fixing unit-tests by adding checkers and initialize the DB before start
33+
> * Adding the ability to select from multiple channels
34+
> * Health-Monitor - The idea of the patch is that if something went wrong with the notification channel,
35+
> we will have the option to know about it (Query the LLEN table length).
36+
>
37+
> Signed-off-by: [email protected]
38+
39+
40+
* Each developer should fork this repository and [add the team as a Contributor](https://help.github.com/articles/adding-collaborators-to-a-personal-repository)
41+
* Push your changes to your private fork and do "pull-request" to this repository
42+
* Use a pull request to do code review
43+
* Use issues to keep track of what is going on

setup.py

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
'show = sonic_cli.main:cli',
2828
]
2929
},
30+
install_requires=[
31+
'click',
32+
'click-default-group',
33+
'tabulate'
34+
],
3035
classifiers=[
3136
'Development Status :: 3 - Alpha',
3237
'Environment :: Console',

stdeb.cfg

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
1-
# Note: For this package, we are not able to specify dependencies in setup.py
2-
# under "install_requires=[]" because when packaging as a .deb, stdeb adds a "python-"
3-
# prefix to all dependencies and attempts to install via apt. Unfortunately,
4-
# 'click-group-default' does not follow this naming convention, so we must use
5-
# this stdeb.cfg file instead.
6-
71
[DEFAULT]
8-
Depends: python-click, click-default-group, python-tabulate, psmisc, grub2-common
2+
Depends: psmisc, grub2-common

0 commit comments

Comments
 (0)