Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
a3a43e7b
Commit
a3a43e7b
authored
9 years ago
by
Jenkins
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add PBR generation of version information"
parents
91599cf6
31634c4d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/conf.py
+11
-0
11 additions, 0 deletions
doc/conf.py
kolla/common/config.py
+3
-3
3 additions, 3 deletions
kolla/common/config.py
setup.cfg
+0
-1
0 additions, 1 deletion
setup.cfg
with
14 additions
and
4 deletions
doc/conf.py
+
11
−
0
View file @
a3a43e7b
...
...
@@ -39,6 +39,17 @@ master_doc = 'index'
project
=
u
'
kolla
'
copyright
=
u
'
2013, OpenStack Foundation
'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
from
kolla.version
import
version_info
as
kolla_version
# The full version, including alpha/beta/rc tags.
release
=
kolla_version
.
version_string_with_vcs
()
# The short X.Y version.
version
=
kolla_version
.
canonical_version_string
()
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses
=
True
...
...
This diff is collapsed.
Click to expand it.
kolla/common/config.py
+
3
−
3
View file @
a3a43e7b
...
...
@@ -15,7 +15,7 @@ import itertools
from
oslo_config
import
cfg
from
oslo_config
import
types
from
kolla
import
version
from
kolla
.version
import
version
_info
as
version
RDO_MIRROR
=
"
http://trunk.rdoproject.org/centos7
"
...
...
@@ -125,7 +125,7 @@ _CLI_OPTS = [
help
=
(
'
The number of threads to use while building.
'
'
(Note: setting to one will allow real time
'
'
logging.)
'
)),
cfg
.
StrOpt
(
'
tag
'
,
default
=
version
.
version_info
.
cached_version_string
(),
cfg
.
StrOpt
(
'
tag
'
,
default
=
version
.
cached_version_string
(),
deprecated_group
=
'
kolla-build
'
,
help
=
'
The Docker tag
'
),
cfg
.
BoolOpt
(
'
template-only
'
,
default
=
False
,
...
...
@@ -284,5 +284,5 @@ def parse(conf, args, usage=None, prog=None,
project
=
'
kolla
'
,
usage
=
usage
,
prog
=
prog
,
version
=
version
.
version_info
.
cached_version_string
(),
version
=
version
.
cached_version_string
(),
default_config_files
=
default_config_files
)
This diff is collapsed.
Click to expand it.
setup.cfg
+
0
−
1
View file @
a3a43e7b
[metadata]
name
=
kolla
version
=
2.0.0
summary
=
Kolla OpenStack Deployment
description-file
=
README.rst
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment