mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add warning for Dulwich removal (#39280)
Dulwich support is being removed for the Oxygen release (see #39210).
This commit is contained in:
parent
1b9217d636
commit
5a27207c57
@ -1611,6 +1611,11 @@ class Dulwich(GitProvider): # pylint: disable=abstract-method
|
||||
'''
|
||||
def __init__(self, opts, remote, per_remote_defaults,
|
||||
override_params, cache_root, role='gitfs'):
|
||||
salt.utils.warn_until(
|
||||
'Nitrogen',
|
||||
'Dulwich will no longer be supported for {0} beginning in the '
|
||||
'Nitrogen release of Salt.'.format(role)
|
||||
)
|
||||
self.get_env_refs = lambda refs: [
|
||||
x for x in refs if re.match('refs/(remotes|tags)', x)
|
||||
and not x.endswith('^{}')
|
||||
|
Loading…
Reference in New Issue
Block a user