Commit graph

817 commits

Author SHA1 Message Date
7786c8b8b5 Experimenting with dependency_links.
- Is dependency_links needed for recursive dependencies?
- Need to checkin to really see.
2021-12-20 15:14:55 +10:00
ca38a5e7c1 Make pip install work.
- Having trouble with recursive dependencies not being installed.
- Try using install_requires in setup.py instead of requirements.txt files.
- Putting back version numbers.
2021-12-20 15:03:25 +10:00
143ee0ef1e Make eris subproject versions independant.
- Should be able to pip install eris using a git url.
- Not having "pip install -e" shouldn't be too bad, since not
  changing the subprojects very often.
2021-12-18 00:37:16 +10:00
5da5f07e0a Storing less versions if possible.
- Trying to do without versions in setup.py and requirements.txt.
- The git tags define the versions.
- The seperate python packages aren't independant atm.
- Eris uses the latest versions of its dependencies, not pinned
  older ones.
2021-12-16 20:39:28 +10:00
7abf025671 Make manage_cache backwards compatible.
- Old caches don't have checksum files.
2021-12-16 00:41:22 +10:00
321ed11ffe webserver: Fix error caused by new --config option.
- Webserver couldn't unpickle the summary because the eris module
  hadn't imported tools.
2021-12-15 22:33:01 +10:00
55a8ca7849 Update TODO and BUGS. 2021-12-15 08:58:45 +10:00
20f4ab708c Shorten warning message. 2021-12-15 08:54:47 +10:00
45a751903b Fixed missed changes in last commit. 2021-12-15 00:22:19 +10:00
2c3043c633 Allow custom config files.
- Needed to switch from a timestamp to a checksum.
- Added a --config command line option.
2021-12-15 00:13:48 +10:00
f8177ef58d Revert "Expose tools.toml config file to users."
This reverts commit 01bb09cb7d.
- Problem is, the later changes of the config file in eris aren't
  seen by the user.
2021-12-14 11:34:17 +10:00
01bb09cb7d Expose tools.toml config file to users.
- Renamed tools.toml to eris-tools.toml.
- Copy eris-tools.toml into ~/.config if it's not already there.
- If the config file changes, results are recalculated.
2021-12-14 10:37:30 +10:00
38abb17ab9 Fix typo. 2021-12-13 00:46:12 +10:00
7ce8c0b9dc Coding style.
- Rename mouse actions.
2021-12-12 23:05:47 +10:00
abc5b15d90 fill3: Add more term codes. 2021-12-12 22:59:52 +10:00
d8f21d97ba Coding style.
- Avoid using eval.
- Use more lru_caches.
2021-12-09 23:32:14 +10:00
2dba7a6920 tools: Fix error in is_tool_available.
- Happened with bandit, but not pycodestyle. Not sure why.
2021-12-09 17:37:13 +10:00
5f45485479 docker: Speed up rebuilds of Dockerfile. 2021-12-09 17:07:49 +10:00
e3890863ad docker: Remove left over copyright notice. Its in the license. 2021-12-09 16:46:25 +10:00
3492e8fe0c docker: Docker warns about apt, but not about apt-get. 2021-12-09 16:43:37 +10:00
a832aeb803 docker: Build docker image based on the local codebase.
- Like the snap and appimage builds do.
2021-12-09 13:28:55 +10:00
8b4a9c4210 Make installation a little easier.
- Provide explicit wget commands for downloading.
2021-12-09 11:23:34 +10:00
4b5e5b2f89 release: snap: Automate installation of lxd. 2021-12-09 01:16:31 +10:00
166dc332c0 Coding style.
- Minor tidy up.
2021-12-08 19:09:06 +10:00
5fd06479da Coding style.
- Main tui function should also set the window title.
2021-12-08 19:05:20 +10:00
0679cb14b5 Coding style.
- Update asyncio code to latest style using asyncio.run().
2021-12-08 15:44:36 +10:00
2bb586c862 Coding style.
- Move blend_color into termstr.
- Add invert method to termstr.
2021-12-08 15:44:36 +10:00
1ee92346b5 fill3: Add keyboard term_code constants. 2021-12-08 15:44:36 +10:00
a363004afe Make editable mode apply to all installed projects. 2021-12-07 15:19:02 +10:00
8b4f0c13b2 tools: pycodestyle: Increase max line length to 100. 2021-12-06 22:07:18 +10:00
c4d370e815 release: docker: Update dockerfile to 2021.12.06 release. 2021-12-06 22:06:32 +10:00
7fa155da72 release: docker: Make sure python3.9 exists. 2021-12-06 16:19:53 +10:00
bc83e9f736 release: Add snap installation instructions to the README. 2021-12-06 15:47:07 +10:00
4b1e141126 release: appimage: Fix build script.
- Fix script now that its moved to packaging subdir.
- Tests aren't really necessary within the image,
  since "eris -i" checks eris and tools.
2021-12-06 14:57:02 +10:00
e1e9b89b2a release: snap: Update version. 2021-12-06 14:47:58 +10:00
e4a93e1d96 release: Make sure pip is installed.
- Its good that sudo is needed early in the script, so a password
  isn't needed later for install-tools.
2021-12-06 14:45:30 +10:00
a6237ca16a webserver: Add example url to startup. 2021-12-05 19:46:45 +10:00
1d8d497fff tools: Emphasise the command over the home page. 2021-12-05 19:27:46 +10:00
0331a9da1e snap: Start snap support.
- Create a snapcraft.yaml file in snap directory.
  Couldn't put this in packaging directory.
- Use make-snapcraft.py to generate the snapcraft file.
- Use make-snap to make the snap from the snapcraft file.
- Eris is confined to only access projects in home.
- os.setpriority doesn't work in snaps.
- eris-webserver is run as "eris.webserver".
2021-12-05 19:14:56 +10:00
abb9633e97 Coding style.
- Pip can install multiple packages and requirements files at once.
2021-12-03 02:47:14 +10:00
0cb13e0c65 tools: python_gut: Display files with tabs correctly. 2021-11-29 22:24:46 +10:00
769b7e2256 Coding style.
- Shave 3 lines.
2021-11-29 18:10:11 +10:00
4bf3f994e6 Coding style.
- Increase maximum line length from 80 to 100.
2021-11-29 16:02:32 +10:00
4150a9a250 Coding style.
- Since there is only one display, appearance_changed_event can be
  a module level global in fill3.
- Remove all the appearance_changed_event plumbing.
2021-11-29 15:57:16 +10:00
71b9da128b Coding style.
- Increase maximum line length from 80 to 100.
2021-11-29 12:51:34 +10:00
75a028272d tools: Dropped python-modulefinder and disassembly.
- Modulefinder often has errors.
- Both tools aren't commonly used.
2021-11-28 22:58:42 +10:00
8f4b783e1e List dependencies in consistent order. 2021-11-26 10:19:40 +10:00
3b8a6cffcb Use ubuntu dependencies for tools.
- No longer sourcing deps for flatpak's sake.
- Switching from svglib to cairosvg since svglib not in ubuntu.
2021-11-26 03:30:17 +10:00
96b148d450 webserver: Coding style.
- Remove unnecessary function.
- More import tidying.
2021-11-25 23:26:04 +10:00
d1e538f5f3 Coding style.
- More import tidying.
- Fix line lengths.
- Dead code in tests.
- lambdas.
- Tests pass regardless of term type.
2021-11-23 01:02:55 +10:00