Skip to content

Conversation

bdovaz
Copy link
Contributor

@bdovaz bdovaz commented Aug 3, 2025

Changes

Add Nextcloud data source.

Example PR: bdovaz/renovate_test#20

Readme.md custom manager example PR: bdovaz/renovate_test#18

Context

#37256

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@bdovaz bdovaz changed the title Nextcloud datasource feat(datasource): Add Nextcloud Aug 3, 2025
@bdovaz bdovaz marked this pull request as ready for review August 3, 2025 21:26
export const ApplicationRelease = z.object({
created: z.string(),
isNightly: z.boolean(),
translations: z.record(z.string(), Translation),
Copy link
Member

Choose a reason for hiding this comment

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

probably use LooseRecord, so it filters Translation with missing changelog and doesn't discard all

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What do you mean? I'm not an expert in typescript or zod, can you give me an example? Thank you.


export const Application = z.object({
id: z.string(),
releases: z.array(ApplicationRelease),
Copy link
Member

Choose a reason for hiding this comment

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

LooseArray ?

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.

2 participants