mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 01:37:24 +00:00
5ffc308673
As found with recent changes to the Terraform manager, although we generally have `lockFileMaintenance` being executed by an external package manager being invoked by `exec(...)`, there are a few package managers that do not do so. To make it very clear how this happens, we can add a new field to the Manager API, which will provide a means to document this. Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>
29 lines
1012 B
TypeScript
29 lines
1012 B
TypeScript
import type { Category } from '../../../constants/index.ts';
|
|
import { GitTagsDatasource } from '../../datasource/git-tags/index.ts';
|
|
import { PypiDatasource } from '../../datasource/pypi/index.ts';
|
|
|
|
export { updateArtifacts } from './artifacts.ts';
|
|
export { extractAllPackageFiles, extractPackageFile } from './extract.ts';
|
|
|
|
export const supportsLockFileMaintenance = true;
|
|
export const lockFileNames = ['requirements.txt'];
|
|
export const lockFileMaintenanceIsDelegatedToPackageManager = true;
|
|
|
|
export const displayName = 'pip-compile';
|
|
export const url =
|
|
'https://pip-tools.readthedocs.io/en/latest/reference/pip-compile/';
|
|
export const categories: Category[] = ['python'];
|
|
|
|
export const defaultConfig = {
|
|
managerFilePatterns: [],
|
|
lockFileMaintenance: {
|
|
enabled: true,
|
|
branchTopic: 'pip-compile-refresh',
|
|
commitMessageAction: 'Refresh pip-compile outputs',
|
|
},
|
|
};
|
|
|
|
export const supportedDatasources = [PypiDatasource.id, GitTagsDatasource.id];
|
|
|
|
export { knownDepTypes } from './dep-types.ts';
|