-
Notifications
You must be signed in to change notification settings - Fork 915
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 3741-manually-create-sitemap-for-docs
- Loading branch information
Showing
56 changed files
with
1,271 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Label Community Issues | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if issue author is a member of Kedro org | ||
uses: actions/github-script@v6 | ||
id: membership | ||
with: | ||
github-token: ${{ secrets.GH_TAGGING_TOKEN }} | ||
result-encoding: string | ||
script: | | ||
try { | ||
const result = await github.rest.orgs.getMembershipForUser({ | ||
org: "kedro-org", | ||
username: '${{ github.actor }}' | ||
}) | ||
console.log(result?.data?.state) | ||
if (result?.data?.state == "active"){ | ||
console.log("%s: detected as an active member of Kedro org", '${{ github.actor }}') | ||
return "member"; | ||
} else { | ||
console.log("%s: not detected as active member of Kedro org", '${{ github.actor }}') | ||
return "notMember"; | ||
} | ||
} catch (error) { | ||
console.log("%s: Error occured and marked user as notMember", '${{ github.actor }}') | ||
console.log("Error", error.stack); | ||
console.log("Error", error.name); | ||
console.log("Error", error.message); | ||
return "notMember"; | ||
} | ||
- name: Label issue if author is from community | ||
if: ${{ steps.membership.outputs.result == 'notMember' }} | ||
uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
github_token: ${{ secrets.GH_TAGGING_TOKEN }} | ||
labels: 'Community' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: No Response | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
schedule: | ||
# Run every day at 9am (UTC time) | ||
- cron: '0 9 * * *' | ||
|
||
jobs: | ||
noResponse: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: lee-dohm/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
responseRequiredLabel: "support: needs more info" | ||
daysUntilClose: 28 | ||
closeComment: >- | ||
This issue has been closed due to lack of information. Feel free to re-open this issue if you're facing a similar problem. Please provide as much information as possible so we can help resolve your issue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
```mermaid | ||
sequenceDiagram | ||
title "Installed Kedro project" | ||
title Installed Kedro project | ||
participant script as "third-party Python script" | ||
participant curr_dir as "Directory with Kedro conf/ in it" | ||
participant session as "KedroSession" | ||
participant script as Third-party Python script | ||
participant curr_dir as Directory with Kedro conf/ in it | ||
participant session as KedroSession | ||
script->>script: run third-party script | ||
script->>curr_dir: get path to the project config | ||
script->>session: create a session with Kedro project name and project config dir | ||
session->>run: run a pipeline and/or nodes | ||
script->>session: create a session with Kedro project config dir | ||
session->>session: run a pipeline and/or nodes | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,25 @@ | ||
```mermaid | ||
sequenceDiagram | ||
title "$ kedro ipython" | ||
title $ kedro ipython | ||
participant cli as "$ kedro ipython" | ||
participant env as "Environment variables" | ||
participant ipython as "IPython" | ||
participant entrypoint as "00-kedro-init.py\nreload_kedro" | ||
participant hook_manager as "Hook manager" | ||
participant project as "Kedro project directory" | ||
participant session as "KedroSession" | ||
participant context as "KedroContext" | ||
participant cli as $ kedro ipython | ||
participant env as Environment variables | ||
participant ipython as IPython | ||
participant entrypoint as ipython/__init__.py <br> reload_kedro | ||
participant project as Kedro project directory | ||
participant session as KedroSession | ||
participant context as KedroContext | ||
cli->>cli: Check if IPython is importable | ||
cli->>env: Set IPYTHONDIR to metadata.project_path / ".ipython" | ||
cli->>env: Set KEDRO_ENV to the chosen Kedro environment | ||
cli->>cli: Print an info message | ||
cli->>ipython: Start ipython | ||
ipython->>entrypoint: load startup script | ||
entrypoint->>entrypoint: import Kedro | ||
entrypoint->>hook_manager: clear the hook manager | ||
ipython->>entrypoint: load ipython extension | ||
entrypoint->>project: find Kedro project | ||
entrypoint->>project: bootstrap the project | ||
entrypoint->>entrypoint: remove imported project package modules | ||
entrypoint->>session: create a KedroSession | ||
entrypoint->>session: activate the session | ||
entrypoint->>session: load KedroContext | ||
entrypoint->>context: get the data catalog | ||
entrypoint->>entrypoint: expose session, context and catalog variables | ||
entrypoint->>entrypoint: expose session, context, catalog and pipelines variables | ||
entrypoint->>entrypoint: register reload_kedro line magic | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
```mermaid | ||
sequenceDiagram | ||
title "$ kedro plugin" | ||
title $ kedro plugin | ||
participant cli as "$ kedro plugin" | ||
participant prelude as "See kedro-with-project.puml for details" | ||
participant project_plugin as "Kedro Plugin\nentry_point = kedro.project_commands" | ||
participant click as "Click context" | ||
participant session as "KedroSession" | ||
participant cli as $ kedro plugin | ||
participant prelude as See kedro-with-project.md for details | ||
participant project_plugins as Kedro Plugins <br> [project.entry-points."kedro.project_commands"] | ||
participant session as KedroSession | ||
participant kedro_cli as KedroCLI | ||
cli->>prelude: prepare click commands as prelude to this | ||
prelude->>project_plugin: execute plugin click command | ||
project_plugin->>click: get ProjectMetadata from the click context | ||
project_plugin->>kedro_cli: get ProjectMetadata from the KedroCLI command collection group | ||
project_plugin->>project_plugin: plugin code | ||
project_plugin->>session: need to create KedroSession for all runtime config and info | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.