Commit Graph

23 Commits

Author SHA1 Message Date
melakualehegn 9f0aaf7dd4 Add new-note tox environment
Only reno command was possible to add a
release notes. modify tox config to allow
newnote command too.

Change-Id: I12ac14f664f59dbab11ded5f420de4ea290f21f6
2024-02-29 12:31:16 +00:00
haixin 0e971152f7 Add update share-type name description and/or public access
Currently, only the name and public access of share-type is set when the
share-type is created, and not allowed to be edited after the share-type
is created. We can only set extra spec for share-type. This commit
suppport update name,description or public access of share-type.

Change-Id: Ia59ae574482fa8015f0151cd983ef880e180640a
Partially-Implements: blueprint update-share-type-name-or-description
2023-01-27 16:43:23 +00:00
Dina Saparbaeva 8b5b9cb83b API v2.45, adds metadata support to access rules
Added access metadata for share access and also introduced the GET /share-access-rules API.
The prior API to retrieve access rules will not work with API version >=2.45

Closes-Bug: #1920687
Change-Id: Iec3a3fad5e2bdf854f04ae974248d899f90bd894
2021-08-20 14:22:34 +03:00
Zuul 0c39bd8436 Merge "Addition of share shrinking feature to Manila-UI" 2021-03-12 09:07:06 +00:00
Dina Saparbaeva f0d83a6ed2 Addition of share shrinking feature to Manila-UI
Currently, share shrinking feature in Manila-UI is not supported.
Only "Extend Share" feature exists. "Extend Share" feature was
renamed as "Resize Share" and share shrinking feature was added.
Now it works both ways, if value in "New Size" field is less than
original size, it will shrink, and if value is more it will extend.
Also, minimal value was added to "New Size" field to ensure the
value doesn't decrease to zero.

Implements: blueprint share-shrinking
Change-Id: I8553bed01b529c1b3a57b1e900d171db1d5f28d2
2021-03-04 14:55:43 +00:00
wu.shiming c69afd7046 remove unicode from code
In Python 3, all strings are represented in Unicode.In Python 2 are
stored internally as 8-bit ASCII, hence it is required to attach 'u'
to make it Unicode. It is no longer necessary now.'

Change-Id: Ib739730cf74a880fc07f0279f55dd00e9c003465
2021-03-04 10:55:21 +08:00
Andreas Jaeger 62031d8a7c Switch to newer openstackdocstheme and reno versions
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.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

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: Ic888f31814431683d8cd71e1ab25c0dc63bcc8ef
2020-05-21 14:01:02 +02:00
Goutham Pacha Ravi 70e2c88fdd [ussuri][goal] Change contributor guide
- Add a top level CONTRIBUTING.rst for
  repo browsers
- Refactor existing contributor guide
- Add a contributor/contributing.rst file
  with links back to relevant manila
  documentation.
- Rearrange some things in the main doc
  index file to make things prettier.

Change-Id: I1cc4c2f3d78e04a78dc46221e5edf786fd22a372
Story: #2007236
Task: #39554
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-27 14:59:57 +00:00
Goutham Pacha Ravi 3382ce81f6 Remove mock from requirements
We don't use this third party lib anymore,
since https://review.opendev.org/#/c/717325/

Change-Id: Ibe4423cf3893981128addbf4fa31ba9003a7e968
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-17 15:02:36 -07:00
Andreas Jaeger 4d19dcd9ea Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove Babel from requirements, it's not needed for running.
- Update lower-constraints for osprofiler as required by
  other dependencies.

Change-Id: I84ec7cae5b051bb9c69969d8ccaa28b053914840
2020-04-17 22:28:25 +02:00
Goutham Pacha Ravi 3cd2fec230 Drop python2.7 support
As per the official python support timeline
set forth by the OpenStack TC [1], OpenStack
Train (in our case, manila-ui 2.19.x
series) is the last release that will support
python2.7.

