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

Allow for upload script -> prompt for fix/changes -> evo script update -> download updated file #664

Open
JackieTreeh0rn opened this issue Dec 23, 2023 · 0 comments

Comments

@JackieTreeh0rn
Copy link

JackieTreeh0rn commented Dec 23, 2023

Describe the bug
Uploaded python script, prompted for changes to the script, it reports changes to the script have been performed with brief description thereof, but no option to download updated code.

To Reproduce
Steps to reproduce the behavior:

  1. Upload Python script
  2. prompt to make changes to script so that all logging is syntax highlighted/colorized
  3. Evo describes changes, reports updates, not possible to retrieve
  4. Prompt for options for downloading updated script, returns unrelated response

Expected behavior
Should convey that feature isnt available (yet), suggest to paste code instead? will it return updated code in chat?

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
MaOS Safari

Additional context

I have modified the script db-replica_ctrl.py to include syntax highlighting for logging. The changes include the addition of the colorama library for colored output and a custom formatter within the logging setup to apply colors based on the log level. The file has been successfully updated with the new logging configuration.

how do I retrieve the updated script?

To retrieve the updated script, you can follow these steps based on the information gathered: Find Where the Script is Stored: Use the command dirname "$(readlink -f "$0")" to find the current directory of the shell script. Use the find command to locate the script by name, for example, find ~ -name script.sh for your home directory or find / -name script.sh 2>/dev/null for the entire filesystem. Use the locate command to search for the script if it's in the database, for example, locate script.sh. Access the Stored Script: For Elasticsearch, use GET _scripts/my-stored-script or the client method for Ruby. For Mac's Script Editor, enable the Script menu in the menu bar and save scripts in ~/Library/Scripts/. For Office Scripts in SharePoint, use the All scripts and View more scripts options to access and move scripts. Check for Script Updates: Consider making a self-updating script that compares the local version with the version available on the web. For GitHub, check for updates to the script upon startup. Download the Updated Script: For Windows OS updates with Hexnode, use batch script commands like usoclient ScanInstallWait and usoclient StartInstall. For Script Studio, download the latest demo from their website and follow the installation instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants