django upgrade review

Review Request #12434 - Created Jan. 30, 2018 and updated

Prakash Ranade
hue
master
hue
romain
commit 0ff74ec2192a6146ff7ebd57f1c54bb8e8a49fa9
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Mon Jan 8 11:50:40 2018 -0800

    To upgrade Django 1.11, following changes are needed:
    
    - Adding Context Processor change
    - replacing LocalTimezone with get_current_timezone
    - Fixing authentication issue
    - commenting out axes.middleware.FailedLoginMiddleware
    - adding reverse for filebrowser.views.view
    - Adding reverse url fixes
    - adding proper fix for authenticate method in desktop/auth/backend.py
    - adding name keyword argument repeated fix
    - Fixing reverse url name property
    - Adding fixes for authenticate, user.username, etc
    - Adding Reverse url name property
    - fixing reverse url and upgrading ipdb, ipython, pylint, astroid, isort, six
    - upgrading virtualenv
    - fixing order
    - fixing two things. 1>DateTimeField auto_now=True, 2>ImpersonationBackend authenticate is fixed
    - django_test_util create_model
    - reformating django_util.encode_json output
    - models.SubfieldBase is now depricated
    - south.modelsinspector is now depricated
    - reformating x.my_struct output
    - use use_natural_foreign_keys instead use_natural_keys -capture_output is boolean
    - Switching to Django based Pagination
    - Fixing response.context
    - fixing authenticate function
    - adding fix for oozie jobs
    - Fixing NoReverseMatch issue, request.POST.get
    - replacing request.POST[ to request.POST.get(
    - improving authenticate function

:100644 100644 65ecdb150d... 52c8cd5953... M	apps/beeswax/src/beeswax/api.py
:100644 100644 aaeed07a69... 530c48ee81... M	apps/beeswax/src/beeswax/models.py
:100644 100644 0617c35aa5... b8433e2645... M	apps/beeswax/src/beeswax/templates/beeswax_components.mako
:100644 100644 1cff36ea35... abc589a876... M	apps/beeswax/src/beeswax/templates/list_designs.mako
:100644 100644 e4fc37584d... 577231f036... M	apps/beeswax/src/beeswax/templates/list_history.mako
:100644 100644 66f651ebe5... 4ea724cc0a... M	apps/beeswax/src/beeswax/templates/my_queries.mako
:100644 100644 9918a9bf61... 2b42135377... M	apps/beeswax/src/beeswax/tests.py
:100644 100644 37f9c8f278... 2056142041... M	apps/beeswax/src/beeswax/views.py
:100644 100644 c1670002f3... addacbc9eb... M	apps/filebrowser/src/filebrowser/templates/display.mako
:100644 100644 2857301a96... ed8321410c... M	apps/filebrowser/src/filebrowser/templates/edit.mako
:100644 100644 76fac135c5... 35e8fda895... M	apps/filebrowser/src/filebrowser/templates/listdir_components.mako
:100644 100644 1f8c5d9e45... efb4c27203... M	apps/filebrowser/src/filebrowser/templates/saveas.mako
:100644 100644 db0cb1ba7b... eada0738b0... M	apps/filebrowser/src/filebrowser/urls.py
:100644 100644 a5da9fa802... 7ebe544c6d... M	apps/filebrowser/src/filebrowser/views.py
:100644 100644 63fd0ae21b... 0a81e68e3e... M	apps/filebrowser/src/filebrowser/views_test.py
:100644 100644 661ec29f18... 9980d93876... M	apps/help/src/help/urls.py
:100644 100644 de204a4ece... 1e0b96f912... M	apps/impala/src/impala/tests.py
:100644 100644 330e039fb5... 4aa0acfc43... M	apps/jobbrowser/src/jobbrowser/api.py
:100644 100644 1ba3238918... e4fe7c7840... M	apps/jobbrowser/src/jobbrowser/templates/attempt.mako
:100644 100644 e9fa15dcc1... 1845a6abf4... M	apps/jobbrowser/src/jobbrowser/templates/job.mako
:100644 100644 e0c71c5d76... d04c2bad89... M	apps/jobbrowser/src/jobbrowser/templates/job_attempt_logs.mako
:100644 100644 1bc2121f99... 67e33183c1... M	apps/jobbrowser/src/jobbrowser/templates/task.mako
:100644 100644 3a73f0df10... e9cf6a2d1f... M	apps/jobbrowser/src/jobbrowser/templates/tasks.mako
:100644 100644 b001c4248a... b5560a4c3c... M	apps/jobbrowser/src/jobbrowser/tests.py
:100644 100644 33a48a0b4c... 8bafb69512... M	apps/jobbrowser/src/jobbrowser/urls.py
:100644 100644 185b5b5e51... 53398393d4... M	apps/jobbrowser/src/jobbrowser/views.py
:100644 100644 90a7acfa06... 9e76ced33d... M	apps/jobsub/src/jobsub/static/jobsub/templates/designs.html
:100644 100644 9246fa7ed4... 99b64a6f5f... M	apps/jobsub/src/jobsub/tests.py
:100644 100644 71b95eb07f... b39660fab5... M	apps/jobsub/src/jobsub/urls.py
:100644 100644 f4386e578c... 9946a11950... M	apps/metastore/src/metastore/tests.py
:100644 100644 7d64a59e48... d7fe928dd6... M	apps/oozie/src/oozie/forms.py
:100644 100644 f6e6f439ff... 67fc7239b7... M	apps/oozie/src/oozie/models.py
:100644 100644 94740a3a7b... 55b88c6f57... M	apps/oozie/src/oozie/models2_tests.py
:100644 100644 7de74a393d... 7212cbdb11... M	apps/oozie/src/oozie/templates/editor/create_coordinator.mako
:100644 100644 82e094b585... 6dc03dbf87... M	apps/oozie/src/oozie/templates/editor/edit_coordinator.mako
:100644 100644 6d5f0c6fc7... acb83bc7f6... M	apps/oozie/src/oozie/templates/editor/gen/bundle.xml.mako
:100644 100644 d076b2d7e5... 1172494126... M	apps/oozie/src/oozie/templates/editor/import_coordinator.mako
:100644 100644 730491de48... 51dffe29a9... M	apps/oozie/src/oozie/tests.py
:100644 100644 1bfade9575... 6e7f546083... M	apps/oozie/src/oozie/views/dashboard.py
:100644 100644 7a4c7138aa... 10af42c8aa... M	apps/oozie/src/oozie/views/editor.py
:100644 100644 31e63e1db4... 9f8579dc29... M	apps/proxy/src/proxy/urls.py
:100644 100644 9d97dc194e... 19e2266d8d... M	apps/search/src/search/views.py
:100644 100644 f8d277c643... b7b3303455... M	apps/security/src/security/api/hive.py
:100644 100644 9b8bdd49dc... 32a23384a4... M	apps/security/src/security/api/sentry.py
:100644 100644 724abac236... 235eadaef7... M	apps/sqoop/src/sqoop/api/job.py
:100644 100644 60d617562d... 50b9abff79... M	apps/sqoop/src/sqoop/api/link.py
:100644 100644 cc6abb5e7d... 66df9a9e8d... M	apps/useradmin/src/useradmin/models.py
:100644 100644 f810cf486c... 528923c2cd... M	apps/useradmin/src/useradmin/test_ldap.py
:100644 100644 a768110773... 56a3d5eee4... M	apps/useradmin/src/useradmin/test_ldap_deprecated.py
:100644 100644 011c7ca542... eff6a17ba1... M	apps/useradmin/src/useradmin/tests.py
:100644 100644 d877136c02... ed08188997... M	apps/useradmin/src/useradmin/urls.py
:000000 100644 0000000000... d689a90dca... A	desktop/core/ext-py/Django-1.11/django/template/context.py
:100644 100644 785c077e15... 2884c508cf... M	desktop/core/src/desktop/api.py
:100644 100644 90e425796e... 0d55fe7753... M	desktop/core/src/desktop/api2.py
:100644 100644 43ff70812a... 16bd8cb81a... M	desktop/core/src/desktop/api_tests.py
:100644 100644 25ecd2534d... 7e6682d62f... M	desktop/core/src/desktop/auth/backend.py
:100644 100644 f76875b060... 3307fac927... M	desktop/core/src/desktop/auth/forms.py
:100644 100644 ffd4878099... a56be45d88... M	desktop/core/src/desktop/auth/views.py
:100644 100644 527016d807... 990f5ee400... M	desktop/core/src/desktop/auth/views_test.py
:100644 100644 34d1f61741... 52f6bfa507... M	desktop/core/src/desktop/converter_tests.py
:100644 100644 6cdc50d63a... a10199e7fe... M	desktop/core/src/desktop/lib/django_forms.py
:100644 100644 70cab1c685... ec6ca25f1e... M	desktop/core/src/desktop/lib/django_test_util.py
:100644 100644 13fd13c1d2... d7b8fa8317... M	desktop/core/src/desktop/lib/django_util.py
:100644 100644 aed91cd3c3... 49dd0f79e3... M	desktop/core/src/desktop/lib/django_util_test.py
:100644 100644 6c7e367439... 78ced36287... M	desktop/core/src/desktop/lib/djangothrift.py
:100644 100644 2a2eb94fc0... 72128abc7e... M	desktop/core/src/desktop/lib/djangothrift_test.py
:100644 100644 e039980de6... 4afda06930... M	desktop/core/src/desktop/lib/metrics/urls.py
:100644 100644 d7a3b11094... 627794ec6c... M	desktop/core/src/desktop/middleware_test.py
:100644 100644 c607a40690... d39ad3907b... M	desktop/core/src/desktop/require_login_test.py
:100644 100644 ae342edf43... 443c360f6f... M	desktop/core/src/desktop/settings.py
:100644 100644 9a4c60377c... 65acf41358... M	desktop/core/src/desktop/templates/common_tree.mako
:100644 100644 fa032d4bc5... 8b248413ee... M	desktop/core/src/desktop/tests.py
:100644 100644 e3503899d8... fe43d0c32b... M	desktop/core/src/desktop/urls.py
:100644 100644 e17b2f68dc... df5d3e598d... M	desktop/core/src/desktop/views.py
:100644 100644 b755fec0f8... fb262dc343... M	desktop/devtools.mk
:100644 100644 0e0b8fef34... c953ed49a1... M	desktop/libs/dashboard/src/dashboard/api.py
:100644 100644 356afe37f2... bdb78622e3... M	desktop/libs/dashboard/src/dashboard/tests.py
:100644 100644 64b451fcbc... e620addf8f... M	desktop/libs/hadoop/src/hadoop/fs/fs_for_testing.py
:100644 100644 015344990f... 61ae07aa10... M	desktop/libs/indexer/src/indexer/views.py
:100644 100644 58a0d6a646... 03497c66e1... M	desktop/libs/liboozie/src/liboozie/utils.py
:100755 100755 e6c7576061... 1024099783... M	tools/jenkins/jenkins.sh
:100644 100755 b10945e734... 42cd1f4b01... M	tools/virtual-bootstrap/virtual-bootstrap.py
:000000 100644 0000000000... dfef51d448... A	tools/virtual-bootstrap/virtualenv_support/argparse-1.4.0-py2.py3-none-any.whl
:100644 000000 be9238d94c... 0000000000... D	tools/virtual-bootstrap/virtualenv_support/pip-6.0.8-py2.py3-none-any.whl
:000000 100644 0000000000... 4b8ecc69db... A	tools/virtual-bootstrap/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl
:100644 000000 978cf6c434... 0000000000... D	tools/virtual-bootstrap/virtualenv_support/setuptools-12.0.5-py2.py3-none-any.whl
:000000 100644 0000000000... 502e3cb418... A	tools/virtual-bootstrap/virtualenv_support/setuptools-28.8.0-py2.py3-none-any.whl
:000000 100644 0000000000... 506d5e520f... A	tools/virtual-bootstrap/virtualenv_support/wheel-0.29.0-py2.py3-none-any.whl

commit 0149d4920d932ad9f438151853a1278690d50843
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Fri Jan 5 13:51:18 2018 -0800

    To upgrade Django 1.10, following changes are needed:
    
    - django.conf.urls.patterns are deprecated.
    - fixing django.core.urlresolvers
    - Adding name argument in "urls.py"
    - static file processing.
    - Fixing Django Template context processor.
    - Fixing name property in reverse url access
    - Renaming password_policy to hue_password_policy
    - Renaming get_password_validators to hue_get_password_validators
    - Adding debug messages for app based urls.py
    - Adding reverse url fix
    - upgrading devtools to latest version
    - Adding astroid[1.5.3] python module to devtools
    - fixing enum issue for latest Enum python package
    - fixing django management commands, test_runners and test_windmill

:100644 100644 b44bc8013b... 9f34a8b4ae... M	apps/about/src/about/templates/admin_wizard.mako
:100644 100644 fc9b5f6adf... e44aa42736... M	apps/about/src/about/tests.py
:100644 100644 1e4bf4ac6f... a892a52ac4... M	apps/about/src/about/urls.py
:100644 100644 b7732576f1... 65ecdb150d... M	apps/beeswax/src/beeswax/api.py
:100644 100644 431a2d50bf... 92c14f8470... M	apps/beeswax/src/beeswax/create_database.py
:100644 100644 d77841e816... a0ff0f2407... M	apps/beeswax/src/beeswax/create_table.py
:100644 100644 a78c8fc8ce... aaeed07a69... M	apps/beeswax/src/beeswax/models.py
:100644 100644 1b7d79aba4... 020fb0ac8c... M	apps/beeswax/src/beeswax/server/dbms.py
:100644 100644 4a990b7e0a... 8c044972de... M	apps/beeswax/src/beeswax/test_base.py
:100644 100644 57717a629a... 9918a9bf61... M	apps/beeswax/src/beeswax/tests.py
:100644 100644 c2455ac41d... 1c59eae7d6... M	apps/beeswax/src/beeswax/urls.py
:100644 100644 4e9ab668cc... 37f9c8f278... M	apps/beeswax/src/beeswax/views.py
:100644 100644 bedfd45263... db0cb1ba7b... M	apps/filebrowser/src/filebrowser/urls.py
:100644 100644 c53672f79b... a5da9fa802... M	apps/filebrowser/src/filebrowser/views.py
:100644 100644 d0db9a3457... 63fd0ae21b... M	apps/filebrowser/src/filebrowser/views_test.py
:100644 100644 756d1c7ea0... 89bc5f8c11... M	apps/hbase/src/hbase/tests.py
:100644 100644 25375aad23... 344197f0d3... M	apps/hbase/src/hbase/urls.py
:100644 100644 9762437d97... 661ec29f18... M	apps/help/src/help/urls.py
:100644 100644 92849b349c... de204a4ece... M	apps/impala/src/impala/tests.py
:100644 100644 d4b65c51f4... 0cd75dca9b... M	apps/impala/src/impala/urls.py
:100644 100644 cde35a4e76... 9df46ecb81... M	apps/jobbrowser/src/jobbrowser/models.py
:100644 100644 ffd6ccf902... b001c4248a... M	apps/jobbrowser/src/jobbrowser/tests.py
:100644 100644 bb7b889afb... 33a48a0b4c... M	apps/jobbrowser/src/jobbrowser/urls.py
:100644 100644 f4f2da7b68... 185b5b5e51... M	apps/jobbrowser/src/jobbrowser/views.py
:100644 100644 dc59dd409b... 9246fa7ed4... M	apps/jobsub/src/jobsub/tests.py
:100644 100644 2229531e49... 71b95eb07f... M	apps/jobsub/src/jobsub/urls.py
:100644 100644 2d9632e86b... f4386e578c... M	apps/metastore/src/metastore/tests.py
:100644 100644 243598d8f2... 1e9655a5a8... M	apps/metastore/src/metastore/urls.py
:100644 100644 262e9e1d95... 68c651e642... M	apps/metastore/src/metastore/views.py
:100644 100644 6847bb25eb... b81cc35431... M	apps/oozie/src/oozie/management/commands/oozie_setup.py
:100644 100644 13c4b10eae... f6e6f439ff... M	apps/oozie/src/oozie/models.py
:100644 100644 562ec162d5... 897c40b5a0... M	apps/oozie/src/oozie/models2.py
:100644 100644 d800fd8f95... 94740a3a7b... M	apps/oozie/src/oozie/models2_tests.py
:100644 100644 e17f3a8315... 730491de48... M	apps/oozie/src/oozie/tests.py
:100644 100644 cb7ea12d91... 33d4eaafb2... M	apps/oozie/src/oozie/urls.py
:100644 100644 c96a234041... 1bfade9575... M	apps/oozie/src/oozie/views/dashboard.py
:100644 100644 f955e084ec... 7a4c7138aa... M	apps/oozie/src/oozie/views/editor.py
:100644 100644 f84c96f2ac... 43c0c85a7f... M	apps/oozie/src/oozie/views/editor2.py
:100644 100644 e47c5f0338... 331948101d... M	apps/pig/src/pig/api.py
:100644 100644 88d220425c... f68af1b89c... M	apps/pig/src/pig/management/commands/pig_setup.py
:100644 100644 b3761c70d5... 84f2f9fca4... M	apps/pig/src/pig/models.py
:100644 100644 b678ccb539... f1cc99281e... M	apps/pig/src/pig/tests.py
:100644 100644 b43f7d1f5e... 12ebc60252... M	apps/pig/src/pig/urls.py
:100644 100644 e45e54bd49... 53d7e141b4... M	apps/pig/src/pig/views.py
:100644 100644 c32cd95678... 31e63e1db4... M	apps/proxy/src/proxy/urls.py
:100644 100644 edca37e9a0... 021a2424bf... M	apps/rdbms/src/rdbms/tests.py
:100644 100644 522156d4d1... e961ff29ee... M	apps/rdbms/src/rdbms/urls.py
:100644 100644 85cd005ecc... f3d18d3483... M	apps/rdbms/src/rdbms/views.py
:100644 100644 8b8c036099... 53905c9b64... M	apps/search/src/search/management/commands/search_setup.py
:100644 100644 0bd2dc21bc... c336236397... M	apps/search/src/search/models.py
:100644 100644 19d0c1056e... 73c43e1a24... M	apps/search/src/search/tests.py
:100644 100644 090222f2f8... 82f101a951... M	apps/search/src/search/urls.py
:100644 100644 bf53459098... bc76abb82a... M	apps/security/src/security/api/test_hive.py
:100644 100644 2357c98b49... c6cc1f2b3d... M	apps/security/src/security/tests.py
:100644 100644 7c09bec8cc... 227bca586f... M	apps/security/src/security/urls.py
:100644 100644 cc2a47d347... d3b52cf882... M	apps/spark/src/spark/urls.py
:100644 100644 b8ec48cea4... dc212d1ad4... M	apps/sqoop/src/sqoop/templates/app.mako
:100644 100644 ef9dd0044b... 7e685a5bb0... M	apps/sqoop/src/sqoop/tests.py
:100644 100644 12e14f1eaa... 36b8c62abc... M	apps/sqoop/src/sqoop/urls.py
:100644 100644 b0ba1e9c89... 935885489d... M	apps/useradmin/src/useradmin/forms.py
:100644 100644 145df474e1... 755b28f3f2... R098	apps/useradmin/src/useradmin/password_policy.py	apps/useradmin/src/useradmin/hue_password_policy.py
:100644 100644 5ac7fb37cb... cc6abb5e7d... M	apps/useradmin/src/useradmin/models.py
:100644 100644 5f82d8af4a... 3d503e2fcd... M	apps/useradmin/src/useradmin/templates/change_password.mako
:100644 100644 b50776bb17... f15f76e0c7... M	apps/useradmin/src/useradmin/templates/edit_user.mako
:100644 100644 1f4b4bd0da... f810cf486c... M	apps/useradmin/src/useradmin/test_ldap.py
:100644 100644 f86d81ffa6... a768110773... M	apps/useradmin/src/useradmin/test_ldap_deprecated.py
:100644 100644 153d61ea78... 011c7ca542... M	apps/useradmin/src/useradmin/tests.py
:100644 100644 60c2d68b5d... d877136c02... M	apps/useradmin/src/useradmin/urls.py
:100644 100644 df8fd336c8... 9511257a65... M	apps/useradmin/src/useradmin/views.py
:100644 100644 6dcf6ffacb... 51335f3c62... M	apps/zookeeper/src/zookeeper/urls.py
:100644 100644 3343a8dacc... f24d9f7fcd... M	apps/zookeeper/src/zookeeper/views.py
:000000 100644 0000000000... 7be5871074... A	desktop/core/ext-py/Django-1.10/django/template/context.py
:000000 100644 0000000000... 665feab8cf... A	desktop/core/ext-py/django-axes-2.2.0/axes/tests.py
:000000 100644 0000000000... f6accffbff... A	desktop/core/ext-py/django-extensions-1.8.0/django_extensions/admin/widgets.py
:000000 100644 0000000000... ec664b8364... A	desktop/core/ext-py/django-extensions-1.8.0/django_extensions/management/commands/show_urls.py
:100644 100644 a5d3304f0f... 88c12bce2b... M	desktop/core/ext-py/django-openid-auth-0.5/django_openid_auth/management/commands/openid_cleanup.py
:100644 100644 8585960f2c... c7c8086d44... M	desktop/core/ext-py/django-openid-auth-0.5/django_openid_auth/views.py
:100644 100644 fcff9e8341... 399704a17c... M	desktop/core/ext-py/djangomako-1.0.1/djangomako/backends.py
:100644 100644 2da85834a6... cfbd337ef8... M	desktop/core/ext-py/python-openid-2.2.5/examples/djopenid/util.py
:100644 100644 0d28243f3c... 83f03884c9... M	desktop/core/src/desktop/app_template/src/app_name/urls.py
:100644 100644 0d28243f3c... 4bb1e76433... M	desktop/core/src/desktop/app_template_proxy/src/app_name/urls.py
:100644 100644 d39cdbc33b... f76875b060... M	desktop/core/src/desktop/auth/forms.py
:100644 100644 801672be6b... ffd4878099... M	desktop/core/src/desktop/auth/views.py
:100644 100644 10f2f317e1... 982ea35b7b... M	desktop/core/src/desktop/lib/django_mako.py
:100644 100644 c458dea586... 13fd13c1d2... M	desktop/core/src/desktop/lib/django_util.py
:100644 100644 0ecbd9368b... da8da1fbb8... M	desktop/core/src/desktop/lib/tasks/compress_files/compress_utils.py
:100644 100644 0b1fd3ff5e... fee054b3df... M	desktop/core/src/desktop/lib/tasks/extract_archive/extract_utils.py
:100644 100644 edb07a0ae7... a8d47b496d... M	desktop/core/src/desktop/lib/test_runners.py
:100644 100644 f2bf2fe76d... f560002a12... M	desktop/core/src/desktop/management/commands/config_dump.py
:100644 100644 282de45fdc... 872ec42fe6... M	desktop/core/src/desktop/management/commands/config_help.py
:100644 100644 cfcca48d59... 333c7b87a3... M	desktop/core/src/desktop/management/commands/convert_documents.py
:100644 100644 41c64e7336... 68a866ab37... M	desktop/core/src/desktop/management/commands/create_test_fs.py
:100644 100644 c9f3e28790... 9106bb15cb... M	desktop/core/src/desktop/management/commands/generate_mdl.py
:100644 100644 8ea7927b56... 4add555859... M	desktop/core/src/desktop/management/commands/is_db_alive.py
:100644 100644 56c69fd3a0... c03762618f... M	desktop/core/src/desktop/management/commands/kt_renewer.py
:100644 100644 3ef77273b2... 21a1565a69... M	desktop/core/src/desktop/management/commands/ldaptest.py
:100644 100644 175ff57511... 25348f5b18... M	desktop/core/src/desktop/management/commands/sync_documents.py
:100644 100644 b67c1c49b5... 892b88ebba... M	desktop/core/src/desktop/management/commands/test_windmill.py
:100644 100644 fcd22013a8... 2c3bad7735... M	desktop/core/src/desktop/management/commands/version.py
:100644 100644 7874c0857c... 95b5ffb751... M	desktop/core/src/desktop/middleware.py
:100644 100644 a107479f13... 026b68f0c1... M	desktop/core/src/desktop/models.py
:100644 100644 0e9fad3940... 4bf3226d9e... M	desktop/core/src/desktop/templates/common_header.mako
:100644 100644 9cbfc644ef... e9d01538c6... M	desktop/core/src/desktop/templates/common_header_footer_components.mako
:100644 100644 1517248a9c... 399bd54fc1... M	desktop/core/src/desktop/templates/common_header_m.mako
:100644 100644 1257e9c40c... 6b928fadf3... M	desktop/core/src/desktop/templates/common_home.mako
:100644 100644 cf6e72911f... c72e10aa0d... M	desktop/core/src/desktop/templates/home.mako
:100644 100644 084e33d57d... 56cb431635... M	desktop/core/src/desktop/templates/login.mako
:100644 100644 21fbd3f373... 470605b9ba... M	desktop/core/src/desktop/templates/login_modal.mako
:100644 100644 6052a4ae93... fa032d4bc5... M	desktop/core/src/desktop/tests.py
:100644 100644 182bce2cf7... e3503899d8... M	desktop/core/src/desktop/urls.py
:100644 100644 89c055ef75... e17b2f68dc... M	desktop/core/src/desktop/views.py
:100644 100644 4898af9677... b755fec0f8... M	desktop/devtools.mk
:100644 100644 8470cc02a9... f2ff2353ee... M	desktop/libs/dashboard/src/dashboard/models.py
:100644 100644 7dbe808570... 356afe37f2... M	desktop/libs/dashboard/src/dashboard/tests.py
:100644 100644 28513ee9a0... 796a97960d... M	desktop/libs/dashboard/src/dashboard/urls.py
:100644 100644 c27f397912... f985fe9e0c... M	desktop/libs/dashboard/src/dashboard/views.py
:100644 100644 6e7fd16ee3... 554b870757... M	desktop/libs/indexer/src/indexer/api3.py
:100644 100644 1ebe30bf5c... cf861102d6... M	desktop/libs/indexer/src/indexer/indexers/morphline.py
:100644 100644 2e62cad85f... f8bdfa9985... M	desktop/libs/indexer/src/indexer/indexers/rdbms.py
:100644 100644 945b53f556... df0bb34745... M	desktop/libs/indexer/src/indexer/indexers/sql.py
:100644 100644 2c54a11af4... 6960182dc1... M	desktop/libs/indexer/src/indexer/solr_client_tests.py
:100644 100644 7f012d9aa2... d675bda38d... M	desktop/libs/indexer/src/indexer/tests.py
:100644 100644 57cdb120e7... 796a8f5694... M	desktop/libs/indexer/src/indexer/urls.py
:100644 100644 634a26f879... 761e8965d4... M	desktop/libs/liboauth/src/liboauth/urls.py
:100644 100644 48a91482d4... 054beb3a5d... M	desktop/libs/liboozie/src/liboozie/types.py
:100644 100644 2f93435757... ca6afb6781... M	desktop/libs/libopenid/src/libopenid/urls.py
:100644 100644 6a548db0b4... db285e946f... M	desktop/libs/libsaml/src/libsaml/urls.py
:100644 100644 7b267f4c0b... 24c6e15aab... M	desktop/libs/libsolr/src/libsolr/tests.py
:100644 100644 14d9c7ae2e... 886b242391... M	desktop/libs/metadata/src/metadata/navigator_tests.py
:100644 100644 0c157277dd... b69cae6e9b... M	desktop/libs/metadata/src/metadata/urls.py
:100644 100644 a138060f9a... b45c15917e... M	desktop/libs/notebook/src/notebook/api.py
:100644 100644 8face3b327... 230cbc04fb... M	desktop/libs/notebook/src/notebook/connectors/dataeng.py
:100644 100644 89fa8f61ab... a97c5a9354... M	desktop/libs/notebook/src/notebook/connectors/hbase.py
:100644 100644 17746ac2ee... aa6ee5de27... M	desktop/libs/notebook/src/notebook/connectors/hiveserver2.py
:100644 100644 162eaf0395... 5100a69906... M	desktop/libs/notebook/src/notebook/connectors/oozie_batch.py
:100644 100644 0363668b0f... 361a618524... M	desktop/libs/notebook/src/notebook/connectors/tests/tests_hiveserver2.py
:100644 100644 1eb7f7e424... 9a11523cf7... M	desktop/libs/notebook/src/notebook/management/commands/dbproxy_server.py
:100644 100644 bf3a96d1e4... 321b03fe30... M	desktop/libs/notebook/src/notebook/tests.py
:100644 100644 09cbc6c87a... 26dbd80c20... M	desktop/libs/notebook/src/notebook/urls.py
:100644 100644 8b766c6b47... 04a25637c4... M	desktop/libs/notebook/src/notebook/views.py

commit 0d2b9de9e4c7111fcde2d5c1724516dc6a44b9c0
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Fri Jan 12 16:58:22 2018 -0800

    This change actually fixes Django migrations. In the Makefile, at this place Hue's APPS are not available, commenting out django makemigrations command

:100644 100644 8367269d14... f24cb683d3... M	desktop/Makefile

commit 1af6c2deb0ecd278c3358a17f575b20cd104e7a2
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Fri Jan 12 15:56:40 2018 -0800

    Adding initial Django migrations directory

:000000 100644 0000000000... e69de29bb2... A	apps/beeswax/src/beeswax/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	apps/hbase/src/hbase/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	apps/jobsub/src/jobsub/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	apps/oozie/src/oozie/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	apps/pig/src/pig/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	apps/search/src/search/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	apps/security/src/security/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	apps/spark/src/spark/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	apps/sqoop/src/sqoop/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	apps/useradmin/src/useradmin/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	desktop/core/src/desktop/migrations/__init__.py
:000000 100644 0000000000... e69de29bb2... A	desktop/libs/notebook/src/notebook/migrations/__init__.py

commit d1f9eb3b5618aecaa716e03729d523f411582b9e
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Fri Dec 22 14:46:27 2017 -0800

    Moving migrations to old_migrations
    
    (cherry picked from commit 65ac7550161ef34b56132db7350571364c86747e)

:100644 100644 0a42ea2cec... 0a42ea2cec... R100	apps/beeswax/src/beeswax/migrations/0001_initial.py	apps/beeswax/src/beeswax/old_migrations/0001_initial.py
:100644 100644 1a39cd0d03... 1a39cd0d03... R100	apps/beeswax/src/beeswax/migrations/0002_auto__add_field_queryhistory_notify.py	apps/beeswax/src/beeswax/old_migrations/0002_auto__add_field_queryhistory_notify.py
:100644 100644 94969e7aad... 94969e7aad... R100	apps/beeswax/src/beeswax/migrations/0003_auto__add_field_queryhistory_server_name__add_field_queryhistory_serve.py	apps/beeswax/src/beeswax/old_migrations/0003_auto__add_field_queryhistory_server_name__add_field_queryhistory_serve.py
:100644 100644 4a4332c326... 4a4332c326... R100	apps/beeswax/src/beeswax/migrations/0004_auto__add_session__add_field_queryhistory_server_type__add_field_query.py	apps/beeswax/src/beeswax/old_migrations/0004_auto__add_session__add_field_queryhistory_server_type__add_field_query.py
:100644 100644 9d506f1fdc... 9d506f1fdc... R100	apps/beeswax/src/beeswax/migrations/0005_auto__add_field_queryhistory_statement_number.py	apps/beeswax/src/beeswax/old_migrations/0005_auto__add_field_queryhistory_statement_number.py
:100644 100644 8a59893494... 8a59893494... R100	apps/beeswax/src/beeswax/migrations/0006_auto__add_field_session_application.py	apps/beeswax/src/beeswax/old_migrations/0006_auto__add_field_session_application.py
:100644 100644 7a3cf9347f... 7a3cf9347f... R100	apps/beeswax/src/beeswax/migrations/0007_auto__add_field_savedquery_is_trashed.py	apps/beeswax/src/beeswax/old_migrations/0007_auto__add_field_savedquery_is_trashed.py
:100644 100644 a8a5b72f53... a8a5b72f53... R100	apps/beeswax/src/beeswax/migrations/0008_auto__add_field_queryhistory_query_type.py	apps/beeswax/src/beeswax/old_migrations/0008_auto__add_field_queryhistory_query_type.py
:100644 100644 0f4e56e8b1... 0f4e56e8b1... R100	apps/beeswax/src/beeswax/migrations/0009_auto__add_field_savedquery_is_redacted__add_field_queryhistory_is_reda.py	apps/beeswax/src/beeswax/old_migrations/0009_auto__add_field_savedquery_is_redacted__add_field_queryhistory_is_reda.py
:100644 100644 cd65937239... cd65937239... R100	apps/beeswax/src/beeswax/migrations/0009_auto__chg_field_queryhistory_server_port.py	apps/beeswax/src/beeswax/old_migrations/0009_auto__chg_field_queryhistory_server_port.py
:100644 100644 9515dd8c7d... 9515dd8c7d... R100	apps/beeswax/src/beeswax/migrations/0010_merge_database_state.py	apps/beeswax/src/beeswax/old_migrations/0010_merge_database_state.py
:100644 100644 c4fbaace13... c4fbaace13... R100	apps/beeswax/src/beeswax/migrations/0011_auto__chg_field_savedquery_name.py	apps/beeswax/src/beeswax/old_migrations/0011_auto__chg_field_savedquery_name.py
:100644 100644 ed9c7e7d2c... ed9c7e7d2c... R100	apps/beeswax/src/beeswax/migrations/0012_auto__add_field_queryhistory_extra.py	apps/beeswax/src/beeswax/old_migrations/0012_auto__add_field_queryhistory_extra.py
:100644 100644 315747e0ff... 315747e0ff... R100	apps/beeswax/src/beeswax/migrations/0013_auto__add_field_session_properties.py	apps/beeswax/src/beeswax/old_migrations/0013_auto__add_field_session_properties.py
:100644 100644 58ea9e7233... 58ea9e7233... R100	apps/beeswax/src/beeswax/migrations/0014_auto__add_field_queryhistory_is_cleared.py	apps/beeswax/src/beeswax/old_migrations/0014_auto__add_field_queryhistory_is_cleared.py
:100644 100644 e69de29bb2... e69de29bb2... R100	apps/beeswax/src/beeswax/migrations/__init__.py	apps/beeswax/src/beeswax/old_migrations/__init__.py
:100644 100644 0c44de8c0c... 0c44de8c0c... R100	apps/hbase/src/hbase/migrations/0001_initial.py	apps/hbase/src/hbase/old_migrations/0001_initial.py
:100644 100644 e69de29bb2... e69de29bb2... R100	apps/hbase/src/hbase/migrations/__init__.py	apps/hbase/src/hbase/old_migrations/__init__.py
:100644 100644 c9b22beb09... c9b22beb09... R100	apps/jobsub/src/jobsub/migrations/0001_initial.py	apps/jobsub/src/jobsub/old_migrations/0001_initial.py
:100644 100644 4a939a1f20... 4a939a1f20... R100	apps/jobsub/src/jobsub/migrations/0002_auto__add_ooziestreamingaction__add_oozieaction__add_oozieworkflow__ad.py	apps/jobsub/src/jobsub/old_migrations/0002_auto__add_ooziestreamingaction__add_oozieaction__add_oozieworkflow__ad.py
:100644 100644 1e556335cb... 1e556335cb... R100	apps/jobsub/src/jobsub/migrations/0003_convertCharFieldtoTextField.py	apps/jobsub/src/jobsub/old_migrations/0003_convertCharFieldtoTextField.py
:100644 100644 58d9ca204d... 58d9ca204d... R100	apps/jobsub/src/jobsub/migrations/0004_hue1_to_hue2.py	apps/jobsub/src/jobsub/old_migrations/0004_hue1_to_hue2.py
:100644 100644 d656af048f... d656af048f... R100	apps/jobsub/src/jobsub/migrations/0005_unify_with_oozie.py	apps/jobsub/src/jobsub/old_migrations/0005_unify_with_oozie.py
:100644 100644 8a9bcabd52... 8a9bcabd52... R100	apps/jobsub/src/jobsub/migrations/0006_chg_varchars_to_textfields.py	apps/jobsub/src/jobsub/old_migrations/0006_chg_varchars_to_textfields.py
:100644 100644 e69de29bb2... e69de29bb2... R100	apps/jobsub/src/jobsub/migrations/__init__.py	apps/jobsub/src/jobsub/old_migrations/__init__.py
:100644 100644 9df8fa151c... 9df8fa151c... R100	apps/oozie/src/oozie/migrations/0001_initial.py	apps/oozie/src/oozie/old_migrations/0001_initial.py
:100644 100644 7faf217c56... 7faf217c56... R100	apps/oozie/src/oozie/migrations/0002_auto__add_hive.py	apps/oozie/src/oozie/old_migrations/0002_auto__add_hive.py
:100644 100644 90ad635603... 90ad635603... R100	apps/oozie/src/oozie/migrations/0003_auto__add_sqoop.py	apps/oozie/src/oozie/old_migrations/0003_auto__add_sqoop.py
:100644 100644 740d9bc0c0... 740d9bc0c0... R100	apps/oozie/src/oozie/migrations/0004_auto__add_ssh.py	apps/oozie/src/oozie/old_migrations/0004_auto__add_ssh.py
:100644 100644 e683454e61... e683454e61... R100	apps/oozie/src/oozie/migrations/0005_auto__add_shell.py	apps/oozie/src/oozie/old_migrations/0005_auto__add_shell.py
:100644 100644 f19eac5d24... f19eac5d24... R100	apps/oozie/src/oozie/migrations/0006_auto__chg_field_java_files__chg_field_java_archives__chg_field_sqoop_f.py	apps/oozie/src/oozie/old_migrations/0006_auto__chg_field_java_files__chg_field_java_archives__chg_field_sqoop_f.py
:100644 100644 54ca9cdd28... 54ca9cdd28... R100	apps/oozie/src/oozie/migrations/0007_auto__chg_field_sqoop_script_path.py	apps/oozie/src/oozie/old_migrations/0007_auto__chg_field_sqoop_script_path.py
:100644 100644 4ae63e4792... 4ae63e4792... R100	apps/oozie/src/oozie/migrations/0008_auto__add_distcp.py	apps/oozie/src/oozie/old_migrations/0008_auto__add_distcp.py
:100644 100644 2901f53e3a... 2901f53e3a... R100	apps/oozie/src/oozie/migrations/0009_auto__add_decision.py	apps/oozie/src/oozie/old_migrations/0009_auto__add_decision.py
:100644 100644 be05e1cc0c... be05e1cc0c... R100	apps/oozie/src/oozie/migrations/0010_auto__add_fs.py	apps/oozie/src/oozie/old_migrations/0010_auto__add_fs.py
:100644 100644 69c460082e... 69c460082e... R100	apps/oozie/src/oozie/migrations/0011_auto__add_email.py	apps/oozie/src/oozie/old_migrations/0011_auto__add_email.py
:100644 100644 7e70725bad... 7e70725bad... R100	apps/oozie/src/oozie/migrations/0012_auto__add_subworkflow__chg_field_email_subject__chg_field_email_body.py	apps/oozie/src/oozie/old_migrations/0012_auto__add_subworkflow__chg_field_email_subject__chg_field_email_body.py
:100644 100644 b201922d67... b201922d67... R100	apps/oozie/src/oozie/migrations/0013_auto__add_generic.py	apps/oozie/src/oozie/old_migrations/0013_auto__add_generic.py
:100644 100644 225ae03720... 225ae03720... R100	apps/oozie/src/oozie/migrations/0014_auto__add_decisionend.py	apps/oozie/src/oozie/old_migrations/0014_auto__add_decisionend.py
:100644 100644 c7f6439319... c7f6439319... R100	apps/oozie/src/oozie/migrations/0015_auto__add_field_dataset_advanced_start_instance__add_field_dataset_ins.py	apps/oozie/src/oozie/old_migrations/0015_auto__add_field_dataset_advanced_start_instance__add_field_dataset_ins.py
:100644 100644 f27e069852... f27e069852... R100	apps/oozie/src/oozie/migrations/0016_auto__add_field_coordinator_job_properties.py	apps/oozie/src/oozie/old_migrations/0016_auto__add_field_coordinator_job_properties.py
:100644 100644 344c92ece3... 344c92ece3... R100	apps/oozie/src/oozie/migrations/0017_auto__add_bundledcoordinator__add_bundle.py	apps/oozie/src/oozie/old_migrations/0017_auto__add_bundledcoordinator__add_bundle.py
:100644 100644 4fd7a70200... 4fd7a70200... R100	apps/oozie/src/oozie/migrations/0018_auto__add_field_workflow_managed.py	apps/oozie/src/oozie/old_migrations/0018_auto__add_field_workflow_managed.py
:100644 100644 88f80c77e6... 88f80c77e6... R100	apps/oozie/src/oozie/migrations/0019_auto__add_field_java_capture_output.py	apps/oozie/src/oozie/old_migrations/0019_auto__add_field_java_capture_output.py
:100644 100644 7ccb82f686... 7ccb82f686... R100	apps/oozie/src/oozie/migrations/0020_chg_large_varchars_to_textfields.py	apps/oozie/src/oozie/old_migrations/0020_chg_large_varchars_to_textfields.py
:100644 100644 b1ac9a4a02... b1ac9a4a02... R100	apps/oozie/src/oozie/migrations/0021_auto__chg_field_java_args__add_field_job_is_trashed.py	apps/oozie/src/oozie/old_migrations/0021_auto__chg_field_java_args__add_field_job_is_trashed.py
:100644 100644 72c3d18ab7... 72c3d18ab7... R100	apps/oozie/src/oozie/migrations/0022_auto__chg_field_mapreduce_node_ptr__chg_field_start_node_ptr.py	apps/oozie/src/oozie/old_migrations/0022_auto__chg_field_mapreduce_node_ptr__chg_field_start_node_ptr.py
:100644 100644 59530a2bb3... 59530a2bb3... R100	apps/oozie/src/oozie/migrations/0022_change_examples_path_format.py	apps/oozie/src/oozie/old_migrations/0022_change_examples_path_format.py
:100644 100644 234d1c611a... 234d1c611a... R100	apps/oozie/src/oozie/migrations/0023_auto__add_field_node_data__add_field_job_data.py	apps/oozie/src/oozie/old_migrations/0023_auto__add_field_node_data__add_field_job_data.py
:100644 100644 2ce84d54cc... 2ce84d54cc... R100	apps/oozie/src/oozie/migrations/0024_auto__chg_field_subworkflow_sub_workflow.py	apps/oozie/src/oozie/old_migrations/0024_auto__chg_field_subworkflow_sub_workflow.py
:100644 100644 e83e5c2a5a... e83e5c2a5a... R100	apps/oozie/src/oozie/migrations/0025_change_examples_path_format.py	apps/oozie/src/oozie/old_migrations/0025_change_examples_path_format.py
:100644 100644 0a1bd32ba1... 0a1bd32ba1... R100	apps/oozie/src/oozie/migrations/0026_set_default_data_values.py	apps/oozie/src/oozie/old_migrations/0026_set_default_data_values.py
:100644 100644 76730f7429... 76730f7429... R100	apps/oozie/src/oozie/migrations/0027_auto__chg_field_node_name__chg_field_job_name.py	apps/oozie/src/oozie/old_migrations/0027_auto__chg_field_node_name__chg_field_job_name.py
:100644 100644 e69de29bb2... e69de29bb2... R100	apps/oozie/src/oozie/migrations/__init__.py	apps/oozie/src/oozie/old_migrations/__init__.py
:100644 100644 8015b8e1b4... 8015b8e1b4... R100	apps/pig/src/pig/migrations/0001_initial.py	apps/pig/src/pig/old_migrations/0001_initial.py
:100644 100644 e69de29bb2... e69de29bb2... R100	apps/pig/src/pig/migrations/__init__.py	apps/pig/src/pig/old_migrations/__init__.py
:100644 100644 6624004cc4... 6624004cc4... R100	apps/search/src/search/migrations/0001_initial.py	apps/search/src/search/old_migrations/0001_initial.py
:100644 100644 1b762816d5... 1b762816d5... R100	apps/search/src/search/migrations/0002_auto__del_core__add_collection.py	apps/search/src/search/old_migrations/0002_auto__del_core__add_collection.py
:100644 100644 eb590f916a... eb590f916a... R100	apps/search/src/search/migrations/0003_auto__add_field_collection_owner.py	apps/search/src/search/old_migrations/0003_auto__add_field_collection_owner.py
:100644 100644 e69de29bb2... e69de29bb2... R100	apps/search/src/search/migrations/__init__.py	apps/search/src/search/old_migrations/__init__.py
:100644 100644 1854b36356... 1854b36356... R100	apps/security/src/security/migrations/__init__.py	apps/security/src/security/old_migrations/__init__.py
:100644 100644 3fbef542ab... 3fbef542ab... R100	apps/spark/src/spark/migrations/0001_initial.py	apps/spark/src/spark/old_migrations/0001_initial.py
:100644 100644 e69de29bb2... e69de29bb2... R100	apps/spark/src/spark/migrations/__init__.py	apps/spark/src/spark/old_migrations/__init__.py
:100644 100644 7ef66a6cda... 7ef66a6cda... R100	apps/sqoop/src/sqoop/migrations/0001_initial.py	apps/sqoop/src/sqoop/old_migrations/0001_initial.py
:100644 100644 e69de29bb2... e69de29bb2... R100	apps/sqoop/src/sqoop/migrations/__init__.py	apps/sqoop/src/sqoop/old_migrations/__init__.py
:100644 100644 767e6e94ba... 767e6e94ba... R100	apps/useradmin/src/useradmin/migrations/0001_permissions_and_profiles.py	apps/useradmin/src/useradmin/old_migrations/0001_permissions_and_profiles.py
:100644 100644 250254ce28... 250254ce28... R100	apps/useradmin/src/useradmin/migrations/0002_add_ldap_support.py	apps/useradmin/src/useradmin/old_migrations/0002_add_ldap_support.py
:100644 100644 79109a5550... 79109a5550... R100	apps/useradmin/src/useradmin/migrations/0003_remove_metastore_readonly_huepermission.py	apps/useradmin/src/useradmin/old_migrations/0003_remove_metastore_readonly_huepermission.py
:100644 100644 d53ce93697... d53ce93697... R100	apps/useradmin/src/useradmin/migrations/0004_add_field_UserProfile_first_login.py	apps/useradmin/src/useradmin/old_migrations/0004_add_field_UserProfile_first_login.py
:100644 100644 12e0d21140... 12e0d21140... R100	apps/useradmin/src/useradmin/migrations/0005_auto__add_field_userprofile_last_activity.py	apps/useradmin/src/useradmin/old_migrations/0005_auto__add_field_userprofile_last_activity.py
:100644 100644 0b917bdc11... 0b917bdc11... R100	apps/useradmin/src/useradmin/migrations/0006_auto__add_index_userprofile_last_activity.py	apps/useradmin/src/useradmin/old_migrations/0006_auto__add_index_userprofile_last_activity.py
:100644 100644 52db8ae944... 52db8ae944... R100	apps/useradmin/src/useradmin/migrations/0007_remove_s3_access.py	apps/useradmin/src/useradmin/old_migrations/0007_remove_s3_access.py
:100644 100644 36f55715da... 36f55715da... R100	apps/useradmin/src/useradmin/migrations/0008_convert_documents.py	apps/useradmin/src/useradmin/old_migrations/0008_convert_documents.py
:100644 100644 e69de29bb2... e69de29bb2... R100	apps/useradmin/src/useradmin/migrations/__init__.py	apps/useradmin/src/useradmin/old_migrations/__init__.py
:100644 100644 3f5b9310d3... 3f5b9310d3... R100	desktop/core/src/desktop/migrations/0001_initial.py	desktop/core/src/desktop/old_migrations/0001_initial.py
:100644 100644 3143b23e6a... 3143b23e6a... R100	desktop/core/src/desktop/migrations/0002_add_groups_and_homedirs.py	desktop/core/src/desktop/old_migrations/0002_add_groups_and_homedirs.py
:100644 100644 3143b23e6a... 3143b23e6a... R100	desktop/core/src/desktop/migrations/0003_group_permissions.py	desktop/core/src/desktop/old_migrations/0003_group_permissions.py
:100644 100644 3143b23e6a... 3143b23e6a... R100	desktop/core/src/desktop/migrations/0004_grouprelations.py	desktop/core/src/desktop/old_migrations/0004_grouprelations.py
:100644 100644 5d9b9a353e... 5d9b9a353e... R100	desktop/core/src/desktop/migrations/0005_settings.py	desktop/core/src/desktop/old_migrations/0005_settings.py
:100644 100644 7d16fe254e... 7d16fe254e... R100	desktop/core/src/desktop/migrations/0006_settings_add_tour.py	desktop/core/src/desktop/old_migrations/0006_settings_add_tour.py
:100644 100644 a5b0307531... a5b0307531... R100	desktop/core/src/desktop/migrations/0007_auto__add_documentpermission__add_documenttag__add_document.py	desktop/core/src/desktop/old_migrations/0007_auto__add_documentpermission__add_documenttag__add_document.py
:100644 100644 43287b52da... 43287b52da... R100	desktop/core/src/desktop/migrations/0008_documentpermission_m2m_tables.py	desktop/core/src/desktop/old_migrations/0008_documentpermission_m2m_tables.py
:100644 100644 befa81e5ee... befa81e5ee... R100	desktop/core/src/desktop/migrations/0009_auto__chg_field_document_name.py	desktop/core/src/desktop/old_migrations/0009_auto__chg_field_document_name.py
:100644 100644 82f1974f74... 82f1974f74... R100	desktop/core/src/desktop/migrations/0010_auto__add_document2__chg_field_userpreferences_key__chg_field_userpref.py	desktop/core/src/desktop/old_migrations/0010_auto__add_document2__chg_field_userpreferences_key__chg_field_userpref.py
:100644 100644 675067a78e... 675067a78e... R100	desktop/core/src/desktop/migrations/0011_auto__chg_field_document2_uuid.py	desktop/core/src/desktop/old_migrations/0011_auto__chg_field_document2_uuid.py
:100644 100644 0f8415bd25... 0f8415bd25... R100	desktop/core/src/desktop/migrations/0012_auto__chg_field_documentpermission_perms.py	desktop/core/src/desktop/old_migrations/0012_auto__chg_field_documentpermission_perms.py
:100644 100644 4bd31f37e0... 4bd31f37e0... R100	desktop/core/src/desktop/migrations/0013_auto__add_unique_documenttag_owner_tag.py	desktop/core/src/desktop/old_migrations/0013_auto__add_unique_documenttag_owner_tag.py
:100644 100644 345f383e6d... 345f383e6d... R100	desktop/core/src/desktop/migrations/0014_auto__add_unique_document_content_type_object_id.py	desktop/core/src/desktop/old_migrations/0014_auto__add_unique_document_content_type_object_id.py
:100644 100644 0e615471c0... 0e615471c0... R100	desktop/core/src/desktop/migrations/0015_auto__add_unique_documentpermission_doc_perms.py	desktop/core/src/desktop/old_migrations/0015_auto__add_unique_documentpermission_doc_perms.py
:100644 100644 18eac2dded... 18eac2dded... R100	desktop/core/src/desktop/migrations/0016_auto__add_unique_document2_uuid_version_is_history.py	desktop/core/src/desktop/old_migrations/0016_auto__add_unique_document2_uuid_version_is_history.py
:100644 100644 c32c5c55cf... c32c5c55cf... R100	desktop/core/src/desktop/migrations/0017_auto__add_document2permission__add_unique_document2permission_doc_perm.py	desktop/core/src/desktop/old_migrations/0017_auto__add_document2permission__add_unique_document2permission_doc_perm.py
:100644 100644 c83c8b924a... c83c8b924a... R100	desktop/core/src/desktop/migrations/0018_auto__add_field_document2_parent_directory.py	desktop/core/src/desktop/old_migrations/0018_auto__add_field_document2_parent_directory.py
:100644 100644 b86ce11265... b86ce11265... R100	desktop/core/src/desktop/migrations/0019_auto.py	desktop/core/src/desktop/old_migrations/0019_auto.py
:100644 100644 37a1d2c97d... 37a1d2c97d... R100	desktop/core/src/desktop/migrations/0020_auto__del_field_document2permission_all.py	desktop/core/src/desktop/old_migrations/0020_auto__del_field_document2permission_all.py
:100644 100644 a006020a07... a006020a07... R100	desktop/core/src/desktop/migrations/0021_auto__add_defaultconfiguration__add_unique_defaultconfiguration_app_is.py	desktop/core/src/desktop/old_migrations/0021_auto__add_defaultconfiguration__add_unique_defaultconfiguration_app_is.py
:100644 100644 297d62c4af... 297d62c4af... R100	desktop/core/src/desktop/migrations/0022_auto__del_field_defaultconfiguration_group__del_unique_defaultconfigur.py	desktop/core/src/desktop/old_migrations/0022_auto__del_field_defaultconfiguration_group__del_unique_defaultconfigur.py
:100644 100644 4a86a856a7... 4a86a856a7... R100	desktop/core/src/desktop/migrations/0023_auto__del_unique_defaultconfiguration_app_is_default_user__add_field_d.py	desktop/core/src/desktop/old_migrations/0023_auto__del_unique_defaultconfiguration_app_is_default_user__add_field_d.py
:100644 100644 fbad438024... fbad438024... R100	desktop/core/src/desktop/migrations/0024_auto__add_field_document2_is_managed.py	desktop/core/src/desktop/old_migrations/0024_auto__add_field_document2_is_managed.py
:100644 100644 a29ffebd87... a29ffebd87... R100	desktop/core/src/desktop/migrations/0025_auto__add_field_document2_is_trashed.py	desktop/core/src/desktop/old_migrations/0025_auto__add_field_document2_is_trashed.py
:100644 100644 733e58ea23... 733e58ea23... R100	desktop/core/src/desktop/migrations/0026_change_is_trashed_default_to_false.py	desktop/core/src/desktop/old_migrations/0026_change_is_trashed_default_to_false.py
:100644 100644 593a415514... 593a415514... R100	desktop/core/src/desktop/migrations/0027_truncate_documents.py	desktop/core/src/desktop/old_migrations/0027_truncate_documents.py
:100644 100644 e69de29bb2... e69de29bb2... R100	desktop/core/src/desktop/migrations/__init__.py	desktop/core/src/desktop/old_migrations/__init__.py
:100644 100644 fc75c6c0a6... fc75c6c0a6... R100	desktop/libs/notebook/src/notebook/migrations/0001_initial.py	desktop/libs/notebook/src/notebook/old_migrations/0001_initial.py
:100644 100644 e69de29bb2... e69de29bb2... R100	desktop/libs/notebook/src/notebook/migrations/__init__.py	desktop/libs/notebook/src/notebook/old_migrations/__init__.py

commit 2249ecf01644e42c5241a7ea9dc59e5df9ac8571
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Fri Dec 22 12:24:45 2017 -0800

    To upgrade Django 1.9, following changes are needed:
    - rename request.REQUEST.get to request.GET.get
    - adding django context processor
    - adding urls.py for hue/accounts/login?next=/
    - no TEMPLATE_ variable in "settings.py"
    - fixing "request" dict population
    - fixing login url rule in desktop/core/src/desktop/urls.py

:100644 100644 a611d9bb90... d77841e816... M	apps/beeswax/src/beeswax/create_table.py
:100644 100644 c284874209... c53672f79b... M	apps/filebrowser/src/filebrowser/views.py
:100644 100644 2fbf2b8fa2... d7d9a6f9a6... M	apps/hbase/src/hbase/views.py
:100644 100644 cd2eb22804... f4f2da7b68... M	apps/jobbrowser/src/jobbrowser/views.py
:100644 100644 86d618399d... 262e9e1d95... M	apps/metastore/src/metastore/views.py
:100644 100644 04e106cb5e... 24d464a9e0... M	apps/oozie/src/oozie/decorators.py
:100644 100644 62ab9285b3... 13c4b10eae... M	apps/oozie/src/oozie/models.py
:100644 100644 da545092b8... c96a234041... M	apps/oozie/src/oozie/views/dashboard.py
:000000 100644 0000000000... 47a8f9fdd3... A	desktop/core/ext-py/Django-1.9/django/template/context.py
:100644 100644 b3e45f9da8... 25ecd2534d... M	desktop/core/src/desktop/auth/backend.py
:100644 100644 e4ceec2b7a... 801672be6b... M	desktop/core/src/desktop/auth/views.py
:100644 100644 6d329fde19... 10f2f317e1... M	desktop/core/src/desktop/lib/django_mako.py
:100644 100644 2d9ffb940b... 7874c0857c... M	desktop/core/src/desktop/middleware.py
:100644 100644 7b524e0e2a... ae342edf43... M	desktop/core/src/desktop/settings.py
:100644 100644 1c7a065d28... 182bce2cf7... M	desktop/core/src/desktop/urls.py
:100644 100644 ac70cffdfb... 89c055ef75... M	desktop/core/src/desktop/views.py
:100644 100644 6efe61955e... d21350f486... M	desktop/libs/hadoop/src/hadoop/fs/upload.py
:100644 100644 1a84531c80... 0616e429c0... M	desktop/libs/indexer/src/indexer/solr_api.py
:100644 100644 e458db2e80... d168d2bede... M	desktop/libs/liboauth/src/liboauth/backend.py
:100644 100644 6d395bb903... 504c52e27e... M	desktop/libs/liboauth/src/liboauth/views.py
:100644 100644 1e2ddd5f1c... f064cbd4db... M	desktop/libs/libopenid/src/libopenid/views.py
:100644 100644 7f48c6c19f... 1efb27fdc0... M	desktop/libs/metadata/src/metadata/navigator_api.py

commit 14e7f90468d1e75d42864216b1887674b813d952
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Wed Dec 13 15:13:40 2017 -0800

    To upgrade Django 1.8, following changes are needed:
    
    - Django models now accept function datetime.now instead of datetime.today()
    - ForeignKey with unique=True needs to redefined as OneToOneField
    - django.db.backends has been renamed to django.db.backends.base.base
    - LaxOptionParser is no more available, use CommandParser instead
    - generic moved from django.contrib.contenttypes.generic to django.contrib.contenttypes.fields
    - django.forms.util moved to django.forms.utils
    - Fixing dtz.now instance as method call
    - Adding Django Mako backend in settings.py
    - Adding django hack for getting context processors
    - Removing manually added Django-1.7/django/middleware/security.py file
    - Enabling pylint test to work
    - Adding pylint argument processing change

:100644 100644 a0a15a4c69... a78c8fc8ce... M	apps/beeswax/src/beeswax/models.py
:100644 100644 18519f6bb4... c284874209... M	apps/filebrowser/src/filebrowser/views.py
:100644 100644 9e72d59d4b... 62ab9285b3... M	apps/oozie/src/oozie/models.py
:100644 100644 cf9129319c... b3761c70d5... M	apps/pig/src/pig/models.py
:100644 100644 b606e68a22... b0ba1e9c89... M	apps/useradmin/src/useradmin/forms.py
:100644 100644 30dbb3b428... 5ac7fb37cb... M	apps/useradmin/src/useradmin/models.py
:100644 100644 ebf72d472e... df8fd336c8... M	apps/useradmin/src/useradmin/views.py
:100644 000000 3914626453... 0000000000... D	desktop/core/ext-py/Django-1.7/django/middleware/security.py
:000000 100644 0000000000... 7bb0659834... A	desktop/core/ext-py/Django-1.8/django/template/context.py
:000000 100644 0000000000... fcff9e8341... A	desktop/core/ext-py/djangomako-1.0.1/djangomako/backends.py
:100644 100644 b7616b3249... 6cdc50d63a... M	desktop/core/src/desktop/lib/django_forms.py
:100644 100644 bfaa420754... 6d329fde19... M	desktop/core/src/desktop/lib/django_mako.py
:100644 100644 a8182b895a... c458dea586... M	desktop/core/src/desktop/lib/django_util.py
:100644 100644 c978471974... 916623aeb5... M	desktop/core/src/desktop/manage_entry.py
:100644 100644 6eb483d33f... 9ceaaa82ab... M	desktop/core/src/desktop/management/commands/runpylint.py
:100644 100644 05e477d58a... a107479f13... M	desktop/core/src/desktop/models.py
:100644 100644 9c1253d394... 7b524e0e2a... M	desktop/core/src/desktop/settings.py
:100644 100644 e53fe9d596... ac70cffdfb... M	desktop/core/src/desktop/views.py
:100755 100755 4dd91c3863... e6c7576061... M	tools/jenkins/jenkins.sh

commit 9c6d8b80a3aca5297f78c016decbddd23eb75292
Author: Prakash Ranade <ranade@cloudera.com>
Date:   Sat Dec 9 16:38:58 2017 -0800

    To upgrade Django 1.7, following changes are needed:
    
        - South (database migration tool) has been removed, South module is now integrated in Django 1.7
        - GenericRelation field name: related_name became related_query_name
        - BooleanFields do not accept null values, in Django 1.6 it was not the case. We can use NullBooleanField.
        - post_syncdb has been renamed to post_migrate
        - syncdb renamed to makemigrations
        - StrAndUnicode does not exist in django.utils.encoding use python_2_unicode_compatible
        - find_management_module has been removed

:100644 100644 563863e603... a0a15a4c69... M	apps/beeswax/src/beeswax/models.py
:100644 100644 b22adb68f4... 49f002903a... M	apps/jobsub/src/jobsub/models.py
:100644 100644 b7148f838c... 9e72d59d4b... M	apps/oozie/src/oozie/models.py
:100644 100644 20a9be87b5... cf9129319c... M	apps/pig/src/pig/models.py
:100644 100644 fa68d34d4e... 30dbb3b428... M	apps/useradmin/src/useradmin/models.py
:100644 100644 72420c7b54... 8367269d14... M	desktop/Makefile
:000000 100644 0000000000... 3914626453... A	desktop/core/ext-py/Django-1.7/django/middleware/security.py
:100644 100644 adc58703a7... b7616b3249... M	desktop/core/src/desktop/lib/django_forms.py
:100644 100644 e02436ff73... c978471974... M	desktop/core/src/desktop/manage_entry.py
:100644 100644 3740aa7bc8... a2e018fd67... M	desktop/core/src/desktop/management/commands/test.py
:100644 100644 812f8fbf59... 05e477d58a... M	desktop/core/src/desktop/models.py
:100644 100644 e2d39cf37f... 9c1253d394... M	desktop/core/src/desktop/settings.py
:100644 100644 8882240255... 9d12dfb38d... M	tools/app_reg/build.py


  • 36
  • 0
  • 0
  • 0
  • 36
Description From Last Updated
The POST returns a Django dict object now? To validate if it works: Old Hue SQL editor and create a ... Romain Rigaux
What it tested? Safer pattern would be: request.GET.get('removeHeader', request.POST.get('removeHeader', 'off')) Note: this code path should not be used, as new ... Romain Rigaux
Note: to keep it mind if we need a migration. But AFAIK this is not used anymore too Romain Rigaux
+1 to skip Romain Rigaux
+1 Romain Rigaux
FYI: not used anymore so good too Romain Rigaux
GET/POST pattern? Romain Rigaux
same Romain Rigaux
same Romain Rigaux
same Romain Rigaux
Might be a bug if we need to change Romain Rigaux
GET/POST Romain Rigaux
Not sure why appearing now? Romain Rigaux
Note: kill job to test Romain Rigaux
Same GET/POSt Romain Rigaux
Same Romain Rigaux
Same Romain Rigaux
Same Romain Rigaux
Same Romain Rigaux
Same Romain Rigaux
Bunch of GET/POST below Romain Rigaux
To keep in mind for DB upgrade, for sure will brake old workflows Romain Rigaux
To keep in mind we lose those Oozie coord stuff tests Romain Rigaux
Note Romain Rigaux
remove or revert? Romain Rigaux
remove? Romain Rigaux
Dropped? Romain Rigaux
note: to clean later Romain Rigaux
Note: was it the middleware backported from Django? Shouuld be on and work by default Romain Rigaux
Note for later and real template engine Romain Rigaux
Note about axe rebase 'axes.middleware.FailedLoginMiddleware' Romain Rigaux
to see if works in practice Romain Rigaux
Still used below it seems Romain Rigaux
Note: to keep in mind format_time( Romain Rigaux
note: to remove Romain Rigaux
Are all the files in tools/virtual-bootstrap/* expected to be there? Romain Rigaux
  1. Nice!

    There are 2, 3 comments that we should fix. 90% of other comments are notes for later.
    And also to avoid more headaches later, we should convert all the request.REQUEST --> request.GET('..', request.POST.get('..', ''))

    Notes for testing the build later:

    1

    test JB kill jobs and browsing all the pages
    test install examples
    test export of documents
    test all the pages in case of URL issues
    text banner
    text SDK app creation
    test auth backends and LDAP combo
    test run test commands
    check Oozie date splitters

    2

    Libs/middlewares:
    check if clean desktop.middleware.EnsureSafeRedirectURLMiddleware tests
    check if remove 'axes.middleware.FailedLoginMiddleware' gone
    go over ext-py libs

    3

    DB migrations off currently:
    - turn on at some point
    - check with 5.5 and 5.12 DBs and old oozie, pig, documents

    Template engine
    - hack and GTEMPLATE.. in settings.py

  2. apps/beeswax/src/beeswax/api.py (Diff revision 1)
     
     

    The POST returns a Django dict object now?

    To validate if it works:
    Old Hue SQL editor and create a query

    Note: if it does not brake existing tests we don't care as this is the old editor

  3. What it tested?

    Safer pattern would be:

    request.GET.get('removeHeader', request.POST.get('removeHeader', 'off'))

    Note: this code path should not be used, as new importer replaced it 1 year ago. So no need to fix if not braking tests

  4. apps/beeswax/src/beeswax/models.py (Diff revision 1)
     
     

    Note: to keep it mind if we need a migration.

    But AFAIK this is not used anymore too

  5. apps/beeswax/src/beeswax/tests.py (Diff revision 1)
     
     

    +1 to skip

  6. apps/beeswax/src/beeswax/views.py (Diff revision 1)
     
     

    FYI: not used anymore so good too

  7. GET/POST pattern?

  8. Might be a bug if we need to change

  9. apps/hbase/src/hbase/views.py (Diff revision 1)
     
     

    GET/POST

  10. apps/jobbrowser/src/jobbrowser/models.py (Diff revision 1)
     
     
     
     

    Not sure why appearing now?

  11. apps/jobbrowser/src/jobbrowser/views.py (Diff revision 1)
     
     

    Note: kill job to test

  12. apps/jobbrowser/src/jobbrowser/views.py (Diff revision 1)
     
     

    Same GET/POSt

  13. apps/jobbrowser/src/jobbrowser/views.py (Diff revision 1)
     
     
     
     
  14. apps/metastore/src/metastore/views.py (Diff revision 1)
     
     

    Bunch of GET/POST below

  15. apps/oozie/src/oozie/models.py (Diff revision 1)
     
     
     
     
     
     

    To keep in mind for DB upgrade, for sure will brake old workflows

  16. apps/oozie/src/oozie/tests.py (Diff revision 1)
     
     

    To keep in mind we lose those Oozie coord stuff tests

  17. desktop/Makefile (Diff revision 1)
     
     
  18. remove or revert?

  19. desktop/core/src/desktop/lib/test_runners.py (Diff revision 1)
     
     
     
     

    Dropped?

  20. note: to clean later

  21. Note: was it the middleware backported from Django?

    Shouuld be on and work by default

  22. desktop/core/src/desktop/settings.py (Diff revision 1)
     
     

    Note for later and real template engine

  23. desktop/core/src/desktop/settings.py (Diff revision 1)
     
     

    Note about axe rebase 'axes.middleware.FailedLoginMiddleware'

  24. to see if works in practice

  25. desktop/core/src/desktop/tests.py (Diff revision 1)
     
     

    Still used below it seems

  26. Note: to keep in mind format_time(

  27. tools/jenkins/jenkins.sh (Diff revision 1)
     
     

    note: to remove

  28. Are all the files in tools/virtual-bootstrap/* expected to be there?

  29. 
      
Loading...