Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
6343e43
Introduce fibre_channel_host grain
tacerus Dec 27, 2023
2b60475
Allow salt-call arguments --file-root, --pillar-root and --states-dir…
martijnkruiten Jul 10, 2023
ee69773
Add multiple pillar roots test
martijnkruiten Oct 10, 2023
7b0a361
Fix typo
martijnkruiten Oct 10, 2023
60203c5
Add test and description for multiple states dirs
martijnkruiten Aug 13, 2025
f88ca58
Fix formatting (black)
martijnkruiten Aug 29, 2025
3d7f0cb
Support limiting the number of states running in parallel
lkubb Oct 10, 2024
43dab37
Use `timeout` for tests on Windows
lkubb Nov 3, 2025
da09a0c
Strip CRLF from headers before parsing
m-czernek Sep 15, 2025
3415af1
fix mongodb tops module for pymongo v4 compatibility
smartcoder0777 Jan 27, 2026
c18215a
Include minion ID in rejected authentication warning
AhmadYasser1 Feb 9, 2026
65049a8
Fix black formatting in test file
AhmadYasser1 Feb 9, 2026
8163c8b
dictdiffer: deep diff of dicts in lists
tacerus Jan 30, 2026
8611cc9
Fix incorrect units for recon_default and recon_max in master trouble…
darkpixel Aug 13, 2025
78685e5
Provide token storage using the salt.cache interface
mattp- May 20, 2025
fa969b1
Don't create schedule for alive if no master_alive_interval
vzhestkov Jul 9, 2024
0ddbae8
Add changelog entry
vzhestkov Aug 12, 2024
4158e1f
Handle SaltDeserializationError in grains cache loading
sheagcraig Feb 3, 2026
1643229
Unit test grains_cache exception handling.
sheagcraig Feb 3, 2026
7a4cfda
Add changelog entry.
sheagcraig Feb 3, 2026
92831d0
Reformat.
sheagcraig Feb 4, 2026
0f97c13
Log to debug when exceptions occur during grains_cache deserialize
sheagcraig Feb 9, 2026
4d86cd7
Blackify
sheagcraig Feb 12, 2026
94a0570
Incorporate feedback to log only once and keep exception info.
sheagcraig Feb 20, 2026
b0da857
Lint
sheagcraig Feb 20, 2026
b0b3640
feat: add support for nix package manager
cdalvaro Feb 20, 2026
1542434
doc: update nixpkg versionadded
cdalvaro Feb 25, 2026
930ccd5
Replace networkx dependency with custom MultiDiGraph implementation
vzhestkov Feb 16, 2026
a94148c
Remove networkx from requirements
vzhestkov Feb 18, 2026
917231b
Remove networkx from DEPENDENCIES.md
vzhestkov Feb 18, 2026
08460aa
Add changelog entry
vzhestkov Feb 19, 2026
6deae89
Remove networkx from .pylintrc
vzhestkov Feb 19, 2026
46fac54
Fix the typo
vzhestkov Mar 6, 2026
481ddf9
Allow saltmod.state to run masterless when ssh is enabled
SndR85 Jun 26, 2025
4cdd334
Fix Python3.13 compatibility regarding urllib.parse module
marmarek Sep 18, 2024
6330657
Use timezone-aware datetime objects, for UTC too
marmarek Aug 15, 2024
c1b088e
Add changelog entry
marmarek Sep 18, 2024
86df0b2
Move eload variable into auth_events if statement
thus Oct 17, 2023
a5b361a
Make sure every auth event has a 'act' key set
thus Oct 17, 2023
4c1cca4
Add option to add autosign_grains to auth events
thus Oct 17, 2023
2fb3300
Add auth_events_autosign_grains option to documentation
thus Oct 17, 2023
acf6bb1
Add tests for auth_events_autosign_grains option
thus Oct 18, 2023
dd022de
Add changelog entry for issue 56200
thus Oct 18, 2023
97ba984
Add changelog entry for auth_events_autosign_grains option
thus Oct 18, 2023
3fd4839
Add missing actions in salt/auth events to documentation
thus Feb 23, 2024
1aad349
Show warning instead of crashing when stats cannot be fetched
meaksh Jun 17, 2024
5fe3a57
test_syndic_eauth: do not produce error if docker service is not running
meaksh Jun 17, 2024
21ce905
Add changelog file
meaksh Jun 18, 2024
122881e
Fix pylint issues
meaksh Jun 18, 2024
692cb4f
pylint: remove f-string without interpolation
meaksh Jun 18, 2024
5054de9
Include path as part of output in case of errors
meaksh Jun 18, 2024
d726817
Add unit tests to cover status.diskusage behavior
meaksh Jul 8, 2024
cf99f1c
Skip some tests on Windows as it has differente status module
meaksh Jul 23, 2024
e369344
Do not use deprecated ssl.PROTOCOL_TLS
CyrilRoelandteNovance Jul 31, 2024
06b85d0
`re.split`: replace 3rd arg with `maxsplit=`
zaz Apr 5, 2025
047150b
Add x86_64_v2 as a possible rpm architecture
vzhestkov Mar 10, 2026
e470cb5
Reuse existing logic from salt.utils.pkg.rpm.resolve_name
vzhestkov Mar 10, 2026
bf3c5ce
Extend the tests if x86_64_v2 package arch can be handled
vzhestkov Mar 10, 2026
ffd8953
Add changelog entry
vzhestkov Mar 10, 2026
e512b80
Make test_kernelpkg_linux_yum using real osarch while testing
vzhestkov Mar 19, 2026
6e4f957
Allow kwargs for fileserver roots update
ycedres Jan 12, 2024
0b92363
Prevent exceptions with fileserver.update when called via state
meaksh Jan 17, 2024
16b9015
Fix wrong logic and enhance tests around fileserver.update
meaksh Jan 17, 2024
38d83a7
Remove test which is not longer valid
meaksh Jan 17, 2024
d42a3a4
Merge pull request #1 from meaksh/allow-kargs-fileserver-roots-update
ycedres Jan 17, 2024
90521be
Fix source package builds failing with hatchling circular build error
sujitdb Mar 27, 2026
f484ee0
Fix locale.set_locale failing on containers without systemd-localed
sujitdb Mar 27, 2026
b32574e
Provide a generous timeout for traceroute
dwoz Mar 28, 2026
7e2de42
Fix pre-commit whoops
dwoz Mar 28, 2026
ca6ab4e
The "Parallel cache failure" test failure
dwoz Mar 29, 2026
7e7f6ae
Use functools.cache for real_momoize
dwoz Mar 29, 2026
08713d0
Update traceroute test
dwoz Mar 29, 2026
129c391
fix typo in states.file.directory documentation
Gregoire-perso Mar 20, 2026
ef62d6c
Fix ansible.playbooks extra-vars quoting (bsc#1257831)
vzhestkov Feb 9, 2026
1472ea6
Add test for passing complex extra-vars to ansible.playbooks
vzhestkov Mar 9, 2026
2ee28b1
Add changelog entry
vzhestkov Mar 9, 2026
fa7d1f4
Add DEB822 apt source format support
vzhestkov Mar 10, 2025
ae0d490
Fixes for test_aptpkg
vzhestkov Apr 2, 2025
83912c3
Changelog entry
vzhestkov Apr 24, 2025
376c35d
Simplify deb822 implementation
vzhestkov Nov 19, 2025
1f9ae00
Remove hard requirement for signedby on test repo mod
vzhestkov Dec 16, 2025
255930f
Make `file` not mandatory on repo creation
vzhestkov Dec 22, 2025
5f1dcdf
Return raw string modification for legacy source
vzhestkov Dec 23, 2025
af05b9a
Accept either list or str as comment on creation
vzhestkov Dec 29, 2025
58cf477
Add comment why it makes sense to call apt-get clean
vzhestkov Dec 29, 2025
9648128
Add multiple URIs support for deb822
vzhestkov Dec 29, 2025
389c34e
Remove redundant part of rendering list_repos
vzhestkov Dec 30, 2025
7b79521
Remove aptsources with/without
vzhestkov Dec 30, 2025
0af4ceb
Test pkgrepo.managed with deb822
vzhestkov Dec 30, 2025
2e0faaf
Improve deb822 repo management
vzhestkov Dec 31, 2025
9fa4070
Remove unused imports from test_debian
vzhestkov Jan 2, 2026
ef7ed73
Do not try to create /etc/apt/sources.list if not Debian
vzhestkov Jan 2, 2026
c998581
Add uris to MockSourceEntry
vzhestkov Jan 2, 2026
058adb2
Fix test_aptpkg
vzhestkov Jan 2, 2026
b3b5bca
Do not put empty values to deb822 section
vzhestkov Jan 2, 2026
65a29f9
Add trusted param
m-czernek Jan 14, 2026
eff13db
Throw error when user defines incorrect deb line
m-czernek Jan 14, 2026
3dd0153
Fix the formatting issues found by pre-check
vzhestkov Mar 20, 2026
9d6efa0
Add missing trusted property to MockSourceEntry
vzhestkov Mar 23, 2026
cf25280
TLS Encryption Optimization
dwoz Dec 9, 2025
c75d7a2
Fix tests by making ssl context
dwoz Dec 10, 2025
45453a9
More test fixes
dwoz Dec 14, 2025
fa8cfd7
Add changelog
dwoz Dec 14, 2025
76ab3b0
Fix RST section header formatting
dwoz Dec 16, 2025
c1ed588
Update changelog entry for TLS encryption optimization
dwoz Dec 16, 2025
0b9a8d1
Fix pre-commit
dwoz Apr 2, 2026
2dd2a42
Fix writing pubkey
lkubb Mar 20, 2026
a6a9d7c
Use concurrent=True when calling file.managed
lkubb Mar 20, 2026
bd0f19e
Respect `copypath` in certificate_managed
lkubb Mar 20, 2026
b9f3c4f
Fix local signing w/ fixed signing pk in policy
lkubb Mar 20, 2026
1244020
Correctly pass arguments to file.managed
lkubb Mar 20, 2026
b2505fb
Account for `not_after` in policy ttl handling
lkubb Mar 20, 2026
40e526f
Remove unnecessary references
lkubb Mar 20, 2026
d424134
Add copy on write opts handling
dwoz Dec 12, 2025
0178f78
OptsDict needs pickle and deepcopy support
dwoz Dec 13, 2025
87f0b82
Ensures all loaders see same configuration values
dwoz Dec 14, 2025
fc3d86b
wip
dwoz Dec 14, 2025
56836ca
Clean up debug print statements
dwoz Dec 14, 2025
c1432d1
Fix OptsDict shared value visibility for sibling children
dwoz Dec 15, 2025
fb2714a
Fix pyobjects Map tests by mutating grains dict in place
dwoz Dec 16, 2025
149a9b3
Implement grains-before-loaders approach for OptsDict compatibility
dwoz Dec 17, 2025
8727800
Fix stale grains/pillar references via mutate-in-place approach
dwoz Dec 17, 2025
17e123f
Apply pre-commit formatting fixes
dwoz Dec 17, 2025
853c9b6
Add defensive checks to mutate_opts_key()
dwoz Dec 17, 2025
323d61c
Fix OptsDict compatibility in BaseHighState.__gen_opts()
dwoz Dec 18, 2025
4af9d19
Fix test_opts_dunder_opts_without_import to accept OptsDict
dwoz Dec 22, 2025
9ecedf7
Fix OptsDict child inheritance in safe_opts_copy()
dwoz Dec 22, 2025
08f5839
Optimize OptsDict memory usage
dwoz Dec 23, 2025
b2c1a69
Use TCP transport instead of deprecated IPC in test_event_publisher
dwoz Dec 23, 2025
bb7d57c
Fix OptsDict mutation tracking tests to explicitly enable tracking
dwoz Dec 25, 2025
c6ee834
Fix OptsDict __setstate__ to properly reconstruct MutationTracker
dwoz Dec 27, 2025
a2ce2f6
Increase test_publisher_mem threshold to 150 MB
dwoz Dec 27, 2025
401c733
Fix ListProxy handling in _remove_circular_refs
dwoz Dec 27, 2025
c6855da
Fix pylint f-string-without-interpolation warning
dwoz Dec 27, 2025
2e31bc4
Fix isort import formatting
dwoz Dec 27, 2025
3d3628b
Fix black formatting
dwoz Dec 29, 2025
c17bce4
Optimize SSH client grains updates to avoid OptsDict deepcopy
dwoz Dec 29, 2025
969f979
Refactor OptsDict to all-in architecture with instance method API
dwoz Jan 2, 2026
95da6d4
Fix lint: move OptsDict import to top of module
dwoz Jan 3, 2026
b2fcb7f
Fix missing mutate_key updates in SProxyMinion.gen_modules
dwoz Jan 3, 2026
290d18e
Make OptsDict inherit from dict for full compatibility
dwoz Jan 3, 2026
5a3414d
Fix OptsDict pickling for full dict compatibility
dwoz Jan 3, 2026
d1e6acd
Add __future__ annotations import to fix Python 3.9/3.10 compatibility
dwoz Jan 4, 2026
74065ce
Fix minion_config to return OptsDict for all code paths
dwoz Jan 4, 2026
0b300cd
Fix OptsDict deepcopy to preserve OptsDict type
dwoz Jan 6, 2026
e05c4b5
Optimize OptsDict deepcopy to use copy-on-write
dwoz Jan 7, 2026
ddc7413
Add unit tests for OptsDict.__deepcopy__() behavior
dwoz Jan 7, 2026
b1346d4
Fix option parser converting OptsDict to plain dict
dwoz Jan 9, 2026
b403da1
Fix parser to preserve backward compatibility when merging config
dwoz Jan 10, 2026
e93ec8f
Multiple test fixes
dwoz Jan 11, 2026
000a216
More test fixes
dwoz Jan 18, 2026
0b3fb18
Fix test failures
dwoz Jan 18, 2026
2267a7c
Test fix
dwoz Jan 18, 2026
2f4407d
Add pickle tests
dwoz Jan 18, 2026
a9f7345
More test fixes
dwoz Jan 19, 2026
e8c8270
What breaks
dwoz Jan 24, 2026
5bb9d1f
Fix linter
dwoz Apr 2, 2026
a164b4e
Improve salt-ssh relenv/thin parity and fix various regressions
dwoz Apr 3, 2026
54d5367
requisite_any: dont fall in an infinite loop when req doesnt exist
mattp- Nov 27, 2018
59783c1
Test fix
dwoz Dec 12, 2023
cb1bd77
Fix pre-commit
dwoz Jan 3, 2024
1843923
Fix test_state_requires_missing assertion to handle MultiStateResult
dwoz Apr 4, 2026
8fa45fb
Add changelog fragment for requisite_any infinite loop fix
dwoz Apr 4, 2026
6171705
Fix end of file for pre-commit
dwoz Apr 5, 2026
4078d7a
Fix regex cache exception during sort in sweep function
msciciel Mar 15, 2023
5e5719f
deprecate the use of egrep
leifliddy Jan 15, 2024
e745aab
Clean up linode-python packages for retired Linode API v3
ChihweiLHBird Apr 1, 2026
ad16e0a
Add changelog
ChihweiLHBird Apr 1, 2026
aab2eeb
Add reqs to help dependency version checks
dwoz Dec 9, 2020
c8a0e79
Fix pre-commit and lint
dwoz Apr 2, 2026
e6d01cf
Fix linter errors
dwoz Apr 3, 2026
a57c315
Add changelog for #68894
dwoz Apr 4, 2026
8209283
Fix potential AttributeError in salt.utils.msgpack and improve safety
dwoz Apr 4, 2026
68449c6
Fix Requirement comparisons for missing dependencies and add caching
dwoz Apr 4, 2026
b78f85c
Fix TypeError when comparing Requirement against tuple and use string…
dwoz Apr 4, 2026
180a3ba
Refine Requirement._get_version for better robustness
dwoz Apr 4, 2026
24a4cfa
Fix beacon delete not closing beacon modules
dwoz Apr 5, 2026
01dfcb1
Fix 9 flaky tests identified in master nightly runs (#68893)
Copilot Apr 8, 2026
2df15a3
Skip system hostnamectl tests when system D-Bus is unavailable
sujitdb Apr 9, 2026
2060000
Make users with backslash working for salt-ssh (bsc#1254629)
vzhestkov Jan 19, 2026
81f9d2b
Add tests for ssh user with backslash
vzhestkov Mar 11, 2026
f0caead
Add changelog entry
vzhestkov Mar 11, 2026
e0bf24d
Fix options parsing
Aug 22, 2024
77c5621
Put _auth calls to the master stats
vzhestkov Jan 8, 2025
4f5962a
Add _auth master stats tests
vzhestkov Feb 17, 2025
273fb0a
Add changelog entry
vzhestkov Feb 17, 2025
0aa4b65
Increase salt CLI timeout in reauth scenario tests
sujitdb Apr 10, 2026
5dd0d93
Add changelog fragment for #68924
sujitdb Apr 10, 2026
3d77211
Docs: note that service.masked may require service.disabled first (#6…
kimimgo Mar 20, 2026
6ea5ea3
Expand Thorium documentation with concrete examples
ed-silva-eb Mar 27, 2026
0e3fd73
Add Thorium example coverage tests
ed-silva-eb Mar 27, 2026
5ae9177
Format Thorium example tests
ed-silva-eb Mar 27, 2026
a5c0e56
Add changelog entry for Thorium docs PR
ed-silva-eb Apr 10, 2026
b6a5de2
Mitigate primary flaky tests in scenario and integration suites
dwoz Apr 11, 2026
e2ba6b2
Bring over Windows NSIS installer and packaging fixes from 3006.x
dwoz Apr 11, 2026
7929cd2
Fix windows reauth test flaky
dwoz Apr 11, 2026
d440e8c
PKI index optimization using memory-mapped hash table (#68891)
dwoz Apr 14, 2026
d952447
Access pillar data while rendering pillars
dwoz Apr 8, 2023
041ac93
Fix unit test
dwoz Nov 8, 2023
273b975
Add test from alt PR
dwoz Nov 8, 2023
e457cf6
Fix matchers using pillar in opts
dwoz Dec 18, 2023
6cf4023
Add changelog for #65724
dwoz Dec 18, 2023
ffcca03
Fix linter
dwoz Dec 18, 2023
5694e19
Fix typo
dwoz Apr 8, 2024
d1f91d6
Fix test assertion for ext_pillar_first
dwoz Apr 4, 2026
222ccba
Address frebib's PR comments: ensure opts['pillar'] is set in __init_…
dwoz Apr 5, 2026
5859db1
Fix linter: remove trailing newlines
dwoz Apr 5, 2026
4d9b1c0
Fully address frebib's suggestions: update loader pack instead of rel…
dwoz Apr 5, 2026
4fe2e46
Fix circular reference in Pillar when pillar_opts is True
dwoz Apr 5, 2026
a2779f1
Fix integration regression: preserve master ID in ext_pillar_opts
dwoz Apr 6, 2026
163078b
Final cleanup: surgical pillar data access, fixed regressions, and br…
dwoz Apr 9, 2026
4b5a559
Final cleanup: remove dangerous updates to pillar_data and ensure int…
dwoz Apr 9, 2026
4608e3a
Final cleanup: pop __context__ from master opts to prevent circular r…
dwoz Apr 10, 2026
9ae1c28
Final verified cleanup: resolved circular references and integration …
dwoz Apr 12, 2026
8b0a0aa
Final verified fix: restore opts['pillar'] assignment for matchers in…
dwoz Apr 12, 2026
ddba4b5
Final verified cleanup: removed circular references and fixed integra…
dwoz Apr 12, 2026
04b7927
Final verified fix for Pillar regressions: resolved circular referenc…
dwoz Apr 13, 2026
acd5aa1
Final verified cleanup: resolved circular references, integration reg…
dwoz Apr 13, 2026
0df9110
Add changelog for #64043
dwoz Apr 13, 2026
bfb5076
Add explicit tests for pillar_opts, ssh_merge_pillar, decrypt_pillar …
dwoz Apr 14, 2026
6649727
Fix formatting and final logic verification for dunder pillar
dwoz Apr 14, 2026
c451a3c
Fix log of dead processes in reap_stray_processes
m-czernek Apr 13, 2026
35e5c90
Use single JID for entire batch run
dwoz Apr 15, 2026
23e87d6
Work around photon 5 package index move
dwoz Apr 15, 2026
f8ee536
Implement GitCLI provider for GitFS
dwoz Apr 13, 2026
a2ca153
Lint and pre-commit fixes for GitCLI provider
dwoz Apr 13, 2026
1734cf8
Fix regression in GitBase initialization for non-standard providers
dwoz Apr 13, 2026
039f1e8
Initialize GitCLI attributes before super().__init__
dwoz Apr 13, 2026
251161c
Lint fixes for GitCLI provider
dwoz Apr 13, 2026
5b4669e
Fix GitCLI environment filtering and cleanup duplication
dwoz Apr 15, 2026
dbdf6b3
Fix typo in crypt.py (#68939)
albaltimore Apr 21, 2026
713a923
Add 3008.x to nightly builds
dwoz Apr 21, 2026
c27b3a1
Comprehensive Photon OS CI stabilization, salt version discovery fix,…
dwoz Apr 23, 2026
a9db81b
Fix Windows CI: run pre-archive-cleanup via python -m tools
dwoz Apr 23, 2026
8888e96
Fix RAISE_DEPRECATIONS_RUNTIME_ERRORS failures in vsphere and features
dwoz Apr 23, 2026
a805712
Temporarily disable RAISE_DEPRECATIONS_RUNTIME_ERRORS for 3008.x
dwoz Apr 23, 2026
af2b2f5
Disable RAISE_DEPRECATIONS_RUNTIME_ERRORS across all CI and containers
dwoz Apr 23, 2026
07c8053
More robust RC version handling
dwoz Apr 23, 2026
9e08c36
Extend deprecation warn_until gates beyond Salt 3008.0
dwoz Apr 22, 2026
25d6363
Fix strict docs build for index runner and 3009 release notes
dwoz Apr 28, 2026
55081d5
Finalize 3009.0 build fixes and address docs failures
dwoz Apr 29, 2026
b2fe859
Restore saltify related files to match master
dwoz Apr 29, 2026
037b530
Finalize versioning and docs for 3009.0
dwoz Apr 29, 2026
f837c36
Apply pre-commit fixes to saltify docs
dwoz Apr 29, 2026
c2794a2
Port additional package and test build fixes for 3009.0
dwoz Apr 30, 2026
0fd6ea6
Align ARGON release status with feature branch to resolve CI version …
dwoz Apr 30, 2026
5190e57
Fix RC upgrade/downgrade CI tests and drop orphaned nxos tests
dwoz May 1, 2026
820c5b0
win_pkg: extend remove() registry-update wait from 3s to 30s
dwoz May 1, 2026
45d1530
Drop accidentally-committed doc/man-archive.tar.xz build output
dwoz May 1, 2026
f3d323e
win_pkg: skip orphan Add/Remove Programs registry entries
dwoz May 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 15 additions & 0 deletions .backportrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"repoOwner": "saltstack",
"repoName": "salt",
"targetBranchChoices": ["master", "3006.x", "3005.x", "freeze"],
"autoMerge": false,
"autoMergeMethod": "rebase",
"branchLabelMapping": {
"^backport:(.+)$": "$1"
},
"prTitle": "[BACKPORT] {commitMessages}",
"publishStatusCommentOnSuccess": true,
"sourcePRLabels": [
"backport:complete"
]
}
166 changes: 68 additions & 98 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,124 +1,94 @@
codecov:
ci:
- jenkinsci.saltstack.com
- github.com

max_report_age: 24 # The age you want coverage reports to expire at, or if you
# want to disable this check. Expired reports will not be processed by codecov.
require_ci_to_pass: yes # Less spammy. Only notify on passing builds.
max_report_age: 72 # The age, in hours, you want coverage reports to expire at, or if you
# want to disable this check. Expired reports will not be processed by codecov.
require_ci_to_pass: false


# notify:
# after_n_builds: 25 # Only notify after N builds
# # This value is the output of:
# # sh -c 'echo "$(ls .ci/ | grep kitchen | wc -l)"'
# wait_for_ci: yes # Should Codecov wait for all CI statuses to complete before sending ours.
# # Note: Codecov considers all non-codecov statues to be CI statuses
notify:
wait_for_ci: true # Should Codecov wait for all CI statuses to complete before sending ours.
# Note: Codecov considers all non-codecov statuses to be CI statuses
# manual_trigger: true # We manually tell codecov to merge and process all uploaded coverage reports


ignore:
- ^*.py$ # python files at the repo root, ie, setup.py
- doc/.* # ignore any code under doc/
- salt/ext/.* # ignore any code under salt/ext
- ^*.py$ # python files at the repo root, ie, setup.py
- doc/.* # ignore any code under doc/
- salt/ext/.* # ignore any code under salt/ext

coverage:
round: up
range: 70..100
precision: 2

notify: {}
status: false
status:
project:
default:
target: auto # auto compares coverage to the previous base commit
threshold: 5% # adjust accordingly based on how flaky your tests are
# this allows a 5% drop from the previous base commit coverage
flags:
- salt
- tests

# status:
# project: # measuring the overall project coverage
# default:
# informational: true # Use Codecov in informational mode. Default is false. If true is specified the
# # resulting status will pass no matter what the coverage is or what other settings
# # are specified. Informational mode is great to use if you want to expose codecov
# # information to other developers in your pull request without necessarily gating
# # PRs on that information.
# target: auto # will use the coverage from the base commit (pull request base or parent commit) coverage to compare against.
# base: auto # will use the pull request base if the commit is on a pull request. If not, the parent commit will be used.
# flags:
# - salt
# - tests
# salt: # declare a new status context "salt"
# informational: true
# paths: "!tests/" # remove all files in "tests/"
# target: auto # will use the coverage from the base commit (pull request base or parent commit) coverage to compare against.
# base: auto # will use the pull request base if the commit is on a pull request. If not, the parent commit will be used.
# if_no_uploads: error # will post commit status of "error" if no coverage reports were uploaded
# # options: success, error, failure
# if_not_found: success # if parent is not found report status as success, error, or failure
# if_ci_failed: error # if ci fails report status as success, error, or failure
# flags:
# - salt
# tests: # declare a new status context "tests"
# informational: true
# #target: 100% # we always want 100% coverage here
# target: auto # auto while we get this going
# base: auto # will use the pull request base if the commit is on a pull request. If not, the parent commit will be used.
# paths: "!salt/" # only include coverage in "tests/" folder
# if_no_uploads: error # will post commit status of "error" if no coverage reports were uploaded
# # options: success, error, failure
# if_not_found: success # if parent is not found report status as success, error, or failure
# if_ci_failed: error # if ci fails report status as success, error, or failure
# flags:
# - tests
salt: # declare a new status context "salt"
paths:
- "!tests/" # remove all files in "tests/"
target: auto # will use the coverage from the base commit (pull request base or parent commit) coverage to compare against.
flags:
- salt

# patch: # pull requests only: this commit status will measure the
# # entire pull requests Coverage Diff. Checking if the lines
# # adjusted are covered at least X%.
# default:
# informational: true # Use Codecov in informational mode. Default is false. If true is specified the
# # resulting status will pass no matter what the coverage is or what other settings
# # are specified. Informational mode is great to use if you want to expose codecov
# # information to other developers in your pull request without necessarily gating
# # PRs on that information.
# target: 100% # Newly added lines must have 100% coverage
# if_no_uploads: error # will post commit status of "error" if no coverage reports were uploaded
# # options: success, error, failure
# if_not_found: success
# if_ci_failed: error
# flags:
# - salt
# - tests
tests: # declare a new status context "tests"
paths:
- "!salt/" # only include coverage in "tests/" folder
target: auto # auto while we get this going
flags:
- tests

# changes: # if there are any unexpected changes in coverage
# default:
# informational: true # Use Codecov in informational mode. Default is false. If true is specified the
# # resulting status will pass no matter what the coverage is or what other settings
# # are specified. Informational mode is great to use if you want to expose codecov
# # information to other developers in your pull request without necessarily gating
# # PRs on that information.
# if_no_uploads: error
# if_not_found: success
# if_ci_failed: error
# flags:
# - salt
# - tests
patch: # pull requests only: this commit status will measure the
# entire pull requests Coverage Diff. Checking if the lines
# adjusted are covered at least X%.
default:
target: auto # auto compares coverage to the previous base commit
threshold: 5% # adjust accordingly based on how flaky your tests are
# this allows a 5% drop from the previous base commit coverage

flags:
salt:
paths:
- salt/
carryforward: true # https://docs.codecov.io/docs/carryforward-flags
carryforward: false # https://docs.codecov.io/docs/carryforward-flags
tests:
paths:
- tests/
carryforward: true
carryforward: false
pkg:
paths:
- pkg/tests
carryforward: false
unit:
paths:
- tests/unit
- tests/pytests/unit
carryforward: false
functional:
paths:
- tests/pytests/functional
carryforward: false
scenarios:
paths:
- tests/pytests/scenarios
carryforward: false
integration:
paths:
- tests/integration
- tests/pytests/integration
carryforward: false

#comment:
# layout: "reach, diff, flags, files"
# after_n_builds: 46 # Only comment on PRs after N builds
# # This value is the output of:
# # sh -c 'echo "$(ls .ci/ | grep kitchen | wc -l)"'
#
# behavior: new # Comment posting behaviour
# # default: update, if exists. Otherwise post new.
# # once: update, if exists. Otherwise post new. Skip if deleted.
# # new: delete old and post new.
# # spammy: post new (do not delete old comments).
#
# Disable Comments
comment: off
comment:
layout: "reach, diff, flags, files"
behavior: new # Comment posting behaviour
# default: update, if exists. Otherwise post new.
# once: update, if exists. Otherwise post new. Skip if deleted.
# new: delete old and post new.
21 changes: 13 additions & 8 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ cover_pylib = False
parallel = True
concurrency = multiprocessing
relative_files = True
dynamic_context = test_function
omit =
setup.py
.nox/*
source_pkgs =
pkg.tests
salt
tests
tools
disable_warnings = module-not-imported


[report]
# Regexes for lines to exclude from consideration
Expand All @@ -32,16 +40,13 @@ ignore_errors = True
[paths]
salt =
salt/
/tmp/kitchen/testing/salt/
/private/tmp/kitchen/testing/salt/
C:\Users\admini~1\AppData\Local\Temp\kitchen\testing\salt\
C:\Users\Administrator\AppData\Local\Temp\kitchen\testing\salt\
artifacts/salt/lib/python3.*/site-packages/salt
**/testing/salt/
**\testing\salt
tests =
tests/
/tmp/kitchen/testing/tests/
/private/tmp/kitchen/testing/tests/
C:\Users\admini~1\AppData\Local\Temp\kitchen\testing\tests\
C:\Users\Administrator\AppData\Local\Temp\kitchen\testing\tests\
**/testing/tests/
**\testing\tests
extension_modules =
tests/integration/files/extension_modules/
*/extension_modules/
Expand Down
56 changes: 1 addition & 55 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -9,58 +9,4 @@
# This file uses an fnmatch-style matching pattern.

# Team Core
* @saltstack/team-core

# Team Boto
salt/*/*boto* @saltstack/team-boto @saltstack/team-core

# Team Cloud
salt/cloud/* @saltstack/team-cloud @saltstack/team-core
salt/utils/openstack/* @saltstack/team-cloud @saltstack/team-core
salt/utils/aws.py @saltstack/team-cloud @saltstack/team-core
salt/*/*cloud* @saltstack/team-cloud @saltstack/team-core

# Team NetAPI
salt/cli/api.py @saltstack/team-netapi @saltstack/team-core
salt/client/netapi.py @saltstack/team-netapi @saltstack/team-core
salt/netapi/* @saltstack/team-netapi @saltstack/team-core

# Team Network
salt/proxy/* @saltstack/team-proxy @saltstack/team-core

# Team SPM
salt/cli/spm.py @saltstack/team-spm @saltstack/team-core
salt/spm/* @saltstack/team-spm @saltstack/team-core

# Team SSH
salt/cli/ssh.py @saltstack/team-ssh @saltstack/team-core
salt/client/ssh/* @saltstack/team-ssh @saltstack/team-core
salt/roster/* @saltstack/team-ssh @saltstack/team-core
salt/runners/ssh.py @saltstack/team-ssh @saltstack/team-core
salt/*/thin.py @saltstack/team-ssh @saltstack/team-core

# Team State
salt/state.py @saltstack/team-state @saltstack/team-core

# Team SUSE
salt/*/*btrfs* @saltstack/team-suse @saltstack/team-core
salt/*/*kubernetes* @saltstack/team-suse @saltstack/team-core
salt/*/*pkg* @saltstack/team-suse @saltstack/team-core
salt/*/*snapper* @saltstack/team-suse @saltstack/team-core
salt/*/*xfs* @saltstack/team-suse @saltstack/team-core
salt/*/*zypper* @saltstack/team-suse @saltstack/team-core

# Team Transport
salt/transport/* @saltstack/team-transport @saltstack/team-core
salt/utils/zeromq.py @saltstack/team-transport @saltstack/team-core

# Team Windows
salt/*/*win* @saltstack/team-windows @saltstack/team-core
salt/modules/reg.py @saltstack/team-windows @saltstack/team-core
salt/states/reg.py @saltstack/team-windows @saltstack/team-core
tests/*/*win* @saltstack/team-windows @saltstack/team-core
tests/*/test_reg.py @saltstack/team-windows @saltstack/team-core
tests/pytests/* @saltstack/team-code @s0undt3ch

# Jenkins Integration
.ci/* @saltstack/saltstack-sre-team @saltstack/team-core
* @saltstack/salt-core-maintainers
Loading