Remove incorrect changelog (#72682)

* also remove offending code
pull/72755/head
Sloane Hertel 4 years ago committed by GitHub
parent 581337a6d5
commit 8bdda8792d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -802,7 +802,6 @@ releases:
- ansible-galaxy - Requirement entries for collections now support a 'type'
key to indicate whether the collection is a galaxy artifact, file, url, or
git repo.
- ansible-galaxy - Support both 'galaxy.yml' and 'galaxy.yaml' files for collections.
- ansible-galaxy - add ``--token`` argument which is the same as ``--api-key``
(https://github.com/ansible/ansible/issues/65955)
- ansible-galaxy - add ``collection list`` command for listing installed collections

@ -1,4 +1,3 @@
minor_changes:
- ansible-galaxy - Allow installing collections from git repositories.
- ansible-galaxy - Requirement entries for collections now support a 'type' key to indicate whether the collection is a galaxy artifact, file, url, or git repo.
- ansible-galaxy - Support both 'galaxy.yml' and 'galaxy.yaml' files for collections.

@ -1548,10 +1548,4 @@ def _consume_file(read_from, write_to=None):
def get_galaxy_metadata_path(b_path):
b_default_path = os.path.join(b_path, b'galaxy.yml')
candidate_names = [b'galaxy.yml', b'galaxy.yaml']
for b_name in candidate_names:
b_path = os.path.join(b_path, b_name)
if os.path.exists(b_path):
return b_path
return b_default_path
return os.path.join(b_path, b'galaxy.yml')

Loading…
Cancel
Save