GithubHelp home page GithubHelp logo

invoke-node-update-scripts's Introduction

invoke-node-update-scripts

Batch/Script files to help with updating nodes. Hopefully useful if node authors follow the git clone style of installing nodes. Put the script/batch files in your invokeai/nodes folder and run them from there.

The scripts to accept an optional directory parameter. If you pass in a directory they will operate only that directory as a repo. Otherwise, they will operate on all the sub-directories in the current directory.

In Windows, I have the batch files in the nodes folder. Then I can double-click on them and execute against all the nodes or if I drag a single folder onto the batch file it will only execute against that.

Additionally, (mostly untested so use with caution) Linux ".sh" versions that I used Chat GPT to create. Any feedback on the Linux version would be appreciated. If it is not useful or doesn't work I will remove it as I don't have any environment to test it on.

Window batch files:

  • update.bat : Update all/one nodes with a git pull
  • update_list.bat : Checks all/one nodes and reports if any are behind along with a url that shows what has been updated (does not update)
  • update_force.bat : Update all/one repos but overwrite of any local changes (using clean, checkout & pull)

Linux versions:

  • update.sh : Update all/one nodes
  • update_list.sh : Checks all/one nodes and reports if any are behind along with a url that shows what has been updated (does not update)
  • update_force.sh : Update all/one repos but overwrite of any local changes (using clean, checkout & pull)

Note: The Linux versions will need chmod +x scriptname.sh before you can run it with ./scriptname.sh

invoke-node-update-scripts's People

Contributors

skunkworxdark avatar

Stargazers

Ade avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.