Skip to content

Commit

Permalink
Split out glue library as pulp-glue package
Browse files Browse the repository at this point in the history
fixes pulp#628
  • Loading branch information
mdellweg committed Feb 16, 2023
1 parent 53be831 commit 2f7289f
Show file tree
Hide file tree
Showing 98 changed files with 1,674 additions and 1,593 deletions.
4 changes: 4 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ values =
dev
prod

[bumpversion:file:./pulp-glue/pulp_glue/common/__init__.py]

[bumpversion:file:./pulpcore/cli/common/__init__.py]

[bumpversion:file:./pulp-glue/setup.py]

[bumpversion:file:./setup.py]
2 changes: 1 addition & 1 deletion .ci/scripts/validate_commit_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
]
NO_ISSUE = "[noissue]"
CHANGELOG_EXTS = [
f"{item['directory']}." for item in toml.load("pyproject.toml")["tool"]["towncrier"]["type"]
f".{item['directory']}" for item in toml.load("pyproject.toml")["tool"]["towncrier"]["type"]
]

sha = sys.argv[1]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
TWINE_USERNAME: pulp
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
cd pulp-glue
python setup.py sdist bdist_wheel
twine upload dist/*
cd ..
python setup.py sdist bdist_wheel
twine upload dist/*
Expand Down
1 change: 1 addition & 0 deletions CHANGES/628.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added new client library `pulp-glue` as a spin off of the `pulp-cli`.
2 changes: 2 additions & 0 deletions pulp-glue/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Pulp Glue
## The version agnostic Pulp 3 client library in python
Empty file.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import IO, Any, ClassVar

from pulpcore.cli.common.context import (
from pulp_glue.common.context import (
EntityDefinition,
PluginRequirement,
PulpContentContext,
Expand All @@ -10,7 +10,7 @@
PulpRepositoryVersionContext,
registered_repository_contexts,
)
from pulpcore.cli.common.i18n import get_translation
from pulp_glue.common.i18n import get_translation

translation = get_translation(__name__)
_ = translation.gettext
Expand Down
Empty file.
1 change: 1 addition & 0 deletions pulp-glue/pulp_glue/common/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.17.0.dev"
Loading

0 comments on commit 2f7289f

Please sign in to comment.