Dataset Viewer
Auto-converted to Parquet Duplicate
repo_name
stringlengths
8
38
pr_number
int64
3
47.1k
pr_title
stringlengths
8
175
pr_description
stringlengths
2
19.8k
author
null
date_created
stringlengths
25
25
date_merged
stringlengths
25
25
filepath
stringlengths
6
136
before_content
stringlengths
54
884k
after_content
stringlengths
56
884k
pr_author
stringlengths
3
21
previous_commit
stringlengths
40
40
pr_commit
stringlengths
40
40
comment
stringlengths
2
25.4k
comment_author
stringlengths
3
29
__index_level_0__
int64
0
5.1k
airbnb/knowledge-repo
767
[KP] support more sort by & UI improvement
Description of changeset: as title Test Plan: local dev ![image](https://user-images.githubusercontent.com/64947033/224917135-549707a4-2cba-4294-8ed6-24c4d083fa98.png) Reviewers:
null
2023-03-14 06:42:17+00:00
2023-03-19 03:03:33+00:00
knowledge_repo/app/templates/index-base.html
{% extends "base.html" %} {% macro format_authors(authors) %} {% for author in authors %} <a href='/feed?authors={{ author.identifier|urlencode }}'> {{ author.format_name }} </a> {% if not loop.last %} , {% endif %} {% endfor %} {% endmacro %} {% macro pagination(max_pages=20, extremes...
{% extends "base.html" %} {% macro format_authors(authors) %} {% for author in authors %} <a href='/feed?authors={{ author.identifier|urlencode }}'> {{ author.format_name }} </a> {% if not loop.last %} , {% endif %} {% endfor %} {% endmacro %} {% macro pagination(max_pages=20, extremes=True, autohide=True) %} {% if...
mengting1010
9a3fac2c2e8cdd295b53fe38a446d535e4f2bcb5
0d7aba9ddd3336f00f42000a5c2f17ad76ef570d
The above code and some code below will be uncommented in the next PR
mengting1010
0
airbnb/knowledge-repo
735
[kp] fix md data error and ipynb upload
Description of changeset: fix md data error and ipynb upload Test Plan: [x] local test Reviewers: @csharplus @mengting1010
null
2023-01-29 09:14:49+00:00
2023-02-02 07:41:26+00:00
knowledge_repo/app/routes/editor.py
from .. import permissions from ..index import update_index from ..models import Comment, PageView, Post, PostAuthorAssoc from ..proxies import current_repo, current_user, db_session, s3_client, notion_client from ..utils.emails import ( send_review_email, send_reviewer_request_email, ) from ..utils.image impor...
from .. import permissions from ..index import update_index from ..models import Comment, PageView, Post, PostAuthorAssoc from ..proxies import current_repo, current_user, db_session, s3_client, notion_client from ..utils.emails import ( send_review_email, send_reviewer_request_email, ) from ..utils.image impor...
JJJ000
43635f53c93ceb0f1568c9fdda796e88a80bb2d0
1070404b926ac5f1e1c27a246d4fac95d3cd3518
Use `os.path.join()` as explained in: https://www.geeksforgeeks.org/python-os-path-join-method/ ?
csharplus
1
airbnb/knowledge-repo
725
update notion db id
Description of changeset: as title Test Plan: local dev Reviewers: @csharplus @JJJ000
null
2023-01-20 01:59:00+00:00
2023-01-21 19:36:20+00:00
knowledge_repo/utils/notion.py
from notion_client import Client, AsyncClient import logging from notion_client import APIResponseError from knowledge_repo.constants import KP_EDIT_PROD_LINK logger = logging.getLogger(__name__) def get_notion_client(auth): """Get a notion synchronous client for notion synchronous operations :param auth: B...
from notion_client import Client, AsyncClient import logging from notion_client import APIResponseError from knowledge_repo.constants import KP_EDIT_PROD_LINK logger = logging.getLogger(__name__) def get_notion_client(auth): """Get a notion synchronous client for notion synchronous operations :param auth: B...
mengting1010
582fc923aff96253440a15de493f950f8195cca6
58155530b5fe639d54f6797cd6e8b55ac4a753fe
we probably need to add it to config
JJJ000
2
airbnb/knowledge-repo
725
update notion db id
Description of changeset: as title Test Plan: local dev Reviewers: @csharplus @JJJ000
null
2023-01-20 01:59:00+00:00
2023-01-21 19:36:20+00:00
knowledge_repo/utils/notion.py
from notion_client import Client, AsyncClient import logging from notion_client import APIResponseError from knowledge_repo.constants import KP_EDIT_PROD_LINK logger = logging.getLogger(__name__) def get_notion_client(auth): """Get a notion synchronous client for notion synchronous operations :param auth: B...
from notion_client import Client, AsyncClient import logging from notion_client import APIResponseError from knowledge_repo.constants import KP_EDIT_PROD_LINK logger = logging.getLogger(__name__) def get_notion_client(auth): """Get a notion synchronous client for notion synchronous operations :param auth: B...
mengting1010
582fc923aff96253440a15de493f950f8195cca6
58155530b5fe639d54f6797cd6e8b55ac4a753fe
Updated, PTAL again. Thanks!
mengting1010
3
airbnb/knowledge-repo
706
[kp] update s3 repo
Description of changeset: update s3 repo Test Plan: [x] CI Reviewers: @csharplus @mengting1010
null
2023-01-02 01:35:26+00:00
2023-01-06 03:37:10+00:00
requirements.txt
boto3==1.26.37 botocore==1.29.37 cooked_input flask==2.1.2 Flask-Migrate gitdb gitpython==3.1.30 tabulate==0.8.9 pyyaml markdown==3.3.4 pygments==2.10.0 pyyaml flask_login==0.6.1 flask_principal flask_mail gunicorn inflection pillow psycopg2 nbformat nbconvert[execute] traitlets ldap3 requests requests_oauthl...
boto3==1.26.37 botocore==1.29.37 cooked_input flask==2.1.2 Flask-Migrate gitdb gitpython==3.1.30 tabulate==0.8.9 pyyaml markdown==3.3.4 pygments==2.10.0 pyyaml flask_login==0.6.1 flask_principal flask_mail gunicorn inflection pillow psycopg2 nbformat nbconvert[execute] traitlets ldap3 requests requests_oauthl...
JJJ000
c255ede148aef3f804a293972a21b9d7b2419326
00d51151f35a0dccf7dae17812331fdc0065f1ca
Please lock the version of the new library to avoid unexpected breaks when the library updates in the future.
csharplus
4
airbnb/knowledge-repo
704
Add Notion Integration
Description of changeset: as title. Test Plan: local dev Reviewers:
null
2022-12-31 20:38:03+00:00
2023-01-11 04:00:33+00:00
requirements.txt
boto3==1.26.37 botocore==1.29.37 cooked_input flask==2.1.2 Flask-Migrate gitdb gitpython==3.1.30 tabulate==0.8.9 pyyaml markdown==3.3.4 pygments==2.10.0 pyyaml flask_login==0.6.1 flask_principal flask_mail gunicorn inflection pillow psycopg2 nbformat nbconvert[execute] traitlets ldap3 requests requests_oauthl...
boto3==1.26.37 botocore==1.29.37 cooked_input flask==2.1.2 Flask-Migrate gitdb gitpython==3.1.30 tabulate==0.8.9 pyyaml markdown==3.3.4 pygments==2.10.0 pyyaml flask_login==0.6.1 flask_principal flask_mail gunicorn inflection pillow psycopg2 nbformat nbconvert[execute] traitlets ldap3 requests requests_oauthl...
mengting1010
a875df6b4cc47024d8b3133776c7c6e8213f9daa
1ad529a84dcf923fdde97a3b7e804936f1d14007
Please add the current version number of `notion-client` as well to avoid future break changes from this library.
csharplus
5
airbnb/knowledge-repo
698
Update Jupyter Notebook Upload Related
Description of changeset: - Integrate with S3 client - upload Jupyter Notebook to s3 when saving the post - export a html version of Jupyter Notebook and upload to s3 Test Plan: local dev Reviewers: @csharplus @JJJ000
null
2022-12-28 23:02:53+00:00
2022-12-29 07:10:50+00:00
knowledge_repo/app/routes/editor.py
from .. import permissions from ..index import update_index from ..models import Comment, PageView, Post, PostAuthorAssoc from ..proxies import current_repo, current_user, db_session from ..utils.emails import ( send_review_email, send_reviewer_request_email, ) from ..utils.image import ( is_allowed_image_f...
from .. import permissions from ..index import update_index from ..models import Comment, PageView, Post, PostAuthorAssoc from ..proxies import current_repo, current_user, db_session from ..utils.emails import ( send_review_email, send_reviewer_request_email, ) from ..utils.image import ( is_allowed_image_f...
mengting1010
451577868d66570a463260c67dff7034214beafd
6edad5351bf3f4f0abc457b6d9532ca25c62c952
You got Lint error in CI: ``` knowledge_repo/app/routes/editor.py:198:57: E502 the backslash is redundant between brackets Error: Process completed with exit code 1. ```
csharplus
6
airbnb/knowledge-repo
698
Update Jupyter Notebook Upload Related
Description of changeset: - Integrate with S3 client - upload Jupyter Notebook to s3 when saving the post - export a html version of Jupyter Notebook and upload to s3 Test Plan: local dev Reviewers: @csharplus @JJJ000
null
2022-12-28 23:02:53+00:00
2022-12-29 07:10:50+00:00
knowledge_repo/app/routes/editor.py
from .. import permissions from ..index import update_index from ..models import Comment, PageView, Post, PostAuthorAssoc from ..proxies import current_repo, current_user, db_session from ..utils.emails import ( send_review_email, send_reviewer_request_email, ) from ..utils.image import ( is_allowed_image_f...
from .. import permissions from ..index import update_index from ..models import Comment, PageView, Post, PostAuthorAssoc from ..proxies import current_repo, current_user, db_session from ..utils.emails import ( send_review_email, send_reviewer_request_email, ) from ..utils.image import ( is_allowed_image_f...
mengting1010
451577868d66570a463260c67dff7034214beafd
6edad5351bf3f4f0abc457b6d9532ca25c62c952
Same lint issue here.
csharplus
7
airbnb/knowledge-repo
698
Update Jupyter Notebook Upload Related
Description of changeset: - Integrate with S3 client - upload Jupyter Notebook to s3 when saving the post - export a html version of Jupyter Notebook and upload to s3 Test Plan: local dev Reviewers: @csharplus @JJJ000
null
2022-12-28 23:02:53+00:00
2022-12-29 07:10:50+00:00
knowledge_repo/app/routes/editor.py
from .. import permissions from ..index import update_index from ..models import Comment, PageView, Post, PostAuthorAssoc from ..proxies import current_repo, current_user, db_session from ..utils.emails import ( send_review_email, send_reviewer_request_email, ) from ..utils.image import ( is_allowed_image_f...
from .. import permissions from ..index import update_index from ..models import Comment, PageView, Post, PostAuthorAssoc from ..proxies import current_repo, current_user, db_session from ..utils.emails import ( send_review_email, send_reviewer_request_email, ) from ..utils.image import ( is_allowed_image_f...
mengting1010
451577868d66570a463260c67dff7034214beafd
6edad5351bf3f4f0abc457b6d9532ca25c62c952
Same lint issue here.
csharplus
8
airbnb/knowledge-repo
697
Enable Jupyter Notebook Upload Post Editor
Description of changeset: - Enable jupyter notebook upload post editor ![image](https://user-images.githubusercontent.com/64947033/209613316-41bf9581-2f77-4dc4-8f79-afb17f578269.png) - This pr only enables the ability to upload and render a html version of jupyter notebook (if it is a ipynb file, s3 will download t...
null
2022-12-27 04:44:23+00:00
2022-12-27 20:24:27+00:00
docker/config.py
from datetime import timedelta # --------------------------------------------------- # Host configuration # --------------------------------------------------- # The server name is used by Flask to limit access to the # served content to request to a particular domain. It # is also used by some authentication provide...
from datetime import timedelta # --------------------------------------------------- # Host configuration # --------------------------------------------------- # The server name is used by Flask to limit access to the # served content to request to a particular domain. It # is also used by some authentication provide...
mengting1010
b15c759e7d17b6a52c502b8bfdc174181da83789
451577868d66570a463260c67dff7034214beafd
this could cause security issue, you might need to remove it from your commit.
JJJ000
9
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
7