diff --git a/backend/src/builder/builder.service.ts b/backend/src/builder/builder.service.ts index 466dc97..f6ad7bb 100644 --- a/backend/src/builder/builder.service.ts +++ b/backend/src/builder/builder.service.ts @@ -80,7 +80,11 @@ export class BuilderService { * Returns all repos from the database. */ async getRepos(options?: any): Promise { - return this.repoRepository.find({ cache: { id: "repos-general", milliseconds: 30000 } }); + return this.repoRepository.find({ + cache: { id: "repos-general", milliseconds: 30000 }, + where: { isActive: true }, + select: { id: true, name: true, repoUrl: true, gitRef: true, dbPath: true }, + }); } /** diff --git a/backend/src/config/repo-manager.config.ts b/backend/src/config/repo-manager.config.ts index d3753c7..69e6e1f 100644 --- a/backend/src/config/repo-manager.config.ts +++ b/backend/src/config/repo-manager.config.ts @@ -1,7 +1,7 @@ import { registerAs } from "@nestjs/config"; export default registerAs("repoMan", () => ({ - gitAuthor: process.env.GIT_AUTHOR ?? "Chaotic Temeraire", + gitAuthor: process.env.GIT_AUTHOR ?? "Temeraire", gitEmail: process.env.GIT_EMAIL ?? "ci@chaotic.cx", gitUsername: process.env.GIT_USERNAME ?? "git", gitlabToken: process.env.CAUR_GITLAB_TOKEN,