Closed lukeheath closed 11 months ago
Hey team! Please add your planning poker estimate with Zenhub @gillespi314 @mna @roperzh
@noahtalerman Questions based on the experience of the similar ticket for macos custom settings:
path/a/script1.sh
and path/b/script1.sh
, is that a duplicate name or do we accept both of those)?@noahtalerman answering the question regarding the name from my comment above, as mentioned in the estimation meeting, the answer is in the UI figma: the name of the script is the filename (with the extension, but without any directory and path separator).
So if a script has the same filename as another script in another directory, we reject it as a duplicate.
the name of the script is the filename
@mna correct.
if a script has the same filename as another script in another directory, we reject it as a duplicate.
Yep!
Sarah: It would be great to have the error messages be spec'd outside of the UI and CLI because we can see where we need the same errors for CLI and UI and where they're different.
Please add your planning poker estimate with Zenhub @ghernandez345
Please add your planning poker estimate with Zenhub @marcosd4h
Scripts managed with ease, In YAML's gentle breeze, Fleet's growth, it shall please.
CLI usage
Update
config
andteam
YAML filesSee the Figma here for changes, behavior, and error messages.
Create POST to batch-apply scripts
POST /api/v1/fleet/scripts/batch
Parameters
scripts
will be the active scripts for that team (or no team) - that is, any existing profile that is not part of that list will be removed, and an existing script with the same filename as a new script will be edited.script
is empty, all scripts are removed for that team (or no team).Example
POST /api/v1/scripts/batch
Default response
204