Artifactd is a lightweight python implementation of an artifact storage system similar to jFrog's Artifactory or Sonatype's Nexus. It provides two repositories for 'release' and 'snapshot' artifacts:
- Inside 'release', artifacts are write-once and cannot be overwritten
- Inside 'snapshot' only the 5 most recent artifacts are kept
In addition it supports the display of README.md file in a folder (like this one). Its content is Markdown which is also used by GitHub. It uses the python markdown2 implementation as well as the github stylesheets to make it look nice. Markdown is a light text markup format and a processor to convert that to HTML. The originator describes it as follows:
Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).
To upload artifacts just run the following curl
command
curl -T filename.pkg -X PUT http://hostname:4070/artifacts/snapshot/project/v1.0/filename.pkg
or
curl -T filename.pkg -X PUT http://hostname:4070/artifacts/release/project/v1.0/filename.pkg
To download artifacts just use curl
in the similar way
curl -O http://hostname:4070/artifacts/release/project/v1.0/filename.pkg