Skip to content

Change: move first resource functions to dedicated files#2752

Merged
greenbonebot merged 3 commits intomainfrom
resources-files-1
Feb 3, 2026
Merged

Change: move first resource functions to dedicated files#2752
greenbonebot merged 3 commits intomainfrom
resources-files-1

Conversation

@mattmundell
Copy link
Contributor

What

Move first resource functions out of manage_sql.c.

Why

Smaller manage_sql.c. Better file organisation.

References

Similar to /pull/2748 for permission cache.

Testing

Edited a target and checked the name in the event log. Ran --optimize rebuild-permissions-cache and checked the UUIDs in the log.

This was used by migrate_119_to_120 from
137da3d from 2014, which was removed in
59df670 in 2019.
In the process make resource_name static.
@mattmundell mattmundell requested review from a team as code owners February 2, 2026 14:18
@greenbonebot greenbonebot enabled auto-merge (rebase) February 2, 2026 14:18
@greenbonebot greenbonebot merged commit 2cf8950 into main Feb 3, 2026
31 of 32 checks passed
@greenbonebot greenbonebot deleted the resources-files-1 branch February 3, 2026 06:54
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.

3 participants