forgejo/modules/packages
Gusted de389f2ecc fix: handle renamed dependency for cargo registery
- When a dependency is renamed, specified via `package="actual-name"` in
Cargo.toml, this should become the name of the depedency when the
package is retrieved from the registery by cargo and the old name should
be available in the `package` field.
- The reference implementation also does this: 490e66a9d6/src/controllers/krate/publish.rs (L702-L705)
- Resolves #5936
- Unit test added.

(cherry picked from commit bb93d3e6c8)
2024-11-13 22:56:30 +00:00
..
alpine Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
arch feat: add architecture-specific removal support for arch package (#5351) 2024-09-27 08:29:09 +00:00
cargo fix: handle renamed dependency for cargo registery 2024-11-13 22:56:30 +00:00
chef Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
composer Add bin to Composer Metadata (#32099) 2024-09-27 08:13:30 +00:00
conan Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
conda Support compression for Actions logs (#31761) 2024-08-13 06:51:49 +02:00
container Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
cran Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
debian Support compression for Actions logs (#31761) 2024-08-13 06:51:49 +02:00
goproxy Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
helm Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
maven Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
npm Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
nuget Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
pub Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
pypi
rpm Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
rubygems Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
swift Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
vagrant Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
content_store.go Add direct serving of package content (#25543) 2023-07-03 15:33:28 +02:00
hashed_buffer.go Close all hashed buffers (#27787) 2023-10-25 21:24:24 +02:00
hashed_buffer_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
multi_hasher.go
multi_hasher_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00