summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-14Merge "Optimizing the safety of the http link site in HACKING.rst"HEADmasterZuul
2018-12-14Merge "Change openstack-dev to openstack-discuss"Zuul
2018-12-14Merge "fix tox python3 overrides"Zuul
2018-12-14Merge "Removed older version of python3.4"Zuul
2018-12-07Change openstack-dev to openstack-discuss98k
Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: I3ae0d8837a1c21285a35015c2c0a2463311b9803 Notes (review): Code-Review+1: Filippo Inzaghi <zhao.daqing@99cloud.net> Code-Review+2: Ghanshyam Mann <gmann@ghanshyammann.com> Workflow+1: Ghanshyam Mann <gmann@ghanshyammann.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 14 Dec 2018 08:52:39 +0000 Reviewed-on: https://review.openstack.org/622988 Project: openstack/devstack-tools Branch: refs/heads/master
2018-11-16Optimizing the safety of the http link site in HACKING.rstzhouxinyong
Change-Id: I31c62536f48134e4ffc93abc6831b76c4b18ae93 Notes (review): Code-Review+2: Ghanshyam Mann <gmann@ghanshyammann.com> Workflow+1: Ghanshyam Mann <gmann@ghanshyammann.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 14 Dec 2018 09:04:02 +0000 Reviewed-on: https://review.openstack.org/618331 Project: openstack/devstack-tools Branch: refs/heads/master
2018-11-06fix tox python3 overrides98k
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I15eb789db64c58865fc3dae99a7e83f90c971a60 Closes-Bug: #1801657 Notes (review): Code-Review+1: Filippo Inzaghi <zhao.daqing@99cloud.net> Code-Review+1: Andriy Shevchenko <huang.zhiping@99cloud.net> Code-Review+1: Vieri <15050873171@163.com> Code-Review+2: Ghanshyam Mann <gmann@ghanshyammann.com> Workflow+1: Ghanshyam Mann <gmann@ghanshyammann.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 14 Dec 2018 08:52:39 +0000 Reviewed-on: https://review.openstack.org/608603 Project: openstack/devstack-tools Branch: refs/heads/master
2018-09-29Removed older version of python3.4qingszhao
Change-Id: I7f0c246b893b44d7334df26e9dbd5eba80fc4c84 Notes (review): Code-Review+2: Ghanshyam Mann <gmann@ghanshyammann.com> Workflow+1: Ghanshyam Mann <gmann@ghanshyammann.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 14 Dec 2018 08:51:27 +0000 Reviewed-on: https://review.openstack.org/606325 Project: openstack/devstack-tools Branch: refs/heads/master
2018-09-26fix tox python3 overridesDoug Hellmann
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I6faa7c3e39f02d765d7ceed4a69490b2092c6fee Signed-off-by: Doug Hellmann <doug@doughellmann.com> Notes (review): Code-Review+2: Ian Wienand <iwienand@redhat.com> Workflow+1: Ian Wienand <iwienand@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 08 Oct 2018 02:50:49 +0000 Reviewed-on: https://review.openstack.org/606629 Project: openstack/devstack-tools Branch: refs/heads/master
2018-09-08add python 3.6 unit test jobDoug Hellmann
This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Id81512ccba8da3215c503e8b04cd04f4a71dcc34 Story: #2002586 Task: #24327 Notes (review): Code-Review+2: Ian Wienand <iwienand@redhat.com> Workflow+1: Ian Wienand <iwienand@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 10 Sep 2018 01:44:12 +0000 Reviewed-on: https://review.openstack.org/600999 Project: openstack/devstack-tools Branch: refs/heads/master
2018-09-08import zuul job settings from project-configDoug Hellmann
This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I2f0d88f88d36347bcc9702be74ab9812dc78842c Story: #2002586 Task: #24327 Notes (review): Code-Review+2: Ian Wienand <iwienand@redhat.com> Workflow+1: Ian Wienand <iwienand@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 10 Sep 2018 01:40:48 +0000 Reviewed-on: https://review.openstack.org/600998 Project: openstack/devstack-tools Branch: refs/heads/master
2017-02-28Insert the right content at end of files0.4.0Sean Dague
Previously the logic around hitting the end of the file without having found the insertion point didn't account for the fact that you might be in roughly the right area, and would not need to duplicate the meta section or section headers. This takes that into account during the else phase. It will help with the neutron functional jobs that merge a lot of snippets together. Change-Id: Ifaa1176e9fdfbc4fdb43192ed2f85e7306823848 Notes (review): Code-Review+2: Matthew Treinish <mtreinish@kortar.org> Code-Review+2: Sean Dague <sean@dague.net> Workflow+1: Sean Dague <sean@dague.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 28 Feb 2017 15:37:29 +0000 Reviewed-on: https://review.openstack.org/438989 Project: openstack/devstack-tools Branch: refs/heads/master
2017-02-27support local.conf files with no [[local]] section yet0.3.0Sean Dague
Previously if we tried to added content to a local.conf file without a local section, we actually inserted that content in the wrong place at the end of the file. This fixes that, with unit tests. Change-Id: Ib886d78ce5f3718def784db59ba9abf41bdb0e7b Notes (review): Code-Review+2: Matthew Treinish <mtreinish@kortar.org> Code-Review+2: Sean Dague <sean@dague.net> Workflow+1: Sean Dague <sean@dague.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 27 Feb 2017 15:27:12 +0000 Reviewed-on: https://review.openstack.org/438540 Project: openstack/devstack-tools Branch: refs/heads/master
2017-02-22add set_local_raw_multiline testMikhail S Medvedev
setlc_raw can be used to set several lines at once. The test checks that it works as expected. See I565f5420743fbd95e9d744010c488953c54dd8a4 for some context of why that is useful. Change-Id: I21bd78fa6169002a70fa9074d56d985bfc0b833f Notes (review): Code-Review+2: Sean Dague <sean@dague.net> Workflow+1: Sean Dague <sean@dague.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 22 Feb 2017 21:03:05 +0000 Reviewed-on: https://review.openstack.org/437139 Project: openstack/devstack-tools Branch: refs/heads/master
2017-02-15Match version entry in __init__ with setup.cfg0.2.1Monty Taylor
The name listed in setup.cfg is the key and needs to match what's in __init__.py. Change-Id: Icf0cfed5ed79bf5e96c94e81cf70f7769ff5b498 Notes (review): Code-Review+2: Sean Dague <sean@dague.net> Workflow+1: Sean Dague <sean@dague.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 15 Feb 2017 19:53:51 +0000 Reviewed-on: https://review.openstack.org/434478 Project: openstack/devstack-tools Branch: refs/heads/master
2017-02-10rename set_local_raw to set_local0.2.0Sean Dague
set_local_raw is the new set_local, adjust the code to use the better name. Change-Id: I0f16ca647ada37049bdaf570b4695a73b60007ec Notes (review): Code-Review+2: Sean Dague <sean@dague.net> Workflow+1: Sean Dague <sean@dague.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 13 Feb 2017 12:19:56 +0000 Reviewed-on: https://review.openstack.org/432476 Project: openstack/devstack-tools Branch: refs/heads/master
2017-02-10new localrc set strategySean Dague
the localrc is really just executable shell, which means there are tons of edgecases where you can't treat it the same as simple assignment a=b. Instead of trying to be smart about things and reduce duplication in the localrc files, just do the naive thing and stack up all the shell declarations in order. When evaluated in shell they will end up stacking up as expected. Change-Id: I231d130b24b02cdd79618f85472cee21905884e0 Notes (review): Code-Review+2: Sean Dague <sean@dague.net> Workflow+1: Sean Dague <sean@dague.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 13 Feb 2017 12:19:51 +0000 Reviewed-on: https://review.openstack.org/432475 Project: openstack/devstack-tools Branch: refs/heads/master
2017-01-19update help for dsconfSean Dague
Change-Id: I4b749816a52c0206e9f546b64b9ed80f766323b8 Notes (review): Code-Review+2: Matthew Treinish <mtreinish@kortar.org> Code-Review+2: Sean Dague <sean@dague.net> Workflow+1: Sean Dague <sean@dague.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 13 Feb 2017 12:19:46 +0000 Reviewed-on: https://review.openstack.org/432474 Project: openstack/devstack-tools Branch: refs/heads/master
2017-01-19add tests for merging lines beyond a=b0.1.4Sean Dague
Change-Id: Id2af3b86e19c02fee4058d61e15eb6dd462c6e73 Notes (review): Code-Review+2: Sean Dague <sean@dague.net> Workflow+1: Sean Dague <sean@dague.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 19 Jan 2017 20:26:00 +0000 Reviewed-on: https://review.openstack.org/422645 Project: openstack/devstack-tools Branch: refs/heads/master
2017-01-19add setlc_raw to the cliSean Dague
This allows the devstack_localrc command from grenade be ported to dsconf. Change-Id: Iea8e826205ad402d0cf6fd6688860171b6f0a391 Notes (review): Code-Review+2: Sean Dague <sean@dague.net> Workflow+1: Sean Dague <sean@dague.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 19 Jan 2017 20:25:58 +0000 Reviewed-on: https://review.openstack.org/422619 Project: openstack/devstack-tools Branch: refs/heads/master
2017-01-19fix pep8 issueSean Dague
Change-Id: If81a2a22af406b700ec5b71b0e738e481a470ee0 Notes (review): Code-Review+2: Sean Dague <sean@dague.net> Workflow+1: Sean Dague <sean@dague.net> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 19 Jan 2017 13:57:56 +0000 Reviewed-on: https://review.openstack.org/422628 Project: openstack/devstack-tools Branch: refs/heads/master
2017-01-18add dsconf help to READMESean Dague
2017-01-17add the ability for raw line insert during merge0.1.3Sean Dague
Some localrc stanzas, like enable/disable* need to come over during merge. These lines will not have an = in them.
2017-01-17print when skipping merging lines0.1.2Sean Dague
2017-01-17fix dsconf for setting localrc name=value0.1.1Sean Dague
It's important when setting localrc name=value that there are no spaces around the = sign, otherwise it doesn't work. Remember to treat localrc special from the iniset portions.
2017-01-17Fix merge of local.conf add tests0.1.0Sean Dague
2017-01-17initial take at merging local.conf codeSean Dague
2017-01-17add more cli supportSean Dague
Make it possible to create a blank local.conf
2017-01-16start adding parser, only support python3Sean Dague
python3 argparse adds native subparsers, which makes this much easier to build without external dependencies (which improves load and run time). 20ms for most operations means we can do 50 / sec. This will be a slow down from the awk approach, but for larger gains in readability.
2017-01-16fix pep8Sean Dague
2017-01-16support localconf setSean Dague
2017-01-16add functions to set items in local.confSean Dague
2017-01-16add localrc extractionSean Dague
2017-01-16tests for merging with existing ini filesSean Dague
2017-01-16make iniset work with files that do not yet existSean Dague
This allows the add and set commands to work when files do not yet exist, which becomes important for extracting things like post config files.
2017-01-16fix pep8 issueSean Dague
2017-01-16add uncomment functionSean Dague
2017-01-16Add comment, set, has methodsSean Dague
2017-01-16add inifile add/remove codeSean Dague
2017-01-16Initial Cookiecutter Commit.Sean Dague