Depends-On: https://review.opendev.org/#/c/688997/
[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html

Change-Id: I5b4dc1853d7e4f8f736dd2a22eb08bcfdeac3411
2019-11-07 18:15:32 +00:00
Zuul 78815b46ab Merge "Add PDF documentation build" 2019-09-14 01:48:20 +00:00
Tom Barron d9a01c0dd7 Add PDF documentation build
Add a new tox target to build PDF documentation in accord
with the community goal [0] to have PDF docs available.

Also, only show genindex and search for HTML.  These elements
do not make sense within PDF documents.

[0] https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html

Change-Id: Ia75423d1efbec65730130eedf169c458b92b0c9f
2019-09-13 23:38:24 +00:00
zhangbailin 09dd8bc773 Replace the old-operator in installation docs
Now the *Shares* in Horizon Dashboard under the 'Project' -> 'Share',
not under the 'Compute'.

Change-Id: I5dbf20a04afea7db1fbff93b8584db853d4a1a6d
2019-07-31 19:58:57 +08:00
gujin e1c48ee266 Replace git.openstack.org URLs with opendev.org URLs
1. Replace git.openstack.org URLs with opendev.org URLs
2. Remove unncessary "=="

Change-Id: If78b4eefb9bb144f65d7be2f6c898a74f5dc150e
2019-05-27 13:41:50 +08:00
Ian Wienand ca9cb26eee Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ieffad700c68c51c084c44af2eda497233f29ceff
2019-03-24 20:34:10 +00:00
Victoria Martinez de la Cruz bb144b4b9f Update installation docs for Manila UI
After dropping old oslo-incubator file (tools/install_venv.py)
we needed to update the installation docs and remove references
to it. This patch set add new instructions and also includes
Devstack as an installation alternative.

Change-Id: I896b27107f2c8ca9f0c6c98b7b782c59ff754fea
Closes-Bug: #1770209
2018-06-18 19:51:58 +00:00
Akihiro Motoki 28a96c3577 Import user and admin guide from horizon
User and admin guide was moved accidentally from openstack-manuals
to horizon during the doc-migration in Pike. This commit moves them
from horizon to manila-ui repository for better future maintenance.

Change-Id: I918dfcbb6d5498c2a2732c0ae7627da261bf4b87
Closes-Bug: #1741613
2018-01-06 20:48:55 +09:00
Akihiro Motoki df7319b80d Reorganize manila-ui documentation
This commit reorganizes the doc structure in the way
suggested by doc-migration spec.

Note that user/ is not touched by this commit
as I plan to update it in a subsequent patch
which moves manila-ui user/admin guide from horizon.

Change-Id: I3c644c33cb912397bd1d5ee890f4991ac3e26501
2018-01-06 20:37:59 +09:00
Tom Barron b7fb1dd1c8 doc migration: new directory layout
This patch introduces a new directory layout
in doc/source in conformance with the OpenStack
manuals project migration spec [1], moves the
existing content in manila/doc/source into the
new directories, and adjusts index files accordingly.

This is the first step in the migration process
as outlined in the spec.

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Partial-Bug: #1706181
Needed-By: Iac9a0180a8b1a45f6f1d84020c6d15f457ad92bf
Depends-On: I92cc896bbd505d10c9dc7101bacb4caedf43da8f
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454

Change-Id: I9c378a188f9009a82100f5488a936d43536bd5b6
2017-08-21 10:22:02 -04:00
Tom Barron f74fff4d63 doc migration: openstackdocstheme
This patch transitions to the openstackdocs theme from
oslosphinx in accord with the OpenStack manuals project
migration spec [1].

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Change-Id: I92cc896bbd505d10c9dc7101bacb4caedf43da8f
Partial-Bug: #1706181
Needed-By: I9c378a188f9009a82100f5488a936d43536bd5b6
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
2017-08-21 10:21:33 -04:00
aditi fd0b798368 Remove link to modindex
The documentation build does not generate any module index, thus
remove the link to the page.

Change-Id: If8d9bcdbb2cca4d4fcc73c7f4f4485708302e988
2017-01-27 12:38:13 +05:30
Gary W. Smith 95dfd941cb Initial project creation 2015-03-13 14:01:16 -07:00