eris/README.md

86 lines
4.9 KiB
Markdown
Raw Normal View History

2018-09-25 10:41:55 +10:00
# Eris Codebase Monitor
2016-09-30 16:21:29 +02:00
2020-01-10 14:04:57 +10:00
## Summary
2016-09-30 16:21:29 +02:00
2018-09-17 23:59:38 +10:00
Eris maintains an up-to-date set of reports for every file in a codebase.
2015-12-26 20:52:39 +00:00
2020-01-10 14:04:57 +10:00
## Installation
2015-12-26 20:52:39 +00:00
#### Ubuntu (22.04)
2015-12-26 20:52:39 +00:00
Install eris directly using pip, and apt install the tools eris relies on:
2021-12-21 13:16:20 +10:00
pip install --upgrade pip # A recent version of pip is needed.
2022-05-11 11:14:22 +10:00
pip install git+https://github.com/ahamilton/eris@v2022.05.11#subdirectory=eris
eris --apt-install-tools
Or install from source: (including tools)
2021-12-21 13:16:20 +10:00
git clone https://github.com/ahamilton/eris
cd eris
./install
2021-12-21 13:00:31 +10:00
Then to run:
2021-12-21 13:16:20 +10:00
eris -h
eris-webserver <project> # Or a simple web interface.
2021-12-21 17:09:51 +10:00
#### Docker
2020-01-10 14:04:57 +10:00
git clone https://github.com/ahamilton/eris
cd eris
sudo docker build -t eris -f packaging/Dockerfile .
cp packaging/eris-docker ~/bin/eris # e.g. Put wrapper script in your PATH
2021-12-21 17:09:51 +10:00
#### Snap
# Download snap file from github releases page:
wget "https://github.com/ahamilton/eris/releases/download/v2021-12-06/eris_2021.12.06_amd64.snap"
snap install --dangerous eris_2021.12.06_amd64.snap
rm eris_2021.12.06_amd64.snap # The snap file is no longer needed.
2021-12-21 17:09:51 +10:00
#### AppImage
# Download AppImage file from github releases page:
2022-04-25 16:42:15 +10:00
wget "https://github.com/ahamilton/eris/releases/download/v2022.04.23/eris_2022.04.23.AppImage"
chmod +x eris_2022.04.23.AppImage
mv eris_2022.04.23.AppImage ~/bin/eris # e.g. Put appimage in your PATH
2020-01-10 14:04:57 +10:00
## Tools
2016-11-19 13:50:07 +01:00
File types(101) | Tools(58)
----------:| -----
.* | [contents](http://pygments.org/) • [metadata](https://github.com/ahamilton/eris) • [git_diff](https://git-scm.com/docs/git-diff) • [git_blame](https://git-scm.com/docs/git-blame) • [git_log](https://git-scm.com/docs/git-log)
.py | [python_syntax](https://en.wikipedia.org/wiki/Python_syntax_and_semantics) • [python_unittests](https://docs.python.org/3/library/unittest.html) • [pytest](https://docs.pytest.org/en/latest/) • [pydoc](https://docs.python.org/3/library/pydoc.html) • [mypy](http://mypy-lang.org/) • [python_coverage](https://coverage.readthedocs.io/) • [pycodestyle](http://pycodestyle.pycqa.org/en/latest/) • [pydocstyle](http://www.pydocstyle.org/en/2.1.1/usage.html) • [pyflakes](https://pypi.org/project/pyflakes/) • [pylint](https://www.pylint.org/) • [python_gut](https://github.com/ahamilton/eris) • [python_mccabe](https://pypi.org/project/mccabe/) • [bandit](https://pypi.org/project/bandit/)
.pl .pm .t | [perl_syntax](https://en.wikipedia.org/wiki/Perl) • [perldoc](http://perldoc.perl.org/)
.p6 .pm6 | [perl6_syntax](https://rakudo.org/)
.pod .pod6 | [perldoc](http://perldoc.perl.org/)
.c .h | [c_syntax_gcc](https://gcc.gnu.org/) • [cppcheck](http://sourceforge.net/p/cppcheck/wiki/Home/)
.cc .cpp .hpp | [cpp_syntax_gcc](https://gcc.gnu.org/) • [cppcheck](http://sourceforge.net/p/cppcheck/wiki/Home/)
.rb | [ruby_syntax](http://www.ruby-lang.org/)
.lua | [lua_syntax](http://www.lua.org) • [lua_check](https://github.com/mpeterv/luacheck)
.js | [js_syntax](http://nodejs.org/)
.php | [php8_syntax](https://en.wikipedia.org/wiki/PHP)
.go | [go_vet](https://github.com/golang/go) • [godoc](https://github.com/golang/go)
2018-12-27 14:47:39 +10:00
.bash .sh .dash .ksh | [shellcheck](https://www.shellcheck.net/)
.wasm | [wasm_validate](https://github.com/WebAssembly/wabt) • [wasm_objdump](https://github.com/WebAssembly/wabt)
.pdf | [pdf2txt](https://github.com/pdfminer/pdfminer.six)
.html .htm | [html_syntax](https://www.html-tidy.org/) • [html2text](http://www.mbayer.de/html2text/) • [elinks](http://elinks.cz/)
.yaml .yml | [yamllint](https://github.com/adrienverge/yamllint)
.md .epub .docx .odt .rst | [pandoc](https://pandoc.org/)
.zip .jar .apk .egg .whl | [zipinfo](http://www.info-zip.org/UnZip.html)
.tar.gz .tgz | [tar_gz](http://www.gnu.org/software/tar/manual/tar.html)
.tar.bz2 | [tar_bz2](http://www.gnu.org/software/tar/manual/tar.html)
.rar | [unrar](http://www.rarlabs.com/)
.7z | [7z](http://p7zip.sourceforge.net/)
2019-06-29 16:06:14 +10:00
.xz | [unxz](https://tukaani.org/xz/)
.a | [ar](https://en.wikipedia.org/wiki/Ar_(Unix)) • [nm](https://linux.die.net/man/1/nm)
.o | [objdump_headers](https://en.wikipedia.org/wiki/Objdump) • [objdump_disassemble](https://en.wikipedia.org/wiki/Objdump) • [readelf](https://en.wikipedia.org/wiki/Objdump)
.so | [nm](https://linux.die.net/man/1/nm)
.deb | [dpkg_contents](https://wiki.debian.org/Teams/Dpkg) • [dpkg_info](https://wiki.debian.org/Teams/Dpkg)
.rpm | [rpm](http://rpm.org/)
.png .jpg .jpeg .gif .bmp .tif .tiff .tga .ico .xpm | [mediainfo](https://mediaarea.net/MediaInfo) • [pil](http://python-pillow.github.io/)
.svg .svgz | [cairosvg](https://cairosvg.org/)
.mkv .mka .mks .ogg .ogm .avi .wav .mpeg .mpg .vob .mp4 .mpgv .mpv .m1v .m2v .mp2 .mp3 .asf .wma .wmv .qt .mov .rm .rmvb .ra .ifo .ac3 .dts .aac .flac .aiff .aifc .au .iff .flv .srt .ssa .ass .sami | [mediainfo](https://mediaarea.net/MediaInfo)
.iso | [isoinfo](https://manpages.debian.org/jessie/genisoimage/isoinfo.1.en.html)