Skip to content

Enhancement: add administrative function to list all projects#5549

Merged
pmedinar01 merged 1 commit intomasterfrom
new_status_filters
Mar 23, 2026
Merged

Enhancement: add administrative function to list all projects#5549
pmedinar01 merged 1 commit intomasterfrom
new_status_filters

Conversation

@pmedinar01
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 23, 2026 12:16
Comment thread pkg/projects/manager/sql/sql.go Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an administrative SQL-manager helper to retrieve projects directly from the projects DB, intended for CERN-specific tooling (cernboxcop).

Changes:

  • Introduced ListAllProjects in the SQL projects manager with optional owner filtering.
  • Added status handling: defaults to active, with a special "*" mode to include all statuses.
  • Added an unreleased changelog entry documenting the enhancement.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
pkg/projects/manager/sql/sql.go Adds ListAllProjects query helper for admin-style project listings.
changelog/unreleased/admin-list-projects.md Documents the new admin listing function and its filters.

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

Comment thread pkg/projects/manager/sql/sql.go Outdated
Comment thread pkg/projects/manager/sql/sql.go
Comment thread pkg/projects/manager/sql/sql.go
@pmedinar01 pmedinar01 merged commit ab1fc06 into master Mar 23, 2026
24 of 26 checks passed
@jessegeens jessegeens deleted the new_status_filters branch April 7, 2026 08:39
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.

4 participants