← Back to issue list

build providers: preset the timezone

View original Github issue

Metadata

Project
snapcraft
Number
#2407
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2407 in commit a469ca65d, setting build-provider timezones from the host via cloud-init and falling back to Etc/UTC.

Resolution: closed resolved

Reason: Snapcraft PR #2407 was merged as commit a469ca65d, implementing host-timezone propagation through cloud-init with an Etc/UTC fallback.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Use the value from the host if possible, if not, fallback to Etc/UTC. Leverage cloud-init to set the timezone correctly. LP: #1801742 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2407 in commit a469ca65d, setting build-provider timezones from the host via cloud-init and falling back to Etc/UTC.
stealth/space-bunny-alpha — closed resolved Merged in commit a469ca65d (#2407): build providers preset the host timezone via cloud-init, falling back to Etc/UTC for LP: #1801742.
stealth/space-bunny-alpha — closed resolved Merged in commit a469ca65d (#2407): build providers preset the host timezone via cloud-init, falling back to Etc/UTC for LP: #1801742.
stealth/space-bunny-alpha — closed resolved Merged #2407: build providers now preset the host timezone, falling back to Etc/UTC via cloud-init, resolving LP #1801742 (commit a469ca65d).
qwen/qwen3.6-35b-a3b — — Merged. Presets build provider timezone using the host value or falls back to Etc/UTC via cloud-init, resolving LP: #1801742. Approved by reviewer and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Presets build provider timezone using host value or Etc/UTC fallback via cloud-init, resolving Launchpad bug #1801742. Maintainer verified functionality with 100% diff coverage.

Update history

No update history recorded yet.

Related work

  • Related To: launchpad#1801742 (confidence 95%)

    The merged PR explicitly links this implementation to LP bug #1801742.

Related issues

Issue Project State Summary Similarity
#2935 build providers: remove tzdata workaround snapcraft merged Merged #2935 in commit 1fdd243c1, removing the build-provider tzdata workaround after commit 97fdf64 added --preserve-env.
73%