-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename paas_app_charmer -> paas_charm (#5)
- Loading branch information
1 parent
fb9ba3c
commit 862d84e
Showing
67 changed files
with
265 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
[project] | ||
name = "paas-app-charmer" | ||
version = "1.3.1" | ||
description = "Companion library for PaaS app charmer." | ||
name = "paas-charm" | ||
version = "1.0.0" | ||
description = "Companion library for 12-factor app support in Charmcraft & Rockcraft." | ||
readme = "README.md" | ||
authors = [ | ||
{name = "Canonical IS DevOps team", email="[email protected]"}, | ||
|
@@ -20,13 +20,13 @@ classifiers = [ | |
|
||
|
||
[project.urls] | ||
Repository = "https://github.com/canonical/paas-app-charmer" | ||
Repository = "https://github.com/canonical/paas-charm" | ||
|
||
[tool.setuptools.dynamic] | ||
dependencies = {file = ["requirements.txt"]} | ||
|
||
[tool.setuptools.package-data] | ||
paas_app_charmer = ["**/cos/**", "**/cos/**/.**"] | ||
paas_charm = ["**/cos/**", "**/cos/**/.**"] | ||
|
||
# Testing tools configuration | ||
[tool.coverage.run] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
"""Deprecated entrypoints for charms. | ||
This module can be removed when paas_charm>=2.0. | ||
It has to be maintained for the life cycle of bases 22.04 and 24.04. | ||
""" | ||
|
||
import warnings | ||
|
||
warnings.warn("paas_app_charmer package is deprecated", DeprecationWarning, stacklevel=2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
"""Deprecated Django module entrypoint. | ||
This module can be removed when paas_charm>=2.0. | ||
It has to be maintained for the life cycle of bases 22.04 and 24.04. | ||
""" | ||
|
||
from .charm import Charm | ||
|
||
__all__ = ["Charm"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
"""Deprecated Django Charm service. | ||
This module can be removed when paas_charm>=2.0. | ||
It has to be maintained for the life cycle of bases 22.04 and 24.04. | ||
""" | ||
|
||
import paas_charm.django.charm | ||
|
||
|
||
class Charm(paas_charm.django.charm.Charm): | ||
"""Deprecated Django charm.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
"""Deprecated FastAPI module entrypoint. | ||
This module can be removed when paas_charm>=2.0. | ||
It has to be maintained for the life cycle of bases 22.04 and 24.04. | ||
""" | ||
|
||
from .charm import Charm | ||
|
||
__all__ = ["Charm"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
|
||
"""Deprecated FastAPI Charm service. | ||
This module can be removed when paas_charm>=2.0. | ||
It has to be maintained for the life cycle of bases 22.04 and 24.04. | ||
""" | ||
|
||
import paas_charm.fastapi.charm | ||
|
||
|
||
class Charm(paas_charm.fastapi.charm.Charm): | ||
"""Deprecated FastAPI charm.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
"""Deprecated Flask module entrypoint. | ||
This module can be removed when paas_charm>=2.0. | ||
It has to be maintained for the life cycle of bases 22.04 and 24.04. | ||
""" | ||
|
||
from .charm import Charm | ||
|
||
__all__ = ["Charm"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
"""Deprecated Flask Charm service. | ||
This module can be removed when paas_charm>=2.0. | ||
It has to be maintained for the life cycle of bases 22.04 and 24.04. | ||
""" | ||
|
||
import paas_charm.flask.charm | ||
|
||
|
||
class Charm(paas_charm.flask.charm.Charm): | ||
"""Deprecated Flask charm.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
"""Deprecated Go module entrypoint. | ||
This module can be removed when paas_charm>=2.0. | ||
It has to be maintained for the life cycle of bases 22.04 and 24.04. | ||
""" | ||
|
||
from .charm import Charm | ||
|
||
__all__ = ["Charm"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
|
||
"""Deprecated Go Charm service. | ||
This module can be removed when paas_charm>=2.0. | ||
It has to be maintained for the life cycle of bases 22.04 and 24.04. | ||
""" | ||
|
||
|
||
import paas_charm.go.charm | ||
|
||
|
||
class Charm(paas_charm.go.charm.Charm): | ||
"""Deprecated Go charm.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.