You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ly...@apache.org on 2024/03/07 14:13:48 UTC

(incubator-devlake-playground) 01/01: feat(playground): open issue

This is an automated email from the ASF dual-hosted git repository.

lynwee pushed a commit to branch open-issue
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-playground.git

commit a437631918e6a97efa9f37ca12f72cc5b6286c9c
Author: Lynwee Hou <li...@merico.dev>
AuthorDate: Thu Mar 7 22:13:33 2024 +0800

    feat(playground): open issue
---
 .asf.yaml                        | 73 ++++++++++++++++++++++++++++++++++++++++
 notebooks/process_analysis.ipynb | 42 +++++++++++------------
 2 files changed, 93 insertions(+), 22 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..53b4b9d
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,73 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+# document for this: https://github.com/apache/skywalking/blob/master/.asf.yaml
+github:
+  description: "Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools, extracting insights for engineering excellence, developer experience, and community growth."
+  homepage: https://devlake.apache.org/
+  features:
+    issues: true
+    projects: false
+    wiki: false
+  labels:
+    - user-friendly
+    - open-source
+    - data
+    - hacktoberfest
+    - integration
+    - data-analysis
+    - data-integration
+    - data-engineering
+    - dora
+    - etl
+    - data-transfers
+    - domain-layer
+    - dashboard-friendly
+    - python
+    - jira
+    - devops
+  enabled_merge_buttons:
+    # only allow squash merge
+    squash:  true
+    merge:   false
+    rebase:  false
+  # delete origin branch after merged
+  del_branch_on_merge: true
+  protected_branches:
+    main:
+      required_status_checks:
+        # strict means "Require branches to be up to date before merging".
+        strict: true
+        # contexts are the names of checks that must pass
+        #contexts:
+        #  - gh-infra/jenkins
+        #  - another/build-that-must-pass
+
+      required_pull_request_reviews:
+        dismiss_stale_reviews: true
+        require_code_owner_reviews: false
+        required_approving_review_count: 1
+
+  # The triage role allows people to assign, edit, and close issues and pull requests,
+  # without giving them write access to the code.
+  collaborators:
+    - lenntt
+
+notifications:
+  commits: commits@devlake.apache.org
+  issues:  dev@devlake.apache.org
+  pullrequests: commits@devlake.apache.org
diff --git a/notebooks/process_analysis.ipynb b/notebooks/process_analysis.ipynb
index 93c6908..bbef8a1 100644
--- a/notebooks/process_analysis.ipynb
+++ b/notebooks/process_analysis.ipynb
@@ -1,27 +1,25 @@
 {
  "cells": [
   {
-      "cell_type": "code",
-      "execution_count": null,
-      "metadata": {
-        "id": ""
-      },
-      "outputs": [
-        
-      ],
-      "source": [
-        "# Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n",
-        "# you may not use this file except in compliance with the License.\n",
-        "# You may obtain a copy of the License at\n",
-        "#\n",
-        "# https://www.apache.org/licenses/LICENSE-2.0\n",
-        "#\n",
-        "# Unless required by applicable law or agreed to in writing, software\n",
-        "# distributed under the License is distributed on an \"AS IS\" BASIS,\n",
-        "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
-        "# See the License for the specific language governing permissions and\n",
-        "# limitations under the License."
-      ]
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {
+    "id": ""
+   },
+   "outputs": [],
+   "source": [
+    "# Licensed under the Apache License, Version 2.0 (the \"License\"); { display-mode: \"form\" }\n",
+    "# you may not use this file except in compliance with the License.\n",
+    "# You may obtain a copy of the License at\n",
+    "#\n",
+    "# https://www.apache.org/licenses/LICENSE-2.0\n",
+    "#\n",
+    "# Unless required by applicable law or agreed to in writing, software\n",
+    "# distributed under the License is distributed on an \"AS IS\" BASIS,\n",
+    "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
+    "# See the License for the specific language governing permissions and\n",
+    "# limitations under the License."
+   ]
   },
   {
    "cell_type": "raw",
@@ -55,7 +53,7 @@
     "from playground.process_analysis.utils.status_transition_data_generator import generate_random_status_changes\n",
     "\n",
     "\n",
-    "DB_URL = \"mysql://merico:merico@127.0.0.1:3306/lake\"\n",
+    "DB_URL = \"mysql://root:admin@127.0.0.1:3306/lake\"\n",
     "\n",
     "if not StatusTransitionGraphVisualizer.is_dot_executable_available():\n",
     "    print(\"dot executable not found, please install graphviz\")\n",