Skip to content

Conversation

@matthewmoorcroft
Copy link

@matthewmoorcroft matthewmoorcroft commented Jun 23, 2024

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

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.

- 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 matthewmoorcroft changed the title V2.0.3 Architecture Change (#12) V2.0.3 Architecture Change Jun 23, 2024
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.

1 participant