Skip to content

Refactor per-channel output and add tests for fetch_all_channels#995

Open
DarshanCode2005 wants to merge 3 commits intoNixOS:mainfrom
DarshanCode2005:unified-channel-output
Open

Refactor per-channel output and add tests for fetch_all_channels#995
DarshanCode2005 wants to merge 3 commits intoNixOS:mainfrom
DarshanCode2005:unified-channel-output

Conversation

@DarshanCode2005
Copy link
Copy Markdown
Contributor

# FIXME(@fricklerhandwerk): Fold that intobranch_info, so there's only one output. print("Parallel fetches results", results)
What’s changed:

  • Cleaner output: Each channel now prints one clear line with its details (release, state, commit) and result (fetched, already present, or error), after all fetches finish.
  • Standard output: Replaced print/pprint with self.stdout.write for proper command output handling.
  • Tests added:
    • 4 unit tests for reporting logic
    • 1 integration test for the full command flow with the database

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.

1 participant