{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/airflow/issues/1352","repository_url":"https://api.github.com/repos/airbnb/airflow","labels_url":"https://api.github.com/repos/airbnb/airflow/issues/1352/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/airflow/issues/1352/comments","events_url":"https://api.github.com/repos/airbnb/airflow/issues/1352/events","html_url":"https://github.com/airbnb/airflow/pull/1352","id":147698205,"number":1352,"title":"Add support for zipped dags","user":{"login":"bolkedebruin","id":4282712,"avatar_url":"https://avatars.githubusercontent.com/u/4282712?v=3","gravatar_id":"","url":"https://api.github.com/users/bolkedebruin","html_url":"https://github.com/bolkedebruin","followers_url":"https://api.github.com/users/bolkedebruin/followers","following_url":"https://api.github.com/users/bolkedebruin/following{/other_user}","gists_url":"https://api.github.com/users/bolkedebruin/gists{/gist_id}","starred_url":"https://api.github.com/users/bolkedebruin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bolkedebruin/subscriptions","organizations_url":"https://api.github.com/users/bolkedebruin/orgs","repos_url":"https://api.github.com/users/bolkedebruin/repos","events_url":"https://api.github.com/users/bolkedebruin/events{/privacy}","received_events_url":"https://api.github.com/users/bolkedebruin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-04-12T10:00:32Z","updated_at":"2016-04-14T07:19:15Z","closed_at":"2016-04-14T07:03:42Z","pull_request":{"url":"https://api.github.com/repos/airbnb/airflow/pulls/1352","html_url":"https://github.com/airbnb/airflow/pull/1352","diff_url":"https://github.com/airbnb/airflow/pull/1352.diff","patch_url":"https://github.com/airbnb/airflow/pull/1352.patch"},"body":"Currently dags are being read directly from the filesystem. Any\r\nhierarchy (python namespaces, modules) need to be reflected on\r\nthe filesystem. This makes it hard to manage dags and their\r\ndepedencies.\r\n\r\nThis patch adds support for dags in zip files. It will add\r\nthe zip to sys.path and then it will read the zip file and\r\ntry to import any files as modules that are in the root of\r\nthe zip.\r\n\r\nPlease note that any module contained within the zip will\r\noverwrite existing modules in the same namespace."},"comment":{"url":"https://api.github.com/repos/airbnb/airflow/issues/comments/209799626","html_url":"https://github.com/airbnb/airflow/pull/1352#issuecomment-209799626","issue_url":"https://api.github.com/repos/airbnb/airflow/issues/1352","id":209799626,"user":{"login":"landscape-bot","id":10010231,"avatar_url":"https://avatars.githubusercontent.com/u/10010231?v=3","gravatar_id":"","url":"https://api.github.com/users/landscape-bot","html_url":"https://github.com/landscape-bot","followers_url":"https://api.github.com/users/landscape-bot/followers","following_url":"https://api.github.com/users/landscape-bot/following{/other_user}","gists_url":"https://api.github.com/users/landscape-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/landscape-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landscape-bot/subscriptions","organizations_url":"https://api.github.com/users/landscape-bot/orgs","repos_url":"https://api.github.com/users/landscape-bot/repos","events_url":"https://api.github.com/users/landscape-bot/events{/privacy}","received_events_url":"https://api.github.com/users/landscape-bot/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T07:19:15Z","updated_at":"2016-04-14T07:19:15Z","body":"[![Code Health](https://landscape.io/badge/350303/landscape.svg?style=flat)](https://landscape.io/diff/324458)\nRepository health decreased by 0.10% when pulling **[b07dab2](https://github.com/bolkedebruin/airflow/commit/b07dab2953efa1bf849eef5bae1ea90dd2de5f76) on bolkedebruin:zip** into **[a8b533f](https://github.com/airbnb/airflow/commit/a8b533f12731648392c361af90a6d4f2b9309055) on airbnb:master**.\n\n * [6 new problems were found](https://landscape.io/diff/324458) (including 0 errors and 3 code smells).\n * [1 problem was fixed](https://landscape.io/diff/324458/fixed) (including 0 errors and 1 code smell)."}}