Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
slapos.libnetworkcache
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • nexedi
  • slapos.libnetworkcache
  • Merge Requests
  • !8

Open
Opened Nov 30, 2022 by Ophélie Gagnard@Ophelie
  • Report abuse
Report abuse

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

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 Dec 06, 2022 by Ophélie Gagnard

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch https://lab.nexedi.com/Ophelie/slapos.libnetworkcache.git cmdline-selection
git checkout -b Ophelie/slapos.libnetworkcache-cmdline-selection FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/master
git merge --no-ff Ophelie/slapos.libnetworkcache-cmdline-selection

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 28
  • Commits 2
  • Changes 1
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: nexedi/slapos.libnetworkcache!8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7