Commit Graph

36 Commits

Author SHA1 Message Date
Mattias Karlsson 5d9e0b82b5 fix(manager/nuget): detect MSBuild SDK updates in sqlproj files (#43831)
* fix(manager/nuget): detect MSBuild SDK updates in sqlproj files

MSBuild SDK versions in `<Sdk>`, `<Import Sdk>`, and `<Project Sdk>`
elements are exact pins, but NuGet versioning treats bare versions as
minimum ranges (`>=`). That caused dependencies such as
`0.1.19-preview` to resolve to the latest release and skip updates.

Apply hybrid versioning to all `msbuild-sdk` dependencies at extract
time: use strict `semver` when the pin is valid semver, otherwise fall
back to `semver-coerced` for non-standard NuGet version strings (e.g.
four-segment revisions). Also add `.sqlproj` to the default manager
file patterns for SSDT SQL projects.

Changes:
- Add `applyMsbuildSdkVersioning()` helper and wire it through all
  msbuild-sdk extract paths (XML, global.json, single-csharp-file)
- Extend `managerFilePatterns` to match `.sqlproj` files
- Add extract, util, index, and integration tests
- Document `.sqlproj` and MSBuild SDK extraction in nuget docs/readme

* fix(manager/nuget): use bump range strategy for msbuild-sdk deps

Replace hybrid semver versioning for MSBuild SDK pins with a default
package rule (`matchDepTypes: msbuild-sdk`, `rangeStrategy: bump`) per
review feedback. Remove `applyMsbuildSdkVersioning()` from all extract
paths and update tests accordingly. Sort nuget doc file extensions
alphabetically.
2026-07-02 05:13:47 +00:00
Sebastian Poxhofer 9a27d7aa78 ci(prettier): add prettier plugin for admonitions (#43615)
* ci: add local mkdocs-admonitions plugin for prettier to allow admonition preservation

* docs: remove uses of `prettier-ignore` for admonitions

* test: rather use await expect

* chore: use named group exclusively
2026-05-27 09:39:52 +00:00
Jamie Tanna 4b0146ab7b docs: use 2-space indentation for Markdown (#43537)
As noted in #39090, MkDocs requires 4 spaces for indentation (in
particular, for nested lists) whereas our Prettier/markdownlint
configuration expects 2 spaces.

This means that when trying to use i.e. nested lists, we need to ignore
prettier and markdownlint, otherwise it fails.

To handle this, we can add a Markdown hook to override the indentation
level to 2 spaces.

This also requires we update:

- admonitions
- indented text in `index.md`

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-05-26 09:05:42 +00:00
Jellyfrog e9da17a22f feat(nuget): Also read registry URLs from deps (#39134) 2026-02-20 14:27:24 +00:00
Martin Costello 26e465cccc docs: Delocalize URLs (#37370) 2025-08-07 16:17:05 +00:00
renovate[bot] 5f1f40e7cf build(deps): update dependency prettier to v3.6.0 (main) (#36744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-06-30 13:25:41 +00:00
Sobuno 1a1bc9eaec docs(nuget): document changelog fallback behaviour for partial V3 API server implementations (#35402) 2025-04-16 08:41:00 +00:00
mueller-ma 2becc7d1ff docs(nuget): update configuration of registry urls to avoid warnings (#33700) 2025-01-20 16:59:07 +00:00
Konrad Malik 825d2666cd docs(nuget): add info about nested nuget ignorePaths (#33020) 2024-12-10 16:35:38 +00:00
HonkingGoose 3ee49b69d1 docs(nuget): explain authenticated feeds on Azure DevOps need right username (#29987)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-26 09:58:20 +00:00
Florian Greinacher de9608bed8 docs(nuget): add hint for protocol version in NuGet.config (#27933)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2024-03-18 19:52:03 +00:00
Simon Bäurle 5d9296e0b9 fix(manager/nuget): Enforce basic authentication for NuGet restore command (#25502) 2023-10-31 16:15:18 +00:00
HonkingGoose 76c9c63417 docs: use simple words (#23989) 2023-08-22 14:07:21 +02:00
HonkingGoose 79889a7ff3 docs(nuget): rewrite, add admonitions, add headings (#18906) 2022-11-14 08:24:12 -06:00
Tom Kerkhove 467dec8b7b docs: Provide guidance around using private NuGet feeds with Azure DevOps (#17917) 2022-09-25 12:31:04 +02:00
renovate[bot] 353e202e1f chore(deps): update dependency markdownlint-cli2 to v0.5.1 (#17301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-24 05:16:46 +00:00
HonkingGoose c6e8fd19c8 docs(nuget): rewrite (#15846) 2022-06-04 09:43:16 +02:00
HonkingGoose 5e20a72567 docs(nuget): use admonition (#13893) 2022-01-28 19:35:53 +01:00
horihel b17dc19da7 docs(nuget): Document lockfile exception (#13878) 2022-01-28 12:19:27 +01:00
HonkingGoose 34d0d9e6dc docs(nuget): small style and content improvements (#12781) 2021-11-21 16:38:45 +01:00
Sander Holvoet 988d324137 docs: clarify packages.config usage (#12779) 2021-11-21 13:43:08 +01:00
Nejc Habjan 34f13fee3e test: enforce valid JSON in fenced markdown code blocks (#12196) 2021-11-11 11:11:55 +01:00
Tom Kerkhove 84f7fb0407 docs: Use NuGet instead of Nuget (#10652)
Signed-off-by: GitHub <noreply@github.com>
2021-06-29 15:43:16 +02:00
Rhys Arkins 8bef1670ec docs: fix nuget alternate feeds syntax 2021-06-16 10:12:26 +02:00
Rhys Arkins f00413c298 feat(host-rules): use only matchHost (#9892)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-13 20:53:18 +00:00
Rhys Arkins 1abfcc82ec docs: fix java, nuget endpoint->baseUrl packageRules
Ref: #7912 #7959
2020-12-11 12:30:49 +01:00
HonkingGoose cd00101bb5 cover NuGet merge strategy for alternate feeds (#7841) 2020-11-29 16:35:48 +01:00
HonkingGoose 4751bb1a58 docs: improve NuGet documentation (#7826)
* use 1's for ordered list, fix whitespace

* use active voice

* fix typo: if -> in

* capitalize word Renovate

* rewrite sentences for clarity

* rewrite for clarity

* fix grammar

* use active voice

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-11-29 14:41:35 +01:00
HonkingGoose 8560b5d657 docs: remove punctuation from end of (un)ordered lists (#7669)
* fix bad indentation

* remove punctuation from end of (un)ordered lists
2020-11-06 12:00:57 +01:00
HonkingGoose 32dd490672 docs: use one sentence per line (#7625) 2020-11-02 09:52:37 +01:00
Martin Dobroucký cdaf3e9097 feat(nuget): add support for centralized PackageVersion (#7622) 2020-11-01 14:53:12 +01:00
HonkingGoose 89346338cb docs: fix capitalization/style errors (#7532)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-10-23 17:42:57 +02:00
Florian Greinacher 139e8bb2c2 feat(nuget): detect feeds in NuGet.confg (#5757) 2020-04-07 07:27:05 +02:00
Florian Greinacher a45e5efcfb feat(NuGet): add support for specificying protocol version in r… (#5746)
Closes #5165
2020-03-19 21:58:37 +01:00
Jamie Magee 8126705d3d feat(nuget): add support for fsproj and vbproj files (#5220) 2020-01-25 14:50:47 +01:00
Rhys Arkins 8e97958dd1 docs: relocate website docs 2019-09-09 04:28:25 +02:00