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

Unify CLI fetch tool logic and main app logic #243

Open
mcantelon opened this issue Nov 7, 2023 · 3 comments
Open

Unify CLI fetch tool logic and main app logic #243

mcantelon opened this issue Nov 7, 2023 · 3 comments
Labels
cleanup Work that can make code/data cleaner or easier to maintain

Comments

@mcantelon
Copy link
Member

mcantelon commented Nov 7, 2023

The CLI fetch tool logic is replicates the main app's fetch logic to a large degree so we should unify the code with module(s) in the main app.

This code should have decent test coverage.

@mcantelon mcantelon added the cleanup Work that can make code/data cleaner or easier to maintain label Nov 7, 2023
mcantelon added a commit that referenced this issue Dec 13, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 13, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 13, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 13, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 13, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 13, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 13, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 13, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 14, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 14, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 14, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 14, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 14, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 14, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 14, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 14, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 15, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 15, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 15, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 15, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 15, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 15, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 15, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 15, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 15, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
mcantelon added a commit that referenced this issue Dec 15, 2023
* Replaced use of api_url dict with StorageService instance or ID
* Did some refactoring to unify the AIP fetching code between the main
  app logic and the CLI tool
@mcantelon
Copy link
Member Author

Merged some work to improve this (but there's still some work to be done).

mcantelon added a commit that referenced this issue Mar 19, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 19, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Mar 20, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
@mcantelon
Copy link
Member Author

A PR for the remaining work has been created: #299

mcantelon added a commit that referenced this issue Mar 22, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue Apr 12, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue May 1, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue May 1, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue May 1, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
mcantelon added a commit that referenced this issue May 2, 2024
Refactor fetch CLI tool, sharing more functionality with the fetch
Celery task.
@mcantelon
Copy link
Member Author

Merged PR. @sevein had a good idea, though. He could have the CLI fetch tool make a REST API request to trigger fetching rather than having independent logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Work that can make code/data cleaner or easier to maintain
Projects
None yet
Development

No branches or pull requests

1 participant