author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
551,493 | 24.09.2020 16:56:02 | 14,400 | 75c7b1528fb1155638bf8f6c5719413c951c0aa6 | Updated Getting Started with mysql instructions | [
{
"change_type": "MODIFY",
"old_path": "docs/getting_started.md",
"new_path": "docs/getting_started.md",
"diff": "@@ -186,7 +186,8 @@ Quay and Clair can also be run as services on a Kubernetes cluster. This is bec\n## Troubleshooting\n-### I need to change my Quay configuration! This can be done by ... | Python | Apache License 2.0 | quay/quay | Updated Getting Started with mysql instructions (#559) |
551,528 | 24.09.2020 18:01:06 | 14,400 | 50f301d93ed5a1662cf0a7f31214f35121a3ec75 | Rename dialog's "Robot Token" to "Robot Account" | [
{
"change_type": "MODIFY",
"old_path": "static/directives/robot-credentials-dialog.html",
"new_path": "static/directives/robot-credentials-dialog.html",
"diff": "<div class=\"robot-credentials-dialog-element\">\n- <div class=\"credentials-dialog\" credentials=\"credentials\" secret-title=\"Robot Tok... | Python | Apache License 2.0 | quay/quay | Rename dialog's "Robot Token" to "Robot Account" (#560) |
551,500 | 02.10.2020 14:00:56 | 14,400 | b389f885cfe4e0cd5da18272da50d9b9fc8934fe | sec: implement jwt signing to ClairV4
this commit adds jwt signing directly in Quay when contacting
ClairV4 | [
{
"change_type": "MODIFY",
"old_path": "config.py",
"new_path": "config.py",
"diff": "@@ -488,6 +488,10 @@ class DefaultConfig(ImmutableConfig):\n# The issuer name for the security scanner.\nSECURITY_SCANNER_ISSUER_NAME = \"security_scanner\"\n+ # A base64 encoded string used to sign JWT(s) on Clair... | Python | Apache License 2.0 | quay/quay | sec: implement jwt signing to ClairV4 (#554)
this commit adds jwt signing directly in Quay when contacting
ClairV4
Signed-off-by: ldelossa <louis@localhost.localdomain>
Co-authored-by: ldelossa <louis@localhost.localdomain> |
551,493 | 05.10.2020 10:03:14 | 14,400 | 42c3712075402e1a367043e28eb2df8e44687d42 | Removed bugbash info from README.md | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -69,34 +69,6 @@ High-level features include:\n[JBoss JIRA]: https://issues.jboss.org/projects/PROJQUAY\n[security@redhat.com]: mailto:security@redhat.com\n-## Quay Bug Bash!\n-\n-From July 13, 2020 through Augus... | Python | Apache License 2.0 | quay/quay | Removed bugbash info from README.md (#564) |
551,489 | 06.10.2020 12:44:07 | 14,400 | 52b86ac9fdaed00bd30d95af685233a0c4b77c0a | security: Hide sensitive LDAP log data | [
{
"change_type": "MODIFY",
"old_path": "data/users/externalldap.py",
"new_path": "data/users/externalldap.py",
"diff": "@@ -217,7 +217,9 @@ class LDAPUsers(FederatedUsers):\nif err_msg is not None:\nreturn (None, err_msg)\n- logger.debug(\"Found matching pairs: %s\", pairs)\n+ dn_lst = [pair[0] for ... | Python | Apache License 2.0 | quay/quay | [PROJQUAY-822] security: Hide sensitive LDAP log data (#562) |
551,500 | 08.10.2020 14:35:39 | 14,400 | 0a9487f8ac358b26aa12bb9851cb61c5786ac4dc | notifications: add incoming jwt verification
this commit adds jwt verification to the notifications post endpoint. | [
{
"change_type": "MODIFY",
"old_path": "endpoints/secscan.py",
"new_path": "endpoints/secscan.py",
"diff": "import logging\nimport features\nimport json\n+import jwt\n+import base64\nfrom flask import make_response, Blueprint, jsonify, abort, request\n-from app import secscan_notification_queue\n+fr... | Python | Apache License 2.0 | quay/quay | notifications: add incoming jwt verification (#568)
this commit adds jwt verification to the notifications post endpoint.
Signed-off-by: ldelossa <ldelossa@redhat.com>
Co-authored-by: ldelossa <ldelossa@localhost.localdomain> |
551,489 | 19.10.2020 13:21:20 | 14,400 | 23b8a23993fcc29d7c1d9440c4b4045366b80c99 | fix: Use Python 3.8 for CI tests | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".flake8",
"diff": "+[flake8]\n+max-line-length = 100\n+max-complexity = 10\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": ".github/workflows/CI.yaml",
"new_path": ".github/workflows/CI.yaml",
"diff... | Python | Apache License 2.0 | quay/quay | fix: Use Python 3.8 for CI tests (#580) |
551,525 | 21.10.2020 16:47:26 | 14,400 | a635d35d038cbb501e684210d3de92a1bb92a73d | add readonly fg | [
{
"change_type": "MODIFY",
"old_path": "conf/supervisord.conf.jnj",
"new_path": "conf/supervisord.conf.jnj",
"diff": "@@ -257,10 +257,8 @@ environment=\nPYTHONPATH=%(ENV_QUAYDIR)s,\nCONFIG_APP_PASSWORD=%(ENV_CONFIG_APP_PASSWORD)s,\nENV_OPERATOR_ENDPOINT=%(ENV_OPERATOR_ENDPOINT)s,\n- CONFIG_EDITOR_ST... | Python | Apache License 2.0 | quay/quay | add readonly fg (#585) |
551,528 | 22.10.2020 10:16:21 | 14,400 | 2eb6a73c51c61f20b2be96e9edb85fdeff3cdcba | Removes etcd from supported build orchestrator
Various fixes to orchestrator expirations
Uses threads instead of asyncio to publish/watch events
Add extra client connection options
Add interface unit tests | [
{
"change_type": "MODIFY",
"old_path": "buildman/orchestrator.py",
"new_path": "buildman/orchestrator.py",
"diff": "from abc import ABCMeta, abstractmethod\nfrom collections import namedtuple\n+from contextlib import ContextDecorator\n-import asyncio\nimport datetime\nimport json\nimport logging\n@@... | Python | Apache License 2.0 | quay/quay | Removes etcd from supported build orchestrator (#581)
- Various fixes to orchestrator expirations
- Uses threads instead of asyncio to publish/watch events
- Add extra client connection options
- Add interface unit tests |
551,528 | 22.10.2020 11:04:03 | 14,400 | 0dae5a35f99d4a531ecfc4ab10d9af42e6e0460f | Implements JWT build tokens
Implements generation and verification of build tokens.
Flow:
Buildman take build from queue
Buildman bootstrap a worker with a _registration_ token
Worker registers build using the _registration_ token
Buildman returns a _job_ token containing the buildpack | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "buildman/build_token.py",
"diff": "+import jsonschema\n+import jwt\n+\n+from app import instance_keys\n+from util.security import jwtutil\n+from util.security.registry_jwt import \\\n+ generate_bearer_token, \\\n+ InvalidBearerTokenException, \\... | Python | Apache License 2.0 | quay/quay | Implements JWT build tokens (#583)
Implements generation and verification of build tokens.
Flow:
- Buildman take build from queue
- Buildman bootstrap a worker with a _registration_ token
- Worker registers build using the _registration_ token
- Buildman returns a _job_ token containing the buildpack |
551,493 | 23.10.2020 13:57:36 | 14,400 | d355e49a3e7cba53489d06ccb9aa6d9fc9655191 | Renamed FEATURE_EXPERIMENTAL_HELM_OCI_SUPPORT feature flag | [
{
"change_type": "MODIFY",
"old_path": "app.py",
"new_path": "app.py",
"diff": "@@ -130,7 +130,7 @@ features.import_features(app.config)\n# Register additional experimental artifact types.\n# TODO: extract this into a real, dynamic registration system.\n-if features.EXPERIMENTAL_HELM_OCI_SUPPORT:\n+... | Python | Apache License 2.0 | quay/quay | Renamed FEATURE_EXPERIMENTAL_HELM_OCI_SUPPORT feature flag (#577) |
551,489 | 27.10.2020 12:28:52 | 14,400 | 9ccb3ea9b2f8e1aa0510e632c7897d2589314cda | fix: Use Python3 strings for user-facing tokens | [
{
"change_type": "MODIFY",
"old_path": "data/model/user.py",
"new_path": "data/model/user.py",
"diff": "@@ -689,7 +689,7 @@ def create_confirm_email_code(user, new_email=None):\ncode = EmailConfirmation.create(\nuser=user, email_confirm=True, new_email=new_email, verification_code=verification_code\... | Python | Apache License 2.0 | quay/quay | [PROJQUAY-1190] fix: Use Python3 strings for user-facing tokens (#589) |
551,528 | 04.11.2020 10:57:32 | 18,000 | 5f7f8562b6d8b5b2ff65ba59adc22c4f2f0a6aa3 | Show all available repository when setting permission for robot account | [
{
"change_type": "MODIFY",
"old_path": "static/directives/set-repo-permissions.html",
"new_path": "static/directives/set-repo-permissions.html",
"diff": "<div class=\"set-repo-permissions-element\">\n<span class=\"co-filter-box\">\n- <span class=\"filter-message\" ng-if=\"options.filter\">\n- Showin... | Python | Apache License 2.0 | quay/quay | Show all available repository when setting permission for robot account (#593) |
551,489 | 04.11.2020 15:55:05 | 18,000 | b3d4d8cc7669b7c42f9d4b31ac7094ca4cf566d2 | add: log sent emails (debug) | [
{
"change_type": "MODIFY",
"old_path": "util/useremails.py",
"new_path": "util/useremails.py",
"diff": "@@ -68,6 +68,10 @@ def send_email(recipient, subject, template_file, parameters, action=None):\ntry:\nmail.send(msg)\n+ if app.config[\"TESTING\"]:\n+ logger.debug(\"Quay is configured for testing... | Python | Apache License 2.0 | quay/quay | [PROJQUAY-1191] add: log sent emails (debug) (#594) |
551,528 | 18.11.2020 11:51:58 | 18,000 | 139dba3ed47d16ebacb482209289baad47de0498 | Removes the http scheme from the server address
The http scheme should be specified as a dial option on the grpc Go client, not as part of the address. | [
{
"change_type": "MODIFY",
"old_path": "buildman/manager/executor.py",
"new_path": "buildman/manager/executor.py",
"diff": "@@ -78,9 +78,6 @@ class BuilderExecutor(object):\nself.executor_config = executor_config\nself.manager_hostname = manager_hostname\n- default_scheme = app.config[\"PREFERRED_UR... | Python | Apache License 2.0 | quay/quay | Removes the http scheme from the server address (#597)
The http scheme should be specified as a dial option on the grpc Go client, not as part of the address. |
551,489 | 19.11.2020 14:04:16 | 18,000 | 4d0581e2d9b12b8c0a096d8243eba380d7c88e88 | fix: Schema migrations with MySQL and SSL | [
{
"change_type": "MODIFY",
"old_path": "data/migrations/env.py",
"new_path": "data/migrations/env.py",
"diff": "import logging\nimport os\n-from logging.config import fileConfig\n-from functools import partial\nfrom urllib.parse import unquote\nfrom alembic import context, op as alembic_op\nfrom ale... | Python | Apache License 2.0 | quay/quay | [PROJQUAY-879] fix: Schema migrations with MySQL and SSL (#596) |
551,528 | 23.11.2020 15:26:16 | 18,000 | 6c6555774a3377a5f855b94f70fcf528613f0901 | p# This is a combination of 2 commits.
Allow specifying the container runtime to the templated ignition file
Allow specifying the container runtime in the executor's ignition
file. This allow for different runtimes, e.g Docker, Podman to run a build. | [
{
"change_type": "MODIFY",
"old_path": "buildman/container_cloud_config.py",
"new_path": "buildman/container_cloud_config.py",
"diff": "@@ -34,6 +34,9 @@ from jinja2 import FileSystemLoader, Environment, StrictUndefined\nlogger = logging.getLogger(__name__)\n+_SUPPORTED_CONTAINER_RUNTIMES = (\"docke... | Python | Apache License 2.0 | quay/quay | p# This is a combination of 2 commits. (#601)
Allow specifying the container runtime to the templated ignition file
Allow specifying the container runtime in the executor's ignition
file. This allow for different runtimes, e.g Docker, Podman to run a build. |
551,528 | 30.11.2020 11:03:40 | 18,000 | 89fcf7701ac1ccbd159c881a8a6e90e0f62a95e7 | Json + jinja syntax fix in the ignition cloud config template | [
{
"change_type": "MODIFY",
"old_path": "buildman/manager/executor.py",
"new_path": "buildman/manager/executor.py",
"diff": "@@ -25,6 +25,7 @@ import release\nfrom _init import ROOT_DIR, OVERRIDE_CONFIG_DIRECTORY\nfrom app import app\nfrom buildman.container_cloud_config import CloudConfigContext\n+f... | Python | Apache License 2.0 | quay/quay | Json + jinja syntax fix in the ignition cloud config template (#605) |
551,528 | 09.12.2020 10:58:01 | 18,000 | 35492851deaf9d09f1674c3c8d17d9fda1062416 | Add metrics to app instance's peewee connection pool | [
{
"change_type": "MODIFY",
"old_path": "data/database.py",
"new_path": "data/database.py",
"diff": "@@ -18,7 +18,12 @@ import toposort\nfrom enum import IntEnum, Enum, unique\nfrom peewee import *\nfrom peewee import __exception_wrapper__, Function\n-from playhouse.pool import PooledMySQLDatabase, P... | Python | Apache License 2.0 | quay/quay | Add metrics to app instance's peewee connection pool (#612) |
551,528 | 15.12.2020 09:49:58 | 18,000 | c9ac4aac1f791623d2dc626c93223796241e7554 | Various small buildman fixes
* Fix log sequence check + CachedTag grpc message field name
* Various buildmanager fix
Correctly overwrite the expiration on heartbeat
Log formatting fixes
Return True/False on successful/failed append build log | [
{
"change_type": "MODIFY",
"old_path": "buildman/buildmanagerservicer.py",
"new_path": "buildman/buildmanagerservicer.py",
"diff": "@@ -68,7 +68,7 @@ class BuildManagerServicer(buildman_pb2_grpc.BuildManagerServicer):\nreturn buildman_pb2.BuildPack()\njob_id = decoded_token[\"job_id\"]\n- max_build_... | Python | Apache License 2.0 | quay/quay | PROJQUAY-1382 - Various small buildman fixes (#624)
* Fix log sequence check + CachedTag grpc message field name
* Various buildmanager fix
- Correctly overwrite the expiration on heartbeat
- Log formatting fixes
- Return True/False on successful/failed append build log |
551,528 | 16.12.2020 16:21:34 | 18,000 | 464c63952317da507e8111228f0d13cc704d3ff9 | Update QEMU dockerfile.
Create the working directory/change permissions, ownership in the
dockerfile instead of at runtime to avoid permission issues when
running the entrypoint script. | [
{
"change_type": "MODIFY",
"old_path": "buildman/qemu-coreos/Dockerfile",
"new_path": "buildman/qemu-coreos/Dockerfile",
"diff": "@@ -14,14 +14,20 @@ ARG location\nARG channel\nARG version\n+RUN mkdir -p /userdata\n+WORKDIR /userdata\n+\nRUN yum -y update && \\\nyum -y install openssh-clients qemu-k... | Python | Apache License 2.0 | quay/quay | Update QEMU dockerfile. (#626)
Create the working directory/change permissions, ownership in the
dockerfile instead of at runtime to avoid permission issues when
running the entrypoint script. |
551,528 | 17.12.2020 12:39:07 | 18,000 | f325ba2e7a8f1379c4bb57abf1479a46da16403c | Use correct nginx port in ignition template
Generate the ignition template used by the builder using the correct
externally exposed secured GRPC port (55443). | [
{
"change_type": "MODIFY",
"old_path": "buildman/manager/executor.py",
"new_path": "buildman/manager/executor.py",
"diff": "@@ -25,7 +25,7 @@ import release\nfrom _init import ROOT_DIR, OVERRIDE_CONFIG_DIRECTORY\nfrom app import app\nfrom buildman.container_cloud_config import CloudConfigContext\n-f... | Python | Apache License 2.0 | quay/quay | Use correct nginx port in ignition template (#628)
Generate the ignition template used by the builder using the correct
externally exposed secured GRPC port (55443). |
551,489 | 22.12.2020 12:20:47 | 18,000 | 925c3139dedc758d7abcfc8759a79254ff57435c | Use CentOS Stream in Dockerfile | [
{
"change_type": "MODIFY",
"old_path": "Dockerfile",
"new_path": "Dockerfile",
"diff": "###################\n-FROM centos:8 as config-editor\n+FROM registry.centos.org/centos/centos:8 as config-editor\n+\n+# Switch to CentOS Stream\n+RUN dnf install centos-release-stream -y\n+RUN dnf swap centos-{li... | Python | Apache License 2.0 | quay/quay | Use CentOS Stream in Dockerfile (#633) |
551,528 | 04.01.2021 11:19:07 | 18,000 | 709e487a8cc0a935e1fbc703904d7d0f08173978 | Add a --shrink flag when resizing the qemu image.
Newer version of qemu will return a non-zero error when --shrink is not set when resizing an image. | [
{
"change_type": "MODIFY",
"old_path": "buildman/qemu-coreos/start.sh",
"new_path": "buildman/qemu-coreos/start.sh",
"diff": "@@ -9,7 +9,7 @@ set -o nounset\necho \"${USERDATA}\" > /userdata/user_data\n-time qemu-img resize /userdata/coreos_production_qemu_image.qcow2 \"${VM_VOLUME_SIZE}\"\n+time qe... | Python | Apache License 2.0 | quay/quay | Add a --shrink flag when resizing the qemu image. (#635)
Newer version of qemu will return a non-zero error when --shrink is not set when resizing an image. |
551,528 | 05.01.2021 11:18:31 | 18,000 | bb0381f17c2bc30100ddb4fcc3bd85ca506abe52 | Allow build canceller to set keys in orchestrator | [
{
"change_type": "MODIFY",
"old_path": "buildman/orchestrator.py",
"new_path": "buildman/orchestrator.py",
"diff": "@@ -471,8 +471,6 @@ class RedisOrchestrator(Orchestrator):\nreturn value.decode(\"utf-8\")\ndef set_key(self, key, value, overwrite=False, expiration=None):\n- assert not self.is_cance... | Python | Apache License 2.0 | quay/quay | Allow build canceller to set keys in orchestrator (#639) |
551,528 | 05.01.2021 13:14:09 | 18,000 | 7064e9e876a08e651dee540f19cc5f7144fd6866 | Remove autobahn package | [
{
"change_type": "MODIFY",
"old_path": "requirements-nover.txt",
"new_path": "requirements-nover.txt",
"diff": "@@ -15,7 +15,6 @@ Flask-Testing\nPyGithub\naiowsgi\nalembic\n-autobahn==0.9.3-3\nazure-common\nazure-storage-blob\nbeautifulsoup4\n"
},
{
"change_type": "MODIFY",
"old_path": "... | Python | Apache License 2.0 | quay/quay | Remove autobahn package (#641) |
551,528 | 08.01.2021 12:05:07 | 18,000 | fb882942052cbfd69df97ef91b4aa3d1fd866caa | Make sure network is up before starting the quay-builder systemd service
Occasional DNS resolution issue would happen when running `podman
login` if network-online.target was not a prerequisite for quay-builder.service | [
{
"change_type": "MODIFY",
"old_path": "buildman/templates/cloudconfig.json",
"new_path": "buildman/templates/cloudconfig.json",
"diff": "@@ -117,7 +117,7 @@ WantedBy=multi-user.target\nquay_username,\nquay_password,\nworker_tag,\n- extra_args='--privileged --env-file /root/overrides.list -v /var/ru... | Python | Apache License 2.0 | quay/quay | Make sure network is up before starting the quay-builder systemd service (#645)
Occasional DNS resolution issue would happen when running `podman
login` if network-online.target was not a prerequisite for quay-builder.service |
551,528 | 11.01.2021 15:18:36 | 18,000 | d4aa9d5b5c2bd73f98a13110d72dd004398740d0 | Copy the certs needed to allow the clients (docker or podman) to operate on self signed registries
See: | [
{
"change_type": "MODIFY",
"old_path": "buildman/manager/ephemeral.py",
"new_path": "buildman/manager/ephemeral.py",
"diff": "@@ -143,7 +143,7 @@ class EphemeralBuilderManager(BuildStateInterface):\nlogger.error(\"Unknown executor %s; skipping install\", executor_kind_name)\nreturn\n- executor = exe... | Python | Apache License 2.0 | quay/quay | Copy the certs needed to allow the clients (docker or podman) to operate on self signed registries (#647)
See:
- https://docs.docker.com/engine/security/certificates/
- https://github.com/containers/image/pull/594/files |
551,528 | 14.01.2021 14:49:38 | 18,000 | cba34929705781c252d32e55e50e5062aacf3c3e | Don't replace port by default 55443 if BUILDMAN_HOSTNAME is defined | [
{
"change_type": "MODIFY",
"old_path": "buildman/manager/executor.py",
"new_path": "buildman/manager/executor.py",
"diff": "@@ -181,7 +181,16 @@ class BuilderExecutor(object):\nif quay_password is None:\nquay_password = self.executor_config[\"QUAY_PASSWORD\"]\n- server_grpc_addr = manager_hostname.s... | Python | Apache License 2.0 | quay/quay | Don't replace port by default 55443 if BUILDMAN_HOSTNAME is defined (#654) |
551,528 | 20.01.2021 10:58:19 | 18,000 | 6578618d9acb1eac596ea0d36b1279c1110100c5 | Remove extra extra parameter when calling commit_sha
Remove extra extra parameter when calling commit_sha when a private key is used during a build | [
{
"change_type": "MODIFY",
"old_path": "buildman/manager/ephemeral.py",
"new_path": "buildman/manager/ephemeral.py",
"diff": "@@ -407,7 +407,7 @@ class EphemeralBuilderManager(BuildStateInterface):\nif private_key is not None:\nbuild_args[\"git\"] = {\n\"url\": build_job.build_config[\"trigger_metad... | Python | Apache License 2.0 | quay/quay | Remove extra extra parameter when calling commit_sha (#660)
Remove extra extra parameter when calling commit_sha when a private key is used during a build |
551,528 | 22.01.2021 14:40:37 | 18,000 | b28965cdf67b9fc278aedaec345047fa69f72154 | Update log level when unable to write build duration metrics to a WARNING
Update the log level from EXCEPTION to WARNING when getting a KeyError
from the orchestrator. The KeyError is valid and happens when a build
has expired. | [
{
"change_type": "MODIFY",
"old_path": "buildman/manager/ephemeral.py",
"new_path": "buildman/manager/ephemeral.py",
"diff": "@@ -834,7 +834,7 @@ class EphemeralBuilderManager(BuildStateInterface):\nelse:\nmetric.labels(executor).observe(time.time() - start_time)\nexcept Exception:\n- logger.excepti... | Python | Apache License 2.0 | quay/quay | Update log level when unable to write build duration metrics to a WARNING (#665)
Update the log level from EXCEPTION to WARNING when getting a KeyError
from the orchestrator. The KeyError is valid and happens when a build
has expired. |
551,528 | 26.01.2021 10:01:16 | 18,000 | 55e11c2bd636a0f3d9c49f88821cfd83336f3d33 | Set default REPO_MIRROR_SERVER_HOSTNAME value to match SERVER_HOSTNAME
Set REPO_MIRROR_SERVER_HOSTNAME to a value instead of None in order to
match the defined json schema for the config. | [
{
"change_type": "MODIFY",
"old_path": "config.py",
"new_path": "config.py",
"diff": "@@ -503,7 +503,7 @@ class DefaultConfig(ImmutableConfig):\nREPO_MIRROR_TLS_VERIFY = True\n# Replaces the SERVER_HOSTNAME as the destination for mirroring.\n- REPO_MIRROR_SERVER_HOSTNAME = None\n+ REPO_MIRROR_SERVER... | Python | Apache License 2.0 | quay/quay | Set default REPO_MIRROR_SERVER_HOSTNAME value to match SERVER_HOSTNAME (#667)
Set REPO_MIRROR_SERVER_HOSTNAME to a value instead of None in order to
match the defined json schema for the config. |
551,517 | 26.01.2021 10:41:32 | 18,000 | 5753fa4a237ac3bf083db0570ccf4c3549fc2e74 | Remove Defcon1 severity from Quay | [
{
"change_type": "MODIFY",
"old_path": "notifications/notificationevent.py",
"new_path": "notifications/notificationevent.py",
"diff": "@@ -181,7 +181,7 @@ class VulnerabilityFoundEvent(NotificationEvent):\ndef get_level(self, event_data, notification_data):\nvuln_data = event_data[VulnerabilityFoun... | Python | Apache License 2.0 | quay/quay | PROJQUAY-586 - Remove Defcon1 severity from Quay (#664)
Co-authored-by: Syed A <syed@apache.org> |
551,528 | 05.02.2021 10:32:14 | 18,000 | 32d7063315481b8159413d1a425c9a331fb9dae4 | Update tox.ini for tox-docker v2.0.0
Update container name + move docker specific configuration to the same section.
Update postgres healthcheck command to use pg_isready | [
{
"change_type": "MODIFY",
"old_path": "tox.ini",
"new_path": "tox.ini",
"diff": "@@ -24,13 +24,19 @@ commands =\nalembic upgrade head\npy.test --timeout=3600 --cov-report=html --cov-report=term-missing -x --color no --verbose --ignore=buildman/ {env:FILE} -vv {posargs}\n-[docker:mysql:5.7]\n+[docke... | Python | Apache License 2.0 | quay/quay | Update tox.ini for tox-docker v2.0.0 (#669)
- Update container name + move docker specific configuration to the same section.
- Update postgres healthcheck command to use pg_isready |
551,528 | 10.02.2021 13:20:44 | 18,000 | 63386d914df97adf0c02f831fe868e0fcf0947e9 | repo mirror config schema
* Revert "Set default REPO_MIRROR_SERVER_HOSTNAME value to match SERVER_HOSTNAME (#667)"
This reverts commit
`REPO_MIRROR_SERVER_HOSTNAME` should match `SERVER_HOSTNAME` if its
value is None (default). i.e. if it's not set explicitly.
Instead changing the config's jsonschema to allow
`REPO_MIR... | [
{
"change_type": "MODIFY",
"old_path": "config.py",
"new_path": "config.py",
"diff": "@@ -503,7 +503,7 @@ class DefaultConfig(ImmutableConfig):\nREPO_MIRROR_TLS_VERIFY = True\n# Replaces the SERVER_HOSTNAME as the destination for mirroring.\n- REPO_MIRROR_SERVER_HOSTNAME = \"localhost:5000\"\n+ REPO... | Python | Apache License 2.0 | quay/quay | PROJQUAY-1562 repo mirror config schema (#673)
* Revert "Set default REPO_MIRROR_SERVER_HOSTNAME value to match SERVER_HOSTNAME (#667)"
This reverts commit 55e11c2bd636a0f3d9c49f88821cfd83336f3d33.
`REPO_MIRROR_SERVER_HOSTNAME` should match `SERVER_HOSTNAME` if its
value is None (default). i.e. if it's not set ... |
551,528 | 08.03.2021 13:33:44 | 18,000 | 4785f2d1193dbe1028508ca000d1bcdadac3165d | Deprecate use of pycryptodome for AES
Since we're already using the cryptography package elsewhere, there is
no need to have 2 different crypto packages as dependencies. | [
{
"change_type": "MODIFY",
"old_path": "data/users/__init__.py",
"new_path": "data/users/__init__.py",
"diff": "@@ -172,7 +172,7 @@ class UserAuthentication(object):\nreturn None\ntry:\n- data = json.loads(message)\n+ data = json.loads(message.decode(\"utf-8\"))\nexcept ValueError:\nreturn None\n"
... | Python | Apache License 2.0 | quay/quay | Deprecate use of pycryptodome for AES (#679)
Since we're already using the cryptography package elsewhere, there is
no need to have 2 different crypto packages as dependencies. |
551,517 | 16.03.2021 10:59:18 | 14,400 | 86fed801a7a4a5c47d5a85de8af4198bb4c906e1 | Use registry-name instead of registry-title as registry directive | [
{
"change_type": "MODIFY",
"old_path": "static/partials/update-user.html",
"new_path": "static/partials/update-user.html",
"diff": "<h2>Confirm Username</h2>\n<p>\nThe username <strong>{{ user.username }}</strong> was automatically generated to conform to the\n- Docker CLI guidelines for use as a na... | Python | Apache License 2.0 | quay/quay | Use registry-name instead of registry-title as registry directive (#687)
Co-authored-by: Syed <syed@apache.org> |
551,525 | 19.03.2021 15:23:34 | 14,400 | c23bef87e5cfa3ca57e40fde4d8502905c3eaeea | set default hash for avatar to be sha256 | [
{
"change_type": "MODIFY",
"old_path": "avatars/avatars.py",
"new_path": "avatars/avatars.py",
"diff": "import hashlib\nimport math\nimport logging\n+import features\nfrom requests.exceptions import RequestException\n@@ -93,7 +94,7 @@ class BaseAvatar(object):\ndef get_data_for_external_user(self, e... | Python | Apache License 2.0 | quay/quay | set default hash for avatar to be sha256 (#698) |
551,517 | 22.03.2021 10:19:25 | 14,400 | 996c7fafa47f01e5030ddf43b45d3a11eb681c4e | Enable Helm by default on Quay | [
{
"change_type": "MODIFY",
"old_path": "config.py",
"new_path": "config.py",
"diff": "@@ -729,11 +729,11 @@ class DefaultConfig(ImmutableConfig):\nFEATURE_CLEAR_EXPIRED_RAC_ENTRIES = False\n# Feature Flag: Whether OCI manifest support should be enabled generally.\n- FEATURE_GENERAL_OCI_SUPPORT = Fal... | Python | Apache License 2.0 | quay/quay | PROJQUAY-1705 Enable Helm by default on Quay (#694)
Co-authored-by: Syed <syed@apache.org> |
551,528 | 22.03.2021 11:38:41 | 14,400 | 311241af09be60d0f5a1e844d5722d96aaf61395 | secscan: allow basic auth on the secscan api endpoint when anonymous api resource is set.
Allow the auth flow to use basic auth on the secscan api resource when
FEATURE_ANONYMOUS_ACCESS (e.g CSO uses pull secrets to fetch secscan
resources) | [
{
"change_type": "MODIFY",
"old_path": "endpoints/api/secscan.py",
"new_path": "endpoints/api/secscan.py",
"diff": "@@ -24,6 +24,7 @@ from endpoints.api import (\ndisallow_for_app_repositories,\ndeprecated,\n)\n+from endpoints.decorators import anon_allowed\nfrom endpoints.exception import NotFound,... | Python | Apache License 2.0 | quay/quay | secscan: allow basic auth on the secscan api endpoint when anonymous api resource is set. (#608)
Allow the auth flow to use basic auth on the secscan api resource when
FEATURE_ANONYMOUS_ACCESS (e.g CSO uses pull secrets to fetch secscan
resources) |
551,528 | 24.03.2021 17:43:44 | 14,400 | e0d39fe9f24c01c4a893066fb9c71477ea9d90e5 | storage: abort unfinished mpu when no bytes were written
Explicitly call abort on a mpu if no bytes were written.
Noobaa and Rados will not clean the artifacts, resulting in empty
files being stuck in an "uploading" state. | [
{
"change_type": "MODIFY",
"old_path": "storage/cloud.py",
"new_path": "storage/cloud.py",
"diff": "@@ -380,8 +380,6 @@ class _CloudStorage(BaseStorageV2):\n)\nwrite_error = e\n- multipart_uploads_completed.inc()\n-\nif cancel_on_error:\ntry:\nmp.abort()\n@@ -400,6 +398,8 @@ class _CloudStorage(Base... | Python | Apache License 2.0 | quay/quay | storage: abort unfinished mpu when no bytes were written (#705)
Explicitly call abort on a mpu if no bytes were written.
Noobaa and Rados will not clean the artifacts, resulting in empty
files being stuck in an "uploading" state. |
551,528 | 26.03.2021 11:13:33 | 14,400 | 0722e6ee5e3ace5f88adbc69899b9fba6d9550e2 | format: remove extra comma from s3 connect_kwargs
The way it was formatted (with the top-level parentheses), the extra
comma was causing the connection parameters to be passed as a 1-tuple
instead of a string. | [
{
"change_type": "MODIFY",
"old_path": "storage/cloud.py",
"new_path": "storage/cloud.py",
"diff": "@@ -713,8 +713,8 @@ class S3Storage(_CloudStorage):\nupload_params = {\"ServerSideEncryption\": \"AES256\"}\nconnect_kwargs = {}\nif host or endpoint_url:\n- connect_kwargs[\"endpoint_url\"] = (\n- en... | Python | Apache License 2.0 | quay/quay | format: remove extra comma from s3 connect_kwargs (#709)
The way it was formatted (with the top-level parentheses), the extra
comma was causing the connection parameters to be passed as a 1-tuple
instead of a string. |
551,528 | 09.04.2021 14:32:37 | 14,400 | f774e4c6b6c674c822057a1d3dd49a3d5c36e6ca | gc: add metrics for deleted resources
Add counters for the number of resources deleted by the gc worker, the
repository gc worker and the namespace gc worker. | [
{
"change_type": "MODIFY",
"old_path": "data/model/gc.py",
"new_path": "data/model/gc.py",
"diff": "@@ -38,6 +38,8 @@ from data.database import (\nDerivedStorageForImage,\n)\nfrom data.database import TagManifestToManifest, TagToRepositoryTag, TagManifestLabelMap\n+from util.metrics.prometheus impor... | Python | Apache License 2.0 | quay/quay | gc: add metrics for deleted resources (#711)
Add counters for the number of resources deleted by the gc worker, the
repository gc worker and the namespace gc worker. |
551,528 | 13.04.2021 13:28:43 | 14,400 | e6011cff5ba539a51a25ec2f0298068f63819c6e | ci: include optional merge commit number in commit check job
Also add capturing group for message body. | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/CI.yaml",
"new_path": ".github/workflows/CI.yaml",
"diff": "@@ -187,7 +187,7 @@ jobs:\nuses: gsactions/commit-message-checker@v1\nwith:\npattern: |\n- ^(.*):\\s*(.*)\\s\\(PROJQUAY-[0-9]+\\)(\\n.*)*$\n+ ^(.*):\\s*(.*)\\s(\\(PROJQUAY-[0-9]+\\))... | Python | Apache License 2.0 | quay/quay | ci: include optional merge commit number in commit check job (PROJQUAY-1486) (#742)
Also add capturing group for message body. |
551,528 | 15.04.2021 16:09:58 | 14,400 | efa0692e5ac3c47719dc8940d65feaa5f26a568b | gc: increment quay_gc_repos_purged for NamespaceGCWorker
Since NamespaceGCWorker does a superset of RepositoryGCWorker's
operations, make sure that quay_gc_repos_purged is incremented if
either workers deletes a repository. | [
{
"change_type": "MODIFY",
"old_path": "data/model/gc.py",
"new_path": "data/model/gc.py",
"diff": "@@ -38,7 +38,7 @@ from data.database import (\nDerivedStorageForImage,\n)\nfrom data.database import TagManifestToManifest, TagToRepositoryTag, TagManifestLabelMap\n-from util.metrics.prometheus impor... | Python | Apache License 2.0 | quay/quay | gc: increment quay_gc_repos_purged for NamespaceGCWorker (PROJQUAY-1802) (#749)
Since NamespaceGCWorker does a superset of RepositoryGCWorker's
operations, make sure that quay_gc_repos_purged is incremented if
either workers deletes a repository. |
551,517 | 20.04.2021 11:07:11 | 14,400 | 03c610d51011061dd33499b5c38aacfcadf0f0c6 | deployment: Add canary deployment to quay-app
Adds a new deployment quay-app-canary to the deployment YAML file. This
will be picked up AppSRE when deploying quay.io. The canary deployment
can have a different image than the main deployment and can point to a
differnt config secret. | [
{
"change_type": "MODIFY",
"old_path": "deploy/openshift/quay-app.yaml",
"new_path": "deploy/openshift/quay-app.yaml",
"diff": "@@ -249,6 +249,151 @@ objects:\nvalue: ${QUAY_WORKER_MULTIPLIER_REGISTRY}\n- name: WORKER_CONNECTION_COUNT_REGISTRY\nvalue: ${QUAY_WORKER_CONNECTION_COUNT_REGISTRY}\n+- api... | Python | Apache License 2.0 | quay/quay | deployment: Add canary deployment to quay-app (PROJQUAY-1896) (#754)
Adds a new deployment quay-app-canary to the deployment YAML file. This
will be picked up AppSRE when deploying quay.io. The canary deployment
can have a different image than the main deployment and can point to a
differnt config secret.
Co-aut... |
551,517 | 20.04.2021 17:09:02 | 14,400 | 080010e8cd7f2646c01fe29f17fae502c3114b31 | deployment: Add image tag param to the deploy file
This change adds the parameter IMAGE_TAG_CANARY to the deployment
file quay-app.yaml to use a different image tag for the canary
deployment | [
{
"change_type": "MODIFY",
"old_path": "deploy/openshift/quay-app.yaml",
"new_path": "deploy/openshift/quay-app.yaml",
"diff": "@@ -411,6 +411,10 @@ parameters:\nvalue: \"latest\"\ndisplayName: quay version\ndescription: quay version which defaults to latest\n+ - name: IMAGE_TAG_CANARY\n+ value: \"l... | Python | Apache License 2.0 | quay/quay | deployment: Add image tag param to the deploy file (PROJQUAY-1896) (#759)
This change adds the parameter IMAGE_TAG_CANARY to the deployment
file quay-app.yaml to use a different image tag for the canary
deployment
Co-authored-by: Syed <syed@apache.org> |
551,517 | 26.04.2021 10:49:20 | 14,400 | 94ed47164bad3ec3b94fa17546bb6d605ec9f188 | migration: Add composite index in manifestblob
Adds composite index manifestblob_repository_id_blob_id. From our
testing on the quay.io production DB, This increased the number of rows
filtered for the manifestblob & imagestorage join slow query from 1.8%
to 100% | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "data/migrations/dba_operator/909d725887d3-databasemigration.yaml",
"diff": "+\n+---\n+apiVersion: dbaoperator.app-sre.redhat.com/v1alpha1\n+kind: DatabaseMigration\n+metadata:\n+ name: 909d725887d3\n+spec:\n+ migrationContainerSpec:\n+ command:\... | Python | Apache License 2.0 | quay/quay | migration: Add composite index in manifestblob (PROJQUAY-1922) (#769)
Adds composite index manifestblob_repository_id_blob_id. From our
testing on the quay.io production DB, This increased the number of rows
filtered for the manifestblob & imagestorage join slow query from 1.8%
to 100%
Co-authored-by: syed <sye... |
551,517 | 28.04.2021 10:46:32 | 14,400 | df4ad9452757dd01fb651e2836abcb4620df9db7 | modelcache: Make ModelCache TTL configurable
Adds a configuration option to modify the cache expiry timeout
for ModelCache objects | [
{
"change_type": "MODIFY",
"old_path": "config.py",
"new_path": "config.py",
"diff": "@@ -653,6 +653,12 @@ class DefaultConfig(ImmutableConfig):\nDATA_MODEL_CACHE_CONFIG = {\n\"engine\": \"memcached\",\n\"endpoint\": (\"127.0.0.1\", 18080),\n+ \"repository_blob_cache_ttl\": \"60s\",\n+ \"catalog_pag... | Python | Apache License 2.0 | quay/quay | modelcache: Make ModelCache TTL configurable (PROJQUAY-1878) (#765)
Adds a configuration option to modify the cache expiry timeout
for ModelCache objects
Co-authored-by: Syed <syed@apache.org> |
551,517 | 05.05.2021 20:12:06 | 14,400 | 242d4defc7d0a47f932f5338283f088c92cc8dc7 | deployment: Change canary to blue deployment
Updating from canary deployment to a blue-green style deployment | [
{
"change_type": "MODIFY",
"old_path": "deploy/openshift/quay-app.yaml",
"new_path": "deploy/openshift/quay-app.yaml",
"diff": "@@ -252,11 +252,11 @@ objects:\n- apiVersion: apps/v1\nkind: Deployment\nmetadata:\n- name: quay-app-canary\n+ name: quay-app-blue\nlabels:\n${{QUAY_APP_COMPONENT_LABEL_KEY... | Python | Apache License 2.0 | quay/quay | deployment: Change canary to blue deployment (PROJQUAY-1896) (#781)
Updating from canary deployment to a blue-green style deployment |
551,528 | 12.05.2021 10:59:57 | 14,400 | 8591caf0372dc0f68eb146a5e28a06eedd3fea87 | db: remove transaction from empty layer upload
Decouples blob upload and db row creation when uploading the empty
layer. This avoids the transaction blocking on non-db/S3 related issues. | [
{
"change_type": "MODIFY",
"old_path": "data/model/blob.py",
"new_path": "data/model/blob.py",
"diff": "@@ -239,13 +239,14 @@ def get_or_create_shared_blob(digest, byte_data, storage):\npreferred = storage.preferred_locations[0]\nlocation_obj = ImageStorageLocation.get(name=preferred)\n- with db_tra... | Python | Apache License 2.0 | quay/quay | db: remove transaction from empty layer upload (PROJQUAY-1946) (#775)
Decouples blob upload and db row creation when uploading the empty
layer. This avoids the transaction blocking on non-db/S3 related issues. |
551,517 | 20.05.2021 16:04:36 | 14,400 | b33f125c58cadfa0342ad1767517077b1c62a664 | modelcache: Add read and write endpoints to Redis
Adds `read_client` and `write_client` to Redis ModelCache to separate out read
and write calls to different endpoints | [
{
"change_type": "MODIFY",
"old_path": "data/cache/__init__.py",
"new_path": "data/cache/__init__.py",
"diff": "@@ -38,18 +38,16 @@ def get_model_cache(config):\nreturn cache\nif engine == \"redis\":\n- host = cache_config.get(\"host\", None)\n- if host is None:\n- raise Exception(\"Missing `host` f... | Python | Apache License 2.0 | quay/quay | modelcache: Add read and write endpoints to Redis (PROJQUAY-1939) (#795)
Adds `read_client` and `write_client` to Redis ModelCache to separate out read
and write calls to different endpoints |
551,517 | 10.06.2021 16:35:21 | 14,400 | eea5cfcb2bc7099f40d5758e360d16f49492d841 | local-dev: Increase timeout for gunicorn tasks to come up
Increase the gunicorn timeout to 600s for local dev setups with
lower resources. Default timeout is 30s which is too short | [
{
"change_type": "MODIFY",
"old_path": "docker-compose.yaml",
"new_path": "docker-compose.yaml",
"diff": "@@ -50,6 +50,7 @@ services:\n- \".:/quay-registry\"\nports:\n- \"8080:8080\"\n+ - \"8443:8443\"\nenvironment:\nDEBUGLOG: \"true\"\nIGNORE_VALIDATION: \"true\"\n"
},
{
"change_type": "MOD... | Python | Apache License 2.0 | quay/quay | local-dev: Increase timeout for gunicorn tasks to come up (PROJQUAY-2114) (#808)
Increase the gunicorn timeout to 600s for local dev setups with
lower resources. Default timeout is 30s which is too short |
551,528 | 16.06.2021 14:46:36 | 14,400 | bfb8602d5ae1b3eb56fe57a381a6939fb60f98be | buildman: fix vm image name in startup script
Reference correct filename in start.sh | [
{
"change_type": "MODIFY",
"old_path": "buildman/qemu-coreos/start.sh",
"new_path": "buildman/qemu-coreos/start.sh",
"diff": "@@ -9,7 +9,7 @@ set -o nounset\necho \"${USERDATA}\" > /userdata/user_data\n-MIN_IMAGE_SIZE_BYTES=$(qemu-img info rhcos-47.83.202011301442-0-qemu.x86_64.qcow2 | grep \"virtua... | Python | Apache License 2.0 | quay/quay | buildman: fix vm image name in startup script (PROJQUAY-2120) (#811)
Reference correct filename in start.sh |
551,528 | 09.07.2021 09:41:40 | 14,400 | 1c157e2a5b3ad4d091bc9480761b850d8856a15a | templates: escape templated script value
Correctly converts Python bool to JS when templating the value of
config flag with Jinja. | [
{
"change_type": "MODIFY",
"old_path": "templates/base.html",
"new_path": "templates/base.html",
"diff": "window.__token = '{{ csrf_token() }}';\nwindow.__kubernetes_namespace = {{ kubernetes_namespace|tojson|safe }};\nwindow.__registry_state = '{{ registry_state }}';\n- window.__account_recovery_mo... | Python | Apache License 2.0 | quay/quay | templates: escape templated script value (PROJQUAY-970) (#828)
Correctly converts Python bool to JS when templating the value of
config flag with Jinja. |
551,512 | 09.07.2021 15:53:46 | -3,600 | 6977730185710cec71ef39edc55b5d774bc278b4 | utility: Fixes backfillreplication script to use manifest blobs
Fixes an issue where the backfill replication script was using the `image` table and not the `manfiestblob` table which is being used since Quay 3.4.x exclusively.
JIRA: | [
{
"change_type": "MODIFY",
"old_path": "util/backfillreplication.py",
"new_path": "util/backfillreplication.py",
"diff": "@@ -9,6 +9,8 @@ from data.database import (\nUser,\nImageStoragePlacement,\nImageStorageLocation,\n+ Manifest,\n+ ManifestBlob,\n)\nfrom data import model\nfrom util.registry.rep... | Python | Apache License 2.0 | quay/quay | utility: Fixes backfillreplication script to use manifest blobs (PROJQUAY-2218) (#826)
Fixes an issue where the backfill replication script was using the `image` table and not the `manfiestblob` table which is being used since Quay 3.4.x exclusively.
JIRA: https://issues.redhat.com/browse/PROJQUAY-2218 |
551,517 | 09.07.2021 16:13:49 | 14,400 | d6616e9e1f4bcfc28ab80339448787cc19eca8d3 | deploy: Add recovery endpoint deployment manifests
This change adds the deployment and service manifests for the recovery endpoint
that will be used for quay.io to recover accounts which have not already been
transitioned to RH SSO | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "deploy/openshift/quay-recovery-endpoint.yaml",
"diff": "+---\n+apiVersion: v1\n+kind: Template\n+metadata:\n+ name: quay-recovery\n+objects:\n+- apiVersion: rbac.authorization.k8s.io/v1\n+ kind: Role\n+ metadata:\n+ name: ${{NAME}}\n+ rules:\n+ ... | Python | Apache License 2.0 | quay/quay | deploy: Add recovery endpoint deployment manifests (PROJQUAY-970) (#831)
This change adds the deployment and service manifests for the recovery endpoint
that will be used for quay.io to recover accounts which have not already been
transitioned to RH SSO |
551,517 | 12.07.2021 10:57:07 | 14,400 | ce3cb357bd2abb7f1f7ddf6bc21f6b0294d9803e | deploy: update component label value for recovery
Adds new component label "app-recovery" for the recovery endpoint" | [
{
"change_type": "MODIFY",
"old_path": "deploy/openshift/quay-recovery-endpoint.yaml",
"new_path": "deploy/openshift/quay-recovery-endpoint.yaml",
"diff": "@@ -269,7 +269,7 @@ parameters:\nvalue: \"quay-component\"\ndisplayName: quay app selector label\n- name: QUAY_APP_COMPONENT_LABEL_VALUE\n- valu... | Python | Apache License 2.0 | quay/quay | deploy: update component label value for recovery (PROJQUAY-970) (#832)
Adds new component label "app-recovery" for the recovery endpoint" |
551,525 | 15.07.2021 15:58:57 | 14,400 | 6e809033736d5d0d5855457675b91eec794fcdaa | dockerfile: Fix QUAYCONF symlink and config-tool build in refactored Dockerfile
Fixed group permissions on QUAYCONF folder
Fixed config-tool build step | [
{
"change_type": "MODIFY",
"old_path": "Dockerfile",
"new_path": "Dockerfile",
"diff": "@@ -54,8 +54,7 @@ FROM build AS config-editor\n# the other CONFIGTOOL_VERSION argument.\nARG CONFIGTOOL_VERSION=master\nRUN curl -fsSL \"https://github.com/quay/config-tool/archive/${CONFIGTOOL_VERSION}.tar.gz\"\... | Python | Apache License 2.0 | quay/quay | dockerfile: Fix QUAYCONF symlink and config-tool build in refactored Dockerfile (PROJQUAY-2254) (#837)
- Fixed group permissions on QUAYCONF folder
- Fixed config-tool build step |
551,528 | 21.07.2021 13:14:31 | 14,400 | 65ec47ab4b67fcd84fb9a7aa0b4f9f31c5b4d902 | secscan: handle remote layer url when sending request to Clair
Handle the case where a layer might be remote (not hosted in Quay's
storage) and add the remote blob url instead of the storage's download
url. | [
{
"change_type": "MODIFY",
"old_path": "config.py",
"new_path": "config.py",
"diff": "@@ -468,7 +468,7 @@ class DefaultConfig(ImmutableConfig):\nFEATURE_SECURITY_NOTIFICATIONS = False\n# The endpoint for the (deprecated) V2 security scanner.\n- SECURITY_SCANNER_ENDPOINT = \"http://192.168.99.101:606... | Python | Apache License 2.0 | quay/quay | secscan: handle remote layer url when sending request to Clair (PROJQUAY-2269) (#841)
Handle the case where a layer might be remote (not hosted in Quay's
storage) and add the remote blob url instead of the storage's download
url. |
551,525 | 22.07.2021 10:04:30 | 14,400 | 1f7d128c8d38db7de7b909a8229102ae982198b1 | dockerfile: Fix downstream python site-packages location
Allow PYTHONUSERBASE_SITE_PACKAGE to be added as an environment variable
Set PYTHONUSERBASE_SITE_PACKAGE to /usr/local/lib/python3.8/site-packages in downstream Dockerfile | [
{
"change_type": "MODIFY",
"old_path": "Dockerfile.osbs",
"new_path": "Dockerfile.osbs",
"diff": "@@ -58,7 +58,8 @@ ENV PYTHON_VERSION=3.8 \\\nPATH=$HOME/.local/bin/:$PATH \\\nPYTHONUNBUFFERED=1 \\\nPYTHONIOENCODING=UTF-8 \\\n- LANG=en_US.utf8\n+ LANG=en_US.utf8 \\\n+ PYTHONUSERBASE_SITE_PACKAGE=/us... | Python | Apache License 2.0 | quay/quay | dockerfile: Fix downstream python site-packages location (PROJQUAY-2258) (#842)
- Allow PYTHONUSERBASE_SITE_PACKAGE to be added as an environment variable
- Set PYTHONUSERBASE_SITE_PACKAGE to /usr/local/lib/python3.8/site-packages in downstream Dockerfile |
551,528 | 22.07.2021 12:25:46 | 14,400 | cd6871c14f5e017d70d99664ccde89ccac9e4366 | cache: add support for redis cluster mode
Adds support to use redis in cluster mode when using redis instead of
memcached for caching. | [
{
"change_type": "MODIFY",
"old_path": "data/cache/__init__.py",
"new_path": "data/cache/__init__.py",
"diff": "+from data.cache.redis_cache import redis_cache_from_config\nfrom data.cache.impl import (\nNoopDataModelCache,\nInMemoryDataModelCache,\n@@ -37,17 +38,9 @@ def get_model_cache(config):\nr... | Python | Apache License 2.0 | quay/quay | cache: add support for redis cluster mode (PROJQUAY-2101) (#810)
Adds support to use redis in cluster mode when using redis instead of
memcached for caching. |
551,525 | 22.07.2021 14:09:34 | 14,400 | de12ed7482859e3d6d4ce89d5ece2e701996d6ee | ui: Add repo state column when mirroring enabled
UI will show repo state when FEATURE_REPO_MIRROR is set to 'true' | [
{
"change_type": "MODIFY",
"old_path": "config.py",
"new_path": "config.py",
"diff": "@@ -41,6 +41,7 @@ CLIENT_WHITELIST = [\n\"SEARCH_MAX_RESULT_PAGE_COUNT\",\n\"BRANDING\",\n\"DOCUMENTATION_ROOT\",\n+ \"FEATURE_REPO_MIRROR\",\n]\n"
},
{
"change_type": "MODIFY",
"old_path": "static/css/... | Python | Apache License 2.0 | quay/quay | ui: Add repo state column when mirroring enabled (PROJQUAY-591) (#419)
- UI will show repo state when FEATURE_REPO_MIRROR is set to 'true' |
551,525 | 22.07.2021 14:38:52 | 14,400 | 97fc1b5cc774dbc6d085490548dc4695b440d55e | ui: Require user to enter repository when deleting
When deleting a repository, a prompt will show requiring the user to enter <namespace>/<repository>
Delete button will be disabled until text matches the namespace | [
{
"change_type": "MODIFY",
"old_path": "static/directives/repo-view/repo-panel-settings.html",
"new_path": "static/directives/repo-view/repo-panel-settings.html",
"diff": "<div class=\"cor-confirm-dialog\"\ndialog-context=\"deleteRepoInfo\"\ndialog-action=\"deleteRepo(info, callback)\"\n- dialog-tit... | Python | Apache License 2.0 | quay/quay | ui: Require user to enter repository when deleting (PROJQUAY-763) (#432)
- When deleting a repository, a prompt will show requiring the user to enter <namespace>/<repository>
- Delete button will be disabled until text matches the namespace |
551,528 | 23.07.2021 15:40:29 | 14,400 | 0999baa29e76ee7c3118af75bb06b7bd681b66de | chore: fix rediscluster cache config key name
Look for "rediscluster" instead of "redis-cluster" in the cache config. | [
{
"change_type": "MODIFY",
"old_path": "data/cache/__init__.py",
"new_path": "data/cache/__init__.py",
"diff": "@@ -38,7 +38,7 @@ def get_model_cache(config):\nreturn cache\n- if engine == \"redis\" or engine == \"redis-cluster\":\n+ if engine == \"redis\" or engine == \"rediscluster\":\nredis_clien... | Python | Apache License 2.0 | quay/quay | chore: fix rediscluster cache config key name (PROJQUAY-2101) (#849)
Look for "rediscluster" instead of "redis-cluster" in the cache config. |
551,528 | 26.07.2021 09:52:33 | 14,400 | 64bc11fe46acdc20795f9a51ba2c8c6926579f77 | oci: allow oci artifact registration
Allow registration of custom oci artifact types in Quay's configuration. | [
{
"change_type": "MODIFY",
"old_path": "app.py",
"new_path": "app.py",
"diff": "@@ -130,6 +130,10 @@ features.import_features(app.config)\n# Register additional experimental artifact types.\n# TODO: extract this into a real, dynamic registration system.\n+if features.GENERAL_OCI_SUPPORT:\n+ for medi... | Python | Apache License 2.0 | quay/quay | oci: allow oci artifact registration (PROJQUAY-1032) (#803)
Allow registration of custom oci artifact types in Quay's configuration. |
551,528 | 29.07.2021 13:44:17 | 14,400 | 47a1fdd38ecbaffb460ebb4c6d43da4c14986221 | chore: remove ui elements for account recovery mode
Remove ui elements for account recovery mode. | [
{
"change_type": "MODIFY",
"old_path": "static/directives/signin-form.html",
"new_path": "static/directives/signin-form.html",
"diff": "Login via service\n</h4>\n- <div class=\"external-logins\" quay-show=\"EXTERNAL_LOGINS.length\">\n+ <div class=\"external-logins\" quay-show=\"EXTERNAL_LOGINS.lengt... | Python | Apache License 2.0 | quay/quay | chore: remove ui elements for account recovery mode (PROJQUAY-970) (#853)
Remove ui elements for account recovery mode. |
551,525 | 03.08.2021 10:12:17 | 14,400 | 653630579f63498670215779ab5cf80d61857253 | fips: enforce smtp tls
Patch CRAM-MD5 function to allow usage under FIPS but enfore TLS | [
{
"change_type": "MODIFY",
"old_path": "notifications/notificationmethod.py",
"new_path": "notifications/notificationmethod.py",
"diff": "import logging\nimport re\nimport json\n+import mock\nimport requests\nfrom flask_mail import Message\n@@ -10,7 +11,9 @@ from app import mail, app, OVERRIDE_CONFI... | Python | Apache License 2.0 | quay/quay | fips: enforce smtp tls (PROJQUAY-1804) (#782) (#782)
Patch CRAM-MD5 function to allow usage under FIPS but enfore TLS |
551,517 | 03.08.2021 10:34:44 | 14,400 | 3dde364615ae3f2b839fb38b7e791805e4243c3c | cache: py2 compatibility, kwargs after named args
Fix compaitbily with the py2 quayio branch. move the kwargs at the
end of the call | [
{
"change_type": "MODIFY",
"old_path": "data/cache/redis_cache.py",
"new_path": "data/cache/redis_cache.py",
"diff": "@@ -10,20 +10,20 @@ class ReadEndpointSupportedRedis(object):\nraise Exception(\"Missing primary host for Redis model cache configuration\")\nself.write_client = StrictRedis(\n- **pr... | Python | Apache License 2.0 | quay/quay | cache: py2 compatibility, kwargs after named args (PROJQUAY-2101) (#859)
Fix compaitbily with the py2 quayio branch. move the kwargs at the
end of the call |
551,524 | 06.08.2021 14:28:16 | 14,400 | 7a70a98b1ea616f79cdd3f691e4d2c55c4be6a7c | doc: Fix broken links in the CHANGELOG
Some of the links from the CHANGELOG were broken and
had to be updated. Also fixed a typo in config.yaml | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "## Red Hat Quay Release Notes\n-(Red Hat Customer Portal)[https://access.redhat.com/documentation/en-us/red_hat_quay/3.5/html/red_hat_quay_release_notes/index]\n+[Red Hat Customer Portal](https://access.redha... | Python | Apache License 2.0 | quay/quay | doc: Fix broken links in the CHANGELOG (PROJQUAY-2298) (#858)
Some of the links from the CHANGELOG were broken and
had to be updated. Also fixed a typo in config.yaml
Signed-off-by: harishsurf <hgovinda@redhat.com> |
551,524 | 09.08.2021 11:51:34 | 14,400 | ae0bd06d1dc1124a6b64460884d369d0af997f4a | documentation: Added instructions to setup dev environment
Updated doc to include setup up python virutal env and installing project
dependancies | [
{
"change_type": "MODIFY",
"old_path": "docs/docker-local-dev.md",
"new_path": "docs/docker-local-dev.md",
"diff": "@@ -4,6 +4,45 @@ The Quay team has developed and supports a Docker based local development enviro\nThis environment can quickly setup Quay and Clair for developing and testing changes.... | Python | Apache License 2.0 | quay/quay | documentation: Added instructions to setup dev environment (PROJQUAY-2277) (#844) (#844)
Updated doc to include setup up python virutal env and installing project
dependancies
Signed-off-by: harishsurf <hgovinda@redhat.com> |
551,526 | 10.08.2021 16:27:09 | 18,000 | 5debec58f97ea435ff0826c56202f31bef8c318f | Quay.io: Catching requests from impersonated principals
Dennying requests when impersonated | [
{
"change_type": "MODIFY",
"old_path": "oauth/oidc.py",
"new_path": "oauth/oidc.py",
"diff": "@@ -182,6 +182,13 @@ class OIDCLoginService(OAuthService):\nelse:\nuser_info = decoded_id_token\n+ # Verify for impersonation\n+ if user_info.get(\"impersonated\", False):\n+ logger.debug(\n+ \"Requests fro... | Python | Apache License 2.0 | quay/quay | Quay.io: Catching requests from impersonated principals (#869)
Dennying requests when impersonated |
551,528 | 17.08.2021 12:58:56 | 14,400 | 712b8d749333e9879d15ecf724d335662ddb7af1 | migration: configure logging in alembic's env.py
Reference: | [
{
"change_type": "MODIFY",
"old_path": "data/migrations/env.py",
"new_path": "data/migrations/env.py",
"diff": "import logging\n+import logging.config\nimport os\nfrom urllib.parse import unquote\n@@ -23,6 +24,7 @@ logger = logging.getLogger(__name__)\n# Alembic's configuration\nconfig = context.con... | Python | Apache License 2.0 | quay/quay | migration: configure logging in alembic's env.py (PROJQUAY-2412) (#875)
Reference: https://alembic.sqlalchemy.org/en/latest/api/config.html#configuration |
551,528 | 02.09.2021 10:24:13 | 14,400 | c507eeff2eae61efe1a18a4b0e6addce4d37bc5a | config: define default oci artifact types
Includes Helm and Cosign layers as default allowable oci types. | [
{
"change_type": "MODIFY",
"old_path": "config.py",
"new_path": "config.py",
"diff": "@@ -748,7 +748,12 @@ class DefaultConfig(ImmutableConfig):\n# Feature Flag: Whether OCI manifest support should be enabled generally.\nFEATURE_GENERAL_OCI_SUPPORT = True\n- ALLOWED_OCI_ARTIFACT_TYPES = {}\n+ ALLOWE... | Python | Apache License 2.0 | quay/quay | config: define default oci artifact types (PROJQUAY-2334) (#877)
Includes Helm and Cosign layers as default allowable oci types. |
551,525 | 15.09.2021 14:24:03 | 14,400 | 495dd9086ea5ac8bb19b0ac175414df1be85aad3 | dockerfile: Update symlink in upstream dockerfile
Fix symlink in upstream dockerfile | [
{
"change_type": "MODIFY",
"old_path": "Dockerfile",
"new_path": "Dockerfile",
"diff": "@@ -144,11 +144,11 @@ RUN set -ex\\\n; setperms /etc/nginx\\\n; ln -sf /dev/stdout /var/log/nginx/access.log\\\n; ln -sf /dev/stdout /var/log/nginx/error.log\\\n-# Make a grip of runtime directories.\n- ; newdir ... | Python | Apache License 2.0 | quay/quay | dockerfile: Update symlink in upstream dockerfile (PROJQUAY-2550) (#889)
- Fix symlink in upstream dockerfile |
551,485 | 17.09.2021 13:29:07 | 25,200 | 694fa2acafbf50d09b1cccb54dcdd3c4aec3c113 | secscan: continue iterating after failure
If Clair returns an error the current behaviour is to
error out, thus not indexing any subsequent manifests.
This change allows the worker to continue indexing
subsequent manifests after one failure. | [
{
"change_type": "MODIFY",
"old_path": "data/secscan_model/secscan_v4_model.py",
"new_path": "data/secscan_model/secscan_v4_model.py",
"diff": "@@ -289,10 +289,10 @@ class V4SecurityScanner(SecurityScannerInterface):\nexcept InvalidContentSent as ex:\nmark_manifest_unsupported(manifest)\nlogger.exce... | Python | Apache License 2.0 | quay/quay | secscan: continue iterating after failure (PROJQUAY-2563) (#892)
If Clair returns an error the current behaviour is to
error out, thus not indexing any subsequent manifests.
This change allows the worker to continue indexing
subsequent manifests after one failure.
Signed-off-by: crozzy <joseph.crosland@gmail.com... |
551,528 | 17.09.2021 17:48:05 | 14,400 | 9f16b3247e1fdd2a97f773657f722067388a8761 | secscan: fix secscan api ApiRequestFailure test
Follow-up to Correctly set the expected value for the
pagination token when not blocking on a failed API request. | [
{
"change_type": "MODIFY",
"old_path": "data/secscan_model/test/test_secscan_v4_model.py",
"new_path": "data/secscan_model/test/test_secscan_v4_model.py",
"diff": "@@ -416,7 +416,7 @@ def test_perform_indexing_api_request_failure_index(initialized_db, set_secscan_\nnext_token = secscan.perform_index... | Python | Apache License 2.0 | quay/quay | secscan: fix secscan api ApiRequestFailure test (PROJQUAY-2563) (#896)
Follow-up to 694fa2ac. Correctly set the expected value for the
pagination token when not blocking on a failed API request. |
551,528 | 17.09.2021 17:50:19 | 14,400 | c7c4c0dc4ca9681482a100a831950355634c3b61 | ci: Update funcparserlib version
Updating funcparserlib to 1.0.0a0 fixes the issue initially addressed
in | [
{
"change_type": "MODIFY",
"old_path": "Dockerfile",
"new_path": "Dockerfile",
"diff": "@@ -67,7 +67,7 @@ COPY requirements.txt .\n# flag.\nRUN set -ex\\\n; python3 -m pip install --no-cache-dir --quiet\\\n- --upgrade setuptools==57.5.0 pip\\\n+ --upgrade setuptools pip\\\n; python3 -m pip install -... | Python | Apache License 2.0 | quay/quay | ci: Update funcparserlib version (PROJQUAY-2520) (#893)
Updating funcparserlib to 1.0.0a0 fixes the issue initially addressed
in d3809b2e. |
551,528 | 28.09.2021 10:06:46 | 14,400 | d81efe2f3ce545a398a2fba0b4fdc4ac7559376b | email: fix org recovery link in email
Signin link was always linking ton quay.io in org recovery
emails. Updated to link to whatever the SERVER_HOSTNAME is. | [
{
"change_type": "MODIFY",
"old_path": "emails/orgrecovery.html",
"new_path": "emails/orgrecovery.html",
"diff": "<table style=\"\">\n<tr>\n- <td style=\"background: #40B4E5; padding: 10px; border-radius: 3px; color: #fff; font-size: 20px; font-weight: 500\"><a style=\"text-decoration: none; color: ... | Python | Apache License 2.0 | quay/quay | email: fix org recovery link in email (PROJQUAY-2589) (#903)
Signin link was always linking ton quay.io in org recovery
emails. Updated to link to whatever the SERVER_HOSTNAME is. |
551,528 | 04.10.2021 10:09:04 | 14,400 | 374e957bd93d5b6bbb6ddd2080aaa4d67fcdfa74 | ui: fix csrf issue when login in with SSO on mobile
Follow-up to Make the same change for the mobile template. | [
{
"change_type": "MODIFY",
"old_path": "static/directives/header-bar.html",
"new_path": "static/directives/header-bar.html",
"diff": "<a ng-click=\"signout()\">Sign out all sessions</a>\n</li>\n<li ng-switch-default>\n- <a class=\"user-view\" href=\"/signin/\" ng-if=\"!externalSigninUrl\">Sign in</a... | Python | Apache License 2.0 | quay/quay | ui: fix csrf issue when login in with SSO on mobile (PROJQUAY-2340) (#906)
Follow-up to PROJQUAY-2340. Make the same change for the mobile template. |
551,508 | 07.10.2021 08:06:34 | -7,200 | 16dcebf101f807738868711246614a9dd10f5566 | chore: build and publish workflow | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/workflows/build-and-publish.yaml",
"diff": "+---\n+name: Build and Publish\n+\n+on:\n+ push:\n+ branches:\n+ - redhat-** # IMPORTANT! this must match the jobs.build-and-publish.env.BRANCH_PREFIX (save the **).\n+\n+jobs:\n+ build-and-pub... | Python | Apache License 2.0 | quay/quay | chore: build and publish workflow (PROJQUAY-2556) |
551,512 | 07.10.2021 16:09:52 | -7,200 | c90b444f8322a425ebd718809eac25c3c7cae265 | chore: Provide timestamps on container startup including registry, mirror and config container
Previously, Quay did not store a startup timestamp. Storing exact container startup time will help us debug things in the future. | [
{
"change_type": "MODIFY",
"old_path": "quay-entrypoint.sh",
"new_path": "quay-entrypoint.sh",
"diff": "@@ -50,6 +50,7 @@ case \"$QUAYENTRY\" in\nexec /bin/bash\n;;\n\"config\")\n+ echo \"\"; echo \"Startup timestamp: \"; date; echo \"\"\nif [ -z \"${QUAY_SERVICES}\" ]; then\necho \"Running all defa... | Python | Apache License 2.0 | quay/quay | chore: Provide timestamps on container startup including registry, mirror and config container (#921)
Previously, Quay did not store a startup timestamp. Storing exact container startup time will help us debug things in the future. |
551,528 | 08.10.2021 11:07:22 | 14,400 | f50f37a393fa2273234f8ac0aa9f34a03a77a731 | oci: Accept the stricter oci layer type used by default in Helm 3.7
See | [
{
"change_type": "MODIFY",
"old_path": "app.py",
"new_path": "app.py",
"diff": "@@ -138,7 +138,10 @@ if features.GENERAL_OCI_SUPPORT:\nif features.HELM_OCI_SUPPORT:\nHELM_CHART_CONFIG_TYPE = \"application/vnd.cncf.helm.config.v1+json\"\n- HELM_CHART_LAYER_TYPES = [\"application/tar+gzip\"]\n+ HELM_C... | Python | Apache License 2.0 | quay/quay | oci: Accept the stricter oci layer type used by default in Helm 3.7 (PROJQUAY-2653) (#922)
See https://github.com/helm/helm/issues/10176 |
551,525 | 12.10.2021 14:47:40 | 25,200 | a29f3e0eea6d475d6f621da19b083876737d5262 | defaults: Update defaults in config and schema
Update defaults in config.pu | [
{
"change_type": "MODIFY",
"old_path": "config.py",
"new_path": "config.py",
"diff": "@@ -791,4 +791,7 @@ class DefaultConfig(ImmutableConfig):\nFEATURE_USER_INITIALIZE = False\n# Allows \"/\" in repository names\n- FEATURE_EXTENDED_REPOSITORY_NAMES = False\n+ FEATURE_EXTENDED_REPOSITORY_NAMES = Tru... | Python | Apache License 2.0 | quay/quay | defaults: Update defaults in config and schema (PROJQUAY-2425) (#923)
- Update defaults in config.pu |
551,528 | 13.10.2021 10:41:23 | 14,400 | ccf6ada16a1feac137a8aa7ea828a99df66586ac | cache: handle uncaught redis exception
Handles uncaught client exceptions so that Quay is able to fallback to
querying the database.
Also updates the redis library version to address | [
{
"change_type": "MODIFY",
"old_path": "data/cache/impl.py",
"new_path": "data/cache/impl.py",
"diff": "@@ -263,7 +263,13 @@ class RedisDataModelCache(DataModelCache):\nelse:\ncache_count.labels(\"miss\").inc()\nexcept RedisError as re:\n- logger.warning(\"Got exception when trying to retrieve key %... | Python | Apache License 2.0 | quay/quay | cache: handle uncaught redis exception (PROJQUAY-2614) (#907)
- Handles uncaught client exceptions so that Quay is able to fallback to
querying the database.
- Also updates the redis library version to address
https://github.com/Grokzen/redis-py-cluster/issues/370 |
551,517 | 13.10.2021 15:51:24 | 14,400 | 173dfbfc8adf67286e22e1f5daadf984d5fcbf3d | deploy: Update quay deployment manifests for py3 canary
This change adds the Deployment and Service resources required to
canary python3 in quay.io | [
{
"change_type": "MODIFY",
"old_path": "deploy/openshift/quay-app.yaml",
"new_path": "deploy/openshift/quay-app.yaml",
"diff": "@@ -73,20 +73,49 @@ objects:\n- apiVersion: v1\nkind: Service\nmetadata:\n- name: prometheus-proxy-loadbalancer\n+ name: quay-load-balancer-proxy-protocol-service\n+ annota... | Python | Apache License 2.0 | quay/quay | deploy: Update quay deployment manifests for py3 canary (PROJQUAY-2373) (#902)
This change adds the Deployment and Service resources required to
canary python3 in quay.io |
551,517 | 14.10.2021 12:04:15 | 14,400 | 759a83fabfd64ec18554120fe74718599727fcd3 | build: use Dockerfile for building quay app-sre
Use Dockerfile instead of Dockerfile.osbs for building python3 | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -136,10 +136,10 @@ docker-build: pkgs build\necho $(TAG)\napp-sre-docker-build-rhel7:\n- $(BUILD_CMD) -t ${IMG} -f Dockerfile.osbs .\n+ $(BUILD_CMD) -t ${IMG} -f Dockerfile .\napp-sre-docker-build-centos7:\n- $(BU... | Python | Apache License 2.0 | quay/quay | build: use Dockerfile for building quay app-sre (PROJQUAY-2373) (#926)
Use Dockerfile instead of Dockerfile.osbs for building python3 |
551,528 | 14.10.2021 16:09:16 | 14,400 | 139c9abc66c5f60ec9eaf910057afdb28734413b | dockerfile: use separate dockerfile for production deployment
Use Dockerfile.deploy for CI/CD pipeline. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Dockerfile.deploy",
"diff": "+FROM registry.redhat.io/ubi8:latest AS base\n+# Only set variables or install packages that need to end up in the\n+# final container here.\n+ENV PATH=/app/bin/:$PATH \\\n+ PYTHONUNBUFFERED=1 \\\n+ PYTHONIOENCODING=... | Python | Apache License 2.0 | quay/quay | dockerfile: use separate dockerfile for production deployment (#927)
Use Dockerfile.deploy for CI/CD pipeline. |
551,528 | 14.10.2021 17:00:20 | 14,400 | da558b0f68228fad28a7cf3b6019f76dc5355e6d | dockerfile: replace golang base image in production dockerfile
Replace docker.io/library/golang:1.15 with openshift/golang-builder:1.15. | [
{
"change_type": "MODIFY",
"old_path": "Dockerfile.deploy",
"new_path": "Dockerfile.deploy",
"diff": "@@ -103,7 +103,7 @@ RUN set -ex\\\n;\n# Config-tool builds the go binary in the configtool.\n-FROM docker.io/library/golang:1.15 as config-tool\n+FROM openshift/golang-builder:1.15 as config-tool\nW... | Python | Apache License 2.0 | quay/quay | dockerfile: replace golang base image in production dockerfile (#928)
Replace docker.io/library/golang:1.15 with openshift/golang-builder:1.15. |
551,528 | 15.10.2021 02:22:02 | 14,400 | cdc7b61f9e1be90d4dbd621810ea7c30a45bb75a | dockerfile: make sure the production dockerfile doesn't pull from dockerhub
Use registry.redhat.io/rhel8/go-toolset:1.15 instead of openshift/golang-builder:1.15 | [
{
"change_type": "MODIFY",
"old_path": "Dockerfile.deploy",
"new_path": "Dockerfile.deploy",
"diff": "@@ -103,12 +103,12 @@ RUN set -ex\\\n;\n# Config-tool builds the go binary in the configtool.\n-FROM openshift/golang-builder:1.15 as config-tool\n-WORKDIR /go/src/config-tool\n+FROM registry.redhat... | Python | Apache License 2.0 | quay/quay | dockerfile: make sure the production dockerfile doesn't pull from dockerhub (#929)
Use registry.redhat.io/rhel8/go-toolset:1.15 instead of openshift/golang-builder:1.15 |
551,517 | 15.10.2021 09:47:06 | 14,400 | 6b01bd124531e428b2ebd99f9f4f59c5907a024c | deploy: Push py3 images to a different quay repo
This is to make sure we have both py2 and py3 deployable from different
repos. | [
{
"change_type": "MODIFY",
"old_path": "scripts/app_sre_build_deploy_centos7.sh",
"new_path": "scripts/app_sre_build_deploy_centos7.sh",
"diff": "@@ -6,7 +6,7 @@ set -exv\nCURRENT_DIR=$(dirname $0)\n-BASE_IMG=\"quay\"\n+BASE_IMG=\"quay-py3\"\nQUAY_IMAGE=\"quay.io/app-sre/${BASE_IMG}\"\nIMG=\"${BASE_... | Python | Apache License 2.0 | quay/quay | deploy: Push py3 images to a different quay repo (PROJQUAY-2374) (#930)
This is to make sure we have both py2 and py3 deployable from different
repos. |
551,517 | 15.10.2021 15:37:39 | 14,400 | 5a56145ba5d49702430b030b84df8a66426b77c8 | deploy: Update app-sre build script
rhel8 uses podman instead of docker | [
{
"change_type": "MODIFY",
"old_path": "scripts/app_sre_build_deploy_centos7.sh",
"new_path": "scripts/app_sre_build_deploy_centos7.sh",
"diff": "@@ -17,7 +17,7 @@ BUILD_CMD=\"docker build\" IMG=\"$IMG\" make app-sre-docker-build\n# push the image\nskopeo copy --dest-creds \"${QUAY_USER}:${QUAY_TOKE... | Python | Apache License 2.0 | quay/quay | deploy: Update app-sre build script (PROJQUAY-2374) (#934)
rhel8 uses podman instead of docker |
551,508 | 18.10.2021 15:55:08 | -7,200 | 5ad6e0ffa70cd064b8fe47457f8ec805ab7becb9 | refactor(Dockerfile): use pre-built centos 8 stream
instead of manually switching to stream ourselves, use the quay.io
centos stream8 tag. | [
{
"change_type": "MODIFY",
"old_path": "Dockerfile",
"new_path": "Dockerfile",
"diff": "# syntax=docker/dockerfile:1.2\n-# Stream swaps to CentOS Stream once and is reused.\n-FROM docker.io/library/centos:8 AS stream\n-RUN set -ex\\\n- ; dnf -y -q install centos-release-stream\\\n- ; dnf -y -q swap ... | Python | Apache License 2.0 | quay/quay | refactor(Dockerfile): use pre-built centos 8 stream (#936)
instead of manually switching to stream ourselves, use the quay.io
centos stream8 tag. |
551,505 | 18.10.2021 16:06:33 | 14,400 | 10e88d29aa518c53da33da800309cdd3310925a4 | makefile: Add local-dev-build-frontend step
Allows for frontend to render locally by prebuilding artifacts. | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -184,14 +184,22 @@ black:\nlocal-dev-clean:\nsudo ./local-dev/scripts/clean.sh\n+.PHONY: local-dev-build-frontend\n+local-dev-build-frontend:\n+ make local-dev-clean\n+ npm install --quiet --no-progress --ignore-e... | Python | Apache License 2.0 | quay/quay | makefile: Add local-dev-build-frontend step (PROJQUAY-2693) (#933)
Allows for frontend to render locally by prebuilding artifacts. |
551,508 | 19.10.2021 09:15:56 | -7,200 | 8ef0aff83dffac3ae32938dc9105a5926a94c10d | chore: improve check for JIRA ticket
also add conventional commits check, it's very similar to our previous one.
see conventionalcommits.org for details | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/CI.yaml",
"new_path": ".github/workflows/CI.yaml",
"diff": "@@ -194,19 +194,3 @@ jobs:\nname: oci-test-results-${{ github.sha }}\npath: .report/\nif: always()\n-\n- commit-check:\n- name: Commit Check\n- runs-on: ubuntu-latest\n- steps:\n- - ... | Python | Apache License 2.0 | quay/quay | chore: improve check for JIRA ticket (PROJQUAY-2623) (#919)
also add conventional commits check, it's very similar to our previous one.
see conventionalcommits.org for details |
551,526 | 20.10.2021 11:19:41 | 14,400 | 162b79ec53b1a38ac4dbbb7e00224a308f7ba3c7 | Quay: Fixing reclassified CVE ratings source
Fixed source of CVE ratings and fixed failing tests | [
{
"change_type": "MODIFY",
"old_path": "data/secscan_model/secscan_v4_model.py",
"new_path": "data/secscan_model/secscan_v4_model.py",
"diff": "@@ -402,7 +402,7 @@ def features_for(report):\n[\nVulnerability(\nfetch_vuln_severity(vuln, enrichments),\n- \"\",\n+ vuln[\"updater\"],\nvuln[\"links\"],\n... | Python | Apache License 2.0 | quay/quay | Quay: Fixing reclassified CVE ratings source (PROJQUAY-2691) (#937)
Fixed source of CVE ratings and fixed failing tests |
551,508 | 26.10.2021 16:41:52 | -7,200 | 897e7e3913c0c18436a41b71f582817e8a273187 | requirements.txt: remove unused dependencies
also move dev specific dependencies to requirements-dev.txt | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/CI.yaml",
"new_path": ".github/workflows/CI.yaml",
"diff": "@@ -171,7 +171,7 @@ jobs:\nsudo apt-get update\nsudo apt-get install libgpgme-dev libldap2-dev libsasl2-dev swig\npython -m pip install --upgrade pip\n- pip install -r <(cat requirem... | Python | Apache License 2.0 | quay/quay | requirements.txt: remove unused dependencies (#948)
also move dev specific dependencies to requirements-dev.txt |
551,508 | 28.10.2021 14:50:04 | -7,200 | 8f64efd6815a76cd27139da5df16983213c71048 | docs: consolidate getting started guides
also remove previous similar guides, and rename previuous
docs/getting_started.md to docs/quick-local-deployment.md. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -50,13 +50,13 @@ High-level features include:\n* Explore a live instance of Project Quay hosted at [Quay.io]\n* Watch [talks] given about Project Quay\n* Review the [documentation] for Red Hat Quay\n-* Get up an... | Python | Apache License 2.0 | quay/quay | docs: consolidate getting started guides (PROJQUAY-2500) (#884)
also remove previous similar guides, and rename previuous
docs/getting_started.md to docs/quick-local-deployment.md. |
551,522 | 28.10.2021 15:27:21 | 14,400 | e94e14e8f00d079f5471bbb53484252fa2b294c6 | Resolves issues with booting quay container | [
{
"change_type": "MODIFY",
"old_path": "Dockerfile",
"new_path": "Dockerfile",
"diff": "@@ -20,7 +20,7 @@ RUN set -ex\\\nnginx \\\nopenldap \\\nopenssl \\\n- python3 \\\n+ python38 \\\npython3-gpg \\\nskopeo \\\n; dnf -y -q clean all\n@@ -34,7 +34,7 @@ RUN set -ex\\\ngit\\\nnodejs\\\nopenldap-devel\... | Python | Apache License 2.0 | quay/quay | Resolves issues with booting quay container (#953) |
551,505 | 29.10.2021 13:09:20 | 14,400 | d14da17a401caed79e87a3685b554a0007e5de51 | config.py: Add support for source containers
Adding support for the application/vnd.oci.source.image.config.v1+json mime type. | [
{
"change_type": "MODIFY",
"old_path": "config.py",
"new_path": "config.py",
"diff": "@@ -757,6 +757,9 @@ class DefaultConfig(ImmutableConfig):\n\"application/tar+gzip\",\n\"application/vnd.cncf.helm.chart.content.v1.tar+gzip\",\n],\n+ \"application/vnd.oci.source.image.config.v1+json\": [\n+ \"appl... | Python | Apache License 2.0 | quay/quay | config.py: Add support for source containers (PROJQUAY-2271) (#954)
Adding support for the application/vnd.oci.source.image.config.v1+json mime type. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.