-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
70 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,30 @@ | ||
# dnsdb-py | ||
dnsdb.info client | ||
# Farsight dnsdb.info client | ||
# Getting Started | ||
|
||
```bash | ||
$ export FARSIGHT_TOKEN=1234 | ||
$ pip install csirtg_dnsdb | ||
$ dnsdb --search 172.217.6.206 | ||
$ dnsdb -q google.com | ||
``` | ||
|
||
|
||
# Getting Involved | ||
There are many ways to get involved with the project. If you have a new and exciting feature, or even a simple bugfix, simply [fork the repo](https://help.github.com/articles/fork-a-repo), create some simple test cases, [generate a pull-request](https://help.github.com/articles/using-pull-requests) and give yourself credit! | ||
|
||
If you've never worked on a GitHub project, [this is a good piece](https://guides.github.com/activities/contributing-to-open-source) for getting started. | ||
|
||
* [How To Contribute](contributing.md) | ||
|
||
# Development | ||
## Some of the tools we use: | ||
|
||
* [PyCharm](https://www.jetbrains.com/pycharm/) | ||
* [VirtualenvWrapper](https://virtualenvwrapper.readthedocs.org/en/latest/) | ||
* [Vagrant](https://www.vagrantup.com/) | ||
|
||
# COPYRIGHT AND LICENCE | ||
|
||
Copyright (C) 2016 [the CSIRT Gadgets Foundation](http://csirtgadgets.org) | ||
|
||
Free use of this software is granted under the terms of the Mozilla Public Licence v2 (MPL2). For details see the files `LICENSE` included with the distribution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
How We Work Together | ||
== | ||
The CSIRT Gadgets Community uses the [C4 process](https://github.com/csirtgadgets/c4) for it's core projects. If you contribute a nice patch and you have some GitHub reputation we'll invite you to join the Maintainer's team. We strive to adopt most [if not all] of the wonderful outcomes the [ZMQ community](http://zguide.zeromq.org/page:all#toc130) has pionneered. If you're not familar with it, please read up on it's architecture and history, it's a great story! | ||
|
||
GitHub also has a [great piece](https://guides.github.com/activities/contributing-to-open-source) on the nuances associated with contributing to opensource projects. If you've never worked within a github project before, this is a great "where do i start?". | ||
|
||
Our Process | ||
=== | ||
|
||
* Log an issue that explains the problem you are solving. | ||
* Provide a test case unless absolutely impossible. | ||
* Get familar with [GitHub](https://help.github.com/articles/set-up-git) and [GitFlow](http://datasift.github.io/gitflow/IntroducingGitFlow.html) | ||
* We always need an issue, test case and [pull-request](https://help.github.com/articles/using-pull-requests). | ||
* Make your change as a [pull request](https://github.com/blog/1943-how-to-write-the-perfect-pull-request) (see below). | ||
* Discuss on the mailing list as needed. | ||
* Close the issue when your pull request is merged and the test case passes. | ||
|
||
Separate Your Changes | ||
=== | ||
Separate different independent logical changes into separate commits (and thus separate patch submissions) when at all possible. This allows each change to be considered on it's own merits. Also, it is easier to review a batch of independent [smaller] changes rather than one large patch. | ||
|
||
Write Good Commit Messages | ||
=== | ||
Commit messages become the public record of your changes, as such it's important that they be well-written. The basic format of git commit messages is: | ||
|
||
* A single summary line. This should be short — no more than 70 characters or so, since it can be used as the e-mail subject when submitting your patch and also for generating patch file names by 'git format-patch'. If your change only touches a single file or subsystem you may wish to prefix the summary with the file or subsystem name. | ||
* A blank line. | ||
* A detailed description of your change. Where possible, write in the present tense, e.g. "Add assertions to funct_foo()". If your changes have not resulted from previous discussion on the mailing list you may also wish to include brief rationale on your change. Your description should be formatted as plain text with each line not exceeding 80 characters. | ||
|
||
Give Yourself Credit | ||
=== | ||
Instead of a traditional 'AUTHORS' file, contributors are automatically tracked [here](https://github.com/csirtgadgets/bearded-avenger/graphs/contributors). | ||
|
||
Copyrights and Licenses | ||
=== | ||
Make sure your contributions do not include code from projects with incompatible licenses. Our projects mostly use the LGPLv3 with a static linking exception. If your code isn't compatible with this, it will sooner or later be spotted and removed. The best way to avoid any license issues is to write your own code. | ||
|
||
Test Cases | ||
=== | ||
For stable releases, patches (if they change the behavior of the code) must have issues, and test cases. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters