Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatix_cmd Merge #66

Open
wants to merge 103 commits into
base: main
Choose a base branch
from
Open

Automatix_cmd Merge #66

wants to merge 103 commits into from

Conversation

jpaul-seibert
Copy link
Contributor

This PR merges all the changes from https://github.com/vanadinit/automatix_cmd

I first considered rewriting or just taking parts of the code, but there was also some major refactoring of the main code so I felt like I would do all the work a second time. Feel free to comment and make suggestions for improvements.

Experimental features should be deactivated on default, even though it's
a cool feature ;)
Also python requirement increased to >=3.10
Johannes Paul and others added 26 commits July 25, 2024 10:53
Add RUNNING_INSIDE_AUTOMATIX environment variable
Handing over all the globals of the main programm seems unnecessary and
dangerous.
Builtins seem to be included anyway.
a_vars to avoid shadowing vars()
Also adding tests for assignment.
This is to have a better separation between the PERSISTENT_VARS the user
sets and the programmaticly set variables, like a_vars, PVARS,
AbortException, ...

Fixes also a bug, where assignments in python commands did not work,
because the a_vars had been overridden by PERSISTENT_VARS.
Refactor python vars and add Python debug shell
Some screen versions do not have 'GNU' or 'FAU' in their version output. We do not know which version it might be, but we can have a try.
Since version 5.0.0 of GNU Screen the term "GNU" is no longer part of
the version output. This makes it difficult to identify the GNU version
safely. Therefore we asume the correct version if we do not have clear
hints for the false (FAU) version.
Add example for file content assignment with "FILE_" syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants