Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I6dbce51d5edcc5d4ca1c5efce29c0b4a13782be5
Add a .git-blame-ignore-revs file to ignore the black changes.
Change-Id: I73c39fb5a9f74d093a58c4f9bb8d2d3f5d9bda38
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: Ic489db56a8ec5699dcc77640763542e55de45e83
We make use of functools.partial in OSC to allow us to pass additional
configuration to formatters. This incorrectly results in a warning being
raised for these formatters since they are of type 'partial', not
'type'.
DeprecationWarning: The usage of formatter functions is now
discouraged. Consider using cliff.columns.FormattableColumn instead.
See reviews linked with bug 1687955 for more detail.
Add a special handler for these since it's likely a somewhat
widespread pattern.
Change-Id: Icf8644d51e1f6fa9fc3a5896edd76db1c4ec38f0
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Resolve the following warnings like the following being issued when
building the package:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: I4b75aac2c09b772f91e5ac9a4e77e9462f38bfd1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Present file sizes in human readable format.
Change-Id: I7e4a013cba7f91e38ba496d3ba7c4a67c4cd81c5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I2261e0c0c7b4f1f818f41d02782dcfa1284233af
Remove 'usedevelop = true' and 'skipsdist = true', the combination of
which now means we don't install dependencies. Also remove the
basepython setting, which is no longer needed since we don't have any
Python 2-first distros to worry about. Finally, remove the
lower-constraints job and we no longer test for these.
Change-Id: I5b4b8cc1facb6e18cf12d33ea8113d47a0a76235
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This is a continuation of a previous change, change
Ib7db6a25f2352a013cb2ce603e60ca48b6cc70e6 ("formatters: Cast columns
before outputting"). As noted in that change, libraries can return
non-primitive types for many operations which can break YAML output
formatting since PyYAML only works with primitive types in safe mode.
That change was not complete as it only handled the formatters for dicts
and lists, not dicts of lists or lists of dicts. Close this gap now.
While we're here, we improve test coverage and catch a number of bugs
with the existing tests.
Change-Id: Ifd8db5b725f46a1ca216986167a0bcde5aec1e16
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This reverts commit 973e16960d.
Reason for revert: This patch is wrong, it actually breaks the generated autocomplete output.
Change-Id: I553b76da9ba32d04d6ec4fcac88217616b7fc3ac
All files are Python 3 and unicode these days.
Change-Id: If444d9f667666154e36c345cbb1290e0f0feef3f
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: Ifd96607a202a9d7b570724901c9278b1d95ef329
All strings are considered as unicode string from Python 3.
This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.
Change-Id: I9ecbedd5c31ed098c4a6d913a1cafebd7af49573
... because explicit language=None causes the below warning since
Sphinx 5.0.0.
Invalid configuration value found: 'language = None'. Update your
configuration to a valid language code. Falling back to 'en' (English).
Change-Id: Ib48278aa7e995477b5d3f970fa9234274d4f4556
Do not output log on bash autocomplete generation as it requires
manual sanitizing. For instance, when running `openstack complete`,
it appends the following two lines:
~~~
complete -F _openstack openstack
2022-05-10 12:50:25.052 863 INFO osc_lib.shell [-] END return value: 0
~~~
and in the current .spec file, we manually remove the `complete -F`
line but we still get that LOG.info output in train at least. This
behavior was not seen on master/wallaby.
Change-Id: Id99791831ffc145b10a0ec8c211a99f8a714fa0a
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: Ib1bfe9d5a77a947ef0d7920958cd5a2a301f9867
With Sphinx==4.4.0 some "helpful" warnings were introduced when an
external link could be replaced by a macro, like for :lpbug:. Sadly we
have a very high number of existing release notes that trigger these
warnings and no good way to fix them retrospectively, because would mess
up their mapping to releases. So we change the logging for the
sphinx.ext.extlinks to ignore these warnings for now.
Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: Id646d77afc6817921e29eeab3bee75c50021c50b