{"id":20314476,"url":"https://github.com/release-engineering/resultsdb","last_synced_at":"2025-04-11T17:17:13.693Z","repository":{"id":40272265,"uuid":"349421059","full_name":"release-engineering/resultsdb","owner":"release-engineering","description":"The test results store engine for (not only) Fedora QA tools ","archived":false,"fork":false,"pushed_at":"2025-04-07T17:07:57.000Z","size":1383,"stargazers_count":4,"open_issues_count":2,"forks_count":6,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2025-04-07T17:25:52.803Z","etag":null,"topics":["fedora-infra","fedora-modularity"],"latest_commit_sha":null,"homepage":"http://docs.resultsdb20.apiary.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/release-engineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-19T12:48:53.000Z","updated_at":"2025-04-03T10:05:33.000Z","dependencies_parsed_at":"2023-02-17T04:30:57.324Z","dependency_job_id":"0f73407d-c289-41fa-a679-06fc333a9b37","html_url":"https://github.com/release-engineering/resultsdb","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-engineering%2Fresultsdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-engineering%2Fresultsdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-engineering%2Fresultsdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-engineering%2Fresultsdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/release-engineering","download_url":"https://codeload.github.com/release-engineering/resultsdb/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248447600,"owners_count":21105140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fedora-infra","fedora-modularity"],"created_at":"2024-11-14T18:15:32.571Z","updated_at":"2025-04-11T17:17:13.671Z","avatar_url":"https://github.com/release-engineering.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ResultsDB\n\n![logo of ResultsDB](https://pagure.io/taskotron/resultsdb/raw/develop/f/logo.png)\n\n## What is ResultsDB\n\nResultsDB is a results store engine for (not only) Fedora QA tools.\n\nThe API v2 documentation can be found at\n\u003chttps://docs.resultsdb20.apiary.io/\u003e.\n\n## Repositories\n\n* ResultsDB Frontend - [GIT repo](https://pagure.io/taskotron/resultsdb_frontend)\n* ResultsDB Client Library - [GIT repo](https://pagure.io/taskotron/resultsdb_api)\n\n## Quick development setup\n\nIf you encounter any installation issues, it's possible that you don't have\n`gcc` and necessary C development headers installed to compile C extensions\nfrom PyPI. Either install those based on the error messages, or install\nthe necessary packages directly to your system.\n\nInstall the project:\n\n    $ poetry run python -m ensurepip --upgrade\n    $ poetry install\n\nInitialize your database:\n\n    $ DEV=true poetry run ./init_db.sh\n\nRun the server:\n\n    $ DEV=true poetry run python runapp.py\n\nThe server is now running with a very simple frontend at \u003chttp://localhost:5001\u003e.\nAPI calls can be sent to \u003chttp://localhost:5001/api/v2.0\u003e. All data is stored\ninside `/var/tmp/resultsdb_db.sqlite`.\n\n## Adjusting configuration\n\nYou can configure this app by copying `conf/settings.py.example` into\n`conf/setting.py` and adjusting values as you see fit. It overrides default\nvalues in `resultsdb/config.py`.\n\n## Using with libtaskotron\n\nYou might want to use this tool together with libtaskotron. To use your own\n*ResultsDB* server in libtaskotron, edit `/etc/taskotron/taskotron.yaml` and\nset the following value:\n\n    resultsdb_server: http://localhost:5001/api/v2.0\n\nYou might also need to adjust `reporting_enabled` and `report_to_resultsdb`,\ndepending on your local settings.\n\n## Using real-life data from Fedora Infra dumps\n\nSometimes, you might want to check some performance tweaks with real-life data.\nThe easy solution might be using our daily dumps and a Postgres instance in Docker:\n\n    docker run --name postgres_resultsdb -e POSTGRES_USER=resultsdb -e POSTGRES_PASSWORD=resultsdb -d -p 65432:5432 postgres\n    wget https://infrastructure.fedoraproject.org/infra/db-dumps/resultsdb.dump.xz\n    xzcat resultsdb.dump.xz | docker exec -i postgres_resultsdb psql -Uresultsdb\n\nThen just change your config (for DEV environment, you can use `conf/settings.py` file)\nto contain this db connector:\n\n    SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://resultsdb:resultsdb@localhost:65432/resultsdb'\n\nAnd run as usual.\n\n## Running test suite\n\nAfter making changes run `tox -e black-format` to reformat the code.\n\nYou can run the test suite with the following command:\n\n    $ tox\n\nNote, that in order for some of the tests to work properly, tox is configured to spin-up PostgreSQL in a docker container using the\n`tox-docker` plugin installed automatically by `tox` when needed.\n\nTo avoid using container and use SQLite database in tests instead, run:\n\n    $ tox -e py3-nodocker\n\nTo use tox-docker with podman without requiring root, you can use\n`tox-podman.sh` script that wraps `tox`:\n\n    $ ./tox-podman.sh -e py311\n\n## Deployment\n\nIf you're trying to deploy ResultsDB, you might find some helpful instructions\nin the\n[Fedora infra docs](https://pagure.io/infra-docs/blob/master/f/docs/sysadmin-guide/sops/resultsdb.rst).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelease-engineering%2Fresultsdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelease-engineering%2Fresultsdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelease-engineering%2Fresultsdb/lists"}