You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/17 18:08:33 UTC

[GitHub] [airflow] dstandish commented on a change in pull request #21601: Enhance pre-commit hook to automate migrations ref doc and map constant

dstandish commented on a change in pull request #21601:
URL: https://github.com/apache/airflow/pull/21601#discussion_r809331170



##########
File path: airflow/utils/db.py
##########
@@ -69,21 +69,43 @@
 
 log = logging.getLogger(__name__)
 
+# The following code is autogenerated by `scripts/ci/pre_commit/pre_commit_revision_map.py`
+# Begin autogenerated REVISION_HEADS_MAP
+
 REVISION_HEADS_MAP = {
-    "2.0.0": "e959f08ac86c",
-    "2.0.1": "82b7c48c147f",
-    "2.0.2": "2e42bb497a22",
-    "2.1.0": "a13f7613ad25",
-    "2.1.1": "a13f7613ad25",
-    "2.1.2": "a13f7613ad25",
-    "2.1.3": "97cdd93827b8",
-    "2.1.4": "ccde3e26fe78",
-    "2.2.0": "7b2661a43ba3",
-    "2.2.1": "7b2661a43ba3",
-    "2.2.2": "7b2661a43ba3",
+    "2.3.0": "c306b5b5ae4a",
+    "2.2.4": "c381b21cb7e4",
     "2.2.3": "be2bfac3da23",
+    "2.2.0": "7b2661a43ba3",

Review comment:
       good catch.  i think  we'll need  to make some kind of "revision getter" function that will give us the migration that applies to a given release.  so e.g. if  you ask for `2.2.1`  it will walk back to the prior semver number and give that revision..... in a sense "filling in the gaps" .... that should work  yeah?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org