TWB icon indicating copy to clipboard operation
TWB copied to clipboard

V2.0.3 Architecture Change

Open matthewmoorcroft opened this issue 8 months ago • 0 comments

First of all, amazing work done over the years. I remember when I first played I thought on the idea of automating but never got to it. Have tried this and has been really good. In order to contribute to this and pay it forward I have spent some time rearchitecting this to work as an actual package. No features have been changed only the way some parts work. There are more things that require cleaning up and fine-tuning, so I will spend some time on that as well. Things I have changed.

  • Library install simply requires pip install TWBot
  • Added workflows to manage pull requests as well as publishing to PyPi.
  • Added some test coverage as well as typing standard (currently test coverage and typing fail due to not being standardised but this can be worked on to get it to succeed over time)
  • Rearranged the file layout to work as a library
  • Considering it has been changed to be a library I have changed the way templates and cache get created in a project in order to have it created in the local user folder at startup
  • Cleaned up some code as well in the main bot class

This pull request require further changes to main repo:

  • Changes to release pipeline
  • Adjust pypi for new contributors
  • Change Repo name
  • change branch name to main

Some further work I will be doing

  • Improve config setup on first startup
  • Stabilise code

matthewmoorcroft avatar Jun 23 '24 22:06 matthewmoorcroft