Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
Jarek Potiuk b0d1411e07 Introduces separate runtime provider schema (#13488)
The provider.yaml contains more information that required at
runtime (specifically about documentation building). Those
fields are not needed at runtime and their presence is optional.
Also the runtime check for provider information should be more
relexed and allow for future compatibility (with
additional properties set to false). This way we can add new,
optional fields to provider.yaml without worrying about breaking
future-compatibility of providers with future airflow versions.

This changei restores 'additionalProperties': false in the
main, development-focused provider.yaml schema and introduced
new runtime schema that is used to verify the provider info when
providers are discovered by airflow.

This 'runtime' version should change very rarely as change to
add a new required property in it breaks compatibility of
providers with already released versions of Airflow.

We also trim-down the provider.yaml file when preparing provider
packages to only contain those fields that are required in the
runtime schema.

(cherry picked from commit ad2a030b9e)
2021-01-21 19:30:23 +00:00
Jarek Potiuk baa68ca51f
Adds customized_form_field_behaviours.schema.json to MANIFEST.in (#13031)
The customized_form_field_behaviours.schema.json was present in
setup.cfg but missing in MANIFEST.in. Result of it was that
while it was present in .whl package, it was missing from sdist
package.

Fixes: #13027
2020-12-12 09:21:43 +00:00
Jarek Potiuk 2c0920fba5
Adds mechanism for provider package discovery. (#12383)
This is a simple mechanism that will allow us to dynamically
discover and register all provider packages in the Airflow core.

Closes: #11422
2020-11-17 18:48:57 +01:00
Ash Berlin-Taylor ea1cc0f897
Don't include provider datafiles in the apache-airflow sdist (#12196)
We shouldn't include these in the main sdist now we've split providers
to separate distributions.
2020-11-09 15:00:50 +00:00
Kamil Breguła cb7c67dea9
Fix example DAGs in pip packages (#11687) 2020-10-20 18:30:59 +02:00
Kamil Breguła 72b644b899
Add missing template in pip package - python_virtualenv_script.jinja2 (#11677) 2020-10-20 14:01:05 +02:00
Ash Berlin-Taylor 2580b049cf
Remove vendored nvd3 and slugify libraries (#9136)
We pulled in them because slugify _used_ to default to the GPL'd
`unidecode` module, but since Slugify 3.0[1] it has used text-unidecode
by first (and only installs the GPL library by an optional extra, not by
default) so we can now use it.

This lets us upgreade text-unidecode from 1.2 to the latest 1.3, which
is the version one of dbt's dependencies needs.

[1]: https://github.com/un33k/python-slugify/blob/4.0.0/CHANGELOG.md#300
2020-06-04 15:45:29 +01:00
Kamil Breguła 67379d1d9e
Add fudament for API based on connexion (#8149) 2020-06-02 18:45:37 +02:00
roitvt 6c39a3bf97
[AIRFLOW-6542] Add spark-on-k8s operator/hook/sensor (#7163) 2020-03-10 12:56:24 +00:00
Jarek Potiuk ccb2899e5b
[AIRFLOW-6663] Prepare backporting packages (#7391) 2020-02-24 10:29:38 +01:00
Kaxil Naik 20c507f092
[AIRFLOW-6892] Fix broken non-wheel releases (#7514) 2020-02-23 15:03:20 +00:00
Kaxil Naik 63751c3e53
[AIRFLOW-6872] Fix: Show Git Version in UI (#7493) 2020-02-22 10:40:11 +01:00
Bolke de Bruin e36bdef0b3 [AIRFLOW-3697] Vendorize nvd3 and slugify
nvd3 has a dependency on python-slugify which pulls in a
GPL dependency by default, which we don't want.

This commit brings in nvd3 0.15.0 and slugify 2.0.1 WITH NO CHANGES -
those will come in the next commit
2019-02-23 18:30:17 +00:00
Verdan Mahmood c030729dcb [AIRFLOW-3303] Deprecate old UI in favor of FAB (#4339) 2019-01-14 14:33:45 +00:00
Tao Feng 67572025cc [AIRFLOW-3612] Remove incubation/incubator mention (#4419) 2019-01-05 14:05:25 +00:00
Verdan Mahmood 5a7f0b2e53 [AIRFLOW-2691] Manage JS dependencies via npm
Closes #3572 from verdan/AIRFLOW-2691-npm-webpack
2018-07-22 09:24:11 +02:00
Bolke de Bruin 27fde3840c [AIRFLOW-XXX] Include license folder for binary 2018-07-21 19:41:43 +02:00
Bolke de Bruin c7a472ed6b [AIRFLOW-2287] Fix incorrect ASF headers
Closes #3219 from bolkedebruin/fix_header
2018-04-14 09:13:23 +02:00
Joy Gao 05e1861e24 [AIRFLOW-1433][AIRFLOW-85] New Airflow Webserver UI with RBAC support
Closes #3015 from jgao54/rbac
2018-03-23 09:18:48 +01:00
Jeremiah Lowin b586bd6123 [AIRFLOW-1006] Add config_templates to MANIFEST
Without this line, the config templates are not
included when Airflow
is installed

Closes #2173 from jlowin/speedup-2
2017-03-20 23:48:08 -04:00
Bolke de Bruin 784b3638c5 [AIRFLOW-895] Address Apache release incompliancies
* Fixes missing licenses in NOTICE
* Corrects license header
* Removes HighCharts left overs.

Closes #2098 from bolkedebruin/AIRFLOW-895
2017-02-23 23:48:03 +01:00
Ajay Yadav 3ffa656d97 [AIRFLOW-248] Add Apache license header to all files
- Added Apache license header for files with extension (.service, .in, .mako, .properties, .ini, .sh, .ldif, .coveragerc, .cfg, .yml, .conf, .sql, .css, .js, .html, .xml.
- Added/Replaced shebang on all .sh files with portable version - #!/usr/bin/env bash.
- Skipped third party css and js files. Skipped all minified js files as well.

Closes #1598 from ajayyadava/248
2016-06-21 08:15:42 -07:00
Ajay Yadav 05a1150bd7 [AIRFLOW-262] Simplify commands in MANIFEST.in 2016-06-20 23:49:59 +05:30
Rimas Silkaitis e33a27acfa make upgrades for metadata database easier across the board 2015-08-23 05:40:43 +00:00
Maxime Beauchemin 8022256fcd Including reqs to build 2015-01-17 09:05:08 -08:00
Maxime Beauchemin 98d67608fc Fixing packaging of templates and static files 2015-01-16 14:53:33 -08:00
Maxime Beauchemin 9988e4d68c Moving to setuptools 2014-11-06 06:44:19 +00:00
Maxime Beauchemin f561659e2b Improving setup.py 2014-10-12 15:31:26 -07:00
Maxime Beauchemin 6cffc62e77 Getting setup.py working, moving folders around 2014-10-12 08:44:06 -07:00