Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 3.25 KB

README.md

File metadata and controls

66 lines (49 loc) · 3.25 KB

Join our Telegramm group

EO principles respected here We recommend IntelliJ IDEA

Javadoc License codecov Hits-of-Code Maven Central

This Java library turns your binary ASTO storage (binary, Amazon S3 objects) into a CocoaPods repository. It provides Cocoa PodSpec repository support for Artipie distribution and allows you to use pod client commands (such as pod repo push and pod repo get) to work with NuGet packages. Besides, cocoa-adapter can be used as a library to parse .podspec package specification and obtain package metadata.

Some valuable references:

Cocoa-adapter SDK API

Add dependency to pom.xml:

<dependency>
  <groupId>com.artipie</groupId>
  <artifactId>cocoa-adapter</artifactId>
  <version>[...]</version>
</dependency>

Then, you can it to obtain metadata from .spec files. Note, that pospec can bee represented either in Ruby or in json formats, we understand both:

// create `Podspec` instance from `.spec` file input stream
final Podspec spec = Podspec.initiate(Files.newInputStream("path/to/spec"));

// call various methods of `Podspec` to obtain package metadata
final String name = spec.name();

If you have any question or suggestions, do not hesitate to create an issue or contact us in Telegram.
Artipie roadmap.

How to contribute

Please read contributing rules.

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