Skip to content

PortalBase refactoring to work with PyPortal better #8

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 5 commits into from
Jan 12, 2021

Conversation

makermelissa
Copy link
Collaborator

I refactored PortalBase in order to better facilitate using it with PyPortal. With these changes, no additional changes should be required for the MagTag and MatrixPortal libraries. This was more about splitting some of the sections of fetch into smaller chunks so it was easier to make a higher level function that could call these chunks when needed.

@makermelissa makermelissa requested a review from a team January 9, 2021 00:23
Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this with MagTag using a few of my own projects and the scripts in examples folder of MagTag repo. Everything is working successfully.

Changes look good to me aside from two small things to cleanup. I could do these in a followup PR also if it helps.

@FoamyGuy
Copy link
Contributor

FoamyGuy commented Jan 9, 2021

I will test the #99 in PyPortal repo with this today as well.

Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I retested this with PyPortal #99 and a few PyPortal projects, everything working well now.

Looks good to me

@makermelissa makermelissa merged commit 474b371 into adafruit:main Jan 12, 2021
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jan 12, 2021
Updating https://github.com/adafruit/Adafruit_CircuitPython_PyPortal to 5.0.0 from 4.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_PyPortal#99 from makermelissa/master
  > Merge pull request adafruit/Adafruit_CircuitPython_PyPortal#100 from makermelissa/fix-precommit
  > Added pre-commit-config file
  > Added pre-commit and SPDX copyright

Updating https://github.com/adafruit/Adafruit_CircuitPython_TM to 1.0.1 from 1.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_TM#1 from adeanzan/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_BusDevice to 5.0.3 from 5.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_BusDevice#61 from mstaack/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_PortalBase to 1.1.0 from 1.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#8 from makermelissa/main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants