This Java library turns your binary storage
(files, S3 objects, anything) into an RPM repository.
You may add it to your binary storage and it will become
a fully-functionable RPM repository, which
will perfectly understand.
Some valuable references:
- RPM format
- Yum repository internals (blog post)
- YUM repository and package management: Complete Tutorial (blog post)
- The Origin of RPM Content
This is the dependency you need:
<dependency> <groupId>com.yegor256</groupId> <artifactId>rpm-files</artifactId> <version>[...]</version> </dependency>
Then, you implement
Then, you make an instance of
Rpm class with your storage
as an argument. Finally, you put your artifacts to the storage
Rpm to update the meta info:
import com.yegor256.rpm.Rpm; Rpm rpm = new Rpm(storage); rpm.update("test/my.rpm"); // Do you need more operations? Submit a ticket.
Read the Javadoc for more technical details.
How to contribute
Fork repository, make changes, send us a pull request. We will review
your changes and apply them to the
master branch shortly, provided
they don't violate our quality standards. To avoid frustration, before
sending us your pull request please run full Maven build:
$ mvn clean install -Pqulice
To avoid build errors use Maven 3.2+.