cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Update templateConfig.sh to not break with directorys with space on t…

Open vits-hugs opened this issue 9 months ago • 6 comments

Description

Currently the script of templateConfig.sh doesn't recognize folders with spaces in their names, which can cause compilation errors, this PR updates the script so that the folders with space in their names are recognized.

Types of changes

  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] New feature (non-breaking change which adds functionality)
  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] Enhancement (improves an existing feature and functionality)
  • [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
  • [ ] build/CI
  • [ ] test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Bug Severity

  • [ ] BLOCKER
  • [ ] Critical
  • [ ] Major
  • [ ] Minor
  • [x] Trivial

Screenshots (if appropriate):

How Has This Been Tested?

To test this, I renamed my user folder to have a white-space in it, then ran the process of building the project, which runs the templateConfig.sh, and verified that there wasn't any errors on the building process.

vits-hugs avatar May 20 '25 17:05 vits-hugs

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 15.17%. Comparing base (f0838cd) to head (beeb8ff). Report is 35 commits behind head on 4.19.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19   #10898      +/-   ##
============================================
- Coverage     15.17%   15.17%   -0.01%     
- Complexity    11339    11347       +8     
============================================
  Files          5414     5416       +2     
  Lines        475185   475621     +436     
  Branches      57991    58054      +63     
============================================
+ Hits          72105    72157      +52     
- Misses       395018   395393     +375     
- Partials       8062     8071       +9     
Flag Coverage Δ
uitests 4.28% <ø> (-0.01%) :arrow_down:
unittests 15.89% <ø> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar May 23 '25 18:05 codecov[bot]

@blueorangutan package

JoaoJandre avatar Jun 02 '25 20:06 JoaoJandre

@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

blueorangutan avatar Jun 02 '25 20:06 blueorangutan

Packaging result [SF]: ✔️ el8 ✔️ el9 ✖️ debian ✔️ suse15. SL-JID 13586

blueorangutan avatar Jun 02 '25 21:06 blueorangutan

@vits-hugs can you have a look at comments above ?

weizhouapache avatar Aug 22 '25 08:08 weizhouapache