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

Cleanup for 3.12 #10

Merged
merged 2 commits into from
May 5, 2024
Merged

Cleanup for 3.12 #10

merged 2 commits into from
May 5, 2024

Conversation

cooperlees
Copy link
Contributor

  • Move to version 0.1.4
  • Fix requirements.txt to have actual requirements
  • Move Github action to use 3.12
  • Move logging setup into main() function so we actually get logging :)

Install and run locally

  • python3.12 -m venv --upgrade-deps /tmp/tg
  • /tmp/tg/bin/pip install -e .[test]
  • /tmp/tg/bin/black .
  • /tmp/tg/bin/godaddyip run --config_files=/etc/godaddyip.yml --tmp_folder /tmp/cooper_godaddyip
    • See files in /tmp/cooper_godaddyip

Cooper Ry Lees added 2 commits May 4, 2024 19:42
- Move to version 0.1.4
- Fix requirements.txt to have actual requirements
- Move Github action to use 3.12
- Move logging setup into main() function so we actually get logging :)

Install and run locally
- `python3.12 -m venv --upgrade-deps /tmp/tg`
- `/tmp/tg/bin/pip install -e .[test]`
- `/tmp/tg/bin/black .`
- `/tmp/tg/bin/godaddyip run --config_files=/etc/godaddyip.yml --tmp_folder /tmp/cooper_godaddyip`
  - See files in /tmp/cooper_godaddyip
@cooperlees
Copy link
Contributor Author

Example logging:

cooper@home1:~/repos/godaddyip$ /tmp/tg/bin/godaddyip run --config_files=/etc/godaddyip.yml --tmp_folder /tmp/cooper_godaddyip
[2024-05-04 19:47:38,901] INFO: Updating A record home. (__main__.py:208)
[2024-05-04 19:47:38,902] INFO: Same ip as previous one, nothing to do. (__main__.py:211)
[2024-05-04 19:47:38,902] INFO: Updating CNAME record home1. (__main__.py:227)
[2024-05-04 19:47:38,902] INFO: Same alias as previous one, nothing to do. (__main__.py:230)
[2024-05-04 19:47:38,902] INFO: Updating CNAME record tahoe. (__main__.py:227)
[2024-05-04 19:47:38,902] INFO: Same alias as previous one, nothing to do. (__main__.py:230)
[2024-05-04 19:47:38,902] INFO: Sleeping for 5 minutes. (__main__.py:180)

@ibizaman ibizaman merged commit 4d620b7 into ibizaman:master May 5, 2024
2 checks passed
@ibizaman
Copy link
Owner

ibizaman commented May 5, 2024

Thank you!

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.

2 participants