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

For R.C. - 20404: Edit packages feature #22169

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

RachelElysia
Copy link
Member

@RachelElysia RachelElysia commented Sep 17, 2024

(This cherry-pick is only of 21812, unreleased bugs found in QA process will be cherry picked separately for trackability on zenhub)

Note

This PR is already merged in main, see #21812 This is against the release branch so it can be included in 4.57.0

 1106  git fetch fleetdm
 1107  git checkout fleetdm/minor-fleet-v4.57.0
 1108  git log main
 1109  git cherry-pick 1c1ebef4ef5dfc4a3c48b400614da91dc4213616
 1110  git status
 1111  git checkout -b 20404-edit-software-rc
 1112  git push -u fleetdm 20404-edit-software-rc

## Issue
Cerra #20404

## Description
- Add frontend/API backend for editing software packages. GitOps will be
a separate PR.

## More
- Please see subtasks for change lists
  - #21611 
  - #21613

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Manual QA for all new/changed functionality

Automated tests will follow in another PR.

---------

Co-authored-by: Ian Littman <[email protected]>
Co-authored-by: Luke Heath <[email protected]>
Co-authored-by: Jacob Shandling <[email protected]>
Co-authored-by: Victor Lyuboslavsky <[email protected]>
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

Attention: Patch coverage is 3.57143% with 324 lines in your changes missing coverage. Please review.

Please upload report for BASE (minor-fleet-v4.57.0@ca45468). Learn more about missing BASE report.

Files with missing lines Patch % Lines
ee/server/service/software_installers.go 0.00% 131 Missing ⚠️
server/service/software_installers.go 0.00% 77 Missing ⚠️
server/datastore/mysql/software_installers.go 2.66% 73 Missing ⚠️
frontend/components/FileUploader/FileUploader.tsx 0.00% 11 Missing ⚠️
frontend/services/entities/software.ts 0.00% 11 Missing ⚠️
server/service/transport.go 0.00% 9 Missing ⚠️
frontend/components/FileDetails/FileDetails.tsx 22.22% 7 Missing ⚠️
server/fleet/software_installer.go 0.00% 4 Missing ⚠️
frontend/utilities/endpoints.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                   @@
##             minor-fleet-v4.57.0   #22169   +/-   ##
======================================================
  Coverage                       ?   65.19%           
======================================================
  Files                          ?     1494           
  Lines                          ?   117014           
  Branches                       ?     3553           
======================================================
  Hits                           ?    76283           
  Misses                         ?    33619           
  Partials                       ?     7112           
Flag Coverage Δ
backend 66.48% <1.01%> (?)
frontend 52.10% <23.07%> (?)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

jacobshandling
jacobshandling previously approved these changes Sep 17, 2024
rachaelshaw
rachaelshaw previously approved these changes Sep 17, 2024
jacobshandling
jacobshandling previously approved these changes Sep 17, 2024
@iansltx iansltx merged commit 3df9ebd into minor-fleet-v4.57.0 Sep 17, 2024
17 of 19 checks passed
@iansltx iansltx deleted the 20404-edit-software-rc branch September 17, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants