Skip to content

Move away from $OFRAK_DIR argument to $PACKAGE_PATH for Docker builds#425

Merged
whyitfor merged 1 commit into
masterfrom
maintenance/package_dir
Feb 23, 2024
Merged

Move away from $OFRAK_DIR argument to $PACKAGE_PATH for Docker builds#425
whyitfor merged 1 commit into
masterfrom
maintenance/package_dir

Conversation

@whyitfor
Copy link
Copy Markdown
Contributor

@whyitfor whyitfor commented Feb 18, 2024

One sentence summary of this PR (This should go in the CHANGELOG!)

  • $PACKAGE_PATH generalizes build_image.py such that it works with any yaml file containing a valid list of Python packages

Before this change, it was possible to use build_image.py a directory above the OFRAK repository by passing in an OFRAK_DIR arugment in the yml file. This change generalizes the approach so that build_image.py can be run in any ancestor directory; it also removes the need to pass in an OFRAK_DIR argument.

Link to Related Issue(s)
N/A.

Please describe the changes in your request.
See above.

Anyone you think should look at this, specifically?
@rbs-jacob

@whyitfor whyitfor changed the title Move away from "$OFRAK_DIR" argument to $PACKAGE_PATH for Docker builds Move away from $OFRAK_DIR argument to $PACKAGE_PATH for Docker builds Feb 18, 2024
@whyitfor whyitfor requested a review from rbs-jacob February 18, 2024 05:01
Comment thread frontend/Dockerstub
Copy link
Copy Markdown
Member

@rbs-jacob rbs-jacob left a comment

Choose a reason for hiding this comment

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

Haven't run it myself to test, but after a quick pass, this seems like a positive improvement that makes sense.

- $PACKAGE_PATH generalizes build_image.py such that it works with any
yaml file containing a valid list of Python packages

Before this change, it was possible to use build_image.py a directory above
the OFRAK repository by passing in an OFRAK_DIR arugment in the yml file.
This change generalizes the approach so that build_image.py can be run in any ancestor directory.
@whyitfor whyitfor force-pushed the maintenance/package_dir branch from 24d06cb to de92275 Compare February 23, 2024 03:30
@whyitfor whyitfor merged commit b925af7 into master Feb 23, 2024
ANogin pushed a commit to ANogin/ofrak that referenced this pull request May 30, 2024
…ds (redballoonsecurity#425)

- $PACKAGE_PATH generalizes build_image.py such that it works with any
yaml file containing a valid list of Python packages

Before this change, it was possible to use build_image.py a directory above
the OFRAK repository by passing in an OFRAK_DIR arugment in the yml file.
This change generalizes the approach so that build_image.py can be run in any ancestor directory.
@whyitfor whyitfor deleted the maintenance/package_dir branch November 25, 2024 10:26
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.

3 participants