Compare commits
6 commits
v2025.06.2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e24f7cb85 | |||
| 699f808951 | |||
| 327852af40 | |||
| 267a100b09 | |||
| 906b0510bb | |||
| a8f3261ab8 |
13 changed files with 31 additions and 28 deletions
|
|
@ -12,11 +12,11 @@ Eris can be installed by pipx or [uv](https://docs.astral.sh/uv/getting-started/
|
||||||
|
|
||||||
To install with pipx:
|
To install with pipx:
|
||||||
|
|
||||||
pipx install git+https://gitlab.com/ahamilton/eris@v2025.06.21
|
pipx install git+https://gitlab.com/ahamilton/eris@v2025.07.11
|
||||||
|
|
||||||
or to install with uv:
|
or to install with uv:
|
||||||
|
|
||||||
uv tool install git+https://gitlab.com/ahamilton/eris@v2025.06.21
|
uv tool install git+https://gitlab.com/ahamilton/eris@v2025.07.11
|
||||||
|
|
||||||
Then use eris to install all the tools it uses:
|
Then use eris to install all the tools it uses:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
__version__ = "v2025.06.21"
|
__version__ = "v2025.07.11"
|
||||||
|
|
|
||||||
|
|
@ -794,7 +794,7 @@ class Screen:
|
||||||
path_colored = lscolors.path_colored(path)
|
path_colored = lscolors.path_colored(path)
|
||||||
self._log.log_message([in_green("Patching file: "), path_colored])
|
self._log.log_message([in_green("Patching file: "), path_colored])
|
||||||
subprocess.run(f"{result.tool.patch_command} {path} | patch -p0", shell=True,
|
subprocess.run(f"{result.tool.patch_command} {path} | patch -p0", shell=True,
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
capture_output=True)
|
||||||
subprocess.run(["touch", path])
|
subprocess.run(["touch", path])
|
||||||
|
|
||||||
def toggle_status_style(self):
|
def toggle_status_style(self):
|
||||||
|
|
@ -1144,6 +1144,8 @@ def print_tool_info():
|
||||||
print(f"command: {tool.command} foo.{extensions[0]}")
|
print(f"command: {tool.command} foo.{extensions[0]}")
|
||||||
else:
|
else:
|
||||||
print("function:", "eris.tools." + tool.__name__)
|
print("function:", "eris.tools." + tool.__name__)
|
||||||
|
if hasattr(tool, "patch_command") and tool.patch_command is not None:
|
||||||
|
print(f"patch command: {tool.patch_command} foo.{extensions[0]}")
|
||||||
print("url:", tool.url)
|
print("url:", tool.url)
|
||||||
print("extensions:", ", ".join(extensions))
|
print("extensions:", ", ".join(extensions))
|
||||||
print("")
|
print("")
|
||||||
|
|
@ -1155,8 +1157,7 @@ def install_all_tools():
|
||||||
install_command = ["apt", "-y", "install"] # debian / ubuntu
|
install_command = ["apt", "-y", "install"] # debian / ubuntu
|
||||||
if "ID=fedora\n" in os_release_lines:
|
if "ID=fedora\n" in os_release_lines:
|
||||||
tools_.remove("lua-check")
|
tools_.remove("lua-check")
|
||||||
renames = {"lua5.3": "lua", "python3-bandit": "bandit", "ruby3.1": "ruby",
|
renames = {"lua5.3": "lua", "python3-bandit": "bandit", "xz-utils": "xz"}
|
||||||
"xz-utils": "xz"}
|
|
||||||
tools_ = [renames.get(tool, tool) for tool in tools_]
|
tools_ = [renames.get(tool, tool) for tool in tools_]
|
||||||
install_command = ["dnf", "-y", "install"]
|
install_command = ["dnf", "-y", "install"]
|
||||||
elif "ID=arch\n" in os_release_lines:
|
elif "ID=arch\n" in os_release_lines:
|
||||||
|
|
@ -1164,8 +1165,8 @@ def install_all_tools():
|
||||||
tools_.remove("python3-pdfminer") # pdf2txt is not in arch
|
tools_.remove("python3-pdfminer") # pdf2txt is not in arch
|
||||||
tools_.remove("perl-doc") # perldoc is in perl but not in the path
|
tools_.remove("perl-doc") # perldoc is in perl but not in the path
|
||||||
tools_.remove("7zip")
|
tools_.remove("7zip")
|
||||||
renames = {"genisoimage": "cdrkit", "lua5.3": "lua", "ruby3.1": "ruby", "xz-utils": "xz",
|
renames = {"genisoimage": "cdrkit", "lua5.3": "lua", "xz-utils": "xz", "g++": "gcc",
|
||||||
"g++": "gcc", "golang-go": "go", "lua-check": "luacheck", "php-cli": "php",
|
"golang-go": "go", "lua-check": "luacheck", "php-cli": "php",
|
||||||
"pylint": "python-pylint", "python3-bandit": "bandit", "python3-mypy": "mypy"}
|
"pylint": "python-pylint", "python3-bandit": "bandit", "python3-mypy": "mypy"}
|
||||||
tools_ = [renames.get(tool, tool) for tool in tools_]
|
tools_ = [renames.get(tool, tool) for tool in tools_]
|
||||||
tools_ = ["python-" + tool[len("python3-"):] if tool.startswith("python3-") else tool
|
tools_ = ["python-" + tool[len("python3-"):] if tool.startswith("python3-") else tool
|
||||||
|
|
@ -1174,8 +1175,8 @@ def install_all_tools():
|
||||||
elif "ID=alpine\n" in os_release_lines:
|
elif "ID=alpine\n" in os_release_lines:
|
||||||
tools_.remove("python3-bandit")
|
tools_.remove("python3-bandit")
|
||||||
tools_.remove("wabt")
|
tools_.remove("wabt")
|
||||||
renames = {"genisoimage": "cdrkit", "lua5.3": "lua", "ruby3.1": "ruby", "xz-utils": "xz",
|
renames = {"genisoimage": "cdrkit", "lua5.3": "lua", "xz-utils": "xz", "g++": "gcc",
|
||||||
"g++": "gcc", "golang-go": "go", "lua-check": "luacheck", "php-cli": "php",
|
"golang-go": "go", "lua-check": "luacheck", "php-cli": "php",
|
||||||
"pylint": "py3-pylint", "tidy": "tidyhtml"}
|
"pylint": "py3-pylint", "tidy": "tidyhtml"}
|
||||||
tools_ = [renames.get(tool, tool) for tool in tools_]
|
tools_ = [renames.get(tool, tool) for tool in tools_]
|
||||||
tools_ = ["py3-" + tool[len("python3-"):] if tool.startswith("python3-") else tool
|
tools_ = ["py3-" + tool[len("python3-"):] if tool.startswith("python3-") else tool
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ tools_for_extensions = [
|
||||||
dependencies = ["python3-isort", "python3-colorama"]
|
dependencies = ["python3-isort", "python3-colorama"]
|
||||||
url = "https://pycqa.github.io/isort/"
|
url = "https://pycqa.github.io/isort/"
|
||||||
command = "/usr/bin/python3 -m isort --check-only --diff --color"
|
command = "/usr/bin/python3 -m isort --check-only --diff --color"
|
||||||
patch_command = "/usr/bin/python3 -m isort --diff"
|
patch_command = "/usr/bin/python3 -m isort --overwrite-in-place"
|
||||||
has_color = true
|
has_color = true
|
||||||
|
|
||||||
[perl_syntax]
|
[perl_syntax]
|
||||||
|
|
@ -128,6 +128,7 @@ tools_for_extensions = [
|
||||||
dependencies = ["git"]
|
dependencies = ["git"]
|
||||||
url = "https://git-scm.com/docs/git-diff"
|
url = "https://git-scm.com/docs/git-diff"
|
||||||
command = "git diff --exit-code"
|
command = "git diff --exit-code"
|
||||||
|
patch_command = "git checkout"
|
||||||
has_color = true
|
has_color = true
|
||||||
|
|
||||||
[git_blame]
|
[git_blame]
|
||||||
|
|
@ -247,7 +248,7 @@ tools_for_extensions = [
|
||||||
command = "cppcheck --error-exitcode=1"
|
command = "cppcheck --error-exitcode=1"
|
||||||
|
|
||||||
[ruby_syntax]
|
[ruby_syntax]
|
||||||
dependencies = ["ruby3.1"]
|
dependencies = ["ruby"]
|
||||||
url = "http://www.ruby-lang.org/"
|
url = "http://www.ruby-lang.org/"
|
||||||
command = "ruby -c"
|
command = "ruby -c"
|
||||||
|
|
||||||
|
|
@ -255,6 +256,7 @@ tools_for_extensions = [
|
||||||
dependencies = ["rubocop"]
|
dependencies = ["rubocop"]
|
||||||
url = "https://rubocop.org/"
|
url = "https://rubocop.org/"
|
||||||
command = "rubocop --color --fail-level autocorrect --display-style-guide"
|
command = "rubocop --color --fail-level autocorrect --display-style-guide"
|
||||||
|
patch_command = "rubocop --autocorrect"
|
||||||
has_color = true
|
has_color = true
|
||||||
|
|
||||||
[rustfmt]
|
[rustfmt]
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import fill3.terminal as terminal
|
||||||
import termstr
|
import termstr
|
||||||
|
|
||||||
|
|
||||||
__version__ = "v2025.06.21"
|
__version__ = "v2025.07.11"
|
||||||
|
|
||||||
|
|
||||||
##########################
|
##########################
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ tool.uv.package = true
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "fill3"
|
name = "fill3"
|
||||||
version = "v2025.06.21"
|
version = "v2025.07.11"
|
||||||
description = "Fill3 provides basic widgets for a tui."
|
description = "Fill3 provides basic widgets for a tui."
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" },
|
{ name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" },
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import lscolors
|
||||||
import termstr
|
import termstr
|
||||||
|
|
||||||
|
|
||||||
__version__ = "v2025.06.21"
|
__version__ = "v2025.07.11"
|
||||||
|
|
||||||
|
|
||||||
FILE_KEY = "fi"
|
FILE_KEY = "fi"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ allow-direct-references = true
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "lscolors"
|
name = "lscolors"
|
||||||
version = "v2025.06.21"
|
version = "v2025.07.11"
|
||||||
description = "Give coloring for file types as in the ls command."
|
description = "Give coloring for file types as in the ls command."
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" },
|
{ name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" },
|
||||||
|
|
|
||||||
|
|
@ -28,11 +28,11 @@ Eris can be installed by pipx or [uv](https://docs.astral.sh/uv/getting-started/
|
||||||
|
|
||||||
To install with pipx:
|
To install with pipx:
|
||||||
|
|
||||||
pipx install git+https://gitlab.com/ahamilton/eris@v2025.06.21
|
pipx install git+https://gitlab.com/ahamilton/eris@v2025.07.11
|
||||||
|
|
||||||
or to install with uv:
|
or to install with uv:
|
||||||
|
|
||||||
uv tool install git+https://gitlab.com/ahamilton/eris@v2025.06.21
|
uv tool install git+https://gitlab.com/ahamilton/eris@v2025.07.11
|
||||||
|
|
||||||
Then use eris to install all the tools it uses:
|
Then use eris to install all the tools it uses:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ tool.uv.package = true
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "eris"
|
name = "eris"
|
||||||
version = "v2025.06.21"
|
version = "v2025.07.11"
|
||||||
description = "Eris maintains an up-to-date set of reports for every file in a codebase."
|
description = "Eris maintains an up-to-date set of reports for every file in a codebase."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [
|
authors = [
|
||||||
|
|
@ -11,13 +11,13 @@ authors = [
|
||||||
requires-python = ">=3.11"
|
requires-python = ">=3.11"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"docopt-ng==0.9.0",
|
"docopt-ng==0.9.0",
|
||||||
"fill3 @ git+https://gitlab.com/ahamilton/eris@v2025.06.21#subdirectory=fill3",
|
"fill3 @ git+https://gitlab.com/ahamilton/eris@v2025.07.11#subdirectory=fill3",
|
||||||
"lscolors @ git+https://gitlab.com/ahamilton/eris@v2025.06.21#subdirectory=lscolors",
|
"lscolors @ git+https://gitlab.com/ahamilton/eris@v2025.07.11#subdirectory=lscolors",
|
||||||
"pexpect==4.9.0",
|
"pexpect==4.9.0",
|
||||||
"pillow==11.2.1",
|
"pillow==11.2.1",
|
||||||
"pygments==2.19.1",
|
"pygments==2.19.1",
|
||||||
"pyinotify-elephant-fork==0.0.1",
|
"pyinotify-elephant-fork==0.0.1",
|
||||||
"termstr @ git+https://gitlab.com/ahamilton/eris@v2025.06.21#subdirectory=termstr",
|
"termstr @ git+https://gitlab.com/ahamilton/eris@v2025.07.11#subdirectory=termstr",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ tool.uv.package = true
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "termstr"
|
name = "termstr"
|
||||||
version = "v2025.06.21"
|
version = "v2025.07.11"
|
||||||
description = "Termstr provides strings with extra terminal styling."
|
description = "Termstr provides strings with extra terminal styling."
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" },
|
{ name = "Andrew Hamilton", email = "and_hamilton@yahoo.com" },
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import weakref
|
||||||
import cwcwidth
|
import cwcwidth
|
||||||
|
|
||||||
|
|
||||||
__version__ = "v2025.06.21"
|
__version__ = "v2025.07.11"
|
||||||
|
|
||||||
|
|
||||||
ESC = "\x1b"
|
ESC = "\x1b"
|
||||||
|
|
|
||||||
8
uv.lock
generated
8
uv.lock
generated
|
|
@ -27,7 +27,7 @@ wheels = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "eris"
|
name = "eris"
|
||||||
version = "2025.6.21"
|
version = "2025.7.11"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "docopt-ng" },
|
{ name = "docopt-ng" },
|
||||||
|
|
@ -54,7 +54,7 @@ requires-dist = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "fill3"
|
name = "fill3"
|
||||||
version = "2025.6.21"
|
version = "2025.7.11"
|
||||||
source = { editable = "fill3" }
|
source = { editable = "fill3" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "termstr" },
|
{ name = "termstr" },
|
||||||
|
|
@ -65,7 +65,7 @@ requires-dist = [{ name = "termstr", editable = "termstr" }]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lscolors"
|
name = "lscolors"
|
||||||
version = "2025.6.21"
|
version = "2025.7.11"
|
||||||
source = { editable = "lscolors" }
|
source = { editable = "lscolors" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "termstr" },
|
{ name = "termstr" },
|
||||||
|
|
@ -171,7 +171,7 @@ sdist = { url = "https://files.pythonhosted.org/packages/d6/b4/b44fccc7040b01449
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "termstr"
|
name = "termstr"
|
||||||
version = "2025.6.21"
|
version = "2025.7.11"
|
||||||
source = { editable = "termstr" }
|
source = { editable = "termstr" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "cwcwidth" },
|
{ name = "cwcwidth" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue