• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mendersoftware / deployments
76%
master: 80%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/ulikunitz/xz-0.5.14
DEFAULT BRANCH: master
Repo Added 16 Sep 2020 01:17PM UTC
Files 78
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH michaelhobo/exact
branch: michaelhobo/exact
CHANGE BRANCH
x
Reset
  • michaelhobo/exact
  • 2.0.1-build2
  • 2.1.1-build1
  • 2.2.0
  • 2.2.0-build1
  • 2.2.0-build2
  • 2.2.2
  • 2.2.2-build1
  • 2.2.x
  • 2.3.0
  • 2.3.0-build1
  • 2.3.0-build10
  • 2.3.0-build11
  • 2.3.0-build7
  • 2.3.0-build8
  • 2.3.x
  • 3.0.0
  • 3.0.0-build1
  • 3.0.0-build2
  • 3.0.0-build3
  • 3.0.0-build4
  • 3.0.0-build5
  • 3.0.1
  • 3.0.x
  • 4.0.0-build1
  • 4.0.0-build2
  • 4.0.0-build3
  • 4.0.0-build4
  • 4.0.0-build5
  • 4.0.1
  • 4.0.1-build1
  • 4.0.1-build4
  • 4.0.1-build5
  • 4.0.1-build7
  • 4.0.1-build9
  • 4.0.x
  • 4.1.0
  • 4.1.0-build10
  • 4.1.0-build4
  • 4.1.0-build5
  • 4.1.0-build6
  • 4.1.0-build7
  • 4.1.0-build8
  • 4.1.0-build9
  • 4.1.x
  • 4.2.0
  • 4.2.0-build2
  • 4.2.0-build3
  • 4.2.0-build4
  • 4.2.0-build5
  • 4.2.0-build6
  • 4.2.0-build7
  • 4.2.0-build8
  • 4.2.0-build9
  • 4.2.1-build1
  • 4.2.2
  • 4.2.2-build4
  • 4.2.2-build5
  • 4.2.x
  • 4.3.0
  • 4.3.0-build6
  • 4.3.0-build7
  • 4.3.0-build8
  • 4.3.1-build1
  • 4.3.1-build2
  • 4.3.x
  • 4.4.0
  • 4.4.0-build1
  • 4.4.0-build2
  • 4.4.0-build3
  • 4.4.0-build4
  • 4.4.0-build5
  • 4.4.0-build6
  • 4.4.0-build7
  • 4.4.1
  • 4.4.1-build1
  • 4.4.x
  • 4.5.0
  • 4.5.0-build1
  • 4.5.0-build10
  • 4.5.0-build11
  • 4.5.0-build12
  • 4.5.0-build2
  • 4.5.0-build3
  • 4.5.0-build5
  • 4.5.0-build7
  • 4.5.0-build8
  • 4.5.0-build9
  • 4.5.2
  • 4.5.2-build1
  • 4.5.2-build2
  • 4.5.2-build3
  • 4.5.2-build4
  • 4.5.2-build5
  • 4.5.2-build6
  • 4.5.x
  • 4.6.1
  • 4.6.1-build1
  • 4.6.1-build2
  • 4.6.2
  • 4.6.2-build5
  • 4.6.2-build6
  • 4.6.x
  • QA-505-poc-multi-project-pipeline
  • combined-prs-branch
  • dependabot/docker/alpine-3.14.0
  • dependabot/docker/alpine-3.14.1
  • dependabot/docker/alpine-3.14.2
  • dependabot/docker/alpine-3.14.3
  • dependabot/docker/golang-1.16.4-alpine3.12
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.39.0
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.39.4
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.40.13
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.40.17
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.40.22
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.40.27
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.40.32
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.40.37
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.40.42
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.40.54
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.40.59
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.40.7
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.41.14
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.41.19
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.41.4
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.41.9
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.42.19
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.42.9
  • dependabot/go_modules/go.mongodb.org/mongo-driver-1.5.4
  • dependabot/go_modules/go.mongodb.org/mongo-driver-1.6.0
  • dependabot/go_modules/go.mongodb.org/mongo-driver-1.7.0
  • dependabot/go_modules/go.mongodb.org/mongo-driver-1.7.1
  • dependabot/go_modules/go.mongodb.org/mongo-driver-1.7.2
  • dependabot/go_modules/go.mongodb.org/mongo-driver-1.7.4
  • feat
  • feature-partial_updates
  • feature-update_control_maps
  • master
  • pr_1043
  • pr_599
  • pr_808
  • pr_836
  • pr_881

19 Feb 2025 05:14PM UTC coverage: 76.117%. First build
1678937865

Pull #1048

gitlab-ci

mho-nuro
feat: enable exact artifact name, description, and device type matching in list artifacts requests

When using the List Artifacts APIs to find artifacts by name, the
existing implementation only supports $regex search using the pattern
".*<name>.*". This is CPU intensive on large image collections, when the
user only needs an exact match. On an existing dataset with 60000
images, the existing $regex query took 421ms while the new exact_name
query took 9ms. This was benchmarked using both device_types and name
set. Also, the new exact match makes an index more effective.

Adds exact_name, exact_device_type, and exact_description boolean params
to the GET /artifacts and GET /artifacts/list APIs. For example,
/artifacts/list?name=123.t would match name="123.test" but
/artifacts/list?name=123.t&exact_name would not match.

Tested: Ran a local deployments instance hooked up to a dev mongodb
atlas instance. Used curl with exact_name and exact_device_type, tested
that inexact matches were not returned using the new exact_ params but
were returned without the exact_ params.

Changelog: Title
Ticket: None

Signed-off-by: Michael Ho <callmemikeh@gmail.com>
Pull Request #1048: feat: enable exact artifact name, description, and device type matching in list artifacts requests

30 of 30 new or added lines in 2 files covered. (100.0%)

9233 of 12130 relevant lines covered (76.12%)

29.59 hits per line

Relevant lines Covered
Build:
Build:
12130 RELEVANT LINES 9233 COVERED LINES
29.59 HITS PER LINE
Source Files on michaelhobo/exact
  • Tree
  • List 78
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1678937865 michaelhobo/exact feat: enable exact artifact name, description, and device type matching in list artifacts requests When using the List Artifacts APIs to find artifacts by name, the existing implementation only supports $regex search using the pattern ".*<name>.*... Pull #1048 19 Feb 2025 05:28PM UTC mho-nuro gitlab-ci
76.12
See All Builds (1425)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc