0.16: Release Notes
v0.16 was released on February 16. Here is the list of other implemented features and important fixes:
- Docker-adapter now supports overwrite permission for tags
- Release index file is now fully supported in Debian-adapter
FileStoragedeleteoperation was improved: now we also remove empty directories recursively along with the removed file. This change fixed connected bug in Docker-adapter- Basic authentication was added to Composer-adapter
- Writing big files operation performance was improved in Asto
- Npm-adapter now supports
tgzupload, to publish the package simplecurlcall can be used:curl PUT your-archive.tgz. Also,unpublishcommand now can remove the specified version of the package, not only the package entirely.
Granular Permissions For Docker Registry
Docker-adapter supports granular permissions, which means that some operations can be granted for specific scope and image. Here is the example docker repository settings yaml:
repo:
type: docker
storage:
type: fs
path: /var/artipie/data
permissions:
alice:
- repository:my-alpine:*
- repository:ubuntu-latest:pull
- repository:some-image:overwrite
- repository:some-image:push
mike:
- repository:some-image:push
- repository:some-image:pull
bob:
- registry:base:*
- registry:catalog:*
Each permission consists of three parts: scope:name:action, scope can be either “registry” for
the registry level operations or “repository”. Name is the access resource name, action can be
one of pull, push, overwrite or * (* stands for any action), overwrite works
for overwriting existing tags and allows creating new tags by default.