Skip to content
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

Makefile: implement "fully source containers" HMS-3883 #1704

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

schuellerf
Copy link
Contributor

Getting the stack up and running locally but all from source


# Function to search for Python files in a directory
define find_python_files
$(shell find $(1) -type f -exec file {} \; | grep "Python script" | grep -Eo "^[^:]+")
Copy link
Contributor

Choose a reason for hiding this comment

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

If this will catch also stage files? They lack .py extension. There is also stage org.osbuild.tar which is python file but frequently by script is processed as a tar archive:)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's the only reason for this not-so-nicce find-grep pipe - to get those files in consideration :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just running in the osbuild directory should show them all...

find . -type f -exec file {} \; | grep "Python script" | grep -Eo "^[^:]+"

(actually I now see that I have ".py" files twice - but that won't hurt make I guess)

@schuellerf schuellerf force-pushed the HMS-3883-fully-source-containers branch from 8d94980 to 5c55362 Compare April 12, 2024 17:31
@schuellerf schuellerf force-pushed the HMS-3883-fully-source-containers branch from 5c55362 to cacfca6 Compare April 23, 2024 17:48
@schuellerf schuellerf force-pushed the HMS-3883-fully-source-containers branch from cacfca6 to 9c70e64 Compare May 8, 2024 17:21
Copy link

github-actions bot commented Jun 8, 2024

This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants