Skip to content

Commit

Permalink
fix: rename from option-I to option-one
Browse files Browse the repository at this point in the history
This is technically a bug in pollination registry but let's fix it as is for now.
  • Loading branch information
mostaphaRoudsari committed Oct 26, 2022
1 parent 6a7d9a5 commit 87b3f3f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: deploy to staging
run: |
queenbee
pollination dsl push pollination-leed-daylight-option-I --tag ${{needs.deploy.outputs.tag}} -e https://api.staging.pollination.cloud -src https://api.staging.pollination.cloud/registries --push-dependencies
pollination dsl push pollination-leed-daylight-option-one --tag ${{needs.deploy.outputs.tag}} -e https://api.staging.pollination.cloud -src https://api.staging.pollination.cloud/registries --push-dependencies
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QB_POLLINATION_TOKEN: ${{ secrets.POLLINATION_STAGING_LADYBUGBOT_TOKEN }}
Expand All @@ -79,14 +79,14 @@ jobs:
echo "::set-output name=tag::$TAG"
- name: install python dependencies
run: |
pip install pollination-leed-daylight-option-I
pip install pollination-leed-daylight-option-one
pip install -r requirements.txt
- name: deploy to production
run: |
TAG=$(echo "${TAG:?}" | sed 's/[[:space:]]//g')
echo $TAG
queenbee
pollination dsl push pollination-leed-daylight-option-I --tag $TAG -e https://api.pollination.cloud -src https://api.pollination.cloud/registries --push-dependencies
pollination dsl push pollination-leed-daylight-option-one --tag $TAG -e https://api.pollination.cloud -src https://api.pollination.cloud/registries --push-dependencies
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QB_POLLINATION_TOKEN: ${{ secrets.POLLINATION_LADYBUGBOT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# leed-daylight-option-I
# leed-daylight-option-one
LEED daylight recipe option I

This recipe uses the [annual-daylight](https://github.com/pollination/annual-daylight) recipe.
File renamed without changes.
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@

# normal setuptool inputs
setuptools.setup(
name='pollination-leed-daylight-option-I', # will be used for package name unless it is overwritten using __queenbee__ info.
author='ladybug-tools', # the owner account for this package - required if pushed to Pollination
author_email='info@ladybug.tools',
name='pollination-leed-daylight-option-one', # will be used for package name unless it is overwritten using __queenbee__ info.
author='pollination', # the owner account for this package - required if pushed to Pollination
author_email='info@pollination.solutions',
packages=setuptools.find_namespace_packages( # required - that's how pollination find the package
include=['pollination.*'], exclude=['tests', '.github']
),
install_requires=requirements,
extras_require={'viz': extras_requirements},
use_scm_version=True,
setup_requires=['setuptools_scm'],
url='https://github.com/pollination/leed-daylight-option-I', # will be translated to home
url='https://github.com/pollination/leed-daylight-option-one', # will be translated to home
project_urls={
'icon': 'https://raw.githubusercontent.com/ladybug-tools/artwork/master/icons_components/honeybee/png/annualrecipe.png',
'docker': 'https://hub.docker.com/r/ladybugtools/honeybee-radiance'
},
description='LEED daylight option I recipe for Pollination.', # will be used as package description
long_description=long_description, # will be translated to ReadMe content on Pollination
long_description_content_type="text/markdown",
maintainer='mikkel, ladybug-tools', # Package maintainers. For multiple maintainers use comma
maintainer_email='[email protected], info@ladybug.tools',
keywords='honeybee, radiance, ladybug-tools, daylight, annual-daylight, leed-daylight-option-I', # will be used as keywords
maintainer='mikkel, pollination', # Package maintainers. For multiple maintainers use comma
maintainer_email='[email protected], info@pollination.solutions',
keywords='honeybee, radiance, ladybug-tools, daylight, annual-daylight, leed-daylight-option-one', # will be used as keywords
license='PolyForm Shield License 1.0.0, https://polyformproject.org/wp-content/uploads/2020/06/PolyForm-Shield-1.0.0.txt', # the license link should be separated by a comma
zip_safe=False
)
2 changes: 1 addition & 1 deletion tests/validation_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from pollination.leed_daylight_option_I.entry import LeedDaylightOptionIEntryPoint
from pollination.leed_daylight_option_one.entry import LeedDaylightOptionIEntryPoint
from queenbee.recipe.dag import DAG


Expand Down

0 comments on commit 87b3f3f

Please sign in to comment.