Repository navigation
frontend: pick the What's New URL in the host CMake file (#883) - #1975
Merged
Merged
Conversation
RED: WhatsNewInfoThread.cpp.hpp still selects the URL with __APPLE__ and _WIN32 branches.
macOS and Windows set WHATSNEW_URL to MAC_/WIN_WHATSNEW_URL in their obs_frontend_platform_whatsnew(); WhatsNewInfoThread.cpp.hpp keeps the three URLs and defaults to the Linux one, with no host branch. The ratchet baseline drops it (and a stale CrashHandler entry already at 0).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #883 (step 1 of 5: 2 of the 15 remaining conditionals).
WhatsNewInfoThread.cpp.hppchoseWHATSNEW_URLwith__APPLE__/_WIN32branches. Now the macOS and Windowsobs_frontend_platform_whatsnew()macros (frontend/cmake/os-<os>.cmake) addWHATSNEW_URL=MAC_WHATSNEW_URL/WIN_WHATSNEW_URLas a compile definition. The shared file keeps the three*_WHATSNEW_URLdefines (still checked byci/test_no_upstream_runtime_feeds.py) and an#ifndef WHATSNEW_URLdefault to the Linux one. Each platform gets the URL it got before; today all three are the same obs-rust feed. The macro runs only withENABLE_WHATSNEW, the only build that compiles this file.test_whatsnew_url_is_chosen_by_the_host_fileinci/test_frontend_cmake_facade.py. Locally:FAILED (failures=1).test_no_upstream_runtime_feedsOK, ratchet baseline lowered (WhatsNewInfoThread 2 → gone; also a staleCrashHandlerentry already at 0 on master)../lint: ok.Tiers 1-4 don't apply (build selection only). Not user-visible.