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

Helper script maintenance #268

Merged
merged 4 commits into from
Sep 8, 2023
Merged

Helper script maintenance #268

merged 4 commits into from
Sep 8, 2023

Conversation

ffoulkes
Copy link
Contributor

@ffoulkes ffoulkes commented Sep 2, 2023

make_all.sh

  • Rename --config option to --no-build.

  • Remove --staging option from help text. It is experimental and should not be advertised.

config-cross-recipe.sh

  • Swap short and long option names in switch statement to make it clearer that the names are alphabetized by long name.

  • Address shellcheck issue.

make-cross-ovs.sh

  • Divide help text into Paths and Options sections.

  • Make _DRY_RUN a numeric variable, and rename _JOBS to _NJOBS, for consistency with other helper scripts.

make-cross-deps.sh

  • Divide help text into Paths and Options sections.

  • Implement --no-build option.

  • Rename _JOBS variable to _NJOBS.

make-host-deps.sh

  • Divide help text into Paths and Options sections.

  • Rename --config option to --no-build.

@ffoulkes
Copy link
Contributor Author

ffoulkes commented Sep 5, 2023

In case you're wondering why make-host-deps.sh and make-cross-deps.sh are more lightly edited than the other scripts in this PR, it is because the latter will be superseded by the scripts in the stratum-deps repository.

Copy link
Collaborator

@nupuruttarwar nupuruttarwar left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@n-sandeep n-sandeep left a comment

Choose a reason for hiding this comment

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

LGTM

make_all.sh
-----------

- Rename --config option to --no-build.

config-cross-recipe.sh
----------------------

- Swap short and long option names in switch statement to make it
  clearer that the names are alphabetized by long name.

- Address shellcheck issue.

make-cross-ovs.sh
-----------------

- Divide help text into Paths and Options sections.

- Make _DRY_RUN a numeric variable, and rename _JOBS to _NJOBS,
  for consistency with other helper scripts.

Signed-off-by: Derek G Foster <[email protected]>
- The --staging option is still in the experimental stage and
  should not be advertised.

Signed-off-by: Derek G Foster <[email protected]>
make-cross-deps.sh
------------------

- Divide help text into Paths and Options sections.

- Implement --no-build option.

- Rename _JOBS variable to _NJOBS.

make-host-deps.sh
-----------------

- Divide help text into Paths and Options sections.

- Rename --config option to --no-build.

Signed-off-by: Derek G Foster <[email protected]>
Signed-off-by: Derek G Foster <[email protected]>
@ffoulkes ffoulkes merged commit 47120df into main Sep 8, 2023
4 checks passed
@ffoulkes ffoulkes deleted the helper-scripts branch September 8, 2023 14:39
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