Skip to content

Commit

Permalink
Rename rpm-package-function to azure-blobrepo-rpm
Browse files Browse the repository at this point in the history
This project has been renamed to better reflect its purpose and the Azure services it uses.
  • Loading branch information
maxdymond committed Oct 15, 2024
1 parent 99c5d24 commit 6320cf2
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 24 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Status: Available for use

### Changed

[unreleased]: https://github.com/microsoft/rpm-package-function/compare/0.1.0...HEAD
[0.1.0]: https://github.com/microsoft/rpm-package-function/tree/0.1.0
[unreleased]: https://github.com/microsoft/azure-blobrepo-rpm/compare/0.1.0...HEAD
[0.1.0]: https://github.com/microsoft/azure-blobrepo-rpm/tree/0.1.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rpm-package-function
# azure-blobrepo-rpm

Functionality to create an RPM package repository in Azure Blob Storage with
an Azure Function App to keep it up to date.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from azure.storage.blob import ContainerClient

from rpm_package_function.rpmpackage import (
from azure_blobrepo_rpm.rpmpackage import (
BaseRpmPackage,
LocalRpmPackage,
RemoteRpmPackage,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import createrepo_c
from azure.storage.blob import ContainerClient

from rpm_package_function import AzureDistributionOrganiser, AzureFlatOrganiser
from rpm_package_function.rpmpackage import RemoteRpmPackage
from azure_blobrepo_rpm import AzureDistributionOrganiser, AzureFlatOrganiser
from azure_blobrepo_rpm.rpmpackage import RemoteRpmPackage

log = logging.getLogger(__name__)
log.addHandler(logging.NullHandler())
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from pathlib import Path
from typing import Any, Dict

from rpm_package_function.tooling.azcmd import AzCmdJson, AzCmdNone
from azure_blobrepo_rpm.tooling.azcmd import AzCmdJson, AzCmdNone

log = logging.getLogger(__name__)
log.addHandler(logging.NullHandler())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@
import sys
from pathlib import Path

from rpm_package_function.tooling import common_logging
from rpm_package_function.tooling.advice import (
advice_distribution_repo,
advice_flat_repo,
)
from rpm_package_function.tooling.bicep_deployment import BicepDeployment
from rpm_package_function.tooling.func_app import FuncAppBundle
from rpm_package_function.tooling.poetry import extract_requirements
from rpm_package_function.tooling.resource_group import create_rg
from azure_blobrepo_rpm.tooling import common_logging
from azure_blobrepo_rpm.tooling.advice import advice_distribution_repo, advice_flat_repo
from azure_blobrepo_rpm.tooling.bicep_deployment import BicepDeployment
from azure_blobrepo_rpm.tooling.func_app import FuncAppBundle
from azure_blobrepo_rpm.tooling.poetry import extract_requirements
from azure_blobrepo_rpm.tooling.resource_group import create_rg

log = logging.getLogger(__name__)
log.addHandler(logging.NullHandler())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from subprocess import CalledProcessError
from typing import Any, Dict

from rpm_package_function.tooling.azcmd import AzCmdJson, AzCmdNone
from rpm_package_function.tooling.bicep_deployment import BicepDeployment
from azure_blobrepo_rpm.tooling.azcmd import AzCmdJson, AzCmdNone
from azure_blobrepo_rpm.tooling.bicep_deployment import BicepDeployment

log = logging.getLogger(__name__)
log.addHandler(logging.NullHandler())
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import logging

from rpm_package_function.tooling.azcmd import AzCmdNone
from azure_blobrepo_rpm.tooling.azcmd import AzCmdNone

log = logging.getLogger(__name__)
log.addHandler(logging.NullHandler())
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions function_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
from azure.identity import DefaultAzureCredential
from azure.storage.blob import ContainerClient

from rpm_package_function import (
from azure_blobrepo_rpm import (
AzureBaseRepository,
AzureDistributionRepository,
AzureFlatRepository,
)

app = func.FunctionApp()
log = logging.getLogger("rpm-package-function")
log = logging.getLogger("azure-blobrepo-rpm")
log.addHandler(logging.NullHandler())

# Turn down logging for azure functions
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.poetry]
name = "rpm-package-function"
name = "azure-blobrepo-rpm"
version = "0.1.0"
description = "Functionality to create an RPM package repository in Azure Blob Storage"
authors = ["Max Dymond <[email protected]>"]
Expand Down Expand Up @@ -31,7 +31,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
# Script to create resources in Azure
create-resources = "rpm_package_function.tooling.create_resources:run"
create-resources = "azure_blobrepo_rpm.tooling.create_resources:run"

[tool.isort]
profile = "black"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_rpf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from azure.identity import DefaultAzureCredential
from azure.storage.blob import ContainerClient

from rpm_package_function import (
from azure_blobrepo_rpm import (
AzureDistributionOrganiser,
AzureDistributionRepository,
AzureFlatOrganiser,
Expand Down

0 comments on commit 6320cf2

Please sign in to comment.