Skip to content

Refactor copy_iso_network_config()#4394

Merged
Torxed merged 1 commit intoarchlinux:masterfrom
codefiles:ref-copy-iso-network-config
Apr 8, 2026
Merged

Refactor copy_iso_network_config()#4394
Torxed merged 1 commit intoarchlinux:masterfrom
codefiles:ref-copy-iso-network-config

Conversation

@codefiles
Copy link
Copy Markdown
Contributor

Reduce string duplication and utilize Path functionality rather than use glob, os, and shutil modules. This makes use of Path.copy(), which was added in Python 3.14.

https://docs.python.org/3/whatsnew/3.14.html#pathlib

@codefiles codefiles requested a review from Torxed as a code owner April 7, 2026 23:42
@codefiles codefiles marked this pull request as draft April 8, 2026 00:44
@codefiles codefiles force-pushed the ref-copy-iso-network-config branch from 516b713 to f223f2f Compare April 8, 2026 01:14
@codefiles codefiles marked this pull request as ready for review April 8, 2026 01:14
@codefiles codefiles marked this pull request as draft April 8, 2026 03:46
@codefiles codefiles marked this pull request as ready for review April 8, 2026 04:04
@Torxed Torxed merged commit 3ef0848 into archlinux:master Apr 8, 2026
9 checks passed
@Torxed
Copy link
Copy Markdown
Member

Torxed commented Apr 8, 2026

Nice cleanup and improvement!

@codefiles codefiles deleted the ref-copy-iso-network-config branch April 8, 2026 12:22
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