Skip to content

Report package snapshot time API as unsupported for Ubuntu.#782

Merged
cwize1 merged 4 commits into
mainfrom
user/chrisgun/unsupportedFeatures
Jun 22, 2026
Merged

Report package snapshot time API as unsupported for Ubuntu.#782
cwize1 merged 4 commits into
mainfrom
user/chrisgun/unsupportedFeatures

Conversation

@cwize1

@cwize1 cwize1 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

When customizing an Ubuntu distro, report a validation error if the user tries to use the package snapshot time API since this functionality isn't supported.

Also, refactor the unsupported API validation in the distro handlers so that they are more consistent. This includes ensuring that all long-term unsupported APIs have proper error objects.


Checklist

  • Tests added/updated
  • Documentation updated (if needed)
  • Code conforms to style guidelines

@cwize1 cwize1 requested a review from a team as a code owner June 17, 2026 22:35
Comment thread toolkit/tools/pkg/imagecustomizerlib/distrohandler_ubuntu.go Outdated
Comment thread toolkit/tools/pkg/imagecustomizerlib/distrohandler_ubuntu.go
Comment thread toolkit/tools/pkg/imagecustomizerlib/distrohandler_test.go Outdated
@cwize1 cwize1 force-pushed the user/chrisgun/unsupportedFeatures branch from 8ec6e85 to 9456ea1 Compare June 19, 2026 00:35
Comment thread toolkit/tools/pkg/imagecustomizerlib/distrohandler_ubuntu.go
vinceaperri
vinceaperri previously approved these changes Jun 19, 2026
cwize1 added 4 commits June 19, 2026 15:31
When customizing an Ubuntu distro, report a validation error if the
user tries to use the package snapshot time API since this
functionality isn't supported.

Also, refactor the unsupported API validation in the distro handlers so
that they are more consistent. This includes ensuring that all long-
term unsupported APIs have proper error objects.
@cwize1 cwize1 force-pushed the user/chrisgun/unsupportedFeatures branch from a6c2fd5 to 6d5cde1 Compare June 19, 2026 22:32
@cwize1 cwize1 merged commit b3d3740 into main Jun 22, 2026
46 of 47 checks passed
@cwize1 cwize1 deleted the user/chrisgun/unsupportedFeatures branch June 22, 2026 21:19
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.

3 participants