Skip to content

Conversation

@cjyetman
Copy link
Member

@cjyetman cjyetman commented Apr 30, 2023

I extracted all the utility functions that are used across web tool scripts 1-3 into a separate package. I think this will...

  1. make extracting and separating the "audit" and "analysis" functions into separate packages easier
  2. make getting pacta.portfolio.analysis in a state that it can go public easier

The most interesting/dramatic effect here is that web tool script 3 no longer needs pacta.portfolio.analysis because pacta.portfolio.utils has all the utility functions it needs. (Likewise, eventually web tool script 1 will need pacta.portfolio.audit and not pacta.portfolio.analysis).

Once this is merged, we should remove all the utility functions from pacta.portfolio.analysis. If we do things in this order, we avoid breaking anything temporarily. https://github.com/RMI-PACTA/pacta.portfolio.analysis/issues/242

@cjyetman cjyetman requested review from AlexAxthelm and jdhoffa April 30, 2023 05:44
@cjyetman cjyetman marked this pull request as draft May 1, 2023 13:50
@AlexAxthelm
Copy link
Collaborator

very excited for this.

@PACTA-bot
Copy link

Docker image from this PR created

docker pull ghcr.io/rmi-pacta/ghcr.io/rmi-pacta/workflow.transition.monitor:PR168

@PACTA-bot
Copy link

Docker image from this PR created

docker pull ghcr.io/rmi-pacta/ghcr.io/rmi-pacta/workflow.transition.monitor:PR168

uses: actions/checkout@v3
with:
repository: RMI-PACTA/pacta.portfolio.utils
token: ${{ secrets.GITHUB_TOKEN }}
Copy link
Member

Choose a reason for hiding this comment

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

Does this need a token? Isn't the repo public?

Copy link
Member Author

Choose a reason for hiding this comment

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

will re-visit this later

Copy link
Member

@jdhoffa jdhoffa left a comment

Choose a reason for hiding this comment

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

lgtm

@cjyetman cjyetman marked this pull request as ready for review May 3, 2023 07:51
@cjyetman cjyetman merged commit 947b83a into main May 3, 2023
@cjyetman cjyetman deleted the use-pacta.portfolio.utils branch May 3, 2023 07:53
@PACTA-bot
Copy link

Docker image from this PR created

docker pull ghcr.io/rmi-pacta/ghcr.io/rmi-pacta/workflow.transition.monitor:PR168

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.

5 participants