Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nbarrientos/archive-rpm
Browse RPM and CPIO archives in Emacs with archive-mode
https://github.com/nbarrientos/archive-rpm
cpio emacs rpm
Last synced: 5 days ago
JSON representation
Browse RPM and CPIO archives in Emacs with archive-mode
- Host: GitHub
- URL: https://github.com/nbarrientos/archive-rpm
- Owner: nbarrientos
- License: gpl-3.0
- Created: 2022-02-19T16:10:20.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T23:52:06.000Z (over 1 year ago)
- Last Synced: 2024-12-23T23:40:57.406Z (12 days ago)
- Topics: cpio, emacs, rpm
- Language: Emacs Lisp
- Homepage:
- Size: 39.1 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Tests](https://github.com/nbarrientos/archive-rpm/actions/workflows/test.yml/badge.svg)](https://github.com/nbarrientos/archive-rpm/blob/master/test/archive-rpm-tests.el)
[![Melpa](https://melpa.org/packages/archive-rpm-badge.svg)](https://melpa.org/#/archive-rpm)# archive-rpm
## Description
Browse RPM and CPIO archives in Emacs with archive-mode
Have you ever tried opening a tarball or a zip file in Emacs? You
will have noticed that it shows you a list of all the files in the
archive, and you can open the individual files. Then perhaps you
tried opening an RPM file, hoping to see something similar, only to be
faced with a wall of binary data.This pair of Emacs Lisp modules attempts to remediate that, giving you
the same experience with RPM files as with tarballs and other archive
files.(Why two modules? As it turns out, RPM files consist of a bunch of
metadata prepended to a compressed CPIO archive, so it makes sense to
implement handling of CPIO archives, and then do RPMs on top of that.)## History
In March 2022, [MELPA
switched](https://github.com/melpa/melpa/pull/7945) to this repository
as source for this package due to the [original
one](https://github.com/legoscia/archive-rpm) not being maintained.## Installation
To install these modules, type `M-x package-install-file`, and select
the _directory_ containing `archive-rpm.el` and `archive-cpio.el`
(don't select one of the modules themselves!). After that, any RPM
files you open should display as some metadata plus a file listing.This package is also available from MELPA so if you have that
repository configured `(package-install "archive-rpm")` should do the
trick.## Tests
To run the test suite make sure that `rpmbuild` is installed on the
system and run `make test`.