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

🎸Provide a custom script to determine whether an application should be installed or updated #20687

Closed
Patagonia121 opened this issue Jul 24, 2024 · 7 comments
Labels
~air-guitar customer-reedtimmer #g-mdm MDM product group story A user story defining an entire feature

Comments

@Patagonia121
Copy link
Member

As an admin, I want to provide a custom script to determine whether an application should be installed or updated, enabling the deployment of applications with complex requirements beyond a simple version comparison.

Customer note:

Partially solved for initial installation by pre-install query, but no native support for updating apps means this isn’t a full solution.

@Patagonia121 Patagonia121 added :product Product Design department (shows up on 🦢 Drafting board) customer-reedtimmer ~feature fest Will be reviewed at next Feature Fest labels Jul 24, 2024
@noahtalerman
Copy link
Member

@marko-lisica, I think this, and several other app management requests from the customer, are worth digging into w/ the customer on today's call.

I think let's ask the if pre-install condition (query) + edit software (#20404) solves this workflow.

@noahtalerman noahtalerman removed the :product Product Design department (shows up on 🦢 Drafting board) label Jul 26, 2024
@Patagonia121
Copy link
Member Author

@noahtalerman just curious, but did y'all get to ask if pre-install condition (query)+ edit software will solve for their workflow?

@noahtalerman
Copy link
Member

did y'all get to ask if pre-install condition (query)+ edit software will solve for their workflow?

Hey @Patagonia121, we haven't confirmed this yet.

I think let's ask on our next call w/ customer-reedtimmer

@noahtalerman noahtalerman self-assigned this Aug 13, 2024
@noahtalerman noahtalerman added story A user story defining an entire feature #g-mdm MDM product group ~air-guitar :product Product Design department (shows up on 🦢 Drafting board) and removed ~feature fest Will be reviewed at next Feature Fest labels Aug 13, 2024
@noahtalerman noahtalerman changed the title Provide a custom script to determine whether an application should be installed or updated 🎸Provide a custom script to determine whether an application should be installed or updated Aug 13, 2024
@noahtalerman
Copy link
Member

From design review on 2024-08-14:

We think this customer-reedtimmer feature request is to address the specific problem of installing a new version of a custom, in-house package.

We think this package (.pkg) is a "component" package. Here's docs on types of .pkgs.

Today, Fleet can extract the version from "product" packages. Not "component" packages.

Possible solutions:

  • Improve version extraction to get version from component packages
  • Customer repackages their package as a product package
  • Make the version field an editable field in Fleet

Noah: Why are they using a component package instead of a product package?

@marko-lisica please let me know if anything in this summary looks wrong. Thanks!

@marko-lisica marko-lisica added ~feature fest Will be reviewed at next Feature Fest and removed :product Product Design department (shows up on 🦢 Drafting board) labels Aug 26, 2024
@noahtalerman
Copy link
Member

noahtalerman commented Aug 26, 2024

We think this customer-reedtimmer feature request is to address the specific problem of installing a new version of a custom, in-house package.

Noah and Marko: This can be address w/ #19551: Policy to check if the in-house package is installed and if it's an older version (based on checksum) + upload in-house package to Fleet.

Marko: Version isn't visible in Fleet today because of the problem described here.

Noah: Also we have the problem of not being able to edit a package (upload a new version). Adding that in this story: #20404

  • Today you'd have to delete and re-upload the new package.

@noahtalerman
Copy link
Member

noahtalerman commented Aug 26, 2024

As an admin, I want to provide a custom script to determine whether an application should be installed or updated, enabling the deployment of applications with complex requirements beyond a simple version comparison.

Heads up @Patagonia121 I think we can close this issue because the above workflow will be feasible when we ship #19551

That said, I think we should get customer-reedtimmer's feedback on the #19551 to get their thoughts on future improvements.

@fleet-release
Copy link
Contributor

Script dances, discerns,
App's life cycle in its hands,
Cloud city's heart learns.

@noahtalerman noahtalerman removed their assignment Aug 26, 2024
@noahtalerman noahtalerman removed the ~feature fest Will be reviewed at next Feature Fest label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
~air-guitar customer-reedtimmer #g-mdm MDM product group story A user story defining an entire feature
Projects
None yet
Development

No branches or pull requests

4 participants