-
Notifications
You must be signed in to change notification settings - Fork 461
Owner Search
The Owner Search is returning owners of a given project/package. Owners are users/groups with the maintainer or bugowner roles in the given project/package. There are 5 OwnerSearch classes with OwnerSearch::Base being the parent of the 4 other children classes. They have different behaviors depending on the hash key-value pairs passed to their initializer. The key-value pairs with possible effects are attribute, devel, filter, limit and project. Other key-value pairs are ignored. See below how each class works.
Search for owners by looking at the binaries of packages in projects. attribute, devel and project will considerably change how this is done.
By default when no attribute is provided, search for projects with the attribute 'OBS:OwnerRootProject'. Search for projects with a different attribute by providing one to this key-value pair.
A value of '0' or 'false' will not consider devel packages when searching for owners.
A value of -1 will return only the owner of the deepest package in terms of project levels (like home:Admin/ctris vs home:Admin/subproject1/ctris).
A value of 0 will return all owners.
A value of 1 or higher will return at most this amount of owners for a given project/package. There might not be even that many owners.
Search for owners only in this project (like home:Admin), thus ignoring the attribute.
TODO - General description
It does not have any effect.
It does not have any effect.
It does not have any effect.
TODO - General description
By default when no attribute is provided, search for projects with the attribute 'OBS:OwnerRootProject'. Search for projects with a different attribute by providing one to this key-value pair.
It does not have any effect.
Search for owners only in this project (like home:Admin)
TODO - General description
By default when no attribute is provided, search for projects with the attribute 'OBS:OwnerRootProject'. Search for projects with a different attribute by providing one to this key-value pair.
It does not have any effect.
Search for owners only in this project (like home:Admin)
- Development Environment Overview
- Development Environment Tips & Tricks
- Spec-Tips
- Code Style
- Rubocop
- Testing with VCR
- Test in kanku
- Authentication
- Authorization
- Autocomplete
- BS Requests
- Events
- ProjectLog
- Notifications
- Feature Toggles
- Build Results
- Attrib classes
- Flags
- The BackendPackage Cache
- Maintenance classes
- Cloud uploader
- Delayed Jobs
- Staging Workflow
- StatusHistory
- OBS API
- Owner Search
- Search
- Links
- Distributions
- Repository
- Data Migrations
- Package Versions
- next_rails
- Ruby Update
- Rails Profiling
- Remote Pairing Setup Guide
- Factory Dashboard
- osc
- Setup an OBS Development Environment on macOS
- Run OpenQA smoketest locally
- Responsive Guidelines
- Importing database dumps
- Problem Statement & Solution
- Kickoff New Stuff
- New Swagger API doc
- Documentation and Communication
- GitHub Actions
- Brakeman
- How to Introduce Software Design Patterns
- Query Objects
- Services
- View Components
- RFC: Core Components
- RFC: Decorator Pattern
- RFC: Backend models
- RFC: Hotwire Turbo Frames Pattern