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

Implement fs copy from HTTP #667

Closed
7 tasks
maddenp-noaa opened this issue Dec 4, 2024 · 0 comments · Fixed by #669
Closed
7 tasks

Implement fs copy from HTTP #667

maddenp-noaa opened this issue Dec 4, 2024 · 0 comments · Fixed by #669
Assignees

Comments

@maddenp-noaa
Copy link
Collaborator

Description

Extend fs copy mode/action to get files over HTTP.

AC

  • Uses the requests library for data transfer.
  • Uses urllib.parse to get protocol from URL.
  • No protocol (as before) or file:// => local filesystem.
  • Attempts to use http:// or https:// in a destination path fail with an informative error message.
  • Unit tests are added.
  • Documentation is updated with one or more examples.
  • Both CLI and API access is provided.
@maddenp-noaa maddenp-noaa converted this from a draft issue Dec 4, 2024
@maddenp-noaa maddenp-noaa self-assigned this Dec 4, 2024
@maddenp-noaa maddenp-noaa moved this from Todo to In Progress in Unified Workflow Kanban Dec 4, 2024
@maddenp-noaa maddenp-noaa moved this from In Progress to Peer Review in Unified Workflow Kanban Dec 9, 2024
maddenp-noaa added a commit to maddenp-noaa/uwtools that referenced this issue Dec 10, 2024
@github-project-automation github-project-automation bot moved this from Peer Review to Done in Unified Workflow Kanban Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant