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
88,779
17.03.2021 22:26:39
-28,800
b1771732fb80ca1b241d5c97534ce66e4424fb47
add UserKNN and ItemKNN models
[ { "change_type": "ADD", "old_path": null, "new_path": "beta_rec/models/itemKNN.py", "diff": "+import torch\n+import torch.nn as nn\n+from torch.nn import Parameter\n+\n+from beta_rec.models.torch_engine import ModelEngine\n+from beta_rec.utils.common_util import print_dict_as_table, timeit\n+\n+impo...
Python
MIT License
beta-team/beta-recsys
add UserKNN and ItemKNN models
88,779
17.03.2021 22:48:41
-28,800
0cbebf376c1fa3dd139f95be0a892d6b86fb5140
chore: add userKNN and itemKNN to README.md
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -136,6 +136,9 @@ The following is a list of recommender models currently available in the reposit\n|LightGCN|[**LightGCN**: Simplifying and Powering Graph Convolution Network for Recommendation](https://arxiv.or...
Python
MIT License
beta-team/beta-recsys
chore: add userKNN and itemKNN to README.md
88,779
17.03.2021 22:57:52
-28,800
149c056e07e18cd4644cbc41e64c8730663cce21
chore: update itemKNN and userKNN
[ { "change_type": "MODIFY", "old_path": "beta_rec/models/itemKNN.py", "new_path": "beta_rec/models/itemKNN.py", "diff": "+import numpy as np\n+import scipy.sparse as ssp\nimport torch\n-import torch.nn as nn\n-from torch.nn import Parameter\nfrom beta_rec.models.torch_engine import ModelEngine\n-from...
Python
MIT License
beta-team/beta-recsys
chore: update itemKNN and userKNN
88,781
03.07.2021 18:35:48
-28,800
db928d9ba1d219e597ba6bc223bff776d54b3d88
Fix train engine. The original test function failed to reload the best performing model.
[ { "change_type": "MODIFY", "old_path": "beta_rec/core/train_engine.py", "new_path": "beta_rec/core/train_engine.py", "diff": "@@ -340,23 +340,10 @@ class TrainEngine(object):\nprint(tabulate(df, headers=df.columns, tablefmt=\"psql\"))\nreturn df\n- # def ax_tune(self, runable):\n- # # todo still can...
Python
MIT License
beta-team/beta-recsys
Fix train engine. The original test function failed to reload the best performing model.
88,781
16.09.2021 22:22:36
-3,600
2bded0789054e8d459a65a9995ab7f28b5dd1717
Create train_mixgcf.py
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/train_mixgcf.py", "diff": "+\"\"\"isort:skip_file.\"\"\"\n+import argparse\n+import os\n+import sys\n+import time\n+\n+sys.path.append(\"../\")\n+\n+import numpy as np\n+import torch\n+from ray import tune\n+\n+from beta_rec.core.train_...
Python
MIT License
beta-team/beta-recsys
Create train_mixgcf.py
88,781
16.09.2021 22:23:16
-3,600
bfd4365b66290ecda69293fdc864ba22c84d4cb4
Create mixgcf_default.json
[ { "change_type": "ADD", "old_path": null, "new_path": "configs/mixgcf_default.json", "diff": "+{\n+ \"system\": {\n+ \"root_dir\": \"../\",\n+ \"log_dir\": \"logs/\",\n+ \"result_dir\": \"results/\",\n+ \"process_dir\": \"processes/\",\n+ \"checkpoint_dir\": \"checkpoints/\",\n+ \"dataset_dir\": \"d...
Python
MIT License
beta-team/beta-recsys
Create mixgcf_default.json
88,781
16.09.2021 22:23:47
-3,600
5cb041cbb90ffdab6b96d6d028300b5b8ce29572
Create mixgcf.py
[ { "change_type": "ADD", "old_path": null, "new_path": "beta_rec/models/mixgcf.py", "diff": "+import torch\n+import torch.nn as nn\n+\n+from beta_rec.models.torch_engine import ModelEngine\n+\n+\n+class GraphConv(nn.Module):\n+ \"\"\"\n+ Graph Convolutional Network\n+ \"\"\"\n+\n+ def __init__(\n+ se...
Python
MIT License
beta-team/beta-recsys
Create mixgcf.py
88,781
23.09.2021 14:36:55
-3,600
604c71c276a15e6acb2130aec49327e33789d941
Update common_util.py
[ { "change_type": "MODIFY", "old_path": "beta_rec/utils/common_util.py", "new_path": "beta_rec/utils/common_util.py", "diff": "@@ -59,7 +59,7 @@ def update_args(config, args):\nargs (object): An argparse Argument object with attributes being the parameters to be updated.\n\"\"\"\nargs_dic = {}\n- for...
Python
MIT License
beta-team/beta-recsys
Update common_util.py
88,781
23.09.2021 21:40:35
-3,600
68b4d142d85111d9154923c952bab7ae13821939
Update train_lightgcn.py Fix the "OMP: Warning Forking a process while a parallel region is active is potentially unsafe." issue
[ { "change_type": "MODIFY", "old_path": "examples/train_lightgcn.py", "new_path": "examples/train_lightgcn.py", "diff": "@@ -47,6 +47,9 @@ def parse_args():\nparser.add_argument(\n\"--batch_size\", nargs=\"?\", type=int, help=\"Batch size for training.\"\n)\n+ parser.add_argument(\n+ \"--dataset\", n...
Python
MIT License
beta-team/beta-recsys
Update train_lightgcn.py Fix the "OMP: Warning #190: Forking a process while a parallel region is active is potentially unsafe." issue
88,781
23.09.2021 21:42:54
-3,600
e37de4c7a39c2b403971ee4ef6e7b5fe31aba9bb
Update data_load.py Add more mapping
[ { "change_type": "MODIFY", "old_path": "beta_rec/datasets/data_load.py", "new_path": "beta_rec/datasets/data_load.py", "diff": "import numpy as np\n+from ..datasets.amazon import AmazonInstantVideo\nfrom ..datasets.dunnhumby import Dunnhumby\nfrom ..datasets.epinions import Epinions\nfrom ..datasets...
Python
MIT License
beta-team/beta-recsys
Update data_load.py Add more mapping
88,781
23.09.2021 21:44:13
-3,600
ce613952dc47b169f0b56dbcbfc6fa5c5f527df9
Update mixgcf.py Fix the device/cuda issue
[ { "change_type": "MODIFY", "old_path": "beta_rec/models/mixgcf.py", "new_path": "beta_rec/models/mixgcf.py", "diff": "@@ -14,6 +14,7 @@ class GraphConv(nn.Module):\nn_hops,\nn_users,\ninteract_mat,\n+ device,\nedge_dropout_rate=0.5,\nmess_dropout_rate=0.1,\n):\n@@ -24,7 +25,7 @@ class GraphConv(nn.M...
Python
MIT License
beta-team/beta-recsys
Update mixgcf.py Fix the device/cuda issue
88,781
25.09.2021 20:14:30
-3,600
6ff6b01f4ad0a995701804b3bb5d388a63790b75
Update ncf_default.json Fix the nonexistent model name
[ { "change_type": "MODIFY", "old_path": "configs/ncf_default.json", "new_path": "configs/ncf_default.json", "diff": "\"result_col\": [\"dataset\",\"data_split\",\"test_rate\",\"n_negative\"]\n},\n\"model\": {\n- \"model\": \"ncf\",\n+ \"model\": \"ncf_end\",\n\"config_id\": \"default\",\n\"emb_dim\":...
Python
MIT License
beta-team/beta-recsys
Update ncf_default.json Fix the nonexistent model name
88,781
25.09.2021 20:15:44
-3,600
cf21858d095752296d1e18b3da05d14fdeed7c78
Update train_ncf.py Fix the issue that "self.data.n_train" does not exist
[ { "change_type": "MODIFY", "old_path": "examples/train_ncf.py", "new_path": "examples/train_ncf.py", "diff": "@@ -93,9 +93,6 @@ class NCF_train(TrainEngine):\n\"\"\"Missing Doc.\"\"\"\n# ToDo: Please define the directory to store the adjacent matrix\nself.sample_generator = DataLoaderBase(ratings=se...
Python
MIT License
beta-team/beta-recsys
Update train_ncf.py Fix the issue that "self.data.n_train" does not exist
88,781
29.12.2021 21:27:10
0
a4b9e95da99df3b5eab0be5f4ea206d56b90db2a
Update base_data.py Add the function to produce and store necessary matrix for UltraGCN
[ { "change_type": "MODIFY", "old_path": "beta_rec/data/base_data.py", "new_path": "beta_rec/data/base_data.py", "diff": "@@ -358,6 +358,76 @@ class BaseData(object):\nprint(\"already normalize adjacency matrix\")\nreturn adj_mat.tocsr(), norm_adj_mat.tocsr(), mean_adj_mat.tocsr()\n+ def get_constrain...
Python
MIT License
beta-team/beta-recsys
Update base_data.py Add the function to produce and store necessary matrix for UltraGCN
88,781
29.12.2021 21:27:46
0
720b9021ecee4619b16da2abdbb09fbc8283a5b4
Create ultragcn.py
[ { "change_type": "ADD", "old_path": null, "new_path": "beta_rec/models/ultragcn.py", "diff": "+import numpy as np\n+import torch\n+import torch.nn as nn\n+import torch.nn.functional as F\n+\n+from beta_rec.models.torch_engine import ModelEngine\n+\n+\n+def get_ii_constraint_mat(train_mat, num_neighb...
Python
MIT License
beta-team/beta-recsys
Create ultragcn.py
88,781
29.12.2021 21:28:23
0
856b02b6b144ce75582c848830a7ca2462dc4648
Create ultragcn_default.json
[ { "change_type": "ADD", "old_path": null, "new_path": "configs/ultragcn_default.json", "diff": "+{\n+ \"system\": {\n+ \"root_dir\": \"default\",\n+ \"log_dir\": \"logs/\",\n+ \"result_dir\": \"results/\",\n+ \"process_dir\": \"processes/\",\n+ \"checkpoint_dir\": \"checkpoints/\",\n+ \"dataset_dir\...
Python
MIT License
beta-team/beta-recsys
Create ultragcn_default.json
88,781
29.12.2021 21:29:22
0
e2289fca42151b6027a309537a58816ff24184c4
Create train_ultragcn.py
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/train_ultragcn.py", "diff": "+\"\"\"isort:skip_file.\"\"\"\n+import argparse\n+import os\n+import sys\n+\n+sys.path.append(\"../\")\n+\n+\n+from beta_rec.core.train_engine import TrainEngine\n+from beta_rec.models.ultragcn import UltraG...
Python
MIT License
beta-team/beta-recsys
Create train_ultragcn.py
88,781
02.01.2022 17:03:09
0
41d912178d4854f6aa4dde09c77fd50190fb0fc2
Update amazon.py Fix a typo for the amazon instant video dataset
[ { "change_type": "MODIFY", "old_path": "beta_rec/datasets/amazon.py", "new_path": "beta_rec/datasets/amazon.py", "diff": "@@ -176,7 +176,7 @@ class AmazonInstantVideo(AmazonDataset):\ndef __init__(self, min_u_c=0, min_i_c=3, root_dir=None):\nr\"\"\"Init AmazonInstantVideo Class.\"\"\"\nsuper().__ini...
Python
MIT License
beta-team/beta-recsys
Update amazon.py Fix a typo for the amazon instant video dataset
88,781
04.01.2022 12:08:07
0
4d7504bc67abee4f1208677e8e83b5b189312ed2
Create sgl_default.json
[ { "change_type": "ADD", "old_path": null, "new_path": "configs/sgl_default.json", "diff": "+{\n+ \"system\": {\n+ \"root_dir\": \"default\",\n+ \"log_dir\": \"logs/\",\n+ \"result_dir\": \"results/\",\n+ \"process_dir\": \"processes/\",\n+ \"checkpoint_dir\": \"checkpoints/\",\n+ \"dataset_dir\": \"...
Python
MIT License
beta-team/beta-recsys
Create sgl_default.json
88,781
04.01.2022 12:08:44
0
f75e9daffb3b7c75428a9cb414ac4b5fbb9aa308
Create train_sgl.py
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/train_sgl.py", "diff": "+\"\"\"isort:skip_file.\"\"\"\n+import argparse\n+import os\n+import sys\n+import time\n+\n+sys.path.append(\"../\")\n+\n+import numpy as np\n+import torch\n+from ray import tune\n+\n+from beta_rec.core.train_eng...
Python
MIT License
beta-team/beta-recsys
Create train_sgl.py
88,781
04.01.2022 12:09:15
0
556cb6b7bfb439a949ac29963c7858e1a042844b
Create sgl.py
[ { "change_type": "ADD", "old_path": null, "new_path": "beta_rec/models/sgl.py", "diff": "+import numpy as np\n+import scipy.sparse as sp\n+import torch\n+import torch.nn as nn\n+\n+from beta_rec.models.torch_engine import ModelEngine\n+\n+\n+def randint_choice(high, size=None, replace=True, p=None, ...
Python
MIT License
beta-team/beta-recsys
Create sgl.py
88,781
04.01.2022 12:46:58
0
d66c9168a1864e63e066223d53c7e08b7ad360ad
Update train_mixgcf.py
[ { "change_type": "MODIFY", "old_path": "examples/train_mixgcf.py", "new_path": "examples/train_mixgcf.py", "diff": "@@ -36,7 +36,11 @@ def parse_args():\n\"--emb_dim\", nargs=\"?\", type=int, help=\"Dimension of the embedding.\"\n)\nparser.add_argument(\n- \"--tune\", nargs=\"?\", type=str, default=...
Python
MIT License
beta-team/beta-recsys
Update train_mixgcf.py
88,781
04.01.2022 12:47:23
0
f8be7e527c1127ee70c4958fd994f8ece3ef7872
Update train_ultragcn.py
[ { "change_type": "MODIFY", "old_path": "examples/train_ultragcn.py", "new_path": "examples/train_ultragcn.py", "diff": "@@ -31,7 +31,11 @@ def parse_args():\n\"--emb_dim\", nargs=\"?\", type=int, help=\"Dimension of the embedding.\"\n)\nparser.add_argument(\n- \"--tune\", nargs=\"?\", type=str, defa...
Python
MIT License
beta-team/beta-recsys
Update train_ultragcn.py
88,781
04.01.2022 12:49:11
0
7568c6718e9054e5ef5c31b4bf8f66552c22aa89
Update data_load.py
[ { "change_type": "MODIFY", "old_path": "beta_rec/datasets/data_load.py", "new_path": "beta_rec/datasets/data_load.py", "diff": "@@ -5,7 +5,12 @@ from ..datasets.dunnhumby import Dunnhumby\nfrom ..datasets.epinions import Epinions\nfrom ..datasets.instacart import Instacart, Instacart_25\nfrom ..data...
Python
MIT License
beta-team/beta-recsys
Update data_load.py
88,781
05.01.2022 17:10:54
0
a526192358974f51592a1b7deb11cb77cae9b59b
Update movielens.py Add the missing MovieLens 10m dataset
[ { "change_type": "MODIFY", "old_path": "beta_rec/datasets/movielens.py", "new_path": "beta_rec/datasets/movielens.py", "diff": "@@ -254,3 +254,45 @@ class Movielens_25m(DatasetBase):\ndata,\nos.path.join(self.processed_path, f\"{self.dataset_name}_interaction.npz\"),\n)\n+\n+\n+class Movielens_10m(D...
Python
MIT License
beta-team/beta-recsys
Update movielens.py Add the missing MovieLens 10m dataset
88,781
05.01.2022 17:12:16
0
f22e42fa81b197fd7bac52167851b29015aa9ae5
Create train_buir.py Add the model from "Bootstrapping User and Item Representations for One-Class Collaborative Filtering", SIGIR2021
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/train_buir.py", "diff": "+\"\"\"isort:skip_file.\"\"\"\n+import argparse\n+import os\n+import sys\n+import time\n+\n+sys.path.append(\"../\")\n+\n+import numpy as np\n+import torch\n+from ray import tune\n+\n+from beta_rec.core.train_en...
Python
MIT License
beta-team/beta-recsys
Create train_buir.py Add the model from "Bootstrapping User and Item Representations for One-Class Collaborative Filtering", SIGIR2021
88,781
05.01.2022 17:12:47
0
6d944da8e1a86cba60055b9d843c7b3693a17cd5
Create buir_default.json
[ { "change_type": "ADD", "old_path": null, "new_path": "configs/buir_default.json", "diff": "+{\n+ \"system\": {\n+ \"root_dir\": \"default\",\n+ \"log_dir\": \"logs/\",\n+ \"result_dir\": \"results/\",\n+ \"process_dir\": \"processes/\",\n+ \"checkpoint_dir\": \"checkpoints/\",\n+ \"dataset_dir\": \...
Python
MIT License
beta-team/beta-recsys
Create buir_default.json
88,781
05.01.2022 17:13:14
0
305b41434e626b77bba938c09c3121c4a03c4800
Create buir.py
[ { "change_type": "ADD", "old_path": null, "new_path": "beta_rec/models/buir.py", "diff": "+import numpy as np\n+import torch\n+import torch.nn as nn\n+import torch.nn.functional as F\n+\n+from beta_rec.models.torch_engine import ModelEngine\n+\n+\n+class BUIR_NB(nn.Module):\n+ def __init__(self, con...
Python
MIT License
beta-team/beta-recsys
Create buir.py
88,781
15.01.2022 22:24:59
0
7d408509c5a1fa4ab6c53786127374c45613a28f
Update sgl.py Slove the issue when running SGL on GPU. Reason: self.adj_mat is not placed on the same device as ego_embeddings.
[ { "change_type": "MODIFY", "old_path": "beta_rec/models/sgl.py", "new_path": "beta_rec/models/sgl.py", "diff": "@@ -309,7 +309,7 @@ class SGL(nn.Module):\nfor k in range(1, self.n_layers + 1):\n- ego_embeddings = torch.matmul(self.adj_mat, ego_embeddings)\n+ ego_embeddings = torch.matmul(self.adj_ma...
Python
MIT License
beta-team/beta-recsys
Update sgl.py Slove the issue when running SGL on GPU. Reason: self.adj_mat is not placed on the same device as ego_embeddings.
88,781
03.02.2022 16:30:57
0
2990de161fcc794f8cbc9f2393cb852376895b53
Update lightgcn.py 1. Fix the dropout issue: The dropout function was called in all forward passes. Now it's only called for each training forward pass. 2. Add the nn.Sigmoid() for the prediction layer.
[ { "change_type": "MODIFY", "old_path": "beta_rec/models/lightgcn.py", "new_path": "beta_rec/models/lightgcn.py", "diff": "@@ -21,6 +21,7 @@ class LightGCN(torch.nn.Module):\nself.user_embedding = nn.Embedding(self.n_users, self.emb_dim)\nself.item_embedding = nn.Embedding(self.n_items, self.emb_dim)...
Python
MIT License
beta-team/beta-recsys
Update lightgcn.py 1. Fix the dropout issue: The dropout function was called in all forward passes. Now it's only called for each training forward pass. 2. Add the nn.Sigmoid() for the prediction layer.
88,787
24.02.2022 11:26:30
0
4dd15774cb196001ee232e1987f1bf1346e48a55
Update lightgcn.py Modified LightGCN: removed the Sigmoid activation function for the outcome, and fixed a minor error, where the LightGCN module did not set to evaluation mode in the predict function.
[ { "change_type": "MODIFY", "old_path": "beta_rec/models/lightgcn.py", "new_path": "beta_rec/models/lightgcn.py", "diff": "@@ -21,7 +21,6 @@ class LightGCN(torch.nn.Module):\nself.user_embedding = nn.Embedding(self.n_users, self.emb_dim)\nself.item_embedding = nn.Embedding(self.n_items, self.emb_dim)...
Python
MIT License
beta-team/beta-recsys
Update lightgcn.py Modified LightGCN: removed the Sigmoid activation function for the outcome, and fixed a minor error, where the LightGCN module did not set to evaluation mode in the predict function.
88,787
24.02.2022 12:07:44
0
2c05e395f3ea6d3be8926b259ef6a5d4cc7dae16
Update lightgcn.py Added a sigmoid to the LightGCN outcome.
[ { "change_type": "MODIFY", "old_path": "beta_rec/models/lightgcn.py", "new_path": "beta_rec/models/lightgcn.py", "diff": "@@ -21,6 +21,7 @@ class LightGCN(torch.nn.Module):\nself.user_embedding = nn.Embedding(self.n_users, self.emb_dim)\nself.item_embedding = nn.Embedding(self.n_items, self.emb_dim)...
Python
MIT License
beta-team/beta-recsys
Update lightgcn.py Added a sigmoid to the LightGCN outcome.
88,781
10.05.2022 23:15:48
-3,600
d55771ab1b2ebf3d80cb728094efb081797549d5
Update README.md Add SimGCL
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -141,6 +141,7 @@ The following is a list of recommender models currently available in the reposit\n|MixGCF| [MixGCF: An Improved Training Method for Graph Neural Network-based Recommender Systems](http://keg.cs....
Python
MIT License
beta-team/beta-recsys
Update README.md Add SimGCL
88,781
10.05.2022 23:16:48
-3,600
6bf730140503de33e30e7fe7700e5e28975d8f0e
Create simgcl_default.json
[ { "change_type": "ADD", "old_path": null, "new_path": "configs/simgcl_default.json", "diff": "+{\n+ \"system\": {\n+ \"root_dir\": \"default\",\n+ \"log_dir\": \"logs/\",\n+ \"result_dir\": \"results/\",\n+ \"process_dir\": \"processes/\",\n+ \"checkpoint_dir\": \"checkpoints/\",\n+ \"dataset_dir\":...
Python
MIT License
beta-team/beta-recsys
Create simgcl_default.json
88,781
10.05.2022 23:17:22
-3,600
5dc308fe75303f69b2d7b217ef1ae9e093c14e83
Create simgcl.py
[ { "change_type": "ADD", "old_path": null, "new_path": "beta_rec/models/simgcl.py", "diff": "+import torch\n+import torch.nn as nn\n+import torch.nn.functional as F\n+import torch.sparse as sparse\n+\n+from beta_rec.models.torch_engine import ModelEngine\n+\n+\n+class SimGCL(torch.nn.Module):\n+ def ...
Python
MIT License
beta-team/beta-recsys
Create simgcl.py
88,781
10.05.2022 23:18:14
-3,600
2853da827e70161bf8a8d355d1cd6097cbaaf0ce
Create train_simgcl.py
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/train_simgcl.py", "diff": "+\"\"\"isort:skip_file.\"\"\"\n+import argparse\n+import os\n+import sys\n+import time\n+\n+sys.path.append(\"../\")\n+\n+import numpy as np\n+import torch\n+from ray import tune\n+\n+from beta_rec.core.train_...
Python
MIT License
beta-team/beta-recsys
Create train_simgcl.py
88,787
17.01.2023 16:43:06
0
91a007b8612455fd34e6e53ea91e513de1789ab1
Fixed a bug in EvalEngine Fixed a bug in EvalEngine where it failed when a batch only contains a single (user, item) pair by adding that single pair to the second to last batch.
[ { "change_type": "MODIFY", "old_path": "beta_rec/core/eval_engine.py", "new_path": "beta_rec/core/eval_engine.py", "diff": "@@ -230,12 +230,10 @@ class EvalEngine(object):\ndef predict(self, data_df, model, batch_eval=False):\n\"\"\"Make prediction for a trained model.\n-\nArgs:\ndata_df (DataFrame)...
Python
MIT License
beta-team/beta-recsys
Fixed a bug in EvalEngine Fixed a bug in EvalEngine where it failed when a batch only contains a single (user, item) pair by adding that single pair to the second to last batch.
88,787
17.01.2023 16:54:14
0
af6a4cf7f464593d39cc52da040f23c192d85698
Removed a blank space
[ { "change_type": "MODIFY", "old_path": "beta_rec/core/eval_engine.py", "new_path": "beta_rec/core/eval_engine.py", "diff": "@@ -243,7 +243,6 @@ class EvalEngine(object):\nn_batch = len(data_df) // self.batch_size + 1\npredictions = np.array([])\nstop_batch = False\n-\nfor idx in range(n_batch):\nif ...
Python
MIT License
beta-team/beta-recsys
Removed a blank space
246,294
17.01.2017 17:59:22
-7,200
4761b0f773cc1c047d9ed97d3e010f5b732d2e59
fix (auth): Added invalid token handle
[ { "change_type": "MODIFY", "old_path": "generators/authentication/templates/api/policies/isAuthenticated.js", "new_path": "generators/authentication/templates/api/policies/isAuthenticated.js", "diff": "@@ -9,7 +9,9 @@ const passport = require('passport');\nmodule.exports = (req, res, next) => {\npas...
JavaScript
MIT License
ghaiklor/generator-sails-rest-api
fix (auth): Added invalid token handle (#304)
246,290
20.03.2017 15:42:33
-7,200
c47c74ddabf8145c5d2103bb9d06234f64dad2a2
chore(package): Update semantic-release integration
[ { "change_type": "DELETE", "old_path": ".npmignore", "new_path": null, "diff": "-# Automatically ignored per:\n-# https://www.npmjs.org/doc/developers.html#Keeping-files-out-of-your-package\n-#\n-# .*.swp\n-# ._*\n-# .DS_Store\n-# .git\n-# .hg\n-# .lock-wscript\n-# .svn\n-# .wafpickle-*\n-# CVS\n-# ...
JavaScript
MIT License
ghaiklor/generator-sails-rest-api
chore(package): Update semantic-release integration
246,290
20.03.2017 15:48:03
-7,200
48f2dc9dcdfb76255c24dad60e810b5c51988314
chore(package): Update dependencies to latest versions
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"dependencies\": {\n\"chalk\": \"1.1.3\",\n\"print-message\": \"2.1.0\",\n- \"update-notifier\": \"1.0.3\",\n- \"yeoman-generator\": \"0.24.1\",\n- \"yosay\": \"1.2.1\"\n+ \"update-notifier\": \"2.1.0\",\n+ ...
JavaScript
MIT License
ghaiklor/generator-sails-rest-api
chore(package): Update dependencies to latest versions
246,290
20.03.2017 16:40:15
-7,200
5a4daa72f1d433a083a44dca49c9cb9bb68963de
refactor(swagger): Update swagger to latest deps
[ { "change_type": "MODIFY", "old_path": "generators/swagger/index.js", "new_path": "generators/swagger/index.js", "diff": "\"use strict\";\n-const Base = require('yeoman-generator').Base;\n+const Base = require('yeoman-generator');\nconst generatorArguments = require('./arguments');\nconst generatorO...
JavaScript
MIT License
ghaiklor/generator-sails-rest-api
refactor(swagger): Update swagger to latest deps
246,290
20.03.2017 16:49:09
-7,200
7ef724d9fd9edd032e1d21f046a259131ad9fb1e
refactor(service): Update service generator to latest deps
[ { "change_type": "MODIFY", "old_path": "generators/service/index.js", "new_path": "generators/service/index.js", "diff": "\"use strict\";\n-const Base = require('yeoman-generator').Base;\n+const Base = require('yeoman-generator');\nconst generatorArguments = require('./arguments');\nconst generatorO...
JavaScript
MIT License
ghaiklor/generator-sails-rest-api
refactor(service): Update service generator to latest deps
246,290
20.03.2017 17:50:15
-7,200
c8e620ea671fea3e0e4f77ce675bc4aeb27b1111
fix(app): Fix issue with passing arguments to sub-generators
[ { "change_type": "MODIFY", "old_path": "generators/app/steps/default.js", "new_path": "generators/app/steps/default.js", "diff": "module.exports = function () {\nif (this.answers['authentication:enabled']) {\nthis.composeWith('sails-rest-api:authentication', {\n- args: [],\n+ arguments: [],\noptions...
JavaScript
MIT License
ghaiklor/generator-sails-rest-api
fix(app): Fix issue with passing arguments to sub-generators
551,518
12.11.2019 13:27:05
28,800
92aa3cf9639744102464eb658f90751b9af04314
issues.jboss.org/projects/PROJQUAY/issues/PROJQUAY-4 Fixes an issue encountered when attempting to pull images from Quay via podman when storage proxying is enabled. Configures nginx to clear the Authorization header to ensure that storage engine does not raise a 400
[ { "change_type": "MODIFY", "old_path": "conf/nginx/server-base.conf.jnj", "new_path": "conf/nginx/server-base.conf.jnj", "diff": "@@ -43,6 +43,7 @@ location ~ ^/_storage_proxy/([^/]+)/([^/]+)/([^/]+)/(.+) {\nproxy_set_header X-Real-IP $remote_addr;\nproxy_set_header X-Forwarded-For $proxy_add_x_forw...
Python
Apache License 2.0
quay/quay
issues.jboss.org/projects/PROJQUAY/issues/PROJQUAY-4 Fixes an issue encountered when attempting to pull images from Quay via podman when storage proxying is enabled. Configures nginx to clear the Authorization header to ensure that storage engine does not raise a 400
551,520
20.11.2019 07:24:35
18,000
703742d7cdaaf0f357e311b276684ed07a479dfb
Update build.sh use buildah or podman instead of docker if available
[ { "change_type": "MODIFY", "old_path": "build.sh", "new_path": "build.sh", "diff": "@@ -17,7 +17,18 @@ SHA=$( git rev-parse --short HEAD )\ngit checkout $SHA\nREPO=quay.io/quay/quay:$SHA\n-docker build -t $REPO .\n+\n+# Use buildah or podman or docker\n+if [ -x /usr/bin/buildah ]; then\n+ BUILDER=\"...
Python
Apache License 2.0
quay/quay
Update build.sh use buildah or podman instead of docker if available
551,496
19.11.2019 13:09:24
18,000
36d0aa4fbbb3eb2146814398c770ca3e6a7844ab
remove mirror/rules API
[ { "change_type": "MODIFY", "old_path": "data/model/repo_mirror.py", "new_path": "data/model/repo_mirror.py", "diff": "@@ -466,17 +466,20 @@ def set_mirroring_robot(repository, robot):\n# -------------------- Mirroring Rules --------------------------#\n+def validate_rule(rule_type, rule_value):\n+ i...
Python
Apache License 2.0
quay/quay
PROJQUAY-12 - remove mirror/rules API
551,496
21.11.2019 09:09:18
18,000
45e8df1def8d92d266d02d2a12146abfb96bc4b2
Dockerfile.osbs for non-root container
[ { "change_type": "ADD", "old_path": null, "new_path": "Dockerfile.osbs", "diff": "+FROM registry.redhat.io/rhel7:7.7\n+LABEL maintainer \"thomasmckay@redhat.com\"\n+\n+ENV PYTHON_VERSION=2.7 \\\n+ PATH=$HOME/.local/bin/:$PATH \\\n+ PYTHONUNBUFFERED=1 \\\n+ PYTHONIOENCODING=UTF-8 \\\n+ LC_ALL=en_US.U...
Python
Apache License 2.0
quay/quay
PROJQUAY-20 - Dockerfile.osbs for non-root container
551,510
28.11.2019 10:02:13
-7,200
7de083310b6391debb9b04af8a6997922c872f0b
Add App SRE post deploy script
[ { "change_type": "ADD", "old_path": null, "new_path": "scripts/app_sre_post_deploy_rhel7.sh", "diff": "+#!/bin/bash\n+\n+# AppSRE team CD\n+\n+set -exv\n+\n+CURRENT_DIR=$(dirname $0)\n+\n+BASE_IMG=\"quay\"\n+IMG=\"${BASE_IMG}:latest\"\n+\n+GIT_HASH=`git rev-parse --short=7 HEAD`\n+\n+# login to the ...
Python
Apache License 2.0
quay/quay
Add App SRE post deploy script
551,510
28.11.2019 13:03:33
-7,200
6600dbd65a646ca7e3b9d2c232c543b5c6b37f8e
use docker config file
[ { "change_type": "MODIFY", "old_path": "scripts/app_sre_post_deploy_rhel7.sh", "new_path": "scripts/app_sre_post_deploy_rhel7.sh", "diff": "set -exv\n-CURRENT_DIR=$(dirname $0)\n+export DOCKER_CONF=\"$PWD/.docker\"\n+mkdir -p \"${DOCKER_CONF}\"\nBASE_IMG=\"quay\"\nIMG=\"${BASE_IMG}:latest\"\n@@ -12,...
Python
Apache License 2.0
quay/quay
use docker config file
551,496
25.11.2019 15:35:56
18,000
5d83b82b56a9c89b801305dc57efac537376d12e
Enable 'black' python format
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "---\nlanguage: python\n-python: 2.7\n+python:\n+- 2.7\n+- 3.7\nsudo: required\n@@ -18,76 +20,98 @@ before_script:\nbefore_cache:\n- scripts/ci fail-clean\n+script: echo \"Running tests...\"\n+\ncache:\ntimeout:...
Python
Apache License 2.0
quay/quay
PROJQUAY-28 - Enable 'black' python format
551,496
02.12.2019 12:33:35
18,000
38b6557acd26c5d60817ee722d1ed8c46d520330
create and chown /certificates
[ { "change_type": "MODIFY", "old_path": "Dockerfile", "new_path": "Dockerfile", "diff": "@@ -114,6 +114,7 @@ RUN mkdir /datastorage && chgrp 0 /datastorage && chmod g=u /datastorage && \\\nmkdir -p /var/log/nginx && chgrp 0 /var/log/nginx && chmod g=u /var/log/nginx && \\\nmkdir -p /conf/stack && chg...
Python
Apache License 2.0
quay/quay
PROJQUAY-34 - create and chown /certificates
551,496
04.12.2019 10:30:28
18,000
e49b4f49053e5d486c1f6462ff9223547cab6126
downgrade azure storage packages
[ { "change_type": "MODIFY", "old_path": "requirements.txt", "new_path": "requirements.txt", "diff": "@@ -18,11 +18,11 @@ attrs==19.1.0\nautobahn==0.9.3.post3\naws-sam-translator==1.14.0\naws-xray-sdk==2.4.2\n-azure-common==1.1.23\n-azure-nspkg==3.0.2\n-azure-storage-blob==2.1.0\n-azure-storage-common...
Python
Apache License 2.0
quay/quay
PROJQUAY-40 - downgrade azure storage packages
551,496
09.12.2019 19:53:39
18,000
f2291814aa53acb32f1f9d9d0828dd8d268fef60
repo mirror decrypt robot token
[ { "change_type": "MODIFY", "old_path": "workers/repomirrorworker/__init__.py", "new_path": "workers/repomirrorworker/__init__.py", "diff": "@@ -11,6 +11,7 @@ import features\nfrom app import app\nfrom data import database\nfrom data.model.repo_mirror import claim_mirror, release_mirror\n+from data.m...
Python
Apache License 2.0
quay/quay
PROJQUAY-53 - repo mirror decrypt robot token
551,496
12.12.2019 07:38:35
18,000
7a7e6366397350308b2cfb03ed6b78232f0e7950
remove repo mirror tech preview
[ { "change_type": "MODIFY", "old_path": "config_app/js/core-config-setup/config-setup-tool.html", "new_path": "config_app/js/core-config-setup/config-setup-tool.html", "diff": "<div class=\"co-alert co-alert-info\" ng-if=\"config.FEATURE_REPO_MIRROR\" style=\"margin-top: 20px;\">\nA repository mirror...
Python
Apache License 2.0
quay/quay
PROJQUAY-58 - remove repo mirror tech preview
551,496
12.12.2019 07:36:44
18,000
79e5e4ecd5b10a26106b9bda175ff591e308e7df
add RHOCS to NooBaa description
[ { "change_type": "MODIFY", "old_path": "config_app/js/core-config-setup/config-setup-tool.html", "new_path": "config_app/js/core-config-setup/config-setup-tool.html", "diff": "<td>\n<select class=\"form-control\" ng-class=\"storageConfigError[$index].engine ? 'ng-invalid' : ''\"\nng-model=\"sc.data[...
Python
Apache License 2.0
quay/quay
PROJQUAY-59 - add RHOCS to NooBaa description
551,511
13.12.2019 13:31:26
18,000
23750e2d2a0eb0c9f14220c1d19e17a07e8fa6d6
Allow quay to forward logs to syslog
[ { "change_type": "MODIFY", "old_path": "conf/init/supervisord_conf_create.py", "new_path": "conf/init/supervisord_conf_create.py", "diff": "@@ -7,6 +7,8 @@ QUAYPATH = os.getenv(\"QUAYPATH\", \".\")\nQUAYDIR = os.getenv(\"QUAYDIR\", \"/\")\nQUAYCONF_DIR = os.getenv(\"QUAYCONF\", os.path.join(QUAYDIR,...
Python
Apache License 2.0
quay/quay
Allow quay to forward logs to syslog
551,496
16.12.2019 16:32:39
18,000
5c9b33084d494d91d568f5d97e590e8d1b451078
fix 'black' regex error
[ { "change_type": "MODIFY", "old_path": "scripts/ci", "new_path": "scripts/ci", "diff": "@@ -25,7 +25,9 @@ export POSTGRES_DB=\"quay_ci\"\nrun_black() {\n- pip install black\n+ # https://issues.redhat.com/browse/PROJQUAY-92\n+ # https://github.com/psf/black/issues/1207#issuecomment-566249522\n+ pip i...
Python
Apache License 2.0
quay/quay
PROJQUAY-92 - fix 'black' regex error
551,491
10.01.2020 09:53:16
-3,600
5f5707e0df0d857c62a00d4d761e3c9dbfe5d1bc
Fixed text in emailchanged template from password to email
[ { "change_type": "MODIFY", "old_path": "emails/emailchanged.html", "new_path": "emails/emailchanged.html", "diff": "{% block content %}\n-<h3 style=\"font-weight: 400\">Account password changed: <strong>{{ username }}</strong></h3>\n+<h3 style=\"font-weight: 400\">Account e-mail address changed: <st...
Python
Apache License 2.0
quay/quay
Fixed text in emailchanged template from password to email
551,489
13.01.2020 10:26:06
18,000
f5835bb62489d6b203a22485cdb6063aa7b4ee52
Specify Dockerfile's setuptools version. Temporary fix until the project has been converted to use Python 3.
[ { "change_type": "MODIFY", "old_path": "Dockerfile", "new_path": "Dockerfile", "diff": "@@ -41,7 +41,7 @@ RUN INSTALL_PKGS=\"\\\nCOPY . .\nRUN scl enable python27 \"\\\n- pip install --upgrade setuptools pip && \\\n+ pip install --upgrade setuptools==44 pip && \\\npip install -r requirements.txt --n...
Python
Apache License 2.0
quay/quay
Specify Dockerfile's setuptools version. Temporary fix until the project has been converted to use Python 3.
551,512
26.02.2020 15:05:56
0
c4786cb10a985d193dbd4e1297a2eb26a8db01ba
Updated NodeJS version from 8 to 12 in Dockerfile.rhel7
[ { "change_type": "MODIFY", "old_path": "Dockerfile.rhel7", "new_path": "Dockerfile.rhel7", "diff": "@@ -72,7 +72,7 @@ RUN rm -Rf /opt/rh/python27/root/usr/lib/python2.7/site-packages/docutils && \\\nrm -f piplist.txt pipinfo.txt\n# Front-end\n-RUN curl --silent --location https://rpm.nodesource.com/...
Python
Apache License 2.0
quay/quay
Updated NodeJS version from 8 to 12 in Dockerfile.rhel7 (#234)
551,489
28.02.2020 10:02:52
18,000
82d1a0d160488f134dbfdbc74a5779376766f376
Only allow lowercase characters in repository names.
[ { "change_type": "MODIFY", "old_path": "endpoints/api/test/test_repository.py", "new_path": "endpoints/api/test/test_repository.py", "diff": "@@ -103,6 +103,7 @@ def test_list_repositories_last_modified(client):\npytest.param(\"x\" * 255, 201, id=\"Maximum allowed length\"),\npytest.param(\"x\" * 25...
Python
Apache License 2.0
quay/quay
[PROJQUAY-329] Only allow lowercase characters in repository names. (#235)
551,489
02.03.2020 14:48:45
18,000
dadc0df7938cd5a655dd22c140e044a9310add5c
Use Redhat Terms & Privacy links in Footer
[ { "change_type": "MODIFY", "old_path": "templates/base.html", "new_path": "templates/base.html", "diff": "@@ -163,8 +163,8 @@ mixpanel.init(\"{{ mixpanel_key }}\", { track_pageview : false, debug: {{ is_debug\n<li><a href=\"{{ config_set['BRANDING']['footer_url'] }}\" ng-safenewtab><img src=\"{{ con...
Python
Apache License 2.0
quay/quay
Use Redhat Terms & Privacy links in Footer (#242)
551,495
03.03.2020 12:47:10
18,000
091bbe3e89f4ed1267d0e91412042170b563201c
quay-entrypoint.sh: don't use scl shells This commit makes the entrypoint absorb the scl env so that `exec` does what's expected and signals are propagated properly.
[ { "change_type": "MODIFY", "old_path": "quay-entrypoint.sh", "new_path": "quay-entrypoint.sh", "diff": "@@ -44,10 +44,13 @@ EOF\n# The gunicorn-registry process DB_CONNECTION_POOLING must default to true\nexport DB_CONNECTION_POOLING_REGISTRY=${DB_CONNECTION_POOLING:-\"true\"}\n+# Forcibly export th...
Python
Apache License 2.0
quay/quay
quay-entrypoint.sh: don't use scl shells (#233) This commit makes the entrypoint absorb the scl env so that `exec` does what's expected and signals are propagated properly.
551,495
04.03.2020 15:49:29
18,000
f89b946ceab7e0636be93927f78b736bd05aa930
quay-entypoint.sh: fix config argument handling This commit properly makes the `openssl` invocation correct for passwords starting with `-`and simplifies the code.
[ { "change_type": "MODIFY", "old_path": "quay-entrypoint.sh", "new_path": "quay-entrypoint.sh", "diff": "@@ -54,18 +54,9 @@ case \"$QUAYENTRY\" in\n;;\n\"config\")\necho \"Entering config mode, only copying config-app entrypoints\"\n- if [ -z \"$2\" ]\n- then\n- if [ -z \"${CONFIG_APP_PASSWORD}\" ]\n...
Python
Apache License 2.0
quay/quay
quay-entypoint.sh: fix config argument handling (#231) This commit properly makes the `openssl` invocation correct for passwords starting with `-`and simplifies the code.
551,495
12.03.2020 12:18:26
14,400
2735d348acff0f7dc849f85f03b675725cd8cfd5
quay-entrypoint.sh: fix openssl commandline Turns out `--` isn't in the openssl in rhel7. This is my bad to begin with, as this argument terminator isn't documented even on versions where it works.
[ { "change_type": "MODIFY", "old_path": "quay-entrypoint.sh", "new_path": "quay-entrypoint.sh", "diff": "@@ -54,9 +54,9 @@ case \"$QUAYENTRY\" in\n;;\n\"config\")\necho \"Entering config mode, only copying config-app entrypoints\"\n- : ${CONFIG_APP_PASSWORD:=$2}\n- : ${CONFIG_APP_PASSWORD:?Missing pa...
Python
Apache License 2.0
quay/quay
quay-entrypoint.sh: fix openssl commandline (#264) Turns out `--` isn't in the openssl in rhel7. This is my bad to begin with, as this argument terminator isn't documented even on versions where it works. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
551,489
20.03.2020 12:19:59
14,400
35bc75d7040c164a9a960ac3df3ac96cbde9829e
Install uploaded certs in config-app for TLS validation.
[ { "change_type": "MODIFY", "old_path": "config_app/c_app.py", "new_path": "config_app/c_app.py", "diff": "@@ -18,10 +18,11 @@ logger = logging.getLogger(__name__)\nOVERRIDE_CONFIG_DIRECTORY = os.path.join(ROOT_DIR, \"config_app/conf/stack\")\nINIT_SCRIPTS_LOCATION = \"/conf/init/\"\n-is_testing = \"...
Python
Apache License 2.0
quay/quay
[PROJQUAY-461] Install uploaded certs in config-app for TLS validation. (#276)
551,511
03.04.2020 13:23:48
14,400
8dcc8ed394acc5ce2cf73fac117029a7cafbec69
Use the new registry-nomigrate entrypoint.
[ { "change_type": "MODIFY", "old_path": "deploy/openshift/quay-app.yaml", "new_path": "deploy/openshift/quay-app.yaml", "diff": "@@ -199,6 +199,9 @@ objects:\n- name: quay-app\nimage: ${IMAGE}:${IMAGE_TAG}\nimagePullPolicy: ${{IMAGE_PULL_POLICY}}\n+ command:\n+ - /quay-registry/quay-entrypoint.sh\n+ ...
Python
Apache License 2.0
quay/quay
Use the new registry-nomigrate entrypoint. (#314)
551,489
07.04.2020 15:22:31
14,400
1a55e352a933c77b2e814ab0cc31630bafe590fa
Enable marking config-app fields as read only.
[ { "change_type": "MODIFY", "old_path": "config_app/c_app.py", "new_path": "config_app/c_app.py", "diff": "@@ -11,6 +11,7 @@ from config_app._init_config import ROOT_DIR, IS_KUBERNETES\nfrom config_app.config_util.config import get_config_provider\nfrom util.security.instancekeys import InstanceKeys\...
Python
Apache License 2.0
quay/quay
[PROJQUAY-319] Enable marking config-app fields as read only. (#310)
551,528
07.04.2020 17:42:22
14,400
0d8a6653ea70d88a24851da3bde687a994078404
Change the help text for changing user/org names
[ { "change_type": "MODIFY", "old_path": "static/partials/org-view.html", "new_path": "static/partials/org-view.html", "diff": "<td>Namespace:</td>\n<td>\n{{ organization.name }}\n- <div class=\"help-text\">Organization names cannot currently be changed. Please <a href=\"/contact\">contact support</a>...
Python
Apache License 2.0
quay/quay
Change the help text for changing user/org names (#323)
551,528
30.04.2020 12:25:09
14,400
7faae6e547a9c1a756855bb4a3e1c0efa228606c
Remove assertion that repos exists The previous assertion would just fail when there is no app repos in the database.
[ { "change_type": "MODIFY", "old_path": "data/appr_model/tag.py", "new_path": "data/appr_model/tag.py", "diff": "@@ -131,9 +131,6 @@ def get_most_recent_tag_lifetime_start(repository_ids, models_ref, tag_kind=\"rel\nReturns a map from repo ID to the timestamp of the most recently pushed alive tag for...
Python
Apache License 2.0
quay/quay
Remove assertion that repos exists (#365) The previous assertion would just fail when there is no app repos in the database.
551,528
30.04.2020 14:55:45
14,400
816b7a9ed34b666f6286e1e1e916a1db006cfb51
Add check for no repos when getting recent tags Add an extra check and return an empty dict if no repo is given. This is needed because `Tag.repository << [rid for rid in repository_ids]` will fail on MySQL if the list is empty.
[ { "change_type": "MODIFY", "old_path": "data/appr_model/tag.py", "new_path": "data/appr_model/tag.py", "diff": "@@ -131,6 +131,11 @@ def get_most_recent_tag_lifetime_start(repository_ids, models_ref, tag_kind=\"rel\nReturns a map from repo ID to the timestamp of the most recently pushed alive tag fo...
Python
Apache License 2.0
quay/quay
Add check for no repos when getting recent tags (#366) Add an extra check and return an empty dict if no repo is given. This is needed because `Tag.repository << [rid for rid in repository_ids]` will fail on MySQL if the list is empty.
551,499
12.05.2020 16:59:41
-7,200
bab908d8f2271696e9ca951bc27a545dcac9fd95
Defined found_results before try block so it's always assigned Up until now, the "if not found_results" line could throw an UnboundLocalError because the variable was assigned inside a try block which could fail but the variable was later referenced.
[ { "change_type": "MODIFY", "old_path": "data/users/externalldap.py", "new_path": "data/users/externalldap.py", "diff": "@@ -442,6 +442,7 @@ class LDAPUsers(FederatedUsers):\nbreak\nwhile True:\n+ found_results = 0\ntry:\nif has_pagination:\n_, rdata, _, serverctrls = conn.result3(msgid)\n@@ -449,7 +...
Python
Apache License 2.0
quay/quay
Defined found_results before try block so it's always assigned (#376) Up until now, the "if not found_results" line could throw an UnboundLocalError because the variable was assigned inside a try block which could fail but the variable was later referenced.
551,503
19.05.2020 13:31:10
14,400
fd9975d20f59a69789fef992bb09ae6d24f7fbbd
[ci skip] param to allow us to disable conn pool
[ { "change_type": "MODIFY", "old_path": "deploy/openshift/quay-app.yaml", "new_path": "deploy/openshift/quay-app.yaml", "diff": "@@ -248,6 +248,8 @@ objects:\nvalue: ${{SYSLOG_PROTO}}\n- name: QUAY_LOGGING\nvalue: ${{QUAY_LOGGING}}\n+ - name: DB_CONNECTION_POOLING\n+ value: ${{DB_CONNECTION_POOLING}}...
Python
Apache License 2.0
quay/quay
[ci skip] param to allow us to disable conn pool (#384)
551,510
03.06.2020 19:16:55
-10,800
4f847d0efaf5f6c61f7e51ae93977d8db1093a33
add ServiceAccount with imagePullSecrets
[ { "change_type": "MODIFY", "old_path": "deploy/openshift/quay-app.yaml", "new_path": "deploy/openshift/quay-app.yaml", "diff": "@@ -34,6 +34,12 @@ objects:\n- patch\n- update\n- watch\n+- apiVersion: v1\n+ kind: ServiceAccount\n+ metadata:\n+ name: ${{NAME}}\n+ imagePullSecrets:\n+ - name: quayio-ba...
Python
Apache License 2.0
quay/quay
add ServiceAccount with imagePullSecrets (#408)
551,510
05.06.2020 21:08:39
-10,800
b2b2fa6e956966786cef2b693ab24650f44ebbb1
quay-app template - update apiVersions and remove default readOnly
[ { "change_type": "MODIFY", "old_path": "deploy/openshift/quay-app.yaml", "new_path": "deploy/openshift/quay-app.yaml", "diff": "@@ -4,7 +4,7 @@ kind: Template\nmetadata:\nname: quay\nobjects:\n-- apiVersion: rbac.authorization.k8s.io/v1beta1\n+- apiVersion: rbac.authorization.k8s.io/v1\nkind: Role\n...
Python
Apache License 2.0
quay/quay
quay-app template - update apiVersions and remove default readOnly (#411)
551,510
05.06.2020 21:08:45
-10,800
665085fcb0f95ffedaf5d1b10646ee7822554a46
use backup push creds
[ { "change_type": "MODIFY", "old_path": "scripts/app_sre_post_deploy_rhel7.sh", "new_path": "scripts/app_sre_post_deploy_rhel7.sh", "diff": "set -exv\n-export DOCKER_CONF=\"$PWD/.docker\"\n-mkdir -p \"${DOCKER_CONF}\"\n-\nBASE_IMG=\"quay\"\nIMG=\"${BASE_IMG}:latest\"\n+BACKUP_BASE_IMG=\"${BASE_IMG}-b...
Python
Apache License 2.0
quay/quay
use backup push creds (#420)
551,503
05.06.2020 16:09:10
14,400
994c0fe097ba00b623ac8df5d9d790e4bebb5887
OpenShift deploy template updates for log shipper This PR removes load balancer service that is no longer used. It also sets log stream name to pod name and makes ticker for syslog configurable. [ci skip]
[ { "change_type": "MODIFY", "old_path": "deploy/openshift/quay-app.yaml", "new_path": "deploy/openshift/quay-app.yaml", "diff": "@@ -83,22 +83,6 @@ objects:\ntargetPort: 3000\nselector:\napp: prometheus\n-- apiVersion: v1\n- kind: Service\n- metadata:\n- name: quay-loadbalancer-service\n- annotations...
Python
Apache License 2.0
quay/quay
OpenShift deploy template updates for log shipper (#425) This PR removes load balancer service that is no longer used. It also sets log stream name to pod name and makes ticker for syslog configurable. [ci skip]
551,503
05.06.2020 16:12:40
14,400
32330d690c098d254e4497286b3ba46a27dd552f
added quay worker params to openshift template
[ { "change_type": "MODIFY", "old_path": "deploy/openshift/quay-app.yaml", "new_path": "deploy/openshift/quay-app.yaml", "diff": "@@ -423,6 +423,14 @@ parameters:\nvalue: \"3600\"\ndisplayName: aws load balancer connection idle timeout\ndescription: aws load balancer connection idle timeout\n+ - name:...
Python
Apache License 2.0
quay/quay
added quay worker params to openshift template (#426)
551,503
05.06.2020 16:19:26
14,400
bb5e2b56721169484374a42f30df09b10ae0fa87
added quay worker env vars
[ { "change_type": "MODIFY", "old_path": "deploy/openshift/quay-app.yaml", "new_path": "deploy/openshift/quay-app.yaml", "diff": "@@ -245,8 +245,10 @@ objects:\nvalue: ${{SYSLOG_PROTO}}\n- name: QUAY_LOGGING\nvalue: ${{QUAY_LOGGING}}\n- - name: DB_CONNECTION_POOLING\n- value: ${{DB_CONNECTION_POOLING}...
Python
Apache License 2.0
quay/quay
added quay worker env vars (#427)
551,528
15.06.2020 12:20:17
14,400
4461ce283c2c5abe8555a8940e6918e7d3d634a9
Run required filemode changes in Dockerfile Also reverts to using Python 3.6 for now
[ { "change_type": "MODIFY", "old_path": ".github/workflows/CI.yaml", "new_path": ".github/workflows/CI.yaml", "diff": "@@ -16,10 +16,10 @@ jobs:\nsteps:\n- uses: actions/checkout@v2\n- - name: Set up Python 3.8\n+ - name: Set up Python 3.6\nuses: actions/setup-python@v1\nwith:\n- python-version: 3.8\...
Python
Apache License 2.0
quay/quay
Run required filemode changes in Dockerfile (#430) Also reverts to using Python 3.6 for now
551,489
16.06.2020 10:16:32
14,400
c1b3ac251044566d7f5e2f3bf6c84316ad51b3b3
Run dumb-init as PID 1
[ { "change_type": "MODIFY", "old_path": "Dockerfile", "new_path": "Dockerfile", "diff": "@@ -118,5 +118,5 @@ VOLUME [\"/var/log\", \"/datastorage\", \"/tmp\", \"/conf/stack\"]\nUSER 1001\n-ENTRYPOINT [\"/quay-registry/quay-entrypoint.sh\"]\n+ENTRYPOINT [\"dumb-init\", \"--\", \"/quay-registry/quay-en...
Python
Apache License 2.0
quay/quay
[PROJQUAY-776] Run dumb-init as PID 1 (#441)
551,528
26.06.2020 15:11:51
14,400
55632baddc6ac73a4a345593b2ecab899ad6000e
Update supervisor-stdout to process event messages correctly.
[ { "change_type": "MODIFY", "old_path": "conf/supervisord.conf.jnj", "new_path": "conf/supervisord.conf.jnj", "diff": "@@ -44,7 +44,9 @@ stderr_events_enabled = true\nenvironment=\nPYTHONPATH=%(ENV_QUAYDIR)s\ncommand=python -m buildman.builder\n-autostart = {{ config['builder']['autostart'] }}\n+auto...
Python
Apache License 2.0
quay/quay
Update supervisor-stdout to process event messages correctly. (#462)
551,528
15.07.2020 09:52:55
14,400
3fdf2ff9ba572f8a9f016dfbba246c5aad026a51
Decode b64 bytes to str
[ { "change_type": "MODIFY", "old_path": "conf/init/02_get_kube_certs.py", "new_path": "conf/init/02_get_kube_certs.py", "diff": "@@ -74,7 +74,7 @@ def main():\nif not os.path.exists(KUBE_EXTRA_CA_CERTDIR):\nos.mkdir(KUBE_EXTRA_CA_CERTDIR)\n- cert_value = base64.b64decode(secret_data[cert_key])\n+ cer...
Python
Apache License 2.0
quay/quay
Decode b64 bytes to str (#477)
551,528
20.07.2020 12:24:10
14,400
9b86bf51e2f7fb14b7dcddcf889703199b93b72c
Abort on invalid date range for logs api
[ { "change_type": "MODIFY", "old_path": "endpoints/api/logs.py", "new_path": "endpoints/api/logs.py", "diff": "@@ -74,6 +74,8 @@ def _get_logs(\nfilter_kinds=None,\n):\n(start_time, end_time) = _validate_logs_arguments(start_time, end_time)\n+ if end_time < start_time:\n+ abort(400, message=\"Invalid...
Python
Apache License 2.0
quay/quay
Abort on invalid date range for logs api (#483)
551,528
20.07.2020 16:45:01
14,400
6397c05b55c9a0dacd127de5b9a0db141144d473
Update host's mounted cert directory /usr/share/pki/ca-trust-source/anchors does not have anything to copy over to the container. /etc/pki/ca-trust-source/anchors has the required system certs/trust.
[ { "change_type": "MODIFY", "old_path": "buildman/templates/cloudconfig.json", "new_path": "buildman/templates/cloudconfig.json", "diff": "@@ -107,7 +107,7 @@ WantedBy=multi-user.target\nquay_username,\nquay_password,\nworker_tag,\n- extra_args='--net=host --privileged --env-file /root/overrides.list...
Python
Apache License 2.0
quay/quay
Update host's mounted cert directory (#485) /usr/share/pki/ca-trust-source/anchors does not have anything to copy over to the container. /etc/pki/ca-trust-source/anchors has the required system certs/trust.
551,528
21.07.2020 13:45:59
14,400
fce130e8ed78f9c6660067257f58eae2e76f15d3
Try to remove the redis key if when scheduling build it already exists
[ { "change_type": "MODIFY", "old_path": "buildman/manager/ephemeral.py", "new_path": "buildman/manager/ephemeral.py", "diff": "@@ -468,8 +468,9 @@ class EphemeralBuilderManager(BaseManager):\n)\nexcept KeyError:\nlogger.warning(\n- \"Job: %s already exists in orchestrator, timeout may be misconfigure...
Python
Apache License 2.0
quay/quay
Try to remove the redis key if when scheduling build it already exists (#490)
551,528
27.07.2020 12:38:21
14,400
bc8f2d9bbc3118ef760359073d60b4640f8bb933
Add missing flask import + add logs date range test
[ { "change_type": "MODIFY", "old_path": "endpoints/api/logs.py", "new_path": "endpoints/api/logs.py", "diff": "@@ -3,7 +3,7 @@ Access usage logs for organizations or repositories.\n\"\"\"\nfrom datetime import datetime, timedelta\n-from flask import request\n+from flask import abort, request\nimport ...
Python
Apache License 2.0
quay/quay
Add missing flask import + add logs date range test (#494)
551,489
31.07.2020 11:13:23
14,400
d3ca550a2b8ee9eff51f13142b37447bbc6aa584
Fix CSRF token encoding
[ { "change_type": "MODIFY", "old_path": "endpoints/csrf.py", "new_path": "endpoints/csrf.py", "diff": "@@ -30,7 +30,7 @@ def generate_csrf_token(session_token_name=_QUAY_CSRF_TOKEN_NAME, force=False):\nReturns the generated token.\n\"\"\"\nif session_token_name not in session or force:\n- session[ses...
Python
Apache License 2.0
quay/quay
[PROJQUAY-917] Fix CSRF token encoding (#500)
551,528
04.08.2020 13:59:05
14,400
a96fcabd0352fcc33fbd49db4116a5408ba0ff7f
Handle generated ssh keypairs in build triggers as str The keys are either part of a dict being serialized into json with json.dumps to pass as a requests' body, or passed directly to the client(e.g github). In both cases, the value needs to be a str.
[ { "change_type": "MODIFY", "old_path": "buildtrigger/bitbuckethandler.py", "new_path": "buildtrigger/bitbuckethandler.py", "diff": "@@ -310,12 +310,12 @@ class BitbucketBuildTrigger(BuildTriggerHandler):\n# Add a deploy key to the repository.\npublic_key, private_key = generate_ssh_keypair()\nconfig...
Python
Apache License 2.0
quay/quay
Handle generated ssh keypairs in build triggers as str (#503) The keys are either part of a dict being serialized into json with json.dumps to pass as a requests' body, or passed directly to the client(e.g github). In both cases, the value needs to be a str.
551,489
07.08.2020 15:44:11
14,400
12941b540da1bfc40c8917421bb486de4d040001
Remove deprecated gunicorn config for verbs The verbs functionality was removed in
[ { "change_type": "DELETE", "old_path": "conf/gunicorn_verbs.py", "new_path": null, "diff": "-import sys\n-import os\n-\n-sys.path.append(os.path.join(os.path.dirname(__file__), \"../\"))\n-\n-import logging\n-\n-from Crypto import Random\n-from util.log import logfile_path\n-from util.workers import...
Python
Apache License 2.0
quay/quay
Remove deprecated gunicorn config for verbs (#510) The verbs functionality was removed in #442
551,528
07.08.2020 16:08:53
14,400
6556899b4e179fb96ac43cd041ec9a397d55b48b
Initialize the swift retry count correctly so that it is never None
[ { "change_type": "MODIFY", "old_path": "storage/swift.py", "new_path": "storage/swift.py", "diff": "@@ -37,6 +37,7 @@ _SEGMENT_DIRECTORY = \"segments\"\n_MAXIMUM_SEGMENT_SIZE = 200000000 # ~200 MB\n_DEFAULT_SWIFT_CONNECT_TIMEOUT = 5 # seconds\n_CHUNK_CLEANUP_DELAY = 30 # seconds\n+_DEFAULT_RETRY_COU...
Python
Apache License 2.0
quay/quay
Initialize the swift retry count correctly so that it is never None (#508)
551,528
11.08.2020 14:49:32
14,400
a16124e6bf36711f05b539c664b23ec954883489
Handles out of range pagination token datetime Check that "after_datetime" token used for pagination is smaller than the given starting datetime when doing a lookup
[ { "change_type": "MODIFY", "old_path": "data/logs_model/document_logs_model.py", "new_path": "data/logs_model/document_logs_model.py", "diff": "@@ -335,6 +335,8 @@ class DocumentLogsModel(SharedModel, ActionLogsDataInterface, ElasticsearchLogsM\nafter_random_id = page_token[\"random_id\"]\nif after_...
Python
Apache License 2.0
quay/quay
Handles out of range pagination token datetime (#517) Check that "after_datetime" token used for pagination is smaller than the given starting datetime when doing a lookup
551,528
17.08.2020 14:17:53
14,400
9bca9ffc57500262517bf6c36e0c39e88ac66c67
Set default values for templated unit timeout Jinja's default is only used if the variable is undefined, not None.
[ { "change_type": "MODIFY", "old_path": "buildman/container_cloud_config.py", "new_path": "buildman/container_cloud_config.py", "diff": "@@ -62,10 +62,18 @@ class CloudConfigContext(object):\nonfailure_units=[],\nrequires_units=[],\nwants_units=[],\n- timeout_start_sec=None,\n- timeout_stop_sec=None,...
Python
Apache License 2.0
quay/quay
Set default values for templated unit timeout (#521) Jinja's default is only used if the variable is undefined, not None.
551,528
19.08.2020 16:24:10
14,400
27c6e2b99b7f35c50f756c4f948a25ee8badf5f9
Reduce log noise from fallbacks in executor
[ { "change_type": "MODIFY", "old_path": "buildman/manager/ephemeral.py", "new_path": "buildman/manager/ephemeral.py", "diff": "@@ -501,8 +501,8 @@ class EphemeralBuilderManager(BaseManager):\n# Check if we can use this executor based on the retries remaining.\nif executor.minimum_retry_threshold > bu...
Python
Apache License 2.0
quay/quay
Reduce log noise from fallbacks in executor (#526)
551,528
19.08.2020 17:47:19
14,400
0c65f88a0ec5e3b847f45c1fdc0e53365126c22a
json loads fix: given arg should be a str
[ { "change_type": "MODIFY", "old_path": "data/logs_model/datatypes.py", "new_path": "data/logs_model/datatypes.py", "diff": "@@ -143,7 +143,7 @@ class Log(\ndef to_dict(self, avatar, include_namespace=False):\nview = {\n\"kind\": _kinds()[self.kind_id],\n- \"metadata\": json.loads(self.metadata_json ...
Python
Apache License 2.0
quay/quay
json loads fix: given arg should be a str (#527)
551,528
24.08.2020 13:40:54
14,400
4865572ba805e95b27cbd55119f70d9d03b3c2fd
Allow existing blobs to be overwritten in azure
[ { "change_type": "MODIFY", "old_path": "storage/azurestorage.py", "new_path": "storage/azurestorage.py", "diff": "@@ -141,7 +141,7 @@ class AzureStorage(BaseStorage):\ndef put_content(self, path, content):\nblob_name = self._blob_name_from_path(path)\ntry:\n- self._blob(blob_name).upload_blob(conten...
Python
Apache License 2.0
quay/quay
Allow existing blobs to be overwritten in azure (#531)
551,528
25.08.2020 15:10:43
14,400
2b60e20e67630742c65ffd749b4ac65657d15462
Use manifest_digest instead of image_id when accessing current tracks
[ { "change_type": "MODIFY", "old_path": "static/js/directives/repo-view/repo-panel-tags.js", "new_path": "static/js/directives/repo-view/repo-panel-tags.js", "diff": "@@ -159,7 +159,7 @@ angular.module('quay').directive('repoPanelTags', function () {\nvar canAddToCurrentTrack = true;\nfor (var j = 0;...
Python
Apache License 2.0
quay/quay
Use manifest_digest instead of image_id when accessing current tracks (#532)
551,528
09.09.2020 13:48:20
14,400
32357c07e6011e55d272c953db1e71d1aba9cc76
Fix db RepositoryBuild model attribute name used
[ { "change_type": "MODIFY", "old_path": "endpoints/api/superuser_models_pre_oci.py", "new_path": "endpoints/api/superuser_models_pre_oci.py", "diff": "@@ -75,8 +75,8 @@ class PreOCIModel(SuperuserDataInterface):\nexcept model.InvalidRepositoryBuildException as e:\nraise InvalidRepositoryBuildExceptio...
Python
Apache License 2.0
quay/quay
Fix db RepositoryBuild model attribute name used (#544)
551,493
24.09.2020 13:54:36
14,400
c667bfed1d64af80ef1e2d7c0a95988905a83d6c
Added binary mode
[ { "change_type": "MODIFY", "old_path": "tools/generatekeypair.py", "new_path": "tools/generatekeypair.py", "diff": "@@ -23,7 +23,7 @@ def generate_key_pair(filename, kid=None):\nf.write(kid)\nprint((\"Writing private key to %s.pem\" % filename))\n- with open(\"%s.pem\" % filename, mode=\"w\") as f:\...
Python
Apache License 2.0
quay/quay
Added binary mode (#556)