Skip to content

prep 0.1.0a30 | /workflows/cd #198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Jun 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
7589525
chore: link dependencies post 0.1.0a29 release
polywrap-build-bot Apr 17, 2023
6c60268
Merge pull request #167 from polywrap/post-cd/0.1.0a29
Niraj-Kamdar Apr 17, 2023
b1af9de
chore: link dependencies post 0.1.0a29 release
polywrap-build-bot Apr 17, 2023
6b0e34b
Merge pull request #168 from polywrap/post-cd/0.1.0a29
Niraj-Kamdar Apr 24, 2023
74b8afb
chore: link dependencies post 0.1.0a29 release
polywrap-build-bot Apr 24, 2023
dffd72c
Merge pull request #169 from polywrap/post-cd/0.1.0a29
Niraj-Kamdar May 9, 2023
50a0e25
chore: link dependencies post 0.1.0a29 release
polywrap-build-bot May 9, 2023
0a3a2fd
Merge pull request #171 from polywrap/post-cd/0.1.0a29
Niraj-Kamdar May 31, 2023
aac9e63
Update README.md
dOrgJelli Jun 2, 2023
ab4139f
Merge pull request #179 from polywrap/polywrap-plugin-readme-patch
dOrgJelli Jun 7, 2023
a7451fc
refactor: polywrap-msgpack package (#180)
Niraj-Kamdar Jun 14, 2023
508392b
refactor: polywrap-manifest package (#181)
Niraj-Kamdar Jun 14, 2023
0a85b2a
refactor: polywrap-core package (#182)
Niraj-Kamdar Jun 14, 2023
838b616
refactor: polywrap-wasm package (#183)
Niraj-Kamdar Jun 14, 2023
3161bf7
refactor: polywrap-plugin package (#184)
Niraj-Kamdar Jun 14, 2023
2e8b890
feat: add wrap test harness (#185)
Niraj-Kamdar Jun 14, 2023
f20df73
refactor: polywrap-uri-resolvers (#186)
Niraj-Kamdar Jun 14, 2023
c229dce
refactor: polywrap-client (#187)
Niraj-Kamdar Jun 14, 2023
2da01fd
refactor: polywrap-config-builder (#188)
Niraj-Kamdar Jun 14, 2023
6fdbbcb
fix: typing issue (#189)
Niraj-Kamdar Jun 14, 2023
726ca7b
feat: add tests for client-config-builder (#190)
Niraj-Kamdar Jun 14, 2023
3a95c0f
fix: docs after the refactor (#192)
Niraj-Kamdar Jun 14, 2023
3a18f7f
fix: post-cd workflow (#191)
Niraj-Kamdar Jun 15, 2023
10d87db
prep 0.1.0a30 | /workflows/cd (#195)
Niraj-Kamdar Jun 19, 2023
2cb745b
fix: cd (#197)
Niraj-Kamdar Jun 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CD
on:
pull_request:
types: [closed]
branches: [main]

jobs:
Pre-Check:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/post-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ on:
# When Pull Request is merged
pull_request_target:
types: [closed]
branches: [main]

jobs:
Dev-PR:
runs-on: ubuntu-latest
if: |
github.event.pull_request.user.login == 'github-actions[bot]' &&
startsWith(github.event.pull_request.title, '[CD]')
github.event.pull_request.merged == true
steps:
- name: Checkout
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ celerybeat.pid
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

Expand Down
43 changes: 43 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.10"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- cd docs && poetry install && cd ..

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0a29
0.1.0a30
1 change: 1 addition & 0 deletions docs/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sphinx-build source/ build
1 change: 1 addition & 0 deletions docs/clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rm -Rf ./source/**/*.rst
8 changes: 8 additions & 0 deletions docs/docgen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sphinx-apidoc ../packages/polywrap-msgpack/polywrap_msgpack -o ./source/polywrap-msgpack -e
sphinx-apidoc ../packages/polywrap-manifest/polywrap_manifest -o ./source/polywrap-manifest -e
sphinx-apidoc ../packages/polywrap-core/polywrap_core -o ./source/polywrap-core -e
sphinx-apidoc ../packages/polywrap-wasm/polywrap_wasm -o ./source/polywrap-wasm -e
sphinx-apidoc ../packages/polywrap-plugin/polywrap_plugin -o ./source/polywrap-plugin -e
sphinx-apidoc ../packages/polywrap-uri-resolvers/polywrap_uri_resolvers -o ./source/polywrap-uri-resolvers -e
sphinx-apidoc ../packages/polywrap-client/polywrap_client -o ./source/polywrap-client -e
sphinx-apidoc ../packages/polywrap-client-config-builder/polywrap_client_config_builder -o ./source/polywrap-client-config-builder -e
497 changes: 136 additions & 361 deletions docs/poetry.lock

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ name = "docs"
version = "0.1.0"
description = ""
authors = ["Niraj <niraj@polywrap.io>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10"
Expand All @@ -22,5 +21,4 @@ polywrap-client-config-builder = { path = "../packages/polywrap-client-config-bu

[tool.poetry.group.dev.dependencies]
sphinx = "^6.1.3"
sphinx-rtd-theme = "^1.2.0"

sphinx-rtd-theme = "^1.2.0"
3 changes: 1 addition & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Welcome to polywrap-client's documentation!
===========================================

.. toctree::
:maxdepth: 2
:maxdepth: 1
:caption: Contents:

polywrap-msgpack/modules.rst
Expand All @@ -20,7 +20,6 @@ Welcome to polywrap-client's documentation!
polywrap-client-config-builder/modules.rst



Indices and tables
==================

Expand Down
7 changes: 0 additions & 7 deletions docs/source/polywrap-core/polywrap_core.types.invoke_args.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
polywrap\_core.types.invoke\_options module
===========================================

.. automodule:: polywrap_core.types.invoke_options
:members:
:undoc-members:
:show-inheritance:

This file was deleted.

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions docs/source/polywrap-core/polywrap_core.types.options.rst

This file was deleted.

This file was deleted.

12 changes: 1 addition & 11 deletions docs/source/polywrap-core/polywrap_core.types.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
polywrap\_core.types package
============================

Subpackages
-----------

.. toctree::
:maxdepth: 4

polywrap_core.types.options

Submodules
----------

Expand All @@ -17,15 +9,13 @@ Submodules

polywrap_core.types.client
polywrap_core.types.config
polywrap_core.types.env
polywrap_core.types.errors
polywrap_core.types.file_reader
polywrap_core.types.invocable
polywrap_core.types.invoke_args
polywrap_core.types.invoke_options
polywrap_core.types.invoker
polywrap_core.types.invoker_client
polywrap_core.types.uri
polywrap_core.types.uri_like
polywrap_core.types.uri_package
polywrap_core.types.uri_package_wrapper
polywrap_core.types.uri_resolution_context
Expand Down
7 changes: 0 additions & 7 deletions docs/source/polywrap-core/polywrap_core.types.uri_like.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
polywrap\_core.utils.build\_clean\_uri\_history module
======================================================

.. automodule:: polywrap_core.utils.build_clean_uri_history
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
polywrap\_core.utils.get\_env\_from\_resolution\_path module
============================================================

.. automodule:: polywrap_core.utils.get_env_from_resolution_path
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
polywrap\_core.utils.get\_implementations module
================================================

.. automodule:: polywrap_core.utils.get_implementations
:members:
:undoc-members:
:show-inheritance:
7 changes: 0 additions & 7 deletions docs/source/polywrap-core/polywrap_core.utils.instance_of.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/polywrap-core/polywrap_core.utils.maybe_async.rst

This file was deleted.

5 changes: 3 additions & 2 deletions docs/source/polywrap-core/polywrap_core.utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ Submodules
.. toctree::
:maxdepth: 4

polywrap_core.utils.instance_of
polywrap_core.utils.maybe_async
polywrap_core.utils.build_clean_uri_history
polywrap_core.utils.get_env_from_resolution_path
polywrap_core.utils.get_implementations

Module contents
---------------
Expand Down
7 changes: 7 additions & 0 deletions docs/source/polywrap-manifest/polywrap_manifest.errors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
polywrap\_manifest.errors module
================================

.. automodule:: polywrap_manifest.errors
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/source/polywrap-manifest/polywrap_manifest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Submodules
:maxdepth: 4

polywrap_manifest.deserialize
polywrap_manifest.errors
polywrap_manifest.manifest
polywrap_manifest.wrap_0_1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
polywrap\_core.types.env module
polywrap\_msgpack.errors module
===============================

.. automodule:: polywrap_core.types.env
.. automodule:: polywrap_msgpack.errors
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/source/polywrap-msgpack/polywrap_msgpack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Submodules

polywrap_msgpack.decoder
polywrap_msgpack.encoder
polywrap_msgpack.errors
polywrap_msgpack.sanitize

Module contents
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
polywrap\_plugin.resolution\_context\_override\_client module
=============================================================

.. automodule:: polywrap_plugin.resolution_context_override_client
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/source/polywrap-plugin/polywrap_plugin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Submodules

polywrap_plugin.module
polywrap_plugin.package
polywrap_plugin.resolution_context_override_client
polywrap_plugin.wrapper

Module contents
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Submodules
:maxdepth: 4

polywrap_uri_resolvers.resolvers.aggregator.uri_resolver_aggregator
polywrap_uri_resolvers.resolvers.aggregator.uri_resolver_aggregator_base

Module contents
---------------
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
polywrap\_uri\_resolvers.resolvers.aggregator.uri\_resolver\_aggregator\_base module
====================================================================================

.. automodule:: polywrap_uri_resolvers.resolvers.aggregator.uri_resolver_aggregator_base
:members:
:undoc-members:
:show-inheritance:

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
polywrap\_uri\_resolvers.resolvers.cache.resolution\_result\_cache\_resolver module
===================================================================================

.. automodule:: polywrap_uri_resolvers.resolvers.cache.resolution_result_cache_resolver
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Submodules
.. toctree::
:maxdepth: 4

polywrap_uri_resolvers.resolvers.cache.cache_resolver
polywrap_uri_resolvers.resolvers.cache.request_synchronizer_resolver
polywrap_uri_resolvers.resolvers.cache.resolution_result_cache_resolver

Module contents
---------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
polywrap\_uri\_resolvers.resolvers.cache.request\_synchronizer\_resolver module
polywrap\_uri\_resolvers.resolvers.legacy.package\_to\_wrapper\_resolver module
===============================================================================

.. automodule:: polywrap_uri_resolvers.resolvers.cache.request_synchronizer_resolver
.. automodule:: polywrap_uri_resolvers.resolvers.legacy.package_to_wrapper_resolver
:members:
:undoc-members:
:show-inheritance:
Loading