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

Update package metadata and dependencies #15

Merged
merged 1 commit into from
Sep 8, 2023
Merged

Conversation

Callum027
Copy link
Member

@Callum027 Callum027 commented Sep 8, 2023

  • Fix package URLs to point to the Prowlarr plugin's pages, not the Sonarr plugin
  • Fix type hints and code so that Mypy will pass in all cases
  • Update prowlarr-py to v0.4.1
  • Add json5 as an explicit dependency (instead of relying on the implicit nested dependency from Buildarr core)
  • Add support for Buildarr v0.6.0
  • Add the new Radarr plugin for Buildarr as an optional dependency
  • Update development dependencies to the latest versions, and update linting configuration
  • Remove VS Code project files from being committed to the repository
  • Fix URL parsing of non-canonical domain names (e.g. IP addresses and localhost) when using buildarr prowlarr dump-config

* Fix package URLs to point to the Prowlarr plugin's pages, not the Sonarr plugin
* Fix type hints and code so that Mypy will pass in all cases
* Update `prowlarr-py` to v0.4.1
* Add `json5` as an explicit dependency (instead of relying on the implicit nested dependency from Buildarr core)
* Add support for Buildarr v0.6.0
* Add the new Radarr plugin for Buildarr as an optional dependency
* Update development dependencies to the latest versions, and update linting configuration
* Remove VS Code project files from being committed to the repository
@Callum027 Callum027 added this to the v0.3.0 milestone Sep 8, 2023
@Callum027 Callum027 self-assigned this Sep 8, 2023
@Callum027 Callum027 linked an issue Sep 8, 2023 that may be closed by this pull request
@Callum027
Copy link
Member Author

Tested that the Radarr plugin instance link works correctly.

