uranusjr opened a new pull request, #69527:
URL: https://github.com/apache/airflow/pull/69527

   Two ideas are implemented:
   
   First of all, the schema file is now vendored in the Java project. This 
ensures the project can build on its own without any external sources, which is 
a requirement for an Apache source distribution.
   
   The second part covers keeping the vendored schema file up-to-date. When 
generating Java classes from the schema file, a Gradle task ensures the schema 
file is up-to-date using the airflowSupervisorSchemaVersion property. If the 
schema file is stale, it downloads the new schema version from the remote 
source before triggering model generation.
   
   A contributor can also manually refresh the schema file on its own (without 
doing a full build) by changing the Gradle property and running the 
'syncSupervisorSchema' task.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to