Skip to content

Update KW setup - #631

Closed
antisaling wants to merge 4 commits into
kworkflow:unstablefrom
antisaling:add-system-setup
Closed

antisaling wants to merge 4 commits into
kworkflow:unstablefrom
antisaling:add-system-setup

Conversation

@antisaling

Copy link
Copy Markdown
Contributor

I know those commit names are a little unhelpful, so I'm just sending this for you to look at the code, then I'll update them.

I tried to separate the commits as best as I could, though there's a lot going on on 3/4 because of all the refactorings, sorry about that.

Signed-off-by: Isabella Basso <isabbasso@riseup.net>
Signed-off-by: Isabella Basso <isabbasso@riseup.net>
Signed-off-by: Isabella Basso <isabbasso@riseup.net>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #631 (0f36d66) into unstable (ff78297) will decrease coverage by 0.07%.
The diff coverage is 75.00%.

@@             Coverage Diff              @@
##           unstable     #631      +/-   ##
============================================
- Coverage     73.84%   73.76%   -0.08%     
============================================
  Files            36       36              
  Lines          5574     5600      +26     
============================================
+ Hits           4116     4131      +15     
- Misses         1458     1469      +11     
Impacted Files Coverage Δ
src/plugins/kernel_install/remote_deploy.sh 0.00% <ø> (ø)
kw 33.33% <75.00%> (+5.36%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff78297...0f36d66. Read the comment docs.

@kwy95 kwy95 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hi, thanks for this PR. But as it stands it's a bit too confusing, please rebase it and add commit messages explaining why you are making the proposed changes. Also, remember to add documentation if you change the way the code works.
I can make a more thorough review once this is updated. Also, do you think this could be related to #635 ? I will make a PR addressing it soon, but your input would help adjust what approach to take.

Comment thread kw
Comment on lines +18 to +23
declare KW_LIB_DIR
declare KW_DOC_DIR
declare KW_MAN_DIR
declare KW_SOUND_DIR
declare KW_ETC_DIR
declare KW_PLUGINS_DIR

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this whole if is irrelevant with this change.

Comment thread setup.sh
Comment on lines +173 to +174
installed_cmd="dnf list installed"
cmd="dnf install -y ${package_list[*]}"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Let's keep the fedora check, I know it's redundant but it adds clarity to the code and wouldn't really impact performance.

@rodrigosiqueira

Copy link
Copy Markdown
Collaborator

Thanks Rubens! I'll finish this PR after completing the new build features.

@rodrigosiqueira

Copy link
Copy Markdown
Collaborator

I created the following issue to keep track of this effort:

#640

At some point, I'll address it.

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.

4 participants