This table represents the list of all alembic revisions until 2.0.0#12792
This table represents the list of all alembic revisions until 2.0.0#12792ernest-kr wants to merge 2 commits intoapache:masterfrom
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst)
|
|
@ernest-kr Do you think we can generate these tables automatically? |
There was a problem hiding this comment.
This file wasn't added to the TOC. Am I right?
There was a problem hiding this comment.
Hi @mik-laj , I have not checked if we can generate this table automatically. Since we display them in the logs , I think there could be a way to generate them.
This is not added yet to the table of contents.
There was a problem hiding this comment.
I believe it is good to merge for RC1 as is @mik-laj -> we can automate it the first time we add a new migration. WDYT?
There was a problem hiding this comment.
We can merge this now, but I don't find it difficult to automate the generation of these tables.
Code that gets the migration list:
https://github.com/sqlalchemy/alembic/blob/master/alembic/command.py
Custom directives that render templates based on jinja:
https://github.com/apache/airflow/blob/master/docs/exts/operators_and_hooks_ref.py#L176-L205 + tabulate with rst output
There was a problem hiding this comment.
We need to have it tomorrow @ernest-kr -> do you think you can automate it ? BTW. You will also have to include #12890 when merged
There was a problem hiding this comment.
Hi , Unfortunately I do not have time to finish by tomorrow on this. Can you create a new issue for the automate task so I can work on it?
112f97f to
880a159
Compare
| - Revises ID | ||
| - Airflow Version | ||
| - Summary | ||
| * - e3a246e0dc1 |
There was a problem hiding this comment.
| * - e3a246e0dc1 | |
| * - `e3a246e0dc1` |
| - Airflow Version | ||
| - Summary | ||
| * - e3a246e0dc1 | ||
| - 1507a7289a2f |
There was a problem hiding this comment.
| - 1507a7289a2f | |
| - `1507a7289a2f` |
| - Summary | ||
| * - e3a246e0dc1 | ||
| - 1507a7289a2f | ||
| - 2.0.0 |
There was a problem hiding this comment.
| - 2.0.0 | |
| - `2.0.0` |
There was a problem hiding this comment.
Did you want this to be a code literal, if so
| - 2.0.0 | |
| - ``2.0.0`` |
| * - e3a246e0dc1 | ||
| - 1507a7289a2f | ||
| - 2.0.0 | ||
| - create is_encrypted |
There was a problem hiding this comment.
| - create is_encrypted | |
| - create `is_encrypted` |
| * - bba5a7cfc896 | ||
| - 1968acfc09e3 | ||
| - 2.0.0 | ||
| - add is_encrypted column to variable table |
There was a problem hiding this comment.
| - add is_encrypted column to variable table | |
| - add `is_encrypted` column to variable table |
| The following table shows the list of alembic revisions | ||
|
|
||
|
|
||
| .. list-table:: Alembic Revisions(until Airflow 2.0.0): |
There was a problem hiding this comment.
Is this just migrations since 1.10.14?
If so
| .. list-table:: Alembic Revisions(until Airflow 2.0.0): | |
| .. list-table:: Alembic Revisions (from Airflow 2.0.0 onwards): |
There was a problem hiding this comment.
Let me make these changes and modify my pull request
|
The orders (and down_revision) have changed after #12896 was merged |
| - maintain history for compatibility with earlier migrations | ||
| * - 13eb55f81627 | ||
| - 338e90f54d61 | ||
| - 2.0.0 |
There was a problem hiding this comment.
All the migrations have version 2.0.0 which is incorrect. If you check the example I have in #11989 -- we want to show which migration was added in which Version example 1.10.10, 1.10.12 etc
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
Created a table with the list of all alembic revisions until 2.0.0
Closes: #11989
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.