author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
488,282
21.03.2017 19:30:21
-3,600
babbf2677c5db65d51a7372adfcdb4862fdcd14c
Adds information about using bash to documentation. Adds **Note:** Make sure to use bash, as other shells are not fully compatible and may cause hard to debug problems. to the doc/source/devref/devstack.rst to warn that bash should be used. Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "doc/source/devref/devstack.rst", "new_path": "doc/source/devref/devstack.rst", "diff": "@@ -47,6 +47,9 @@ Install DevStack\nThe instructions assume that you've decided to install DevStack into\nUbuntu 14.04 system.\n+**Note:** Make sure to use bash, as other s...
Python
Apache License 2.0
openstack/sahara
Adds information about using bash to documentation. Adds **Note:** Make sure to use bash, as other shells are not fully compatible and may cause hard to debug problems. to the doc/source/devref/devstack.rst to warn that bash should be used. Change-Id: I70f73f26ce8bc75e46cd858c4b33a6a7aff3cdce Closes-Bug: 1674779
488,278
27.03.2017 20:09:52
10,800
cd890b86e39a4dfb6cf7f908f31ecc0ed1ac41a2
[APIv2] Convert update methods to use PATCH all update operations should synchronize around using PATCH instead of PUT for partial resource updates. Partial-Implements: bp v2-api-experimental-impl
[ { "change_type": "MODIFY", "old_path": "sahara/api/v2/cluster_templates.py", "new_path": "sahara/api/v2/cluster_templates.py", "diff": "@@ -49,7 +49,7 @@ def cluster_templates_get(cluster_template_id):\nreturn u.to_wrapped_dict(api.get_cluster_template, cluster_template_id)\n-@rest.put('/cluster-tem...
Python
Apache License 2.0
openstack/sahara
[APIv2] Convert update methods to use PATCH all update operations should synchronize around using PATCH instead of PUT for partial resource updates. Partial-Implements: bp v2-api-experimental-impl Change-Id: I079965a4efad24dd08b60a555ba3897cb18bd6df
488,272
04.04.2017 12:15:11
10,800
bff74cd49329a7b4d5c4fc0312a876109d0fa1a5
Upgrading Spark version to 2.1.0
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/spark/plugin.py", "new_path": "sahara/plugins/spark/plugin.py", "diff": "@@ -68,7 +68,7 @@ class SparkProvider(p.ProvisioningPluginBase):\nreturn result\ndef get_versions(self):\n- return ['1.6.0', '1.3.1']\n+ return ['2.1.0', '1.6.0', '1.3.1']\...
Python
Apache License 2.0
openstack/sahara
Upgrading Spark version to 2.1.0 Change-Id: I6d4a70bdf3f033018fa9cd90b35374e842704e53
488,272
03.04.2017 16:17:58
10,800
5cadd6eae262bbac3913bc1b1d98873cca7fcfbf
Added support to Storm 1.1.0 Adding support for Storm 1.1.0 and tests as well
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/add-storm-version-1_1_0-3e10b34824706a62.yaml", "diff": "+---\n+features:\n+ - Storm 1.1.0 is supported in Storm plugin.\n" }, { "change_type": "MODIFY", "old_path": "sahara/plugins/storm/plugin.py", "new_path"...
Python
Apache License 2.0
openstack/sahara
Added support to Storm 1.1.0 Adding support for Storm 1.1.0 and tests as well Change-Id: I627090dd1d69f548af47d6743a1e135e0e320def
488,272
04.04.2017 09:29:21
10,800
55dc2d8dc272888d8f0a5f4efd6b77e0874334d1
Adding labels support to Storm Adding support to labels to the Storm plugin as well as marking storm version 0.9.2 as deprecated.
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/deprecate-storm-version-092.yaml-b9ff2b9ebbb983fc.yaml", "diff": "+---\n+deprecations:\n+ - Storm version 0.9.2 is deprecated.\n" }, { "change_type": "MODIFY", "old_path": "sahara/plugins/storm/plugin.py", "new...
Python
Apache License 2.0
openstack/sahara
Adding labels support to Storm Adding support to labels to the Storm plugin as well as marking storm version 0.9.2 as deprecated. Change-Id: If58ddce1324341da48fb1d1d3da3d456316c1d10
488,278
07.04.2017 12:31:31
10,800
4cc57f181dc03db27f0940348ec0c05dc6626b64
[APIv2] Rename hadoop_version hadoop_version should be changed to plugin_version. This patch only changes json requests, the complete change should be done when APIv2 is stable and APIv1 deprecated. Along with this should be a data model change as well. Partial-Implements: bp v2-api-experimental-impl
[ { "change_type": "MODIFY", "old_path": "sahara/api/v2/cluster_templates.py", "new_path": "sahara/api/v2/cluster_templates.py", "diff": "@@ -36,9 +36,13 @@ def cluster_templates_list():\n@rest.post('/cluster-templates')\n@acl.enforce(\"data-processing:cluster-templates:create\")\n-@v.validate(ct_sche...
Python
Apache License 2.0
openstack/sahara
[APIv2] Rename hadoop_version hadoop_version should be changed to plugin_version. This patch only changes json requests, the complete change should be done when APIv2 is stable and APIv1 deprecated. Along with this should be a data model change as well. Partial-Implements: bp v2-api-experimental-impl Change-Id: Id59703ce49741d024ac9dee09d28f8f515c9806a
488,278
11.04.2017 11:08:59
10,800
83722b4c5e840513ea768937cc93bef0055c9b38
Inefficient validation checks Inefficient validation checks, to check unique object name Sahara retrieves all entries from database. Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "sahara/service/validations/base.py", "new_path": "sahara/service/validations/base.py", "diff": "@@ -258,11 +258,11 @@ def check_volume_type_exists(volume_type):\n# Cluster creation related checks\n-def check_cluster_unique_name(name):\n- if name in [cluster.na...
Python
Apache License 2.0
openstack/sahara
Inefficient validation checks Inefficient validation checks, to check unique object name Sahara retrieves all entries from database. Change-Id: I6494d3ac3f5d793ec4a47dce598dc42ca06a303e Closes-Bug: 1212225
488,261
24.03.2017 00:38:31
-19,080
997a16ed851f695f7c86e55e8caf7fcee3b7dbba
added timeout function in health check function No timer for health check function, could hang in case of issues. assigned a configurable timer. Partial-Bug:1622553
[ { "change_type": "MODIFY", "old_path": "sahara/service/health/common.py", "new_path": "sahara/service/health/common.py", "diff": "@@ -38,7 +38,9 @@ health_opts = [\nhelp=\"Option to enable verifications for all clusters\"),\ncfg.IntOpt('verification_periodic_interval', default=600,\nhelp=\"Interval ...
Python
Apache License 2.0
openstack/sahara
added timeout function in health check function No timer for health check function, could hang in case of issues. assigned a configurable timer. Partial-Bug:1622553 Change-Id: Id5d045a0642b57e479fc6993436fc7c2eceb15bd
488,278
09.04.2017 12:16:01
10,800
21045d3c3922e4c161c8ce1fd37a76c7531966b2
[APIv2] Rename oozie_job_id oozie_job_id should be changed to engine_job_id. This patch only changes json responses, the complete change should be done when APIv2 is stable and APIv1 deprecated. Along with this should be a data model change as well. Partial-Implements: bp v2-api-experimental-impl
[ { "change_type": "MODIFY", "old_path": "sahara/api/v2/jobs.py", "new_path": "sahara/api/v2/jobs.py", "diff": "@@ -32,6 +32,12 @@ rest = u.RestV2('jobs', __name__)\nv.validate_sorting_job_executions)\ndef jobs_list():\nresult = api.job_execution_list(**u.get_request_args().to_dict())\n+ # APIv2: rena...
Python
Apache License 2.0
openstack/sahara
[APIv2] Rename oozie_job_id oozie_job_id should be changed to engine_job_id. This patch only changes json responses, the complete change should be done when APIv2 is stable and APIv1 deprecated. Along with this should be a data model change as well. Change-Id: I2ecfbb56d1e53d6b005ae6a52c70576238341da2 Partial-Implements: bp v2-api-experimental-impl
488,272
29.05.2017 17:04:03
10,800
d1a0ce06e24fae3d4ae465605034d6a82c0a1ec2
Changing reconcile to test_only In order to make the code easier to understand we came to a conclusion that changing the variable reconcile to test_only makes more sense.
[ { "change_type": "MODIFY", "old_path": "doc/source/devref/image-gen.rst", "new_path": "doc/source/devref/image-gen.rst", "diff": "@@ -258,9 +258,9 @@ Two variables are always available to scripts run under this framework:\n* ``distro``: The distro of the image, in case you want to switch on distro\n...
Python
Apache License 2.0
openstack/sahara
Changing reconcile to test_only In order to make the code easier to understand we came to a conclusion that changing the variable reconcile to test_only makes more sense. Change-Id: Ia3cca7a1615c690f9e7af6aff0a393ef0fc06e10
488,324
09.06.2017 18:41:23
-28,800
f972dc054648b32614a16e7c1d7a54c267b5d59f
Add test to sahara/plugins/vanilla/v2_7_1/versionhandler.py Add tests of all methods in versionhandler.py
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/tests/unit/plugins/vanilla/v2_7_1/test_versionhandler.py", "diff": "+# Copyright (c) 2017 EasyStack Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the...
Python
Apache License 2.0
openstack/sahara
Add test to sahara/plugins/vanilla/v2_7_1/versionhandler.py Add tests of all methods in versionhandler.py Change-Id: I4b538f79fc43e4c143116df567fee4bd26f329b9
488,324
12.06.2017 15:42:40
-28,800
9ee149b7d478cbca3946dab5febe8d88a0660216
Add test to sahara/plugins/vanilla/v2_7_1/config_helper.py Add tests of methods in config_helper.py
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/tests/unit/plugins/vanilla/v2_7_1/test_config_helper.py", "diff": "+# Copyright (c) 2017 EasyStack Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the ...
Python
Apache License 2.0
openstack/sahara
Add test to sahara/plugins/vanilla/v2_7_1/config_helper.py Add tests of methods in config_helper.py Change-Id: I3fe7706475ad618b8eebcb9bad7a7994d1089162
488,324
13.06.2017 12:00:41
-28,800
de3c0d6dcb545c270e7e074e910041e862aee311
Add test to sahara/plugins/vanilla/hadoop2/config_helper.py Add tests of most methods in config_helper.py, except init_xml_configs()
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/tests/unit/plugins/vanilla/hadoop2/test_config_helper.py", "diff": "+# Copyright (c) 2017 EasyStack Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the...
Python
Apache License 2.0
openstack/sahara
Add test to sahara/plugins/vanilla/hadoop2/config_helper.py Add tests of most methods in config_helper.py, except init_xml_configs() Change-Id: I24df2250778ad422347ba77a3146e28ba027ad3c
488,324
13.06.2017 14:46:30
-28,800
9ea4344a2f68e94994395ce6f717b8bc1958683d
Add test to sahara/plugins/vanilla/hadoop2/oozie_helper.py Add tests of two methods in oozie_helper.py
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/tests/unit/plugins/vanilla/hadoop2/test_oozie_helper.py", "diff": "+# Copyright (c) 2017 EasyStack Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the ...
Python
Apache License 2.0
openstack/sahara
Add test to sahara/plugins/vanilla/hadoop2/oozie_helper.py Add tests of two methods in oozie_helper.py Change-Id: I76f31854c8b57df0fd1f5d45045347580619b215
488,324
13.06.2017 18:51:31
-28,800
8c8c9353e02723a404b142dc95d3ddf78d3535dc
Add test to edp_engine.py Add test to edp_engine.py in sahara/plugins/vanilla/ and sahara/plugins/vanilla/hadoop2/.
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/tests/unit/plugins/vanilla/hadoop2/test_edp_engine.py", "diff": "+# Copyright (c) 2017 EasyStack Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the Li...
Python
Apache License 2.0
openstack/sahara
Add test to edp_engine.py Add test to edp_engine.py in sahara/plugins/vanilla/ and sahara/plugins/vanilla/hadoop2/. Change-Id: I011d2b214f283eb21ab9f77ad6096bd307dbaa41
488,324
14.06.2017 14:25:21
-28,800
dfd4b86c2af32fa20a9b2bc269cdf40c0d5e56e4
Add test to sahara/plugins/vanilla/hadoop2/starting_scripts.py Add unit test to starting_scripts.py.
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/tests/unit/plugins/vanilla/hadoop2/test_starting_scripts.py", "diff": "+# Copyright (c) 2017 EasyStack Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with ...
Python
Apache License 2.0
openstack/sahara
Add test to sahara/plugins/vanilla/hadoop2/starting_scripts.py Add unit test to starting_scripts.py. Change-Id: I0465ef317e88d16d33626141c359625a86854192
488,323
20.06.2017 15:24:46
-28,800
5c9d5a7408044b0ff9f96a42d8c90694ee41d54f
Fixes a typo in quickstart.rst Fixes a typo in quickstart.rst quickly
[ { "change_type": "MODIFY", "old_path": "doc/source/devref/quickstart.rst", "new_path": "doc/source/devref/quickstart.rst", "diff": "@@ -550,7 +550,7 @@ The next two commands will create input and output data sources in swift.\n--url \"swift://integration.sahara/input.txt\" input\n$ openstack datapro...
Python
Apache License 2.0
openstack/sahara
Fixes a typo in quickstart.rst Fixes a typo in quickstart.rst quickly Change-Id: I24ce5e24e74c3646dafc1be2210ebb18d7ec4cff
488,324
19.06.2017 17:37:56
-28,800
1a9aeb868b8b9da6b0a372fff57c1027725a5dcd
Add test to sahara/plugins/vanilla/hadoop2/run_scripts.py Add unit test to run_scripts.py
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/tests/unit/plugins/vanilla/hadoop2/test_run_scripts.py", "diff": "+# Copyright (c) 2017 EasyStack Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the L...
Python
Apache License 2.0
openstack/sahara
Add test to sahara/plugins/vanilla/hadoop2/run_scripts.py Add unit test to run_scripts.py Change-Id: I997b10acc84dda715dea75234290d780bf777cad
488,324
16.06.2017 18:40:02
-28,800
31f5c2ba15e3cdcf468aa24a3e893e223f3bc31f
Add test to sahara/plugins/vanilla/hadoop2/scaling.py Add unit test to scaling.py
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/tests/unit/plugins/vanilla/hadoop2/test_scaling.py", "diff": "+# Copyright (c) 2017 EasyStack Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the Licen...
Python
Apache License 2.0
openstack/sahara
Add test to sahara/plugins/vanilla/hadoop2/scaling.py Add unit test to scaling.py Change-Id: Id2c4754c6046caaaeb0ea1693ed11e3d299fd782
488,324
27.06.2017 17:18:10
-28,800
227d12e60257622acae6747d289b2c9aa98c3df8
Fix direct patches of methods in test_versionhandler.py Direct patches of methods in unit test may cause errors in other tests. I use the form of decorators to fix them.
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/plugins/vanilla/v2_7_1/test_versionhandler.py", "new_path": "sahara/tests/unit/plugins/vanilla/v2_7_1/test_versionhandler.py", "diff": "import mock\nimport six\n-from sahara.plugins.vanilla.hadoop2 import run_scripts as run\n-from sahara.plug...
Python
Apache License 2.0
openstack/sahara
Fix direct patches of methods in test_versionhandler.py Direct patches of methods in unit test may cause errors in other tests. I use the form of decorators to fix them. Change-Id: I22d92921ae6074be3f4fbd542af8aa9f4c5c5543
488,282
27.06.2017 21:19:56
-7,200
b3d3793d15574519ab66282e08866415d3891fce
Add export of node group templates Partially-Implements: bp portable-node-group-and-cluster-templates This change adds function to REST api to enable user to export node group template to JSON, so that it can be later imported on another deployment.
[ { "change_type": "MODIFY", "old_path": "sahara/api/v10.py", "new_path": "sahara/api/v10.py", "diff": "@@ -191,6 +191,30 @@ def node_group_templates_delete(node_group_template_id):\nreturn u.render()\n+def _node_group_template_export_helper(template):\n+ template.pop('id')\n+ template.pop('updated_at...
Python
Apache License 2.0
openstack/sahara
Add export of node group templates Partially-Implements: bp portable-node-group-and-cluster-templates This change adds function to REST api to enable user to export node group template to JSON, so that it can be later imported on another deployment. Change-Id: I7a2ef7e5cff70e6034c1222252fbf7c5c35a7e1c
488,299
05.04.2017 12:14:40
-19,080
5221c00acaf6c4fe577994dbb74a9fa4bff98d65
Fixes the "tox -e docs" warnings The below warning are fixed: WARNING: document isn't included in any toctree WARNING: Could not lex literal_block as "http" WARNING: Could not lex literal_block as "json"
[ { "change_type": "MODIFY", "old_path": "doc/source/conf.py", "new_path": "doc/source/conf.py", "diff": "@@ -148,7 +148,7 @@ html_title = 'Sahara'\n# Add any paths that contain custom static files (such as style sheets) here,\n# relative to this directory. They are copied after the builtin static fil...
Python
Apache License 2.0
openstack/sahara
Fixes the "tox -e docs" warnings The below warning are fixed: WARNING: document isn't included in any toctree WARNING: Could not lex literal_block as "http" WARNING: Could not lex literal_block as "json" Change-Id: Ied4b16a57bf597ccb1e0cd12e433275864b2ad61
488,266
13.07.2017 13:26:47
0
952800ff0f9b9c7e573152c4c115cf5d74f9aa21
Update Documention link
[ { "change_type": "MODIFY", "old_path": "CONTRIBUTING.rst", "new_path": "CONTRIBUTING.rst", "diff": "@@ -5,7 +5,7 @@ you must follow the steps in this page:\nYou can find more Sahara-specific info in our How To Participate guide:\n- http://docs.openstack.org/developer/sahara/devref/how_to_participate...
Python
Apache License 2.0
openstack/sahara
Update Documention link Change-Id: I39f0bc1c7b5ef8114f6391058ab4378638b50907
488,323
24.07.2017 11:34:08
-28,800
13a523e008f10cb6ed88690a47c79f329b8d500d
Bad request exception for unsupported content type Request without 'content-type: application/json' specified will return '500 Internal Server Error', it should return more reasonable '400 Bad Request'. Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "sahara/utils/api.py", "new_path": "sahara/utils/api.py", "diff": "@@ -218,7 +218,8 @@ def render(res=None, resp_type=None, status=None, name=None, **kwargs):\nresp_type = RT_JSON\nserializer = wsgi.JSONDictSerializer()\nelse:\n- abort_and_log(400, _(\"Content ...
Python
Apache License 2.0
openstack/sahara
Bad request exception for unsupported content type Request without 'content-type: application/json' specified will return '500 Internal Server Error', it should return more reasonable '400 Bad Request'. Change-Id: I45fe78c6c29257cac7cf4f8711d95350b6f8bf58 Closes-Bug: 1705665
488,282
26.07.2017 19:04:39
-7,200
59abd1e3019c470ae37d0129e16a363c6b624067
Fix export of node group templates Depends-on:
[ { "change_type": "MODIFY", "old_path": "sahara/api/v10.py", "new_path": "sahara/api/v10.py", "diff": "@@ -195,10 +195,11 @@ def _node_group_template_export_helper(template):\ntemplate.pop('id')\ntemplate.pop('updated_at')\ntemplate.pop('created_at')\n+ template.pop('tenant_id')\n+ template.pop('is_d...
Python
Apache License 2.0
openstack/sahara
Fix export of node group templates Change-Id: Iee59b84765c50ec47370f4c72a1d59b24ac5ddb2 Depends-on: I7a2ef7e5cff70e6034c1222252fbf7c5c35a7e1c
488,323
29.07.2017 11:42:13
14,400
a76a9011df7cb8385315255dc98da5322e7a2bc1
Fix error during node group template update this is because an optional key is referenced in calling validation function which results in KeyError when key doesn't exist, and it does not ever actually get used. Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "sahara/service/validations/base.py", "new_path": "sahara/service/validations/base.py", "diff": "@@ -165,7 +165,7 @@ def check_node_group_basic_fields(plugin_name, hadoop_version, ng,\n_(\"You must specify a volumes_size parameter\"))\nif ng.get('floating_ip_po...
Python
Apache License 2.0
openstack/sahara
Fix error during node group template update this is because an optional key is referenced in calling validation function which results in KeyError when key doesn't exist, and it does not ever actually get used. Change-Id: I12be69b5caf81289c2b8070fab8d2083709d6cf7 Closes-Bug: #1672516
488,323
26.07.2017 11:16:22
-28,800
0921792d9377ecc5ef465bb441f870c3adc54d52
Fix TypeError when get resource list Fix TypeError when get resource list where marker doesn't in the candidate resources during prev/next marker picking progress. Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "sahara/db/sqlalchemy/api.py", "new_path": "sahara/db/sqlalchemy/api.py", "diff": "@@ -82,6 +82,8 @@ def _get_prev_and_next_objects(objects, limit, marker, order=None):\nif obj.id == marker.id:\nposition = pos\nbreak\n+ else:\n+ return None, None\nif position -...
Python
Apache License 2.0
openstack/sahara
Fix TypeError when get resource list Fix TypeError when get resource list where marker doesn't in the candidate resources during prev/next marker picking progress. Change-Id: I29876b90f0784a36efa4d4e83f3ee23e8235f9fa Closes-Bug: #1706490
488,323
05.08.2017 22:14:14
-28,800
067a2816324b476800959c499f9a8659993ba67b
enable heat during devstack installation Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "devstack/README.rst", "new_path": "devstack/README.rst", "diff": "[[local|localrc]]\nenable_plugin sahara git://git.openstack.org/openstack/sahara\n+ enable_plugin heat git://git.openstack.org/openstack/heat\nOptionally, a git refspec may be provided as follow...
Python
Apache License 2.0
openstack/sahara
enable heat during devstack installation Change-Id: I0693e135f57e979bf61c9f1ce064596a6272d64c Closes-Bug: #1708839
488,282
28.08.2017 16:03:57
-7,200
62a869ac1d0464aa186ab7bf26bed34a75fc4b1f
Add export of cluster templates Partially-Implements: bp portable-node-group-and-cluster-templates This change adds functions to sahara to enable export of ct to JSON.
[ { "change_type": "MODIFY", "old_path": "sahara/api/v10.py", "new_path": "sahara/api/v10.py", "diff": "@@ -143,6 +143,29 @@ def cluster_templates_delete(cluster_template_id):\nreturn u.render()\n+def _cluster_template_export_helper(template):\n+ template.pop('id')\n+ template.pop('updated_at')\n+ tem...
Python
Apache License 2.0
openstack/sahara
Add export of cluster templates Partially-Implements: bp portable-node-group-and-cluster-templates This change adds functions to sahara to enable export of ct to JSON. Change-Id: Ib5a2df4013840050b8034bcefd68040f508d0b31
488,282
01.09.2017 14:58:21
-7,200
8735c26d86868e1b56e6a56e15508554b7d35e34
Add docs about template portability. Partially-Implements: bp portable-node-group-and-cluster-templates
[ { "change_type": "MODIFY", "old_path": "doc/source/user/overview.rst", "new_path": "doc/source/user/overview.rst", "diff": "@@ -36,6 +36,11 @@ specify node-scoped parameters here, they will work as defaults for node\ngroups. Also with the REST interface, during cluster creation a user can\noverride ...
Python
Apache License 2.0
openstack/sahara
Add docs about template portability. Partially-Implements: bp portable-node-group-and-cluster-templates Change-Id: Iaef30a5309c79b56d430022f5bf098473f9c3a3c
488,323
11.09.2017 15:49:43
-28,800
a37b8711efaca3ba1a46eb5a00b72159b8a2b128
fix duplicated ntp configuration the ntp service will be configured again on existing nodes when scale a cluster, which turns out duplicated config at the end of '/etc/ntp.conf' and results in syntax error when restart ntp service. Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "sahara/service/ntp_service.py", "new_path": "sahara/service/ntp_service.py", "diff": "@@ -107,12 +107,12 @@ def retrieve_ntp_server_url(cluster):\nreturn cl_configs[target][name]\n-def configure_ntp(cluster_id):\n+def configure_ntp(cluster_id, instance_ids=Non...
Python
Apache License 2.0
openstack/sahara
fix duplicated ntp configuration the ntp service will be configured again on existing nodes when scale a cluster, which turns out duplicated config at the end of '/etc/ntp.conf' and results in syntax error when restart ntp service. Change-Id: I3d59823474b44498e1d6961f328d9b9d6f795ed6 Closes-Bug: #1716307
488,306
22.09.2017 14:01:22
-3,600
88b427e98858990a35378370ba4b27691f6e6189
Allow cluster create with no security groups Got an unbound variable error without this fix: UnboundLocalError: local variable 'sec_groups' referenced before assignment This appears to have been caused by the move to use the neutron client in the following commit: Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "sahara/service/heat/templates.py", "new_path": "sahara/service/heat/templates.py", "diff": "@@ -456,7 +456,6 @@ class ClusterStack(object):\ninst_name = _get_inst_name(ng)\nprivate_net = self.cluster.neutron_management_network\n- if ng.security_groups or ng.au...
Python
Apache License 2.0
openstack/sahara
Allow cluster create with no security groups Got an unbound variable error without this fix: UnboundLocalError: local variable 'sec_groups' referenced before assignment This appears to have been caused by the move to use the neutron client in the following commit: b4fb2c404c371a5ba9b28a3ac769c94e69b8c141 Co-Authored-By: Jeremy Freudberg <jeremyfreudberg@gmail.com> Closes-Bug: #1718940 Change-Id: I4f0b5a6b27ee2fb7821ec42faba3a69ce5a4bb78
488,288
11.10.2017 15:54:26
0
96cb88759f907809b93e3aec2007eb9e9b80079a
Fix typo in advanced-configuration-guide.rst and manager.py Replace 'allows' with 'allow' Replace 'have' with 'has'
[ { "change_type": "MODIFY", "old_path": "doc/source/admin/advanced-configuration-guide.rst", "new_path": "doc/source/admin/advanced-configuration-guide.rst", "diff": "@@ -85,7 +85,7 @@ DHCP and specify DNS server ip addresses (e.g. 1.1.1.1 and 2.2.2.2) in\n``DNS Name Servers`` field in the ``Subnet D...
Python
Apache License 2.0
openstack/sahara
Fix typo in advanced-configuration-guide.rst and manager.py Replace 'allows' with 'allow' Replace 'have' with 'has' Change-Id: I35f068b56a8c6982ca90f3a93ae1076339da9959
488,272
16.02.2017 13:22:08
10,800
d214c228a097929f2409d9c1676ac2961978a52b
Image generation for Ambari Plugin Adds image generation for Ambari
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/ambari_2_4_image_generation_validation-47eabb9fa90384c8.yaml", "diff": "+---\n+features:\n+ - Enables the creation and validation of Ambari 2.4 images using the\n+ new image generation process where libguestfs replaces the use...
Python
Apache License 2.0
openstack/sahara
Image generation for Ambari Plugin Adds image generation for Ambari Change-Id: I0e798696de7fb2fcf72d826ad6b7356f526db836
488,272
04.10.2017 17:40:01
10,800
157ce33a2b4c207954da6f0b904315ca7cd0a365
Image generation for CDH 5.9.0 Adds image generation and validation for CDH 5.9.0
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/cdh_5_9_0_image_generation_validation-19d10e6468e30b4f.yaml", "diff": "+---\n+features:\n+ - Enables the creation and validation of CDH 5.9.0 images using the\n+ new image generation process where libguestfs replaces the use o...
Python
Apache License 2.0
openstack/sahara
Image generation for CDH 5.9.0 Adds image generation and validation for CDH 5.9.0 Change-Id: Id1d63ffb695b66df6252da96fc8540b50871eaa3
488,272
18.10.2017 16:22:06
10,800
03c6ebaecf622df15fb35d55a885ed99c77c5425
Image generation for CDH 5.11.0 Adds image generation and validation for CDH 5.11.0
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/cdh_5_11_0_image_generation_validation-6334ef6d04950935.yaml", "diff": "+---\n+features:\n+ - Enables the creation and validation of CDH 5.11.0 images using the\n+ new image generation process where libguestfs replaces the use...
Python
Apache License 2.0
openstack/sahara
Image generation for CDH 5.11.0 Adds image generation and validation for CDH 5.11.0 Change-Id: I09ea1e092e1ba05e7f36191869c4da798e94b287
488,272
06.12.2017 11:25:03
10,800
7140495c70ef34717342d3b3fa38a416e8ada46b
Upgrading Spark to version 2.2 Adding newest version of Spark to sahara
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/spark-2.2-d7c3a84bd52f735a.yaml", "diff": "+---\n+features:\n+ - Adding Spark version 2.2 to Sahara.\n" }, { "change_type": "MODIFY", "old_path": "sahara/plugins/spark/plugin.py", "new_path": "sahara/plugins/sp...
Python
Apache License 2.0
openstack/sahara
Upgrading Spark to version 2.2 Adding newest version of Spark to sahara Change-Id: Ia85e6f28d90789279fd319074ce0e230ffa98be4
488,272
22.11.2017 13:34:46
10,800
b001ef2a55798922099e47abb4639125811169be
Decommission of a specific node Adding the option to decommission specific node from cluster. Partially implements bp: decommission-specific-instance
[ { "change_type": "MODIFY", "old_path": "sahara/api/v2/clusters.py", "new_path": "sahara/api/v2/clusters.py", "diff": "@@ -60,7 +60,7 @@ def clusters_create_multiple(data):\n@rest.put('/clusters/<cluster_id>')\n@acl.enforce(\"data-processing:clusters:scale\")\n@v.check_exists(api.get_cluster, 'cluste...
Python
Apache License 2.0
openstack/sahara
Decommission of a specific node Adding the option to decommission specific node from cluster. Partially implements bp: decommission-specific-instance Change-Id: I1a858fecc1b32f91c76aea6db14e0d5a419211d1
488,272
16.01.2018 16:24:40
10,800
d46981b47d1e0156aa6fc9d8879de796a428c33d
Changing expected value to job_template_id Since we are only expecting one job_template_id does not make sense to use job_templates_id name here
[ { "change_type": "MODIFY", "old_path": "sahara/service/api/v2/jobs.py", "new_path": "sahara/service/api/v2/jobs.py", "diff": "@@ -30,7 +30,7 @@ LOG = logging.getLogger(__name__)\ndef execute_job(data):\n# Elements common to all job types\n- job_templates_id = data['job_templates_id']\n+ job_template...
Python
Apache License 2.0
openstack/sahara
Changing expected value to job_template_id Since we are only expecting one job_template_id does not make sense to use job_templates_id name here Change-Id: I2c1425dce3db2b150f798e3c10f7ad5f798226d3
488,288
18.01.2018 09:08:30
0
e1f46bb5c2acdf66aee52a237ca626742e76cd0f
Update url links in doc files of Sahara replace 'http' with 'https'
[ { "change_type": "MODIFY", "old_path": "README.rst", "new_path": "README.rst", "diff": "@@ -22,7 +22,7 @@ Quickstart guide: https://docs.openstack.org/sahara/latest/user/quickstart.html\nHow to participate: https://docs.openstack.org/sahara/latest/contributor/how-to-participate.html\n-Source: http:/...
Python
Apache License 2.0
openstack/sahara
Update url links in doc files of Sahara replace 'http' with 'https' Change-Id: Iebee75d464a5f0c4b9b877814ec42ca9be946931
488,272
19.01.2018 16:56:51
10,800
ab1f327c4db69beb8b65563ce1dcec21fffff215
Switch sahara swift to work with keystone v3 Keystone v2 is gone and we need to update sahara swift to be able to use keystone v3.
[ { "change_type": "MODIFY", "old_path": "sahara/swift/swift_helper.py", "new_path": "sahara/swift/swift_helper.py", "diff": "@@ -55,7 +55,7 @@ def get_swift_configs():\nconfigs = x.load_hadoop_xml_defaults('swift/resources/conf-template.xml')\nfor conf in configs:\nif conf['name'] == HADOOP_SWIFT_AUT...
Python
Apache License 2.0
openstack/sahara
Switch sahara swift to work with keystone v3 Keystone v2 is gone and we need to update sahara swift to be able to use keystone v3. Change-Id: I65a2495b8afe2bc30a0db192e23c93cd6b71e437
488,272
30.01.2018 14:42:18
10,800
840ed9c92292b57158c2a485e12795b3bf75358e
Adding Storm doc Finally writting this long due documentation for the Storm plugin. Closes-bug:
[ { "change_type": "MODIFY", "old_path": "doc/source/user/index.rst", "new_path": "doc/source/user/index.rst", "diff": "@@ -27,6 +27,7 @@ Plugins\nvanilla-plugin\nambari-plugin\nspark-plugin\n+ storm-plugin\ncdh-plugin\nmapr-plugin\n" }, { "change_type": "MODIFY", "old_path": "doc/source/u...
Python
Apache License 2.0
openstack/sahara
Adding Storm doc Finally writting this long due documentation for the Storm plugin. Change-Id: I94bb588a41e181ad3c27d371cfe55938fe0579f7 Closes-bug: #1696991
488,272
07.02.2018 18:22:52
10,800
f2e0d471fc00f436a8ef17b4056bafff560959b7
Small doc fixes found during doc day As a pre-PTG preparation we did a small walktrough on the Sahara documentation. Theses fixes are trivial fixes, mostly making documentation consider bare metal and VMs.
[ { "change_type": "MODIFY", "old_path": "doc/source/intro/overview.rst", "new_path": "doc/source/intro/overview.rst", "diff": "@@ -12,9 +12,9 @@ OpenStack. It is worth mentioning that Amazon has provided Hadoop for\nseveral years as Amazon Elastic MapReduce (EMR) service.\nSahara aims to provide user...
Python
Apache License 2.0
openstack/sahara
Small doc fixes found during doc day As a pre-PTG preparation we did a small walktrough on the Sahara documentation. Theses fixes are trivial fixes, mostly making documentation consider bare metal and VMs. Change-Id: I9dcf96700392053cc1ac239793c793f0e4a22dd8
488,272
20.12.2017 21:47:46
10,800
e97e0abb2b15da0e0f7400c26ad75cb10afe319b
Adding Ambari 2.4.2.0 to image gen We missed ambari 2.4.2.0 on ambari image gen Also we are disabling CA checking for Centos/RHEL because the default SSL certificate, which is generated when the Ambari server is installed, is invalid. Partial-bug:
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/plugins/ambari/resources/images/centos/disable_certificate_check", "diff": "+#!/bin/bash\n+\n+config=/etc/python/cert-verification.cfg\n+check=$(cat $config | grep 'verify=disable' | wc -l)\n+\n+if [ $check -eq 0 ]; then\n+ if [ $test_onl...
Python
Apache License 2.0
openstack/sahara
Adding Ambari 2.4.2.0 to image gen We missed ambari 2.4.2.0 on ambari image gen Also we are disabling CA checking for Centos/RHEL because the default SSL certificate, which is generated when the Ambari server is installed, is invalid. Partial-bug: #1748507 Change-Id: I272dbab4458c902af404a6365a8a43d56e4ed94e
488,272
10.03.2018 07:11:18
10,800
33335b449b49dd9a61436449862cd7d094e2199d
Adding support for RHEL images Adding support for rhel images on the image generation system. Note.: It is necessary to previous to start packing the image for the user to register the image using virt-costumize and also enable the necessary REPOS.
[ { "change_type": "MODIFY", "old_path": "doc/source/contributor/image-gen.rst", "new_path": "doc/source/contributor/image-gen.rst", "diff": "@@ -51,6 +51,7 @@ the image packing feature. Plugins may require their own arguments at specific\nversions; use the ``--help`` feature with ``PLUGIN`` and ``VER...
Python
Apache License 2.0
openstack/sahara
Adding support for RHEL images Adding support for rhel images on the image generation system. Note.: It is necessary to previous to start packing the image for the user to register the image using virt-costumize and also enable the necessary REPOS. Change-Id: Ia8c483d34a26ba0ccfe25b5496cc03af4c1b7808
488,272
19.03.2018 16:37:36
10,800
fee369b1d8f2d90e9d5b11b6f6693974954b26ee
Preload soci-mysql and soci on RHEL7 images Story: Task:
[ { "change_type": "ADD", "old_path": null, "new_path": "sahara/plugins/mapr/resources/images/centos/epel_dependencies", "diff": "+#!/bin/bash\n+\n+yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm\n+yum install -y soci soci-mysql\n+yum remove -y epel-release\n+\n" ...
Python
Apache License 2.0
openstack/sahara
Preload soci-mysql and soci on RHEL7 images Change-Id: I789e93349b89bf96bddbb5e745cb859c975c4d80 Story: #1754313 Task: #8682
488,272
13.03.2018 00:01:03
10,800
68b447d7f9eef759f3e725cad8d8794fa79d69c5
File copy timesout when file is too big File copy times out when file is too big due to an problem with paramiko write implementation. The fix proposed comes in two parts: 1) Changing paramiko file write to putfo; 2) Increase the default copy file timeout. Story:
[ { "change_type": "MODIFY", "old_path": "sahara/utils/ssh_remote.py", "new_path": "sahara/utils/ssh_remote.py", "diff": "@@ -73,7 +73,7 @@ ssh_config_options = [\n'ssh_timeout_interactive', default=1800, min=1,\nhelp=\"Overrides timeout for interactive ssh operations, in seconds\"),\ncfg.IntOpt(\n- '...
Python
Apache License 2.0
openstack/sahara
File copy timesout when file is too big File copy times out when file is too big due to an problem with paramiko write implementation. The fix proposed comes in two parts: 1) Changing paramiko file write to putfo; 2) Increase the default copy file timeout. Change-Id: I9e9d2873d95923cbd8c4729b3a674dfb1b8c2ec1 Story: #1705762
488,272
03.04.2018 10:56:11
10,800
b3c8d754dfec16c0957ab549bfbcc9901e18b49e
Fix MapR dependency on mysql on RHEL MapR is missing mysql-java-connector and that makes it necessary to have subscription enable on RHEL7 Story:
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/mapr/resources/images/image.yaml", "new_path": "sahara/plugins/mapr/resources/images/image.yaml", "diff": "@@ -75,10 +75,14 @@ validators:\n- libtirpc\n- libvisual\n- libxslt\n+ - mariadb\n+ - mariadb-server\n+ - mariadb-libs\n- mesa-dri-drivers...
Python
Apache License 2.0
openstack/sahara
Fix MapR dependency on mysql on RHEL MapR is missing mysql-java-connector and that makes it necessary to have subscription enable on RHEL7 Change-Id: I1866ee0e21edd46773e67cb24654f00aadf8e39a Story: #2001773
488,272
12.04.2018 08:43:44
10,800
2a1d92c89c99acf3f017060df8e669ba41a0f971
Adding ntpdate and Scala to mapr image Adding missing packages to MapR Story: Story:
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/mapr/resources/images/centos/install_scala", "new_path": "sahara/plugins/mapr/resources/images/centos/install_scala", "diff": "echo \"START: installing Scala\"\nsudo yum -y update\n-exit 0\n+DEF_VERSION=\"2.11.6\"\nif [ $test_only -eq 0 ]; then\...
Python
Apache License 2.0
openstack/sahara
Adding ntpdate and Scala to mapr image Adding missing packages to MapR Change-Id: I01cba8f8518a334ccd91ae07d9a210c93ac3649b Story: #2001833 Story: #2001834
488,272
12.12.2017 18:17:51
10,800
d9c9fe4c67f93e77ce26963618f29665222f87ae
Adding Ambari missing versions With the new validation system, image versions on get_image_arguments() has to contain all available versions in order to allow cluster creation and validation with them all. Story:
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/ambari/plugin.py", "new_path": "sahara/plugins/ambari/plugin.py", "diff": "@@ -270,7 +270,7 @@ class AmbariPluginProvider(p.ProvisioningPluginBase):\nresource_roots=['plugins/ambari/resources/images'])\ndef get_image_arguments(self, hadoop_versi...
Python
Apache License 2.0
openstack/sahara
Adding Ambari missing versions With the new validation system, image versions on get_image_arguments() has to contain all available versions in order to allow cluster creation and validation with them all. Story: #2001888 Change-Id: I88c2a553512a797099a4b2fbd9e9d204475e755b
488,272
10.05.2018 14:56:38
10,800
d0833f37489c0f9af185263ad9a7798bd94ec79d
Fixing java version for Ambari From SIE java version installed for ambari is 1.8.0, we had the wrong one here. Story:
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/ambari/resources/images/image.yaml", "new_path": "sahara/plugins/ambari/resources/images/image.yaml", "diff": "@@ -26,7 +26,7 @@ validators:\nargument_name: java_distro\ncases:\nopenjdk:\n- - package: java-1.7.0-openjdk-devel\n+ - package: java-...
Python
Apache License 2.0
openstack/sahara
Fixing java version for Ambari From SIE java version installed for ambari is 1.8.0, we had the wrong one here. Story: #2002003 Change-Id: I78da2fb94b0e8a362c7b4daae166849974682960
488,269
07.06.2018 14:52:00
-28,800
d0d1a1d00dea1d9af893d226a25a07834f987219
Updated oozie version Old download link expired
[ { "change_type": "MODIFY", "old_path": "doc/source/contributor/how-to-build-oozie.rst", "new_path": "doc/source/contributor/how-to-build-oozie.rst", "diff": "@@ -8,12 +8,12 @@ How to build Oozie\nDownload\n--------\n-* Download tarball from `Apache mirror <http://apache-mirror.rbc.ru/pub/apache/oozi...
Python
Apache License 2.0
openstack/sahara
Updated oozie version Old download link expired Change-Id: I7c98a14511350f53d271ddec62b3d76665ff28a7
488,329
04.08.2016 14:15:22
-10,800
f1722350a7fca51c36dc3181d64235d5e8ad14ce
Boot from volume Adding the ability to boot a sahara cluster from volume. Story: Task:
[ { "change_type": "MODIFY", "old_path": "doc/source/user/quickstart.rst", "new_path": "doc/source/user/quickstart.rst", "diff": "@@ -210,6 +210,7 @@ Create a master node group template with the command:\n| Flavor id | 2 |\n| Floating ip pool | dbd8d1aa-6e8e-4a35-a77b-966c901464d5 |\n| Id | 0f066e14-9...
Python
Apache License 2.0
openstack/sahara
Boot from volume Adding the ability to boot a sahara cluster from volume. Story: #2001820 Task: #12558 Change-Id: Ie11c5e7a628c369868d3c56e803da4b9e7d15f85
488,272
20.06.2018 15:19:37
10,800
f5bf9ff2643a18cc91c2e62cfd086e869fd00b5d
Fixing extjs check on cdh and mapr On images generated from sahara-image-elements cluster is being stuck due to double execution of the unzip code. This fix prevents the code to be executed twice and in the case it does we force unzip to overwrite. Story: Task:
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/cdh/v5_11_0/resources/images/common/install_extjs", "new_path": "sahara/plugins/cdh/v5_11_0/resources/images/common/install_extjs", "diff": "EXTJS_DESTINATION_DIR=\"/var/lib/oozie\"\nEXTJS_DOWNLOAD_URL=\"https://tarballs.openstack.org/sahara-ext...
Python
Apache License 2.0
openstack/sahara
Fixing extjs check on cdh and mapr On images generated from sahara-image-elements cluster is being stuck due to double execution of the unzip code. This fix prevents the code to be executed twice and in the case it does we force unzip to overwrite. Change-Id: I73836a516b839bdb368997af3693c139c1fff390 Story: #2002551 Task: #22113
488,272
25.06.2018 12:00:34
10,800
e1a36ee28cf9b60d740300fb952d8928f48f8069
Updating Spark versions We are adding new spark version 2.3.0
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/spark-2.3-0277fe9feae6668a.yaml", "diff": "+---\n+upgrade:\n+ - Adding Spark 2.3 to supported plugins list.\n" }, { "change_type": "MODIFY", "old_path": "sahara/plugins/spark/edp_engine.py", "new_path": "sahara...
Python
Apache License 2.0
openstack/sahara
Updating Spark versions We are adding new spark version 2.3.0 Change-Id: I3a1c8decdc17c2c9b63af29ee9199cf24f11e0e2
488,269
26.05.2018 16:38:27
-28,800
bb60fbce1f97e9f6261245027a672a6079562c36
Trivial: Update Zuul Status Page to correct URL Current URL of Zuul Status Page in code is: The correct URL must be: Remove outdated Jenkins reference.
[ { "change_type": "MODIFY", "old_path": "doc/source/contributor/jenkins.rst", "new_path": "doc/source/contributor/jenkins.rst", "diff": "@@ -4,9 +4,8 @@ Continuous Integration with Jenkins\nEach change made to Sahara core code is tested with unit and integration tests\nand style checks using flake8.\...
Python
Apache License 2.0
openstack/sahara
Trivial: Update Zuul Status Page to correct URL Current URL of Zuul Status Page in code is: http://status.openstack.org/zuul/ The correct URL must be: https://zuul.openstack.org/ Remove outdated Jenkins reference. Change-Id: I7119fe6818a2a4b3144b5cd8b2d241ff8f2cdbb2
488,272
25.06.2018 08:57:07
10,800
b6504eee922b2ed00d611a8e1bb24bfc7c060884
Adding Storm 1.2.0 and 1.2.1 Adding new versions of Storm to sahara.
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/storm-1.2-af75fedb413de56a.yaml", "diff": "+---\n+upgrade:\n+ - Adding new versions of Storm, 1.2.0 and 1.2.1. Both will exist under the\n+ same tag 1.2.\n" }, { "change_type": "MODIFY", "old_path": "sahara/plugins...
Python
Apache License 2.0
openstack/sahara
Adding Storm 1.2.0 and 1.2.1 Adding new versions of Storm to sahara. Change-Id: I7f4a96f2dc8cb66468866f77e3d4091d2a8d19d1
488,272
28.06.2018 18:38:13
10,800
15317a629eb2318aab1ec06837bf7d46774dbe7d
Adding Ambari 2.6 to image pack Adding ambari 2.6 to image pack so users can create image to spawn HDP 2.6
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/ambari26-image-pack-88c9aad59bf635b2.yaml", "diff": "+---\n+features:\n+ - Adding the ability to create Ambari 2.6 images on sahara-image-pack\n" }, { "change_type": "MODIFY", "old_path": "sahara/plugins/ambari/plu...
Python
Apache License 2.0
openstack/sahara
Adding Ambari 2.6 to image pack Adding ambari 2.6 to image pack so users can create image to spawn HDP 2.6 Change-Id: Ifb90d8ba1958403f2c00eade013e147660357717
488,272
03.08.2018 14:54:07
10,800
bb7c0399363330d6099b7be890ed89a0d5db8c33
Another small fix for cluster creation on APIv2 Small fix that was blocking creation of multiple clusters using api v2.
[ { "change_type": "MODIFY", "old_path": "sahara/api/v2/clusters.py", "new_path": "sahara/api/v2/clusters.py", "diff": "@@ -49,7 +49,7 @@ def clusters_create(data):\ndel data['plugin_version']\nif data.get('count', None) is not None:\nresult = api.create_multiple_clusters(data)\n- for c in result:\n+ ...
Python
Apache License 2.0
openstack/sahara
Another small fix for cluster creation on APIv2 Small fix that was blocking creation of multiple clusters using api v2. Change-Id: I6c1db62a4bee3d1b064333b7b2d8b8e2d6ad50f1
488,272
01.08.2018 15:52:55
10,800
4ac73ea6ecb001e7973a563a04b25ab914f79f21
Fixing anti-affinity for Sahara Sahara anti-affinity was broken since some problematic changes in This should be able to fix it. Story: Task:
[ { "change_type": "MODIFY", "old_path": "sahara/service/heat/templates.py", "new_path": "sahara/service/heat/templates.py", "diff": "@@ -253,8 +253,8 @@ class ClusterStack(object):\nif self.cluster.anti_affinity:\n# Creating server groups equal to the anti_affinity_ratio\n- for i in range(1, self.clu...
Python
Apache License 2.0
openstack/sahara
Fixing anti-affinity for Sahara Sahara anti-affinity was broken since some problematic changes in cd1569852614698c4843d4c97475d8f8f3069478. This should be able to fix it. Change-Id: I374c0340cb0f85c00b9a04cd1b23e3912737994c Co-Authored-By: Joe Topjian <joe@topjian.net> Story: #2002656 Task: #22466
488,296
04.09.2018 21:42:28
-19,080
c59780a955872dfb96bd726d888dcc109b74f340
Correct repo_id_map for hdp 2.5 When hdp2.5 cluster installation is done with off-line repo,hdp-utils repo name should be HDP-UTILS-1.1.0.21. However this is hardcoded wrongly in sahara repo_id_map as HDP-UTILS-1.1.0.20.As a result Ambari HDP repo set up fails. This fix will correct the repo_id_map Story: Task:
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/ambari/deploy.py", "new_path": "sahara/plugins/ambari/deploy.py", "diff": "@@ -49,7 +49,7 @@ repo_id_map = {\n},\n\"2.5\": {\n\"HDP\": \"HDP-2.5\",\n- \"HDP-UTILS\": \"HDP-UTILS-1.1.0.20\"\n+ \"HDP-UTILS\": \"HDP-UTILS-1.1.0.21\"\n},\n\"2.6\": {...
Python
Apache License 2.0
openstack/sahara
Correct repo_id_map for hdp 2.5 When hdp2.5 cluster installation is done with off-line repo,hdp-utils repo name should be HDP-UTILS-1.1.0.21. However this is hardcoded wrongly in sahara repo_id_map as HDP-UTILS-1.1.0.20.As a result Ambari HDP repo set up fails. This fix will correct the repo_id_map Change-Id: Ibf7d341cc2d2a53be521039d4f843cdbc5ee880b Story: #2003654 Task: #26067
488,293
06.09.2018 11:35:13
-10,800
aa514b51e54dbcb52761edb1788d5bffa511584d
Fixed link for more information about Ambari images
[ { "change_type": "MODIFY", "old_path": "doc/source/user/ambari-plugin.rst", "new_path": "doc/source/user/ambari-plugin.rst", "diff": "@@ -26,7 +26,7 @@ Images\nThe sahara Ambari plugin is using minimal (operating system only) images.\nFor more information about Ambari images, refer to\n-`<https://gi...
Python
Apache License 2.0
openstack/sahara
Fixed link for more information about Ambari images Change-Id: I91a3310dfff2687975cb8c7c7693106b509943e7
488,296
25.09.2018 19:28:08
-19,080
4e39a45f4584ab2232b68f250be73a515b5bd521
adds unit test for ssh_remote.replace_remote_line Adding unit test for the new method added to search a line by string and replace the old line with a new line Story: Task:
[ { "change_type": "MODIFY", "old_path": "sahara/tests/unit/utils/test_ssh_remote.py", "new_path": "sahara/tests/unit/utils/test_ssh_remote.py", "diff": "@@ -451,10 +451,26 @@ class TestInstanceInteropHelper(base.SaharaTestCase):\n@mock.patch('sahara.utils.ssh_remote.InstanceInteropHelper._run_s')\n@m...
Python
Apache License 2.0
openstack/sahara
adds unit test for ssh_remote.replace_remote_line Adding unit test for the new method added to search a line by string and replace the old line with a new line Change-Id: I95d71bafebd9d0a4fea499813135fac06d152ab6 Story: #2003176 Task: #26708
488,272
10.10.2018 17:38:14
10,800
01d465dd385e1a30d3e6d60d8f5cdc5831aff25b
Fixing image validation for Ambari 2.3 Changing ambari version for image validation. Story: Task:
[ { "change_type": "MODIFY", "old_path": "sahara/plugins/ambari/plugin.py", "new_path": "sahara/plugins/ambari/plugin.py", "diff": "@@ -284,6 +284,10 @@ class AmbariPluginProvider(p.ProvisioningPluginBase):\ndef validate_images(self, cluster, test_only=False, image_arguments=None):\nimage_arguments = ...
Python
Apache License 2.0
openstack/sahara
Fixing image validation for Ambari 2.3 Changing ambari version for image validation. Story: #2003996 Task: #26942 Change-Id: I54a1370c482a3a2862f1c8313a984fece25efbd2
488,283
12.11.2018 10:49:25
-28,800
98ac996dce042fb3c908f0fcea303a73f7276eee
Update http link to https Modify http link to https link
[ { "change_type": "MODIFY", "old_path": "doc/source/admin/advanced-configuration-guide.rst", "new_path": "doc/source/admin/advanced-configuration-guide.rst", "diff": "@@ -514,7 +514,7 @@ installed. The sources for this plugin can be found in the\nintegration see the sahara documentation sections\n:re...
Python
Apache License 2.0
openstack/sahara
Update http link to https Modify http link to https link Change-Id: I73517f80361b12da09baac5b627d580a9c9f4295
488,271
30.11.2018 09:52:58
-28,800
3c1652624e73ae26ce5a5346c1d1c523fcf3f1fc
fixed word error
[ { "change_type": "MODIFY", "old_path": "doc/source/admin/advanced-configuration-guide.rst", "new_path": "doc/source/admin/advanced-configuration-guide.rst", "diff": "@@ -24,7 +24,7 @@ destination, they will be substituted at runtime. Other keywords that\ncan be used are: ``{tenant_id}``, ``{network_...
Python
Apache License 2.0
openstack/sahara
fixed word error Change-Id: I83f8abacbc1125f688daa61178a1d107f61f1dba
488,267
05.12.2018 11:11:38
18,000
5bb7f3797cddacd0f180bb1a0b5eee347013a991
doc: Fix the snippet in "The Script Validator" section In the snippet of code, store_nfs_version should point to an object instead of an array.
[ { "change_type": "MODIFY", "old_path": "doc/source/contributor/image-gen.rst", "new_path": "doc/source/contributor/image-gen.rst", "diff": "@@ -186,8 +186,8 @@ as well:\noutput: OUTPUT_VAR\n- script:\nstore_nfs_version: # Because inline is set, this is just a friendly name\n- - inline: rpm -q nfs-ut...
Python
Apache License 2.0
openstack/sahara
doc: Fix the snippet in "The Script Validator" section In the snippet of code, store_nfs_version should point to an object instead of an array. Change-Id: I5093baf6fa849acba0dcacdc813ec22f01c35a84
488,272
07.11.2018 10:14:51
10,800
0b8ab036e7a4b1beedbc8bcd2d33736a9e296536
Fixing cluster scale The current implementation fails if we try to scale from different node groups.
[ { "change_type": "MODIFY", "old_path": "sahara/service/ops.py", "new_path": "sahara/service/ops.py", "diff": "@@ -327,10 +327,27 @@ def _provision_cluster(cluster_id):\n_refresh_health_for_cluster(cluster_id)\n+def _specific_inst_to_delete(node_group, node_group_instance_map=None):\n+ if node_group_...
Python
Apache License 2.0
openstack/sahara
Fixing cluster scale The current implementation fails if we try to scale from different node groups. Change-Id: Ifb9e4b55959e10c9e5cb74c86bbdba9ffed50ceb
488,272
27.11.2018 09:18:11
10,800
9bf50ce571442fc39245b9b83f5be6df6e618f11
APIv2 Changing return payload to project_id As part of the APIv2 work we need to change all tenant_id references to project_id on the return payload. Story: Taks:
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/api-v2-return-payload-a84a609db410228a.yaml", "diff": "+---\n+other:\n+ - As part of the APIv2 work we changed all tenant_id references\n+ to project_id on the return payload of REST calls.\n" }, { "change_type": "MODI...
Python
Apache License 2.0
openstack/sahara
APIv2 Changing return payload to project_id As part of the APIv2 work we need to change all tenant_id references to project_id on the return payload. Story: #2004505 Taks: #28227 Change-Id: I94bca161aa4f7bdd56d5528bae92fa81af188a43
488,272
04.12.2018 10:57:29
10,800
81d05942e9fad21b2ccde04544bf362504448a37
Deploying Sahara with unversioned endpoints One of the tasks we need in order to make APIv2 is deployment with unversioned endpoints. This patch makes deployment of unversioned sahara when deployed with devstack Depends-On:
[ { "change_type": "MODIFY", "old_path": "devstack/plugin.sh", "new_path": "devstack/plugin.sh", "diff": "@@ -35,9 +35,9 @@ function create_sahara_accounts {\nget_or_create_service \"sahara\" \"data-processing\" \"Sahara Data Processing\"\nget_or_create_endpoint \"data-processing\" \\\n\"$REGION_NAME\...
Python
Apache License 2.0
openstack/sahara
Deploying Sahara with unversioned endpoints One of the tasks we need in order to make APIv2 is deployment with unversioned endpoints. This patch makes deployment of unversioned sahara when deployed with devstack Depends-On: I5066f73aa0ace79d8d5e1431f8d741d0d942d9d5 Change-Id: I06ac6da0c6784680330ae0431c20d3553f95e452
488,272
06.12.2018 16:42:55
10,800
7105a891c23ca066d87f68e07a7098ea692ca112
APIv2 - Fix 500 on malformed query string on In order to improve return information to clients we are adding a check to verify parameters before each call and return a more appropriate message to the users. Story: Task:
[ { "change_type": "MODIFY", "old_path": "sahara/api/v2/cluster_templates.py", "new_path": "sahara/api/v2/cluster_templates.py", "diff": "@@ -29,6 +29,7 @@ rest = u.RestV2('cluster-templates', __name__)\n@v.check_exists(api.get_cluster_template, 'marker')\n@v.validate(None, v.validate_pagination_limit...
Python
Apache License 2.0
openstack/sahara
APIv2 - Fix 500 on malformed query string on In order to improve return information to clients we are adding a check to verify parameters before each call and return a more appropriate message to the users. Change-Id: I9923601d0903e415a3fe30bec9bdc8fc34b91ff6 Story: #2004506 Task: #28228
488,272
31.01.2019 14:32:32
10,800
21791d1f8929af24196150b70db5864836ac8c83
Changing hdfs fs to hdfs dfs The command hdfs fs has been deprecated in favor of hdfs dfs. Story: Task:
[ { "change_type": "ADD", "old_path": null, "new_path": "releasenotes/notes/hdfs-dfs-94a9c4f64cf8994f.yaml", "diff": "+---\n+fixes:\n+ - |\n+ The command hdfs fs has been deprecated in favor of hdfs fs. This\n+ fixes will allow the use of Hbase service.\n" }, { "change_type": "MODIFY", "ol...
Python
Apache License 2.0
openstack/sahara
Changing hdfs fs to hdfs dfs The command hdfs fs has been deprecated in favor of hdfs dfs. Story: #2004952 Task: #29368 Change-Id: If8db759ab40ca858594498bc5e6f94f416da2545
488,272
23.01.2019 14:28:39
10,800
f6afe5b73341f18424d627fcd61101832131346c
Adding spark build image job Depends-on:
[ { "change_type": "MODIFY", "old_path": ".zuul.yaml", "new_path": ".zuul.yaml", "diff": "- sahara-buildimages-ambari\n- sahara-buildimages-cloudera\n- sahara-buildimages-mapr\n+ - sahara-buildimages-spark\n- sahara-tests-scenario-multinode-spark\n- sahara-tests-scenario-py3\nparent: sahara-buildimage...
Python
Apache License 2.0
openstack/sahara
Adding spark build image job Depends-on: https://review.openstack.org/#/c/632141/ Change-Id: Id8e8b57b16691125f7af4b277bca649398949a6b
488,272
19.02.2019 10:20:14
10,800
dc17f1903f520aefd566a3a9c66ddb406bf7cfa1
Making Sahara Python 3 compatible Sahara fails to connect and operate on remote machines because the output from Subprocess on python 3 are bytes and that breaks follow up actions.
[ { "change_type": "MODIFY", "old_path": ".zuul.yaml", "new_path": ".zuul.yaml", "diff": "- openstack-tox-cover:\nvoting: false\n- sahara-grenade\n+ - sahara-tests-scenario-py3\ngate:\nqueue: sahara\njobs:\n- sahara-tests-tempest\n- sahara-tests-tempest-v2\n- sahara-grenade\n+ - sahara-tests-scenario-...
Python
Apache License 2.0
openstack/sahara
Making Sahara Python 3 compatible Sahara fails to connect and operate on remote machines because the output from Subprocess on python 3 are bytes and that breaks follow up actions. Change-Id: Id55e6c06d3b6ead18501a0e2146af37bf493881d
488,272
25.07.2019 17:19:02
10,800
abc8f570559d142bab22a7557ad1658a6407b7f6
Python 3 fixes String to Bytes compatibility. Story: Task:
[ { "change_type": "MODIFY", "old_path": "sahara/service/edp/spark/engine.py", "new_path": "sahara/service/edp/spark/engine.py", "diff": "@@ -173,7 +173,7 @@ class SparkJobEngine(base_engine.JobEngine):\njob_configs.get('configs', {})):\npath = 'service/edp/resources/edp-spark-wrapper.jar'\nname = 'bu...
Python
Apache License 2.0
openstack/sahara
Python 3 fixes String to Bytes compatibility. Story: #2006258 Task: #35875 Change-Id: Id0ad0f3c644af52f41217105b249df78d0b722cc
488,292
24.10.2019 17:42:55
-28,800
9cf30f600372272736691bf4c777afc2bdfa26d8
fix invaild link of installation guide in Sahara UI User Guide update unsuitable links with the proper ones
[ { "change_type": "MODIFY", "old_path": "doc/source/contributor/devstack.rst", "new_path": "doc/source/contributor/devstack.rst", "diff": "@@ -2,7 +2,7 @@ Setup DevStack\n==============\nDevStack can be installed on Fedora, Ubuntu, and CentOS. For supported\n-versions see `DevStack documentation <htt...
Python
Apache License 2.0
openstack/sahara
fix invaild link of installation guide in Sahara UI User Guide update unsuitable links with the proper ones Change-Id: Ib7516bea5b6ce8bfaf816c9b0cfdf547babddea7
488,325
12.05.2021 14:57:05
-28,800
5d2f114b4232aca892012d22f4342e0c3e1b5e71
delete validation error cluster story: task: 42465
[ { "change_type": "MODIFY", "old_path": "sahara/api/v2/clusters.py", "new_path": "sahara/api/v2/clusters.py", "diff": "@@ -127,9 +127,8 @@ def clusters_update(cluster_id, data):\ndef clusters_delete(cluster_id):\ndata = u.request_data()\nforce = data.get('force', False)\n- stack_name = api.get_cluste...
Python
Apache License 2.0
openstack/sahara
delete validation error cluster Change-Id: I1ec693c17a43c09383fa83556cd3275b75ca90fd story: 2008898 task: 42465
488,325
18.05.2021 11:14:37
-28,800
a0de19e45f3a24a584e92aa6273bf440419f7059
health check error about SqlAlchemy Story: Task: 42467 Story: Task: 39123
[ { "change_type": "MODIFY", "old_path": "sahara/db/sqlalchemy/api.py", "new_path": "sahara/db/sqlalchemy/api.py", "diff": "@@ -1561,7 +1561,7 @@ def cluster_verification_add(context, cluster_id, values):\nverification.update(values)\nsession.add(verification)\n- return verification\n+ return _cluster...
Python
Apache License 2.0
openstack/sahara
health check error about SqlAlchemy Story: 2008900 Task: 42467 Story: 2007450 Task: 39123 Change-Id: I7b671df0c946a96d7f6688b5452a884186e5c11e
488,284
30.12.2021 16:21:28
-28,800
f0a0946c495598764fd5f1f683aea283af304056
Make unclear code clear in user guide cannot show the CLI commend, this patch fix that issue.
[ { "change_type": "MODIFY", "old_path": "doc/source/user/plugins.rst", "new_path": "doc/source/user/plugins.rst", "diff": "@@ -30,7 +30,7 @@ additional values for plugin's labels.\nTo disable a plugin (Vanilla Apache Hadoop, for example), the admin\ncan run the following command:\n-.. code-block:: in...
Python
Apache License 2.0
openstack/sahara
Make unclear code clear in user guide https://docs.openstack.org/sahara/latest/user/quickstart.html cannot show the CLI commend, this patch fix that issue. Change-Id: I3bb41f86713facba2fa3811b1e4420e68d0f355a
488,284
30.12.2021 16:29:04
-28,800
257c58ef814f5bd9ca985c83b4eac42a93b69586
Make hidden code appear in admin guide cannot show the CLI commend, this patch fix that issue.
[ { "change_type": "MODIFY", "old_path": "doc/source/admin/advanced-configuration-guide.rst", "new_path": "doc/source/admin/advanced-configuration-guide.rst", "diff": "@@ -32,7 +32,7 @@ internal IP. The option is ignored if ``proxy_command`` is not also set.\nFor example, the following parameter in th...
Python
Apache License 2.0
openstack/sahara
Make hidden code appear in admin guide https://docs.openstack.org/sahara/latest/admin/advanced-configuration-guide.html cannot show the CLI commend, this patch fix that issue. Change-Id: I26b44442279e9a9b067ff3fd6e78d3d079dad919
488,284
30.12.2021 19:47:28
-28,800
e9e50bede6bf68adb434b7ad57e8dac164acd6ea
Let the code in the json file be displayed cannot show the code clear, this patch fix that issue.
[ { "change_type": "MODIFY", "old_path": "doc/source/user/edp.rst", "new_path": "doc/source/user/edp.rst", "diff": "@@ -332,7 +332,7 @@ A \"Description\" field may also be added to each interface argument.\nTo create such an interface via the REST API, provide an \"interface\" argument,\nthe value of ...
Python
Apache License 2.0
openstack/sahara
Let the code in the json file be displayed https://docs.openstack.org/sahara/latest/user/edp.html cannot show the code clear, this patch fix that issue. Change-Id: Ie4f8add7e464c454c41d6c4084ec64d6b7cca3ee
488,284
30.12.2021 19:56:10
-28,800
4a7f7b462ae95e824b0fe3b5a7280cd4307c7580
Solve the problem that the code in the xml file is not clear cannot show the code clear in xml file, this patch fix that issue.
[ { "change_type": "MODIFY", "old_path": "doc/source/user/hadoop-swift.rst", "new_path": "doc/source/user/hadoop-swift.rst", "diff": "@@ -40,7 +40,7 @@ Hadoop installation. In cases where a user might require more in-depth\nconfiguration all the data is set in the ``core-site.xml`` file on the cluster...
Python
Apache License 2.0
openstack/sahara
Solve the problem that the code in the xml file is not clear https://docs.openstack.org/sahara/latest/user/hadoop-swift.html cannot show the code clear in xml file, this patch fix that issue. Change-Id: I7467e3a3665f882587adbaa8e6c50042bc00739c
488,284
13.05.2022 18:35:56
-28,800
7f3c2dd0b58ef0b771cdb41016a02fad56c9b9bd
Python3.6/3.7 are deleted in testing runtime Python3.6 and Python3.7 are no longer supported by zed cycle tests, and Python3.9 was added when Python3.6 and Python3.7 were removed.
[ { "change_type": "MODIFY", "old_path": "setup.cfg", "new_path": "setup.cfg", "diff": "@@ -3,13 +3,12 @@ name = sahara\nsummary = Sahara project\ndescription_file = README.rst\nlicense = Apache Software License\n-python_requires = >=3.6\n+python_requires = >=3.8\nclassifiers =\nProgramming Language :...
Python
Apache License 2.0
openstack/sahara
Python3.6/3.7 are deleted in testing runtime Python3.6 and Python3.7 are no longer supported by zed cycle tests, and Python3.9 was added when Python3.6 and Python3.7 were removed. Change-Id: Ie3f0da2775b59df8d01e560b4e507cd331948ae7
89,733
02.02.2017 13:24:14
-3,600
fc1187ef1d6c5d6bbb0c25d68a7397cd30c8a863
fix: display html fix on reaction knockin target
[ { "change_type": "MODIFY", "old_path": "cameo/core/target.py", "new_path": "cameo/core/target.py", "diff": "@@ -265,7 +265,7 @@ class ReactionKnockinTarget(KnockinTarget):\nreturn \"<ReactionKnockin %s>\" % self.id\ndef _repr_html_(self):\n- return \"::%s\"\n+ return \"::%s\" % self.id\nclass GeneMo...
Python
Apache License 2.0
biosustain/cameo
fix: display html fix on reaction knockin target (#109)
89,733
03.02.2017 12:11:55
-3,600
873f44d832d844a6eeea116e0ebf77e6e663d18e
fix:give a list to remove reactions so it doesn't display warnings
[ { "change_type": "MODIFY", "old_path": "cameo/core/target.py", "new_path": "cameo/core/target.py", "diff": "@@ -230,7 +230,7 @@ class ReactionKnockinTarget(KnockinTarget):\nmodel.add_reaction(self._value)\nelse:\ntime_machine(do=partial(model.add_reaction, self._value),\n- undo=partial(model.remove_...
Python
Apache License 2.0
biosustain/cameo
fix:give a list to remove reactions so it doesn't display warnings (#110)
89,735
28.02.2017 15:29:40
-3,600
8b29fd6c94aea2497aa7ef32f3504f6e9d21de00
fix broken release plan * fix broken release plan skip automatic github deploy for now unit tests must not edit any files or versioneer will report a make it a 'dirty release'
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -46,23 +46,24 @@ env:\nglobal:\nsecure: QgrOXEgpcH6xgToVfWIX6j6CPvycKMPtNnoYAxPrZjkMzd2aCHHeokv0FZkCn3uePO0I8W8TkKBxilGZbWYoseDq+Snds18sBTG9u2NHvYHnDQb4Oki7+NoxhlnGIOj/8ADONOpc0n7PyFDPK8zmKVZvv9p78OHZO5CmV/k...
Python
Apache License 2.0
biosustain/cameo
fix broken release plan (#120) * fix broken release plan - skip automatic github deploy for now - unit tests must not edit any files or versioneer will report a make it a 'dirty release'
89,733
07.03.2017 13:04:00
-3,600
8dbcbe5e8c8f158f00a6fdccecee24db812de348
fix: fva flags * fix: fva flags Now that it runs by getting all the `min` and then all the `max` the lower_bound flags need to be stored and evaluated in the second iteration. I added a dictionary to store the lb_flag. * fix: minor perfomance improvement
[ { "change_type": "MODIFY", "old_path": "cameo/flux_analysis/analysis.py", "new_path": "cameo/flux_analysis/analysis.py", "diff": "@@ -27,6 +27,7 @@ import six\nfrom cobra.core import Reaction, Metabolite\nfrom numpy import trapz\nfrom six.moves import zip\n+from sympy import S\nimport cameo\nfrom ca...
Python
Apache License 2.0
biosustain/cameo
fix: fva flags (#123) * fix: fva flags Now that it runs by getting all the `min` and then all the `max` the lower_bound flags need to be stored and evaluated in the second iteration. I added a dictionary to store the lb_flag. * fix: minor perfomance improvement
89,733
07.03.2017 13:20:10
-3,600
6c6a1b97d56b69f30f8128816a55bc71e6952554
fix: cameo.api.products.search is now case insensitive
[ { "change_type": "MODIFY", "old_path": "cameo/api/products.py", "new_path": "cameo/api/products.py", "diff": "@@ -73,8 +73,11 @@ class Products(object):\nraise Exception(\"No compound matches found for query %s\" % query)\ndef _search_by_name_fuzzy(self, name):\n- matches = difflib.get_close_matches...
Python
Apache License 2.0
biosustain/cameo
fix: cameo.api.products.search is now case insensitive (#126)
89,735
12.03.2017 13:14:51
-3,600
467fab320385967015017e810326690c4e18fe3b
feat: option to constrain max flux sum during fva * feat: option to constrain max flux sum during fva when doing fva, fixing max flux sum may yield more realistic bounds. Add option in fva to accomplish this. * fix: pin cobrapy * implement review from
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -50,3 +50,4 @@ docs/_build\n.vagrant\n*~\n+/.DS_Store\n" }, { "change_type": "MODIFY", "old_path": "cameo/flux_analysis/simulation.py", "new_path": "cameo/flux_analysis/simulation.py", "dif...
Python
Apache License 2.0
biosustain/cameo
feat: option to constrain max flux sum during fva (#131) * feat: option to constrain max flux sum during fva when doing fva, fixing max flux sum may yield more realistic bounds. Add option in fva to accomplish this. * fix: pin cobrapy * implement review from @midnighter
89,733
15.03.2017 14:44:23
-3,600
8c14270d5181874b586d3976873bc9790daff599
fix: evaluation was inversed
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -287,7 +287,7 @@ class DifferentialFVA(StrainDesignMethod):\nincluded_reactions = [reaction.id for reaction in ...
Python
Apache License 2.0
biosustain/cameo
fix: evaluation was inversed (#136)
89,737
27.03.2017 10:50:19
-7,200
62fdf13f0bb7c9e4c4c291cdae05bc8d0bd4273b
fix: designer workflow Less iterations and less pathways. Fail gracefully if the compound is in products but not in the database
[ { "change_type": "MODIFY", "old_path": "cameo/api/designer.py", "new_path": "cameo/api/designer.py", "diff": "@@ -73,7 +73,7 @@ class _OptimizationRunner(object):\nclass _OptGeneRunner(_OptimizationRunner):\ndef __call__(self, strategy):\n- max_evaluations = 20000\n+ max_evaluations = 15000\nif self...
Python
Apache License 2.0
biosustain/cameo
fix: designer workflow Less iterations and less pathways. Fail gracefully if the compound is in products but not in the database
89,737
27.03.2017 14:19:07
-7,200
c46ab214fb512541fe73c300bb4b59855c0402b4
fix: raise KeyError
[ { "change_type": "MODIFY", "old_path": "cameo/api/designer.py", "new_path": "cameo/api/designer.py", "diff": "@@ -359,7 +359,7 @@ class Designer(object):\nsearch_result = products.search(product)\nsearch_result = search_result.loc[[i for i in search_result.index if i in database.metabolites]]\nif le...
Python
Apache License 2.0
biosustain/cameo
fix: raise KeyError
89,741
30.03.2017 08:19:23
-7,200
97aedee2155d427f82145a7a5bdbbf0b2c690fee
fix: make add_pfba roll back all changes
[ { "change_type": "MODIFY", "old_path": "cameo/flux_analysis/simulation.py", "new_path": "cameo/flux_analysis/simulation.py", "diff": "@@ -106,7 +106,7 @@ def add_pfba(model, objective=None, fraction_of_optimum=1.0, time_machine=None):\nA time machine to undo the added pFBA objective\n\"\"\"\nif obje...
Python
Apache License 2.0
biosustain/cameo
fix: make add_pfba roll back all changes (#145)
89,737
30.03.2017 15:05:03
-7,200
caa6a02d6be99299fc398fc2b999c66f645cb22a
fix: make PathwayResult correctly pickable
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/pathway_prediction/pathway_predictor.py", "new_path": "cameo/strain_design/pathway_prediction/pathway_predictor.py", "diff": "@@ -58,6 +58,23 @@ class PathwayResult(Pathway, Result, StrainDesign):\nself.product = product\nself.targets = sel...
Python
Apache License 2.0
biosustain/cameo
fix: make PathwayResult correctly pickable
89,737
30.03.2017 15:05:56
-7,200
280a46e03e117dcffa9a0badfbf185a460727ebf
fix: unit tests for pathway predictions
[ { "change_type": "MODIFY", "old_path": "tests/test_pathway_predictions.py", "new_path": "tests/test_pathway_predictions.py", "diff": "from __future__ import absolute_import, print_function\n+import pickle\nimport re\nfrom os.path import join\n@@ -44,19 +45,12 @@ def pathway_predictor_result(pathway_...
Python
Apache License 2.0
biosustain/cameo
fix: unit tests for pathway predictions
89,741
29.03.2017 19:02:30
-7,200
da4b62a7f22d1f7b5395c5139f55277a8ad98e50
doc: set docs version from cameo.__version__
[ { "change_type": "MODIFY", "old_path": "docs/conf.py", "new_path": "docs/conf.py", "diff": "@@ -86,21 +86,25 @@ copyright = u'2014, Novo Nordisk Foundation Center for Biosustainability'\n#\n# The short X.Y version.\n-sys.path.insert(0, '.')\n-sys.path.insert(0, '../') # to get the versioneer module\...
Python
Apache License 2.0
biosustain/cameo
doc: set docs version from cameo.__version__
89,741
29.03.2017 20:37:43
-7,200
c807117fe8a7fdb7fa788327bdf64183f286b35f
doc: update README.rst and index.rst
[ { "change_type": "MODIFY", "old_path": "docs/index.rst", "new_path": "docs/index.rst", "diff": "@@ -6,21 +6,10 @@ Welcome to cameo!\n**Cameo** is a high-level python library developed to aid the strain\ndesign process in metabolic engineering projects. The library provides a\n-modular framework of s...
Python
Apache License 2.0
biosustain/cameo
doc: update README.rst and index.rst
89,741
29.03.2017 20:39:37
-7,200
f5a2dc625137695c38a3e18896b0efa75bf2e78c
fix: bokeh version be pinned <=0.12.1 All the tutorial notebooks with bokeh plots are broken with bokeh >0.12.1
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -47,7 +47,7 @@ extra_requirements = {\n'docs': ['Sphinx>=1.3.5', 'numpydoc>=0.5'],\n'swiglpk': ['swiglpk>=1.2.14'],\n'plotly': ['plotly>=1.9.6'],\n- 'bokeh': ['bokeh>=0.11.1'],\n+ 'bokeh': ['bokeh<=0.12.1'],\n'jup...
Python
Apache License 2.0
biosustain/cameo
fix: bokeh version be pinned <=0.12.1 All the tutorial notebooks with bokeh plots are broken with bokeh >0.12.1
89,741
30.03.2017 13:54:25
-7,200
d13286479bc7bda4c11ab1607332c54aa3e90138
doc: update apidocs
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/apidoc_output/cameo.cli.rst", "diff": "+cameo.cli package\n+=================\n+\n+Submodules\n+----------\n+\n+cameo.cli.controllers module\n+----------------------------\n+\n+.. automodule:: cameo.cli.controllers\n+ :members:\n+ :undoc-me...
Python
Apache License 2.0
biosustain/cameo
doc: update apidocs
89,741
30.03.2017 15:31:26
-7,200
8b271c0c4dbffa8e83861f4e2ec7677feb025ca2
chore: no longer necessary to provide swiglpk as a soft dependency
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -45,13 +45,12 @@ requirements = ['numpy>=1.9.1',\nextra_requirements = {\n'docs': ['Sphinx>=1.3.5', 'numpydoc>=0.5'],\n- 'swiglpk': ['swiglpk>=1.2.14'],\n'plotly': ['plotly>=1.9.6'],\n'bokeh': ['bokeh<=0.12.1'],\n...
Python
Apache License 2.0
biosustain/cameo
chore: no longer necessary to provide swiglpk as a soft dependency