Skip to content

boinccmd: make --get_state and --get_simple_gui_info show same task info#7092

Merged
AenBleidd merged 1 commit into
masterfrom
dpa_boinccmd
May 23, 2026
Merged

boinccmd: make --get_state and --get_simple_gui_info show same task info#7092
AenBleidd merged 1 commit into
masterfrom
dpa_boinccmd

Conversation

@davidpanderson

@davidpanderson davidpanderson commented May 22, 2026

Copy link
Copy Markdown
Contributor

Fixes #7081


Summary by cubic

Aligns boinccmd --get_state and --get_simple_gui_info so they show the same task info, including consistent project details. Fixes #7081.

  • Bug Fixes
    • Link each result to its project in get_simple_gui_info by matching project_url to project master_url.
    • Always print the project URL; print the project name when available.

Written for commit e92f991. Summary will update on new commits. Review in cubic

Copilot AI review requested due to automatic review settings May 22, 2026 21:51

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates BOINC’s boinccmd-related GUI RPC client printing/parsing so task details shown by --get_state and --get_simple_gui_info are aligned, addressing #7081 by ensuring both commands can show both project name and project URL for tasks.

Changes:

  • Update RESULT::print() to always print the project URL and print the project name when a PROJECT* is available.
  • In get_simple_gui_info(), link each parsed <result> to its corresponding <project> by matching result->project_url to project->master_url.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
lib/gui_rpc_client_print.cpp Adjusts task printing to include project URL consistently (and project name when available).
lib/gui_rpc_client_ops.cpp Associates results with projects during get_simple_gui_info() parsing so task printing can include project details.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -150,9 +150,8 @@ void RESULT::print() {
printf(" WU name: %s\n", wu_name);
if (project) {
@github-project-automation github-project-automation Bot moved this to In progress in Client/Manager May 23, 2026
@AenBleidd AenBleidd added this to the Client/Manager 8.2.14 milestone May 23, 2026
@AenBleidd AenBleidd merged commit 87c9195 into master May 23, 2026
273 checks passed
@AenBleidd AenBleidd deleted the dpa_boinccmd branch May 23, 2026 07:25
@github-project-automation github-project-automation Bot moved this from In progress to Merged in Client/Manager May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Unify task details printed by '--get_state' and '--get_simple_gui_info'

3 participants