summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 06:37:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 06:37:23 +0000
commit005b0b7819e2c99619564260a697c264b2820681 (patch)
treecb2fb9193e7920e530e6a4266d6d5258704c602f
parent6de42b1648af2f4e22b8f4e5f525b4777308bc0e (diff)
automatic import of python-simple-dag-editoropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-simple-dag-editor.spec184
-rw-r--r--sources1
3 files changed, 186 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..cbd3af9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/simple_dag_editor-0.1.1.tar.gz
diff --git a/python-simple-dag-editor.spec b/python-simple-dag-editor.spec
new file mode 100644
index 0000000..74ed561
--- /dev/null
+++ b/python-simple-dag-editor.spec
@@ -0,0 +1,184 @@
+%global _empty_manifest_terminate_build 0
+Name: python-simple-dag-editor
+Version: 0.1.1
+Release: 1
+Summary: Zero configuration Airflow Dag editor
+License: Apache License, Version 2.0
+URL: https://github.com/ohadmata/simple-dag-editor
+Source0: https://mirrors.aliyun.com/pypi/web/packages/fc/7a/aa885be87e9dee810843e73d7a9e47115551e16bdac1d956c727ff8e0453/simple_dag_editor-0.1.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-apache-airflow
+
+%description
+# simple-dag-editor
+
+[![PyPI version](https://badge.fury.io/py/simple-dag-editor.svg)](https://badge.fury.io/py/simple-dag-editor)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/simple-dag-editor)](https://pypi.org/project/simple-dag-editor/)
+[![License](https://img.shields.io/:license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.txt)
+
+SimpleDagEditor is a zero configuration plugin for [Apache Airflow](https://github.com/apache/airflow).
+It provides a file managing interface that points to your dag_folder directory.
+With this plugin you will be able to delete, duplicate & edit you dags.
+
+### Use-cases
+* This plugin has been developed for a native deployment, where the Airflow webserver & scheduler are sharing the same dag_folder directory (as a mount).
+* The plugin is not designed for deployments that synchronize the dag_folder from a remote source (Git/S3)
+* You have the ability to disable the plugin for production env (see conf section)
+
+### System Requirements
+
+* Airflow >= 1.10.2
+* Python 3.7+
+
+### Installation
+1. Install the plugin (pip install simple-dag-editor)
+2. Restart airflow instance
+3. Open Admin - Simple DAG editor
+
+### Optional configurations
+* [dag_editor] - disabled (Default - False)
+
+### Screenshots
+
+
+![Main editor screen](https://raw.githubusercontent.com/ohadmata/simple-dag-editor/main/screenshots/image1.png)
+![Save as modal](https://raw.githubusercontent.com/ohadmata/simple-dag-editor/main/screenshots/image2.png)
+![Save confirm](https://raw.githubusercontent.com/ohadmata/simple-dag-editor/main/screenshots/image3.png)
+
+
+
+
+
+%package -n python3-simple-dag-editor
+Summary: Zero configuration Airflow Dag editor
+Provides: python-simple-dag-editor
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-simple-dag-editor
+# simple-dag-editor
+
+[![PyPI version](https://badge.fury.io/py/simple-dag-editor.svg)](https://badge.fury.io/py/simple-dag-editor)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/simple-dag-editor)](https://pypi.org/project/simple-dag-editor/)
+[![License](https://img.shields.io/:license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.txt)
+
+SimpleDagEditor is a zero configuration plugin for [Apache Airflow](https://github.com/apache/airflow).
+It provides a file managing interface that points to your dag_folder directory.
+With this plugin you will be able to delete, duplicate & edit you dags.
+
+### Use-cases
+* This plugin has been developed for a native deployment, where the Airflow webserver & scheduler are sharing the same dag_folder directory (as a mount).
+* The plugin is not designed for deployments that synchronize the dag_folder from a remote source (Git/S3)
+* You have the ability to disable the plugin for production env (see conf section)
+
+### System Requirements
+
+* Airflow >= 1.10.2
+* Python 3.7+
+
+### Installation
+1. Install the plugin (pip install simple-dag-editor)
+2. Restart airflow instance
+3. Open Admin - Simple DAG editor
+
+### Optional configurations
+* [dag_editor] - disabled (Default - False)
+
+### Screenshots
+
+
+![Main editor screen](https://raw.githubusercontent.com/ohadmata/simple-dag-editor/main/screenshots/image1.png)
+![Save as modal](https://raw.githubusercontent.com/ohadmata/simple-dag-editor/main/screenshots/image2.png)
+![Save confirm](https://raw.githubusercontent.com/ohadmata/simple-dag-editor/main/screenshots/image3.png)
+
+
+
+
+
+%package help
+Summary: Development documents and examples for simple-dag-editor
+Provides: python3-simple-dag-editor-doc
+%description help
+# simple-dag-editor
+
+[![PyPI version](https://badge.fury.io/py/simple-dag-editor.svg)](https://badge.fury.io/py/simple-dag-editor)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/simple-dag-editor)](https://pypi.org/project/simple-dag-editor/)
+[![License](https://img.shields.io/:license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.txt)
+
+SimpleDagEditor is a zero configuration plugin for [Apache Airflow](https://github.com/apache/airflow).
+It provides a file managing interface that points to your dag_folder directory.
+With this plugin you will be able to delete, duplicate & edit you dags.
+
+### Use-cases
+* This plugin has been developed for a native deployment, where the Airflow webserver & scheduler are sharing the same dag_folder directory (as a mount).
+* The plugin is not designed for deployments that synchronize the dag_folder from a remote source (Git/S3)
+* You have the ability to disable the plugin for production env (see conf section)
+
+### System Requirements
+
+* Airflow >= 1.10.2
+* Python 3.7+
+
+### Installation
+1. Install the plugin (pip install simple-dag-editor)
+2. Restart airflow instance
+3. Open Admin - Simple DAG editor
+
+### Optional configurations
+* [dag_editor] - disabled (Default - False)
+
+### Screenshots
+
+
+![Main editor screen](https://raw.githubusercontent.com/ohadmata/simple-dag-editor/main/screenshots/image1.png)
+![Save as modal](https://raw.githubusercontent.com/ohadmata/simple-dag-editor/main/screenshots/image2.png)
+![Save confirm](https://raw.githubusercontent.com/ohadmata/simple-dag-editor/main/screenshots/image3.png)
+
+
+
+
+
+%prep
+%autosetup -n simple_dag_editor-0.1.1
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-simple-dag-editor -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f61402a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f613334e2b5e12cf29b7b98fc70a836c simple_dag_editor-0.1.1.tar.gz