Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I782877e2e4daccbc8678fdfe62f7183e23dff0ff
This patch changes 'Seperate' to
'Separate' in the 104 line of specs
/mitaka/cdh-plugin-refactoring.rst
Change-Id: Ic5fe0320ca5c58375594296bcf24ec55e856cf41
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I7b38486e0dadef1dc6184c8bbc9d63a9a2e832cd
This commit removes .testr.conf since this repo already has
.stestr.conf. We just need .stestr.conf instead of .testr.conf.
Change-Id: I013ae3996b66ce18ea3c6d98077e5928cc43cee0
- Updated CONTRIBUTING.rst per goal guidelines
- The repository does not have docs, so rely on main sahara docs
Change-Id: I7ee3ef36eb4b3043624c036b0acd5dd1602c7d76
Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
Change-Id: If224e2f3d582ad378b8ef8840604cad3172538a6
cmd2 was brought in as a dependency here:
https://review.opendev.org/#/c/570972/
As long as we used python 2, we needed to cap cmd2.
However, some time ago we switched to Python3 as part
of https://review.opendev.org/#/c/581193/ so the cap
is no longer needed.
Change-Id: I677168980f7fbabbf388d377eb20ce8b01a3b4b1
- make it compatible with latest sphinx:
* update the requirements (sphinx,
openstackdocstheme as suggested its maintainers, yasfb)
* update redirect.py by replacing the API which are not available anymore
(thanks to nova-specs's https://review.opendev.org/648670)
* following that review, clean and update conf.py;
- improve the structure of the document. Group by top-level sections
whenever it makes sense (one for each release of Sahara, and one
for each additional component). This reduces the number of chapter
and it makes the document more readable;
- add the required pdf-docs tox environment;
- make sure that the docs tox environment only removes the html builds;
- only show the search section when the HTML generator is used (and fix
its header when it is shown);
- disable the too smart smartquotes option for the latex builder;
- replace the py27 job with a py36 one to run the (few) internal tests.
Story: 2006117
Task: 35496
Change-Id: I9ac4fa81a80ee36af9e5278fc4a0792689c5a10a
The new openstack-discuss mailing list is going to replace few
mailing lists, including openstack-dev.
Change-Id: I7c2b87b44c2429f66195be504b47767ed2b97d58
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: I169b63ca7896af0c6db7e835ef4a244fd4164ec9
Story: #2002586
Task: #24332
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: I695bb1b311b8d66d3c4fb966158a4e50f223c4dd
According the Project Testing Interface, define doc requirements
in a special file, and clean up the 'docs' tox environment.
Change-Id: I86e6bc925bfe9d904b37d2bcd2099fd94873addd
Change according the Project Testing Interface.
Also cap the version of cmd2 to <0.9.0: newer versions
require python 3.4. It looked like the bug should have been
fixed with 0.9.1 but it is not yet.
See https://github.com/python-cmd2/cmd2/issues/421
Change-Id: Iabb61b2f7991e28b990a9ed26b93af8dfb618b37
In order to have an easier set up for users to keep plugins versions up
to date we are proposing the split of plugins code from sahara core into
its own project.
Change-Id: Ib50311a129e17e2fbb7ae0d53c6ebe9c9f668709
Sahara projects migrated to storyboard.openstack.org.
Replace the references to Launchpad, including the usage of
blueprints (apart from historical references).
Fix the bug link in the openstackdocstheme configuration.
Change-Id: Ib7060f888bc2a28690c4f9498f2925909ad75bc2
In some part in the code we import objects. In the Openstack style guidelines
they recommend to import only modules. [1]: "Do not import objects, only modules".
[1] https://docs.openstack.org/hacking/0.10.3/
Change-Id: Id84965086443f275495331a2964f67ee12a68666
This specification details how Heat's stack abandon feature will be
leveraged to accomplish the force deletion of clusters.
APIImpact
Partially-Implements: bp sahara-force-delete
Related-Bug: #1647411
Change-Id: Iaf992fd6c89d46668e88bec536002bfffb1854dc
When facing issues with a cluster it can be useful to remove an specific
instance. The way that Sahara is constructed today allows the user to scale a
cluster down but it will choose a random instance from the selected node group
to be removed. We want to give the users the opportunity to choose which
instance(s) he/she would like to remove from the cluster.
Change-Id: I885f0583b97c29abb71888114597a7da8deaf4b3
Job binary internal is not needed now, since
swift and manila are available (and possibly
other storage options in the future) and these
are more suitable options for storage.
Change-Id: Ic47479aa32571ed72a6440a9c201756436a01462
Partial-Implements: bp remove-job-binary-internal
* Create Queens folder
* Promote APIv2 from backlog to Queens and reassign
* Create spec for revival of schedule/recur/suspend EDP job
(summarizing current status found in [0],[1])
* Move Boot from Volume to backlog
* Move Two-step Scaling to backlog
* Move Spark on Vanilla from backlog to Newton (implemented that cycle)
* Fix incorrect duplicate spec titles
* Remove placeholder files
* Reference image packing in the spec template
* Delete old version of portable templates spec
(note precdent for deletion of superseded spec in [2])
[0] https://review.openstack.org/#/q/topic:bp/enable-scheduled-edp-jobs
[1] https://review.openstack.org/#/q/topic:bp/add-suspend-resume-ability-for-edp-jobs
[2] https://review.openstack.org/#/c/270156/
Change-Id: I1f4155e28349facad701aa8fc37ae7f7542c385c
- update the requirements so that they are aligned with the current
global-requirements.txt
- thanks to the new sphinx, enable warning-is-errors
- retroactively fix few errors in the old specs:
* mostly fix the wrong type of formatter for special blocks (so no
changes in the contents);
* fix a big chunk of JSON (extra commas, wrong delimiters, etc)
- and thanks to all of this, switch to openstackdocstheme according
its instructions.
Change-Id: I6ff74030b3595b45ea2a143e401f994afe3fa4ba
Sahara allows multiple types of data source and job binary. However,
there's no clean abstraction around them, and the code to deal
with them is often very difficult to read and modify. This change
proposes to create clean abstractions that each data source
type and job binary type can implement differently depending
on its own needs.
Change-Id: Ia3c088e72a09d680ed87d10b4a68477f8cf9642e
Partial-implements: bp data-source-plugin