Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
wesyoung committed Apr 3, 2018
1 parent 9bba209 commit a7aa2e5
Show file tree
Hide file tree
Showing 28 changed files with 3,445 additions and 43 deletions.
30 changes: 30 additions & 0 deletions .coveragerc
@@ -0,0 +1,30 @@
# .coveragerc to control coverage.py
[run]
branch = True

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

# Don't complain about missing debug-only code:
def __repr__
if self\.debug

# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError

# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:

ignore_errors = True

omit =
#csirtg/smrt/parser/pipe.py
#cif/_version.py

[html]
directory = coverage_html_report
1 change: 1 addition & 0 deletions .gitattributes
@@ -0,0 +1 @@
csirtg_smrt/_version.py export-subst
58 changes: 17 additions & 41 deletions .gitignore
@@ -1,4 +1,15 @@
clean.sh
.DS_Store
deb-build/
.pypirc
.vagrant
*.swp
chat.py
pyinstaller-build/
_version
csirtg-smrt.yml
# Byte-compiled / optimized / DLL files
.idea
__pycache__/
*.py[cod]
*$py.class
Expand All @@ -20,7 +31,6 @@ lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
Expand All @@ -29,7 +39,7 @@ wheels/
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
#*.spec

# Installer logs
pip-log.txt
Expand All @@ -43,7 +53,7 @@ htmlcov/
.cache
nosetests.xml
coverage.xml
*.cover
*,cover
.hypothesis/

# Translations
Expand All @@ -52,50 +62,16 @@ coverage.xml

# Django stuff:
*.log
local_settings.py
!test/ufw/ufw.log
!test/cef/cef.log
!test/bro/bro.log

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
#Ipython Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
35 changes: 35 additions & 0 deletions .travis.yml
@@ -0,0 +1,35 @@
sudo: required
dist: trusty
language: python
cache:
- apt
- pip

python:
- 3.5
- 3.6

install:
- pip install pip --upgrade
- easy_install distribute
- pip install setuptools --upgrade
- pip install -r dev_requirements.txt

script:
- python setup.py test
- python setup.py sdist bdist bdist_wheel

notifications:
email:
on_success: never
on_failure: never

deploy:
provider: pypi
user: wesyoung
password:
secure: diKbtf7RnRJAo7MdNW3weZDVAfP8j5XYVbcUa6iYBRpQ02zDBhQuZCtmFRms14Ls9nlj2SvBdchdk7WX5R/YbY8j3mI9VtrXdS58foetDPBMQuGJs2dAagpL/AmhssLRqTjKqTX2GXoEgvrKy/HpMiLqGmFKwvd5SlbEWEuC2BNiEL1r+wj/ZlQ36GHGKvNDRnItfwtTZxcDJ62ssdlWItYoRuZyyHEz5PlcYrnhcQHKKpmzzmeRYHHdG2HB42ynr/Plf4/bIjbK1FIMZz3UxZRujblXMkjIzxx/rngPtrUG5M5V28xva0muWrJNnqOvIoOY/A1oOVbysLsCCYR2uh6NcWfLzEFf2PJhjh3y7YZsTVX2rHrvhRKez1Qs+z6cvhvt4AVWRwilMi7TRkwgERhe0YqrRHT1EM5s1OGGN5rSE3Llqa63yvTi4EuMX0GPKZXdfkbihcY0ENexKfu36K3yBMJ39xmtGMKPiUW+aKLo3RZ+XRa+s28GFA5Tju5IYLeBTEz0QkiiovcK0Tl914jDDDE4BVcipL4DuQtF51qGO+9sgo/ppsFWKDFttIBOFYVk2X7UjY73JaXItpQofUKR1v/PRGZ7YSNfUX91bJUKtZ/nQVEysMkflWoqOv6A1296oje9KGE7cqV+8DCzPiFHQrlyLxJqtKfidMXqZC0=
on:
branch: master
tags: true
condition: $TRAVIS_PYTHON_VERSION = "3.6"
19 changes: 19 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,19 @@
include 'csirtg_smrt'
include versioneer.py
include README README.md COPYING LICENSE
include MANIFEST.in
include requirements.txt extras_requirements.txt
exclude dev_requirements.txt
include test
recursive-include examples *
recursive-include test *.yml
recursive-include test *.txt
recursive-include test *.gz
recursive-include test *.zip

recursive-exclude * __pycache__
recursive-exclude * *.pyc
recursive-exclude * *.pyo
recursive-exclude * *.orig
recursive-exclude packaging *
include csirtg_smrt/_version.py
17 changes: 15 additions & 2 deletions README.md
@@ -1,2 +1,15 @@
# potential-goggles
csirtg-smrt v1 (DO NOT USE- https://github.com/csirtgadgets/csirtg-smrt-py)
# Getting Started

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)
* [Need Advanced Help?](https://csirtg.io/support) Join Us!


# COPYRIGHT AND LICENCE

Copyright (C) 2018 [CSIRT Gadgets](http://csirtgadgets.com)

Free use of this software is granted under the terms of the Mozilla Public License (MPL2). For details see the file `LICENSE` included with the distribution.

0 comments on commit a7aa2e5

Please sign in to comment.