Skip to content
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

(release) 2.4.0 #3559

Merged
merged 117 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
90daed9
(build) Make Agent requirements more specific
gep13 May 29, 2024
635eb60
(build) Change casing of requirement
gep13 May 29, 2024
484999b
Merge branch 'master' into develop
gep13 Jun 5, 2024
227b0d2
(maint) Do not create Chocolatey directory in MSI
corbob Jun 7, 2024
2d72a3e
(#3307) Do not create Tools directory from MSI
corbob Jun 7, 2024
e660067
(#3446) Update GenerateDocs.ps1
st3phhays May 13, 2024
122199c
(doc) Tweak docgen for Chocolatey.PowerShell
vexx32 Jun 7, 2024
3a676c1
(doc) Further tweak docgen for Chocolatey.PowerShell
vexx32 Jun 7, 2024
8f23ca2
Merge pull request #3447 from st3phhays/astro
gep13 Jun 12, 2024
88fcb13
(build) Add verification of source scripts
gep13 Jun 14, 2024
7c0dfcf
(build) Add templated notifications to all builds
Windos Jun 19, 2024
20d5a4f
Merge pull request #3469 from Windos/build/add-templated-slack-notif
gep13 Jun 27, 2024
f6b8eb9
(maint) Add CODEOWNERS files
gep13 Jul 2, 2024
3c18060
Merge pull request #3475 from gep13/codeowners
AdmiringWorm Jul 2, 2024
dc2f0e4
(maint) Update NUnit3TestAdapter
gep13 Jul 11, 2024
c4e0eff
Merge pull request #3482 from gep13/update-nunit3testadapter
st3phhays Jul 12, 2024
146f326
(doc) Update CREDITS.md file
gep13 Jul 5, 2024
de3a4b7
(maint) Add recommended extension
gep13 Jul 5, 2024
40e5eac
Merge pull request #3479 from gep13/update-credits
pauby Jul 12, 2024
b5570a0
(maint) Remove project editorconfig
vexx32 Jul 8, 2024
212aa16
(maint) Add gitignore entry
vexx32 Jul 8, 2024
dd911ed
(maint) Use best practices nuget package
vexx32 Jul 26, 2024
0487213
Merge pull request #3488 from vexx32/editorconfig-nuget-package
gep13 Jul 29, 2024
ba93945
(#3451) Use availablePackages in GetPackageDependencies
josh-cooley Jun 25, 2024
9400fde
(#3451) Add pester tests for slow dependency
corbob Jul 18, 2024
cca46de
Merge pull request #3471 from josh-cooley/bug/reduce-dependency-fetch
corbob Aug 7, 2024
4d3b317
(maint) synced local '.github/workflows/stale.yml' with remote '.gith…
Aug 8, 2024
45e0383
Merge pull request #3498 from chocolatey/repo-sync/github/default
pauby Aug 8, 2024
86c88e0
(#3489) Return early when folder doesn't exist
gep13 Aug 13, 2024
849c494
(#3489) Introduce WireMock.Net
gep13 Aug 15, 2024
547f7bc
Merge pull request #3500 from gep13/issue3489
AdmiringWorm Aug 22, 2024
ff71d8d
(doc) Fixed parameter name typo
pauby Aug 23, 2024
cc4332f
Merge pull request #3504 from pauby/doc/fix-parameter-name-typo
gep13 Aug 23, 2024
a3bc392
(#3489) Don't hard-code WireMock.Net Port
gep13 Aug 26, 2024
5d0397e
(#3489) Remove usage of hard-coded port
gep13 Aug 26, 2024
71811a2
(maint) Move these tests to WindowsOnly
gep13 Aug 26, 2024
dd1de8f
(#3489) Explicitly set repository optimizations
gep13 Aug 26, 2024
0d4a172
(#3520) Deprecate Install-ChocolateyPinnedTaskBarItem
corbob Sep 26, 2024
0b16b77
Merge pull request #3522 from corbob/3520-deprecate-function
gep13 Sep 26, 2024
4debd46
(maint) Convert common string to constant
corbob Jul 12, 2024
d660ca5
(#3461) Prevent downgrade of dependency
corbob Jul 11, 2024
f911382
(#3487) Prevent package success on dependency fail
corbob Jul 15, 2024
522d520
(#3461) Add downgrade install pester test
corbob Jul 15, 2024
4a8479e
(#3461,#3487) Add test packages for added tests
corbob Aug 15, 2024
e5c5838
(#3461,#3487) Add an all packages source for tests
corbob Aug 15, 2024
d77c0bd
(#3461,#3487) Add pester tests for dependencies
corbob Aug 15, 2024
53264d2
(maint) Remove unnecessary variable usage
corbob Aug 26, 2024
acdf0ba
fixup! (#3461,#3487) Add pester tests for dependencies
corbob Aug 30, 2024
dc713f1
fixup! (#3461,#3487) Add test packages for added tests
corbob Aug 30, 2024
1becaa7
(tests) Update Test Package to have description
corbob Aug 30, 2024
a93c0c4
(#3461,#3487) Address review comments
corbob Sep 20, 2024
930f394
(maint) Output choco pack failures
corbob Sep 20, 2024
ff7009e
(maint) Remove templated values from test packages
corbob Sep 26, 2024
48c93a3
Merge pull request #3486 from corbob/3461-downgrades
AdmiringWorm Sep 27, 2024
d09549f
(maint) Update Authenticode Signature
corbob Sep 27, 2024
8fc766e
Merge pull request #3523 from corbob/update-signatures
gep13 Sep 27, 2024
74d5bf4
(doc) Update build instructions
gep13 Jun 17, 2024
fa4322b
(build) Add installation of WiX as a tool
gep13 Jun 17, 2024
96a1628
(doc) Be consistent about headings
gep13 Oct 25, 2024
ca768c8
(doc) Add testing section to link to other docs
gep13 Oct 25, 2024
c8326fb
Merge pull request #3467 from gep13/update-build-instructions
corbob Oct 25, 2024
320d67f
(#3534) Fix ILMerge of no7zip version of choco.exe
gep13 Oct 26, 2024
aeba085
Merge pull request #3537 from gep13/fix-ilmerge-7zip
vexx32 Oct 28, 2024
44a9fd1
(#3501) Remove old install migration code
vexx32 Oct 7, 2024
808c28b
Merge pull request #3528 from vexx32/3051-remove-old-migration-logic
corbob Oct 29, 2024
d797984
(maint) Update Authenticode Signature
corbob Oct 29, 2024
8837086
Merge pull request #3545 from corbob/update-signatures
vexx32 Oct 30, 2024
3b32043
(maint) Make threshold limit text clearer
pauby Sep 2, 2024
7f7186f
Merge pull request #3507 from pauby/maint/clarify-package-threshold
corbob Oct 31, 2024
ca4f5ef
(#3427) Remove use of -unpackself from the build
vexx32 Oct 25, 2024
c85f76b
(maint) Remove entirely duplicated PropertyGroups
vexx32 Oct 25, 2024
f65afd1
Merge pull request #3536 from vexx32/3427-build-remove-unpackself
corbob Nov 4, 2024
3be2a2b
(#3364) Fix broken tab completion (expansion) in PowerShell v7.4+
mklement0 Jan 19, 2024
53dc7e0
(#3364) Use new tab-expansion from PowerShell v5
vexx32 Nov 1, 2024
4947075
Merge pull request #3459 from yan12125/fix-issue3364
corbob Nov 4, 2024
d06c9f7
(maint) Update Authenticode Signature
corbob Nov 4, 2024
2866df9
Merge pull request #3549 from corbob/update-signatures
vexx32 Nov 4, 2024
a65a51f
(#3318) Add ShouldProcess support to commands
vexx32 Oct 18, 2024
c209065
(#3318) Add -WhatIf unit tests for helper commands
vexx32 Oct 21, 2024
5d0e42d
Merge pull request #3532 from vexx32/ShouldProcess-cmdlets
corbob Nov 4, 2024
7793d7a
(#3503, #3513) Better handle argument decryption
corbob Oct 25, 2024
cf047ef
(#3503, #3513) Add tests for arguments file errors
corbob Oct 29, 2024
68b7916
(#3503, #3513) Incorporate review feedback
corbob Nov 4, 2024
242b3fc
Merge pull request #3540 from corbob/handle-decryption-failures
vexx32 Nov 5, 2024
7a50b76
(#3502) Return the PageSize if specified
corbob Oct 31, 2024
4d7c831
(#3502) Update Integration Test for PageSize
corbob Nov 1, 2024
68ddec2
(#3502) Add end to end tests around page size
corbob Nov 4, 2024
3b7baf7
Merge pull request #3547 from corbob/3502-sleet
vexx32 Nov 5, 2024
109511d
(#3364) Remove unusable tab completion tests
vexx32 Nov 6, 2024
bb8b8a5
Merge pull request #3552 from vexx32/fix-tab-completion-tests
corbob Nov 6, 2024
f5f2da1
(#3503, #3513) Add null check for CommandName
corbob Nov 6, 2024
53ed5aa
(tests) Exclude Test Kitchen packages from tests
corbob Nov 6, 2024
e0c728d
Merge pull request #3553 from corbob/update-tests
vexx32 Nov 6, 2024
3dd4c8e
(#3505) Update 7-zip binaries and related tests
corbob Nov 5, 2024
231b5f5
Merge pull request #3551 from corbob/update-7zip
gep13 Nov 7, 2024
c86c388
(maint) Add temporary storage of benchmark
AdmiringWorm May 31, 2024
5286fba
(#3526) Implement process tree in codebase
AdmiringWorm Jun 7, 2024
3497344
(#3526) Implement prototype for user agent updating
AdmiringWorm Jun 7, 2024
ec86c68
(#3526) Implement fallback logic from benchmarks
vexx32 Oct 29, 2024
8a8c0af
(#3526) Add tests for the user agent
vexx32 Oct 30, 2024
72fa3a5
(#3526) Fix Cake build issues for benchmarks project
vexx32 Oct 31, 2024
aee561b
(#3526) Minor fixes for mono in the benchmarks and tests
vexx32 Oct 31, 2024
f58a4c4
(#3526) Expand the list of known terminal emulators
vexx32 Nov 1, 2024
a620b2b
(#3526) Revise naming of new additions
vexx32 Nov 4, 2024
aca796c
(maint) Reorder / tidy using statements
vexx32 Nov 6, 2024
475f80b
Merge pull request #3460 from AdmiringWorm/benchmark
gep13 Nov 7, 2024
9bf0093
(#3318) Fix -WhatIf tests
vexx32 Nov 7, 2024
c0e6e79
(#3502) Update tests to disable extra sources
corbob Nov 7, 2024
8e7582f
Merge pull request #3554 from vexx32/fix-whatif-tests
corbob Nov 8, 2024
be0ae44
(#3526) Validate version numbers in Info logs
corbob Nov 8, 2024
38cf79b
(#3526) Remove test for an empty debug log
corbob Nov 8, 2024
683af1d
Merge pull request #3556 from corbob/fix-integration-tests
vexx32 Nov 8, 2024
dc726c6
(maint) Update MSI configuration to only build MSI
corbob Nov 8, 2024
104d7c3
Merge pull request #3557 from corbob/fix-msi-build
vexx32 Nov 8, 2024
1aff06c
(#3526) Fix user-agent tests for licensed
vexx32 Nov 8, 2024
f3bced2
Merge pull request #3558 from vexx32/fix-user-agent-test-for-licensed
corbob Nov 8, 2024
8253217
(maint) Update cmdlet XML help documentation
vexx32 Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 0 additions & 184 deletions .editorconfig

This file was deleted.

4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
packages.config @chocolatey/chocolatey-credits-reviewers
CREDITS.md @chocolatey/chocolatey-credits-reviewers
/src/chocolatey.resources/tools/ @chocolatey/chocolatey-credits-reviewers
/lib/ @chocolatey/chocolatey-credits-reviewers
9 changes: 5 additions & 4 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4.1.0
- uses: actions/stale@v9
id: stale
with:
days-before-stale: 30
Expand All @@ -24,9 +24,10 @@ jobs:
only-labels: '0 - Waiting on User'
close-issue-label: "No Response / Stale"
close-pr-label: "No Response / Stale"
exempt-issue-labels: 'Security / CVE'
exempt-pr-labels: 'Security / CVE'
labels-to-remove-when-unstale: '0 - Wating on User,Pending closure'
exempt-issue-labels: 'Security / CVE,2 - Working,3 - Review'
exempt-pr-labels: 'Security / CVE,2 - Working,3 - Review'
labels-to-remove-when-unstale: '0 - Waiting on User,Pending closure'
remove-stale-when-updated: true
stale-issue-message: |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue will be closed in 14 days if it continues to be inactive.
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ code_drop
obj
src/packages
/.vscode/**
!.vscode/extensions.json
!/.vscode/settings.json
.vs

Expand Down Expand Up @@ -53,4 +54,7 @@ tools/**
!tools/Modules/packages.config
BuildArtifacts/
code_drop/
src/chocolatey.install/assets/Install.ps1
src/chocolatey.install/assets/Install.ps1

# This project uses an editorconfig file maintained via a nuget package, so do not commit any of these to the repo
.editorconfig
18 changes: 18 additions & 0 deletions .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ object Chocolatey : BuildType({
id = AbsoluteId("Chocolatey")
name = "Chocolatey CLI (Built with Unit Tests)"

templates(AbsoluteId("SlackNotificationTemplate"))

artifactRules = """
""".trimIndent()

Expand Down Expand Up @@ -86,13 +88,16 @@ object Chocolatey : BuildType({

requirements {
doesNotExist("docker.server.version")
doesNotContain("teamcity.agent.name", "Docker")
}
})

object ChocolateySchd : BuildType({
id = AbsoluteId("ChocolateySchd")
name = "Chocolatey CLI (Scheduled Integration Testing)"

templates(AbsoluteId("SlackNotificationTemplate"))

artifactRules = """
""".trimIndent()

Expand Down Expand Up @@ -150,13 +155,16 @@ object ChocolateySchd : BuildType({

requirements {
doesNotExist("docker.server.version")
doesNotContain("teamcity.agent.name", "Docker")
}
})

object ChocolateyQA : BuildType({
id = AbsoluteId("ChocolateyQA")
name = "Chocolatey CLI (SonarQube)"

templates(AbsoluteId("SlackNotificationTemplate"))

artifactRules = """
""".trimIndent()

Expand Down Expand Up @@ -216,13 +224,16 @@ object ChocolateyQA : BuildType({

requirements {
doesNotExist("docker.server.version")
doesNotContain("teamcity.agent.name", "Docker")
}
})

object ChocolateySign : BuildType({
id = AbsoluteId("ChocolateySign")
name = "Chocolatey CLI (Script Signing)"

templates(AbsoluteId("SlackNotificationTemplate"))

artifactRules = """
""".trimIndent()

Expand Down Expand Up @@ -286,13 +297,16 @@ object ChocolateySign : BuildType({

requirements {
doesNotExist("docker.server.version")
doesNotContain("teamcity.agent.name", "Docker")
}
})

object ChocolateyDockerWin : BuildType({
id = AbsoluteId("ChocolateyDockerWin")
name = "Docker (Windows)"

templates(AbsoluteId("SlackNotificationTemplate"))

params {
// TeamCity has suggested "${Chocolatey.depParamRefs.buildNumber}"
param("env.CHOCOLATEY_VERSION", "%dep.Chocolatey.build.number%")
Expand Down Expand Up @@ -340,13 +354,16 @@ object ChocolateyDockerWin : BuildType({
requirements {
contains("docker.server.osType", "windows")
exists("docker.server.version")
contains("teamcity.agent.name", "Docker")
}
})

object ChocolateyPosix : BuildType({
id = AbsoluteId("ChocolateyPosix")
name = "Docker (Linux)"

templates(AbsoluteId("SlackNotificationTemplate"))

params {
param("env.CAKE_NUGET_SOURCE", "") // The Cake version we use has issues with authing to our private source on Linux
param("env.PRIMARY_NUGET_SOURCE", "") // As above there are issues with authing to our private source on Linux
Expand Down Expand Up @@ -452,5 +469,6 @@ object ChocolateyPosix : BuildType({
requirements {
contains("docker.server.osType", "linux")
exists("docker.server.version")
contains("teamcity.agent.name", "Docker")
}
})
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"yzhang.markdown-all-in-one"
]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"[powershell]": {
"files.encoding": "utf8bom",
}
},
"markdown.extension.toc.levels": "2..6"
}
Loading
Loading