Skip to content

Refactor Downloader to use linear-ish types, replace ArtifactPaths struct with ModArtifact helpers, and add reusable artifact FS interaction logic#141

Merged
Gawdl3y merged 7 commits into
mainfrom
clean/downloader-artifactpaths-refactor
Jan 23, 2024
Merged

Refactor Downloader to use linear-ish types, replace ArtifactPaths struct with ModArtifact helpers, and add reusable artifact FS interaction logic#141
Gawdl3y merged 7 commits into
mainfrom
clean/downloader-artifactpaths-refactor

Conversation

@Gawdl3y

@Gawdl3y Gawdl3y commented Jan 23, 2024

Copy link
Copy Markdown
Owner
  • Refactors the Downloader functionality to take advantage of linear-like types
  • Removes ArtifactPaths and replaces its functionality with dest_within, tmp_dest, and old_dest on ModArtifact
  • Introduces additional logging for any failed cancelled/undone downloads
  • Extracts common artifact FS interactions into reusable functions
  • Ensures all errors from the downloader are ArtifactErrors

@Gawdl3y Gawdl3y added the other Doesn't quite fit into other labels label Jan 23, 2024
@Gawdl3y Gawdl3y force-pushed the clean/downloader-artifactpaths-refactor branch from 449d8a2 to 2f06ae0 Compare January 23, 2024 04:32
@Gawdl3y Gawdl3y changed the title Refactor Downloader to use linear-ish types & replace ArtifactPaths struct with ModArtifact helpers Refactor Downloader to use linear-ish types, replace ArtifactPaths struct with ModArtifact helpers, and add reusable Artifact FS interaction logic Jan 23, 2024
@Gawdl3y Gawdl3y changed the title Refactor Downloader to use linear-ish types, replace ArtifactPaths struct with ModArtifact helpers, and add reusable Artifact FS interaction logic Refactor Downloader to use linear-ish types, replace ArtifactPaths struct with ModArtifact helpers, and add reusable artifact FS interaction logic Jan 23, 2024
@Gawdl3y Gawdl3y merged commit 1d1c16e into main Jan 23, 2024
@Gawdl3y Gawdl3y deleted the clean/downloader-artifactpaths-refactor branch January 23, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

other Doesn't quite fit into other labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant