Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 8bcad9f

Browse files
author
scott.dangelo
committed
Add .gitignore, CONTRIBUTING.md, MAINTAINTERS.md
1 parent 24cdf72 commit 8bcad9f

File tree

3 files changed

+223
-0
lines changed

3 files changed

+223
-0
lines changed

.gitignore

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
48+
# Translations
49+
*.mo
50+
*.pot
51+
52+
# Django stuff:
53+
*.log
54+
local_settings.py
55+
56+
# Flask stuff:
57+
instance/
58+
.webassets-cache
59+
60+
# Scrapy stuff:
61+
.scrapy
62+
63+
# Sphinx documentation
64+
docs/_build/
65+
66+
# PyBuilder
67+
target/
68+
69+
# IPython Notebook
70+
.ipynb_checkpoints
71+
72+
# pyenv
73+
.python-version
74+
75+
# celery beat schedule file
76+
celerybeat-schedule
77+
78+
# dotenv
79+
.env
80+
81+
# virtualenv
82+
venv/
83+
ENV/
84+
85+
# Spyder project settings
86+
.spyderproject
87+
88+
# Rope project settings
89+
.ropeproject

CONTRIBUTING.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
## Contributing In General
2+
3+
Our project welcomes external contributions! If you have an itch, please
4+
feel free to scratch it.
5+
6+
To contribute code or documentation, please submit a pull request to the [GitHub
7+
repository](https://github.com/IBM/pixiedust-traffic-analysis).
8+
9+
A good way to familiarize yourself with the codebase and contribution process is
10+
to look for and tackle low-hanging fruit in the [issue
11+
tracker](https://github.com/IBM/pixiedust-traffic-analysis/issues). Before embarking on
12+
a more ambitious contribution, please quickly [get in touch](#communication)
13+
with us.
14+
15+
**We appreciate your effort, and want to avoid a situation where a contribution
16+
requires extensive rework (by you or by us), sits in the queue for a long time,
17+
or cannot be accepted at all!**
18+
19+
### Proposing new features
20+
21+
If you would like to implement a new feature, please [raise an
22+
issue](https://github.com/IBM/pixiedust-traffic-analysis/issues) before sending a pull
23+
request so the feature can be discussed. This is to avoid you spending your
24+
valuable time working on a feature that the project developers are not willing
25+
to accept into the code base.
26+
27+
### Fixing bugs
28+
29+
If you would like to fix a bug, please [raise an
30+
issue](https://github.com/IBM/pixiedust-traffic-analysis/issues) before sending a pull
31+
request so it can be discussed. If the fix is trivial or non controversial then
32+
this is not usually necessary.
33+
34+
### Merge approval
35+
36+
The project maintainers use LGTM (Looks Good To Me) in comments on the code
37+
review to indicate acceptance. A change requires LGTMs from two of the
38+
maintainers of each component affected.
39+
40+
For more details, see the [MAINTAINERS](MAINTAINERS.md) page.
41+
42+
## Communication
43+
44+
Please feel free to connect with us:
45+
https://github.com/IBM/pixiedust-traffic-analysis/issues
46+
47+
## Setup
48+
49+
Please add any special setup instructions for your project to help the
50+
developer become productive quickly.
51+
52+
## Testing
53+
54+
Please provide information that helps the developer test any changes they
55+
make before submitting.
56+
57+
## Coding style guidelines
58+
59+
Beautiful code rocks! Please share any specific style guidelines you might
60+
have for your project.

MAINTAINERS.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
## Maintainers Guide
2+
3+
This guide is intended for maintainers — anybody with commit access to one or
4+
more Developer Journey repositories.
5+
6+
## Methodology:
7+
8+
A master branch. This branch MUST be releasable at all times. Commits and
9+
merges against this branch MUST contain only bugfixes and/or security fixes.
10+
Maintenance releases are tagged against master.
11+
12+
A develop branch. This branch contains your proposed changes.
13+
14+
The remainder of this document details how to merge pull requests to the
15+
repositories.
16+
17+
## Merge approval
18+
19+
The project maintainers use LGTM (Looks Good To Me) in comments on the code
20+
review to indicate acceptance. A change requires LGTMs from two of the members
21+
of the [watson-journey-dev-admins](https://github.com/orgs/IBM/teams/watson-journey-dev-admins)
22+
team. If the code is written by a member, the change only requires one more
23+
LGTM.
24+
25+
## Reviewing Pull Requests
26+
27+
We recommend reviewing pull requests directly within GitHub. This allows a
28+
public commentary on changes, providing transparency for all users. When
29+
providing feedback be civil, courteous, and kind. Disagreement is fine, so
30+
long as the discourse is carried out politely. If we see a record of uncivil
31+
or abusive comments, we will revoke your commit privileges and invite you to
32+
leave the project.
33+
34+
During your review, consider the following points:
35+
36+
### Does the change have impact?
37+
38+
While fixing typos is nice as it adds to the overall quality of the project,
39+
merging a typo fix at a time can be a waste of effort.
40+
(Merging many typo fixes because somebody reviewed the entire component,
41+
however, is useful!) Other examples to be wary of:
42+
43+
Changes in variable names. Ask whether or not the change will make
44+
understanding the code easier, or if it could simply a personal preference
45+
on the part of the author.
46+
47+
Essentially: feel free to close issues that do not have impact.
48+
49+
### Do the changes make sense?
50+
51+
If you do not understand what the changes are or what they accomplish,
52+
ask the author for clarification. Ask the author to add comments and/or
53+
clarify test case names to make the intentions clear.
54+
55+
At times, such clarification will reveal that the author may not be using
56+
the code correctly, or is unaware of features that accommodate their needs.
57+
If you feel this is the case, work up a code sample that would address the
58+
issue for them, and feel free to close the issue once they confirm.
59+
60+
### Is this a new feature? If so:
61+
62+
Does the issue contain narrative indicating the need for the feature? If not,
63+
ask them to provide that information. Since the issue will be linked in the
64+
changelog, this will often be a user's first introduction to it.
65+
66+
Are new unit tests in place that test all new behaviors introduced? If not, do
67+
not merge the feature until they are!
68+
Is documentation in place for the new feature? (See the documentation
69+
guidelines). If not do not merge the feature until it is!
70+
Is the feature necessary for general use cases? Try and keep the scope of any
71+
given component narrow. If a proposed feature does not fit that scope,
72+
recommend to the user that they maintain the feature on their own, and close
73+
the request. You may also recommend that they see if the feature gains traction
74+
amongst other users, and suggest they re-submit when they can show such support.

0 commit comments

Comments
 (0)