-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(manager): add devbox manager module #33638
base: main
Are you sure you want to change the base?
Conversation
}; | ||
|
||
let cmd = ''; | ||
if (updateConfig.config.isLockFileMaintenance) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need an additional check
renovate/lib/modules/manager/bun/artifacts.ts
Lines 20 to 25 in 3cae4d8
const isLockFileMaintenance = config.updateType === 'lockFileMaintenance'; | |
if (is.emptyArray(updatedDeps) && !isLockFileMaintenance) { | |
logger.debug('No updated bun deps - returning null'); | |
return null; | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
☝️ ❓ There are edge cases where config.isLockFileMaintenance === false
but config.updateType === 'lockFileMaintenance'
}; | ||
|
||
let cmd = ''; | ||
if (updateConfig.config.isLockFileMaintenance) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
☝️ ❓ There are edge cases where config.isLockFileMaintenance === false
but config.updateType === 'lockFileMaintenance'
datasource: 'devbox', | ||
depName: 'nodejs', | ||
packageName: 'nodejs', | ||
skipReason: 'invalid-version', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this invalid?
return { deps }; | ||
} | ||
|
||
return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing coverage
}), | ||
); | ||
|
||
export type DevboxFile = z.infer<typeof DevboxFile>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export type DevboxFile = z.infer<typeof DevboxFile>; |
unused
Changes
This PR adds the devbox manager, https://www.jetify.com/devbox. Devbox is a local development tool which creates local reproducible environments without docker containers.
Context
This PR is related to #30002
where I was asked to split that PR into one for the versioning, datasource and manager.
I am making these changes on behalf of Culture Amp as we are using renovate internally and have recently migrated to using devbox for our local developer environments.
This PR will ensure that all of our devbox.json files stay up to date with the rest of our repos.
#27543
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: