Skip to content

Commit f897881

Browse files
authored
refactor(apt-auth-config,oma-pm-oprtation-type,oma-refresh)!: some breaking changes ...
* refactor(apt-auth-config,oma-pm-oprtation-type,oma-refresh)!: some breaking changes ... - Use `PackageUrl` struct to store package download url and package index url - Use `Netrc` crate to parse apt auth config - Adjust `oma-refresh` lifetime about `auth_config` * feat: ignore read /etc/apt/auth.conf.d error * Fix read auth.conf.d * fmt * `AuthConfig::system` should get sysroot argument, not etc/apt dir
1 parent 4c44d40 commit f897881

File tree

26 files changed

+393
-311
lines changed

26 files changed

+393
-311
lines changed

Cargo.lock

Lines changed: 156 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apt-auth-config/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ license = "MIT"
88
[dependencies]
99
thiserror = "2"
1010
tracing = "0.1"
11-
rustix = { version = "0.38", features = ["process"] }
11+
rust-netrc = "0.1"
12+
url = "2.5"

0 commit comments

Comments
 (0)