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

Move configuration to tex-bot-deployment.yaml #221

Draft
wants to merge 150 commits into
base: main
Choose a base branch
from

Conversation

CarrotManMatt
Copy link
Member

@CarrotManMatt CarrotManMatt commented May 21, 2024

  • Deprecate use of environment variables
    • Use values from config file with higher priority
    • Make announcement in discord log & console that environment variables unsupported
  • Allow use of tex-bot-config.yaml file as backup
  • Validate yaml using StrictYAML
  • Update documentation
  • /config command
    • View current value (/config get)
    • View help about a setting (/config help)
    • Set a value (/config set)
    • Unset a value (/config unset)
  • Load messages into separated messages dict
  • Add reload task that checks for changes on an interval

@CarrotManMatt CarrotManMatt added the deployment Changes to the deployment or CI/CD configuration label May 21, 2024
@CarrotManMatt CarrotManMatt self-assigned this May 21, 2024
@CarrotManMatt CarrotManMatt linked an issue May 21, 2024 that may be closed by this pull request
@CarrotManMatt
Copy link
Member Author

This is now dependant upon #255

@CarrotManMatt CarrotManMatt added the suspended Delayed until a later date label Jul 14, 2024
# Conflicts:
#	cogs/__init__.py
#	cogs/make_applicant.py
#	cogs/send_introduction_reminders.py
#	poetry.lock
#	utils/__init__.py
#	utils/tex_bot.py
#	utils/tex_bot_base_cog.py
See #261 for more details
…-configuration-to-tex-bot-deploymentyaml

# Conflicts:
#	cogs/__init__.py
#	cogs/archive.py
#	cogs/make_applicant.py
#	cogs/remind_me.py
#	cogs/send_introduction_reminders.py
#	cogs/startup.py
#	config.py
#	exceptions/messages.py
#	exceptions/strike.py
#	poetry.lock
#	pyproject.toml
#	utils/__init__.py
#	utils/error_capture_decorators.py
#	utils/tex_bot.py
#	utils/tex_bot_base_cog.py
…t-deploymentyaml' into 165-move-configuration-to-tex-bot-deploymentyaml
…tex-bot-deploymentyaml

# Conflicts:
#	Dockerfile
#	cogs/__init__.py
#	cogs/archive.py
#	cogs/command_error.py
#	cogs/edit_message.py
#	cogs/induct.py
#	cogs/kill.py
#	cogs/make_applicant.py
#	cogs/make_member.py
#	cogs/remind_me.py
#	cogs/send_get_roles_reminders.py
#	cogs/send_introduction_reminders.py
#	cogs/source.py
#	cogs/startup.py
#	cogs/stats.py
#	cogs/strike.py
#	config.py
#	exceptions/__init__.py
#	exceptions/config_changes.py
#	exceptions/messages.py
#	main.py
#	utils/__init__.py
#	utils/message_sender_components.py
#	utils/tex_bot.py
#	utils/tex_bot_base_cog.py
See #261 for more details
…-configuration-to-tex-bot-deploymentyaml

# Conflicts:
#	cogs/command_error.py
#	cogs/induct.py
#	cogs/make_applicant.py
#	cogs/make_member.py
#	cogs/send_get_roles_reminders.py
#	cogs/send_introduction_reminders.py
#	cogs/startup.py
#	cogs/strike.py
#	poetry.lock
#	pyproject.toml
…-configuration-to-tex-bot-deploymentyaml

# Conflicts:
#	Dockerfile
#	cogs/__init__.py
#	cogs/archive.py
#	cogs/induct.py
#	cogs/kill.py
#	cogs/make_applicant.py
#	cogs/make_member.py
#	cogs/remind_me.py
#	cogs/send_get_roles_reminders.py
#	cogs/send_introduction_reminders.py
#	cogs/startup.py
#	cogs/strike.py
#	config.py
#	exceptions/__init__.py
#	exceptions/config_changes.py
#	exceptions/messages.py
#	main.py
#	utils/__init__.py
#	utils/message_sender_components.py
#	utils/tex_bot.py
#	utils/tex_bot_base_cog.py
…-configuration-to-tex-bot-deploymentyaml

# Conflicts:
#	cogs/send_get_roles_reminders.py
#	cogs/send_introduction_reminders.py
#	poetry.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Changes to the deployment or CI/CD configuration refactor Improvements to the codebase that do not directly affect users suspended Delayed until a later date
Projects
None yet
1 participant