callum@callum-laptop:~/dev/github.com/buildarr/buildarr-prowlarr$ poetry run buildarr run
2023-09-09 10:40:52,242 buildarr:150815 buildarr.cli.run [INFO] Buildarr version 0.6.0 (log level: INFO)
2023-09-09 10:40:52,242 buildarr:150815 buildarr.cli.run [INFO] Loading configuration file '/home/callum/dev/github.com/buildarr/buildarr-prowlarr/buildarr.yml'
2023-09-09 10:40:52,370 buildarr:150815 buildarr.cli.run [INFO] Finished loading configuration file
2023-09-09 10:40:52,407 buildarr:150815 buildarr.cli.run [INFO] Loaded plugins: prowlarr (0.2.0), radarr (0.1.0), sonarr (0.5.1)
2023-09-09 10:40:52,407 buildarr:150815 buildarr.cli.run [INFO] Loading instance configurations
2023-09-09 10:40:52,421 buildarr:150815 buildarr.cli.run [INFO] Finished loading instance configurations
2023-09-09 10:40:52,421 buildarr:150815 buildarr.cli.run [INFO] Running with plugins: sonarr, prowlarr, radarr
2023-09-09 10:40:52,422 buildarr:150815 buildarr.cli.run [INFO] Resolving instance dependencies
2023-09-09 10:40:52,422 buildarr:150815 buildarr.cli.run [INFO] Finished resolving instance dependencies
2023-09-09 10:40:52,422 buildarr:150815 buildarr.cli.run [INFO] Fetching TRaSH metadata
2023-09-09 10:41:01,364 buildarr:150815 buildarr.cli.run [INFO] Finished fetching TRaSH metadata
2023-09-09 10:41:01,364 buildarr:150815 buildarr.cli.run [INFO] Rendering instance configuration dynamic attributes
2023-09-09 10:41:01,372 buildarr:150815 buildarr.cli.run [INFO] Finished rendering instance configuration dynamic attributes
2023-09-09 10:41:01,372 buildarr:150815 buildarr.cli.run [INFO] Loading secrets file from '/home/callum/dev/github.com/buildarr/buildarr-prowlarr/secrets.json'
2023-09-09 10:41:01,374 buildarr:150815 buildarr.cli.run [INFO] Secrets file does not exist, will create new file
2023-09-09 10:41:01,374 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Checking secrets
2023-09-09 10:41:01,374 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Connection test failed using cached secrets (or not cached), fetching secrets
2023-09-09 10:41:01,411 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Connection test successful using fetched secrets
2023-09-09 10:41:01,411 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Finished checking secrets
2023-09-09 10:41:01,411 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Checking secrets
2023-09-09 10:41:01,411 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Connection test failed using cached secrets (or not cached), fetching secrets
2023-09-09 10:41:01,433 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Connection test successful using fetched secrets
2023-09-09 10:41:01,433 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Finished checking secrets
2023-09-09 10:41:01,433 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Checking secrets
2023-09-09 10:41:01,433 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Connection test failed using cached secrets (or not cached), fetching secrets
2023-09-09 10:41:01,458 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Connection test successful using fetched secrets
2023-09-09 10:41:01,458 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Finished checking secrets
2023-09-09 10:41:01,458 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Checking secrets
2023-09-09 10:41:01,458 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Connection test failed using cached secrets (or not cached), fetching secrets
2023-09-09 10:41:01,467 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Connection test successful using fetched secrets
2023-09-09 10:41:01,467 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Finished checking secrets
2023-09-09 10:41:01,467 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Checking secrets
2023-09-09 10:41:01,467 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Connection test failed using cached secrets (or not cached), fetching secrets
2023-09-09 10:41:01,488 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Connection test successful using fetched secrets
2023-09-09 10:41:01,488 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Finished checking secrets
2023-09-09 10:41:01,488 buildarr:150815 buildarr.cli.run [INFO] Saving updated secrets file to '/home/callum/dev/github.com/buildarr/buildarr-prowlarr/secrets.json'
2023-09-09 10:41:01,489 buildarr:150815 buildarr.cli.run [INFO] Finished saving updated secrets file
2023-09-09 10:41:01,489 buildarr:150815 buildarr.cli.run [INFO] Performing post-initialisation configuration render
2023-09-09 10:41:01,687 buildarr:150815 buildarr.cli.run [INFO] Finished performing post-initialisation configuration render
2023-09-09 10:41:01,687 buildarr:150815 buildarr.cli.run [INFO] Updating configuration on remote instances
2023-09-09 10:41:01,687 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Fetching remote configuration to check if updates are required
2023-09-09 10:41:02,051 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Finished fetching remote configuration
2023-09-09 10:41:02,133 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Updating remote configuration
2023-09-09 10:41:02,619 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Remote configuration is up to date
2023-09-09 10:41:02,619 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Finished updating remote configuration
2023-09-09 10:41:02,619 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Fetching remote configuration to check if updates are required
2023-09-09 10:41:02,842 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Finished fetching remote configuration
2023-09-09 10:41:02,923 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Updating remote configuration
2023-09-09 10:41:03,114 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Remote configuration is up to date
2023-09-09 10:41:03,114 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Finished updating remote configuration
2023-09-09 10:41:03,115 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Fetching remote configuration to check if updates are required
2023-09-09 10:41:03,319 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Finished fetching remote configuration
2023-09-09 10:41:03,390 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Updating remote configuration
2023-09-09 10:41:03,543 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Remote configuration is up to date
2023-09-09 10:41:03,543 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Finished updating remote configuration
2023-09-09 10:41:03,543 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Fetching remote configuration to check if updates are required
2023-09-09 10:41:03,741 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Finished fetching remote configuration
2023-09-09 10:41:03,775 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Updating remote configuration
2023-09-09 10:41:03,931 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Remote configuration is up to date
2023-09-09 10:41:03,931 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Finished updating remote configuration
2023-09-09 10:41:03,931 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Fetching remote configuration to check if updates are required
2023-09-09 10:41:04,103 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Finished fetching remote configuration
2023-09-09 10:41:04,122 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Updating remote configuration
2023-09-09 10:41:08,329 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Remote configuration is up to date
2023-09-09 10:41:08,329 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Finished updating remote configuration
2023-09-09 10:41:08,329 buildarr:150815 buildarr.cli.run [INFO] Finished updating configuration on remote instances
2023-09-09 10:41:08,329 buildarr:150815 buildarr.cli.run [INFO] Deleting unmanaged/unused resources on remote instances
2023-09-09 10:41:08,329 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Refetching remote configuration to delete unused resources
2023-09-09 10:41:08,526 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Finished refetching remote configuration
2023-09-09 10:41:08,545 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Deleting unmanaged/unused resources on the remote instance
2023-09-09 10:41:08,617 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Remote configuration is clean
2023-09-09 10:41:08,617 buildarr:150815 buildarr.cli.run [INFO] <prowlarr> (prowlarr) Finished deleting unmanaged/unused resources on the remote instance
2023-09-09 10:41:08,617 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Refetching remote configuration to delete unused resources
2023-09-09 10:41:08,804 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Finished refetching remote configuration
2023-09-09 10:41:08,838 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Deleting unmanaged/unused resources on the remote instance
2023-09-09 10:41:08,920 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Remote configuration is clean
2023-09-09 10:41:08,920 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-4k) Finished deleting unmanaged/unused resources on the remote instance
2023-09-09 10:41:08,920 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Refetching remote configuration to delete unused resources
2023-09-09 10:41:09,103 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Finished refetching remote configuration
2023-09-09 10:41:09,139 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Deleting unmanaged/unused resources on the remote instance
2023-09-09 10:41:09,222 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Remote configuration is clean
2023-09-09 10:41:09,223 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-hd) Finished deleting unmanaged/unused resources on the remote instance
2023-09-09 10:41:09,223 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Refetching remote configuration to delete unused resources
2023-09-09 10:41:09,418 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Finished refetching remote configuration
2023-09-09 10:41:09,454 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Deleting unmanaged/unused resources on the remote instance
2023-09-09 10:41:09,594 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Remote configuration is clean
2023-09-09 10:41:09,594 buildarr:150815 buildarr.cli.run [INFO] <sonarr> (sonarr-anime) Finished deleting unmanaged/unused resources on the remote instance
2023-09-09 10:41:09,594 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Refetching remote configuration to delete unused resources
2023-09-09 10:41:09,933 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Finished refetching remote configuration
2023-09-09 10:41:10,012 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Deleting unmanaged/unused resources on the remote instance
2023-09-09 10:41:10,119 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Remote configuration is clean
2023-09-09 10:41:10,119 buildarr:150815 buildarr.cli.run [INFO] <radarr> (radarr-hd) Finished deleting unmanaged/unused resources on the remote instance
2023-09-09 10:41:10,119 buildarr:150815 buildarr.cli.run [INFO] Finished deleting unmanaged/unused resources on remote instances
2023-09-09 10:41:10,119 buildarr:150815 buildarr.cli.run [INFO] Deleting downloaded TRaSH metadata
2023-09-09 10:41:10,140 buildarr:150815 buildarr.cli.run [INFO] Finished deleting downloaded TRaSH metadata

@Callum027 Callum027 merged commit f52f6b6 into main Sep 8, 2023
1 check passed
@Callum027 Callum027 deleted the x-update-package branch September 8, 2023 22:45
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.

Python package homepage/repository URLs are incorrect
1 participant