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

Adds a --populate flag #15

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from
Open

Adds a --populate flag #15

wants to merge 4 commits into from

Conversation

LeStarch
Copy link
Contributor

@LeStarch LeStarch commented Jan 9, 2025

One requested workflow is to allow users to create a blank repository via Github and then bootstrap that entity. This allows that workflow.

git clone ....blank repo....
fprime-bootstrap project --path blank-repo --populate

Not it depend on PR: #14

@LeStarch LeStarch requested a review from thomas-bc January 9, 2025 20:17
@LeStarch
Copy link
Contributor Author

LeStarch commented Jan 9, 2025

Here are the results: https://github.com/fprime-community/fprime-examples/tree/681c8886f8fc21620f4df13566e686ed345fcef3 of using the --populate flag

generate_boilerplate_project(project_path, project_name)
generate_boilerplate_project(
project_path, project_name, populate=parsed_args.populate
)
setup_git_repo(project_path, parsed_args.tag)

Choose a reason for hiding this comment

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

Does this still try to create a git repo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but it will not error if the .git folder exists. It just works with it to add the submoudule.

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