v0.25.0: Release Notes

v0.25.1 was released on July 29. This month we mostly focused on Artipie documentation and wiki improvements, we are also preparing some articles and posts. The links will be available here as soon as we publish them. Besides, the following changes were made:

Several month ago, we extended rpm-adapter with the feature to set a schedule for repository update. This feature can be enabled in repository configuration:

repo:
  type: rpm
  storage:
    type: fs
    path: /var/artipie/centos
  settings:
    digest: sha256 # digest algorithm for rpm packages checksum calculation, sha256 (default) and sha1 are supported
    naming-policy: sha1 # naming policy for metadata files: plain, sha1 or sha256 (default) prefixed
    filelists: true # calculate metadata filelists.xml, true by default
    # repository update mode:
    update:
      # update metadata on package upload
      on: upload
      # or schedule the update
      on:
       cron: 0 2 * * *

New update section allows to set update mode: either update the repository when the package is uploaded via HTTP

repo:
  type: rpm
  ...
  settings:
    update:
      on: upload

or schedule the update via cron field. As rpm repository update process can be time-consuming for large repositories and new packages as a rule are not often added, it can be convenient to schedule the update for every night at 2 AM:

repo:
  type: rpm
  ...
  settings:
    update:
      on: 
        cron: 0 2 * * *

If you have any question, suggestion or notes, please, do not hesitate to comment this blog post or contact us in Telegram.