Skip to content

Commit

Permalink
move image layering to separate module for easier standalone use
Browse files Browse the repository at this point in the history
  • Loading branch information
tofay committed Sep 19, 2024
1 parent 36672b4 commit 4b9d2a6
Show file tree
Hide file tree
Showing 8 changed files with 432 additions and 299 deletions.
13 changes: 7 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ url = { version = "2.2.2", features = ["serde"] }
walkdir = "2.3.2"
xattr = "1.0.1"
ocidir = "0.2.1"
derive_builder = "0.20.1"

[dev-dependencies]
test-temp-dir = "0.2.2"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/lockfile/graph.py → src/image_layerer/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def most_popular_packages(root, n):
p
for (p, _count) in sorted(
graph_popularity_contest(new_graph).items(),
key=lambda x: x[1],
key=lambda x: (x[1], x[0]),
reverse=True,
)
]
Expand Down
Loading

0 comments on commit 4b9d2a6

Please sign in to comment.