Skip to content
Turns your data storage into an RPM repository
Java
Branch: master
Clone or download
Latest commit 07f8abe Nov 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src #3 thread safety Nov 8, 2019
.gitattributes #1 skeleton Nov 5, 2019
.gitignore #1 skeleton Nov 5, 2019
.rultor.yml #1 rultor fix Nov 6, 2019
.travis.yml #2 openjdk Nov 7, 2019
LICENSE.txt #1 skeleton Nov 5, 2019
README.md #2 doc Nov 7, 2019
pom.xml #3 thread safety Nov 8, 2019

README.md

DevOps By Rultor.com We recommend IntelliJ IDEA

Build Status Javadoc License Hits-of-Code Maven Central PDD status

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 yum and dnf will perfectly understand.

Similar solutions:

Some valuable references:

This is the dependency you need:

<dependency>
  <groupId>com.yegor256</groupId>
  <artifactId>rpm-files</artifactId>
  <version>[...]</version>
</dependency>

Then, you implement com.yegor256.rpm.Storage interface.

Then, you make an instance of Rpm class with your storage as an argument. Finally, you put your artifacts to the storage and instruct 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.

Should work.

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+.

You can’t perform that action at this time.