Commit graph

43 commits

Author SHA1 Message Date
410666e0b0 tools: Get tools tests passing
- 7zz is now 7z
- Update golden files for different shade of grey
2025-06-09 18:12:47 +10:00
fe5389d698 packaging: Try using uv workspaces. 2024-12-28 17:29:38 +10:00
b4b237ec1f Move tests into their projects. 2021-11-04 23:04:41 +10:00
0f59e43395 Removed failing golden tests.
- Some tests weren't position independant, and were only working
  for me.
- Don't need to keep these, not all tools have integration tests.
2021-11-03 14:39:40 +10:00
c181ab9de9 Coding style.
- Remove all dead code from tests.
2021-10-31 22:22:52 +10:00
d83bea2ba8 release: Move eris to ubuntu 21.10.
- Update readme.
- php7 -> php8.
- Fix python-coverage.
- Also need python decorator module.
- Replaced Mcrt1 with rotatingtree since Mcrt1 started raising
  a new warning.
2021-10-18 01:40:39 +10:00
c4fb3fdfe3 tools: Stop initial blank lines being stripped. 2021-07-25 01:51:40 +10:00
7ef9cf02d1 release: Keep golden file up to date.
- The mime type of python scripts changed.
2021-05-19 02:14:10 +10:00
3e7d306273 release: Use ubuntu golang for godoc and go vet.
- The github versions weren't installing anymore.
2021-05-19 02:14:10 +10:00
445f3ad745 tools: Remove golden file tests for perldoc.
- perldoc output is dependant on the terminal.
  - Don't need golden files for everything.
2020-10-15 13:22:39 +10:00
7058967134 Update golden file of perldoc output. 2020-10-12 22:29:37 +10:00
d10cd82150 Move to Ubuntu 20.04. 2020-04-25 00:59:49 +10:00
1cf2fc445c Revert "Move to python3.8.0"
This reverts commit 04fb17cb3f.
- Am seeing a bug where only one worker continues processing
  on python3.8.
- Ubuntu and freedesktop-sdk are still on 3.7.
- Not using any features of 3.8 yet.
- Also removes color from mypy.
2019-12-19 14:47:00 +10:00
cb9b0da52a tools: Add color to mypy 2019-11-06 14:19:28 +10:00
04fb17cb3f Move to python3.8.0 2019-11-06 14:07:33 +10:00
3dfb81563c tools: Change coverage tool to work with '.coverage' file.
- Was generating coverage by running a corresponding test file
  for the current file.  Wasn't obvious where test file was.
- This shows coverage if a .coverage file exists which is newer
  than the current file.
- The .coverage file needs to be created independantly. And then
  the reports can be refreshed.
2019-09-09 12:20:56 +10:00
4947327c4b tools: Fix out of date golden file for pydoc. 2019-09-04 16:24:03 +10:00
3a9b4ce361 tools: Add color to perldoc.
- Also showing stdout and stderr in any case.
2019-09-03 21:15:06 +10:00
195165d826 tools: Enable color for bandit.
- Also timeout can now be specified in tools.toml.
- Not truncating the timestamp from bandit anymore,
  so dropping its golden file.
2019-07-21 22:30:29 +10:00
d1867f61ab tools: Enable color from gcc. 2019-07-21 22:29:46 +10:00
cfa591976c tools: Enable color in pylint. 2019-07-21 21:14:08 +10:00
9b5ad3332e Coding style.
- Tools should return a status and a text string,
  not a status and a fill3 widget.
2019-07-18 23:58:01 +10:00
f6cb615c97 tools: Added color to git_log output.
- Added a simple parser for termcodes to termstr.
- Added missing 'italic' conversion in termstr.
- Simplified termcode for 'normal'.
2019-07-09 12:00:39 +10:00
d62010a1e0 tools: Remove hashes from metadata.
- Hashes aren't strictly metadata.
- Which types of hashes are popular?
- Hashes are expensive to calculate.
2019-06-03 22:11:15 +10:00
be489b0628 tools: Remove missed code formatter. 2019-05-31 14:29:35 +10:00
5fcdd0ea50 Remove code formatters.
- Maybe these should be returned if the output is a diff with the
  current file.
- bcpp, uncrustify, gofmt, clang_format.
2019-05-17 11:10:45 +10:00
6f11326fda tools: Dropped splint since its unmaintained and doesn't compile. 2019-01-25 12:03:31 +10:00
85a5840cff tools: Not detecting the type of python files. Assuming python3.
- Also now not using any tools that depend on python2.
- Simplifies installation.
- Personally not using python2.
- Eris is not used widely enough to justify supporting python2 files.
- The way of determining whether a source file was python2 or python3 was
  not very good.
2019-01-21 11:46:51 +10:00
7d412ec8f1 Changes for Ubuntu 18.10. 2018-12-27 14:47:39 +10:00
8e5cc0eac9 Rename the project to Eris. 2018-09-17 23:59:38 +10:00
6ab508a251 tools: Remove pil_half.
- Now assuming the terminal shows partial block characters properly.
- Also added 'tif' as an image extension.
2018-09-14 21:03:42 +10:00
8ae0f203f2 Move to python3.7
- Now getting python packages using pip instead of the ubuntu versions.
- System wide installations now aren't supported.
2018-09-02 16:00:44 +10:00
b41c86afac tools: Fix screen corruption from TextWidgets containing line breaks. 2018-07-24 22:08:29 +10:00
4c58d377e2 Changed colors to NCS style.
- See https://en.wikipedia.org/wiki/Natural_Color_System.
2018-06-16 15:15:21 +10:00
293f013236 Trying more subdued colours for the statuses.
- This will also let the cursor line stand out more.
2018-06-16 10:13:29 +10:00
3609b31b29 tools: Fixed broken test.
- This was missed when changing from unzip to zipinfo.
2018-06-04 09:27:43 +10:00
2454af45a2 Made it work on Ubuntu 18.04. 2018-03-16 11:31:20 +10:00
4935c585aa Made work on Ubuntu 17.10.
- Changed to python3.6.
- Accepted minor differences in golden files.
- php is now 7.1.
- Updated README.
- Need to test that the AppImage still works.
2017-10-27 12:39:50 +10:00
09cc7d3272 Changed pydoc's output to not show an absolute path.
- The absolute path was causing tools_test.py to fail within
  test_distributions.py.
2017-09-05 19:24:31 +01:00
93d1fdb87a appimage: Used test_distributions to fix the AppImage. 2017-07-23 18:21:18 +01:00
5572cdc9d6 [tools] Replaced disassemble_pyc by pydisasm.
- pydisasm handles many types of bytecode.
2017-07-11 14:09:07 +01:00
78d7c528b4 Coding style.
- Removed unnecessary mocking.
2017-07-10 11:13:52 +01:00
5728e5cff3 Made vigil into a package with a setup.py file. 2017-06-27 14:03:32 +01:00