From c7dffe707ee45e9d17e72aa3444fdd5972bf7a8e Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 3 Dec 2023 14:43:09 -0600 Subject: [PATCH] backport of git uptodate change from #16 --- examples/a11y-prs/jupyak_config.yaml | 17 +++++++++++++++++ src/jupyak/tasks/_git.ipynb | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 examples/a11y-prs/jupyak_config.yaml diff --git a/examples/a11y-prs/jupyak_config.yaml b/examples/a11y-prs/jupyak_config.yaml new file mode 100644 index 0000000..95a251c --- /dev/null +++ b/examples/a11y-prs/jupyak_config.yaml @@ -0,0 +1,17 @@ +lite: + gist: 7232671f04a5de8f1ce4b810f5ea8a3a + +repos: + lumino: {github: {merge_with: [pull/655]}} + + jupyterlab: + github: + merge_strategy: ort + merge_options: [theirs] + merge_with: + - pull/14575 + - pull/14597 + - pull/14766 + - pull/14854 + - pull/15222 + - pull/15347 diff --git a/src/jupyak/tasks/_git.ipynb b/src/jupyak/tasks/_git.ipynb index abdb961..3595ce0 100644 --- a/src/jupyak/tasks/_git.ipynb +++ b/src/jupyak/tasks/_git.ipynb @@ -208,6 +208,11 @@ "\n", " yield dict(\n", " name=f\"{name}:checkout\",\n", + " uptodate=[\n", + " doit.tools.config_changed(\n", + " {\"s\": merge_strategy, \"x\": merge_options, \"refs\": local_refs}\n", + " )\n", + " ],\n", " actions=actions,\n", " file_dep=file_dep,\n", " targets=targets,\n",