Ticket #4609 (testing enhancement: fixed)

Opened 12 days ago

Last modified 12 days ago

treat Rust crates as tar.gz files for opening/viewing

Reported by: sharkcz Owned by: zaytsev
Priority: minor Milestone: 4.8.33
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

Seem the Rust crates (*.crate) files are actually a gzipped tarball. It would be nice to be able to open/view/inspect them similarly to regular gzipped tarballs.

Change History

comment:1 Changed 12 days ago by zaytsev

  • Status changed from new to accepted
  • Owner set to zaytsev
  • Priority changed from major to minor
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.33

comment:2 Changed 12 days ago by sharkcz

Right, it would be ideal if MC could detect the compression before passing the data to eg. tar. Which might be a useful feature in general ...

comment:3 Changed 12 days ago by zaytsev

Well, generally we do have it, but the problem is with nested compression like tar.gz. For this we don't have a great solution. Let's hope that my suggestion is good enough.

comment:4 Changed 12 days ago by andrew_b

  • Votes for changeset set to andrew_b
  • Component changed from mc-vfs to mc-core
  • Branch state changed from on review to approved

comment:5 Changed 12 days ago by zaytsev

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:6 Changed 12 days ago by sharkcz

tested and it works nicely, thanks

Note: See TracTickets for help on using tickets.