Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.libnetworkcache
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • slapos.libnetworkcache
  • Merge requests
  • !8

wip: Add new criteria and syntax for download selection, support json file for metadata.

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Ophélie Gagnard requested to merge Ophelie/slapos.libnetworkcache:cmdline-selection into master Nov 30, 2022
  • Overview 74
  • Commits 3
  • Changes 1

Syntax:

KEY[>=,<=,>,<,=,:]VALUE VALUE is expected to be json dump except when the delimiter is ":" With ":" delimiter, accepted special words are "maximum", "max", "latest" and "minimum", "min" and "oldest".

Selection:

For the sake of lisibility, the shadir entries are preprocessed in order to eliminate invalid metadata. This is slower but the metadata is exepected to be small as each entry may require a database access on the server shacache side.

JSON file:

Support metadata in json file.

Edited Mar 16, 2023 by Xiaowu Zhang
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: cmdline-selection
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7