Skip to content

Commit

Permalink
Updated repository urls (#2670)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Nov 17, 2022
1 parent 73e2769 commit ac58e9e
Show file tree
Hide file tree
Showing 17 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .config/ansible-lint.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Release: 1%{?dist}
Summary: Ansible-lint checks ansible content for common mistakes

License: MIT
URL: https://github.com/ansible-community/ansible-lint
URL: https://github.com/ansible/ansible-lint
Source0: %{pypi_source}

BuildArch: noarch
Expand Down Expand Up @@ -84,4 +84,4 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
%doc docs/* README.md

%changelog
Available at https://github.com/ansible-community/ansible-lint/releases
Available at https://github.com/ansible/ansible-lint/releases
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ per-file-ignores =
src/ansiblelint/yaml_utils.py: C901

# FIXME: drop these once they're fixed
# Ref: https://github.com/ansible-community/ansible-lint/issues/725
# Ref: https://github.com/ansible/ansible-lint/issues/725
test/*: D102

# flake8-pytest-style
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ to <mailto:security@ansible.com>.

As with all Ansible projects, we have a [Code of Conduct].

[.flake8]: https://github.com/ansible-community/ansible-lint/blob/main/.flake8
[.flake8]: https://github.com/ansible/ansible-lint/blob/main/.flake8
[ansible announce]: https://groups.google.com/forum/#!forum/ansible-announce
[ansible communication]: https://docs.ansible.com/ansible/latest/community/communication.html
[code of conduct]: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html
Expand Down
4 changes: 2 additions & 2 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
# see https://github.com/ansible-community/devtools
_extends: ansible-community/devtools
# see https://github.com/ansible/devtools
_extends: ansible/devtools
4 changes: 2 additions & 2 deletions .github/workflows/ack.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/ack.yml
# See https://github.com/ansible/devtools/blob/main/.github/workflows/ack.yml
name: ack
on:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]

jobs:
ack:
uses: ansible-community/devtools/.github/workflows/ack.yml@main
uses: ansible/devtools/.github/workflows/ack.yml@main
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/push.yml
# See https://github.com/ansible/devtools/blob/main/.github/workflows/push.yml
name: push
on:
push:
Expand All @@ -10,4 +10,4 @@ on:

jobs:
ack:
uses: ansible-community/devtools/.github/workflows/push.yml@main
uses: ansible/devtools/.github/workflows/push.yml@main
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
entry: python3 -m ansiblelint -v --force-color
language: python
# do not pass files to ansible-lint, see:
# https://github.com/ansible-community/ansible-lint/issues/611
# https://github.com/ansible/ansible-lint/issues/611
pass_filenames: false
always_run: true
additional_dependencies:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![PyPI version](https://img.shields.io/pypi/v/ansible-lint.svg)](https://pypi.org/project/ansible-lint)
[![Ansible-lint rules explanation](https://img.shields.io/badge/Ansible--lint-rules%20table-blue.svg)](https://ansible-lint.readthedocs.io/default_rules)
[![Discussions](https://img.shields.io/badge/Discussions-gray.svg)](https://github.com/ansible/ansible-lint/discussions)
[![GitHub Actions CI/CD](https://github.com/ansible-community/ansible-lint/workflows/gh/badge.svg)](https://github.com/ansible/ansible-lint/actions?query=workflow%3Agh+branch%3Amain+event%3Apush)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/ansible-community/ansible-lint.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/ansible-community/ansible-lint/context:python)
[![GitHub Actions CI/CD](https://github.com/ansible/ansible-lint/workflows/gh/badge.svg)](https://github.com/ansible/ansible-lint/actions?query=workflow%3Agh+branch%3Amain+event%3Apush)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/ansible/ansible-lint.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/ansible-community/ansible-lint/context:python)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)

# Ansible-lint
Expand Down Expand Up @@ -33,7 +33,7 @@ ansible-lint was created by [Will Thames] and is now maintained as part of the

[ansible]: https://ansible.com
[contribution guidelines]: https://ansible-lint.readthedocs.io/contributing
[gplv3]: https://github.com/ansible-community/ansible-lint/blob/main/COPYING
[mit]: https://github.com/ansible-community/ansible-lint/blob/main/docs/licenses/LICENSE.mit.txt
[gplv3]: https://github.com/ansible/ansible-lint/blob/main/COPYING
[mit]: https://github.com/ansible/ansible-lint/blob/main/docs/licenses/LICENSE.mit.txt
[red hat]: https://redhat.com
[will thames]: https://github.com/willthames
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ see the local location of your built docs.
Building docs locally may not be identical to CI/CD builds. We recommend
you to create a draft PR and check the RTD PR preview page too.

If you do not want to learn the reStructuredText format, you can also [file an issue](https://github.com/ansible-community/ansible-lint/issues), and let us know how we can improve our documentation.
If you do not want to learn the reStructuredText format, you can also [file an issue](https://github.com/ansible/ansible-lint/issues), and let us know how we can improve our documentation.
4 changes: 2 additions & 2 deletions docs/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ either a git commit sha or tag of ansible-lint containing
`.pre-commit-hooks.yaml`.

```yaml
- repo: https://github.com/ansible-community/ansible-lint.git
rev: ... # put latest release tag from https://github.com/ansible-community/ansible-lint/releases/
- repo: https://github.com/ansible/ansible-lint.git
rev: ... # put latest release tag from https://github.com/ansible/ansible-lint/releases/
hooks:
- id: ansible-lint
```
Expand Down
2 changes: 1 addition & 1 deletion docs/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pip3 install "ansible-lint"
[PyPA User Guide] to learn more about managing Pip versions.

```bash
pip3 install git+https://github.com/ansible-community/ansible-lint.git
pip3 install git+https://github.com/ansible/ansible-lint.git
```

[installing_from_source]: https://pypi.org/project/pip/
Expand Down
2 changes: 1 addition & 1 deletion examples/roles/template_lookup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# in roles. Specifically, in `play_children()` of src/ansiblelint/utils.py,
# tasks in blocks go through `delegate_map['block']`, while top-level tasks
# in a role is not handled by `delegate_map`.
# Ref: https://github.com/ansible-community/ansible-lint/blob/v5.0.12/src/ansiblelint/utils.py#L305
# Ref: https://github.com/ansible/ansible-lint/blob/v5.0.12/src/ansiblelint/utils.py#L305
- block:
- name: Bug demo
ansible.builtin.debug:
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ filterwarnings =
ignore:The distutils package is deprecated and slated for removal:DeprecationWarning

# TODO: delete the following ignores once Ansible that we support gets rid of `imp`
# Ref: https://github.com/ansible-community/ansible-lint/pull/734
# Ref: https://github.com/ansible/ansible-lint/pull/734
ignore:the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses:DeprecationWarning:ansible.plugins.loader

junit_duration_report = call
Expand Down
12 changes: 6 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# spell-checker:ignore apidoc programoutput sphinxcontrib
[metadata]
name = ansible-lint
url = https://github.com/ansible-community/ansible-lint
url = https://github.com/ansible/ansible-lint
project_urls =
Bug Tracker = https://github.com/ansible-community/ansible-lint/issues
Release Management = https://github.com/ansible-community/ansible-lint/releases
CI: GitHub = https://github.com/ansible-community/ansible-lint/actions?query=workflow:tox+branch:main+event:push
Bug Tracker = https://github.com/ansible/ansible-lint/issues
Release Management = https://github.com/ansible/ansible-lint/releases
CI: GitHub = https://github.com/ansible/ansible-lint/actions?query=workflow:tox+branch:main+event:push
Code of Conduct = https://docs.ansible.com/ansible/latest/community/code_of_conduct.html
Documentation = https://ansible-lint.readthedocs.io/
Mailing lists = https://docs.ansible.com/ansible/latest/community/communication.html#asking-questions-over-email
Source Code = https://github.com/ansible-community/ansible-lint
Source Code = https://github.com/ansible/ansible-lint
description = Checks playbooks for practices and behavior that could potentially be improved
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down Expand Up @@ -56,7 +56,7 @@ keywords =

[options]
use_scm_version = True
python_requires = >=3.8
python_requires = >=3.9
package_dir =
= src
packages = find:
Expand Down
2 changes: 1 addition & 1 deletion src/ansiblelint/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def load_config(config_file: str) -> dict[Any, Any]:
sys.exit(INVALID_CONFIG_RC)

config["config_file"] = config_path
# See https://github.com/ansible-community/ansible-lint/issues/1803
# See https://github.com/ansible/ansible-lint/issues/1803
if isinstance(config, list):
_logger.error(
"Invalid configuration '%s', expected YAML mapping in the config file.",
Expand Down
2 changes: 1 addition & 1 deletion src/ansiblelint/rules/no_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def test_succeed_changed_when(rule_runner: Any) -> None:
"rule_runner", (UseHandlerRatherThanWhenChangedRule,), indirect=["rule_runner"]
)
def test_succeed_when_and(rule_runner: Any) -> None:
"""See https://github.com/ansible-community/ansible-lint/issues/1526."""
"""See https://github.com/ansible/ansible-lint/issues/1526."""
results = rule_runner.run_playbook(SUCCEED_WHEN_AND)
assert len(results) == 0

Expand Down
2 changes: 1 addition & 1 deletion src/ansiblelint/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _playbook_items(pb_data: AnsibleBaseYAMLObject) -> ItemsView: # type: ignor

# "if play" prevents failure if the play sequence contains None,
# which is weird but currently allowed by Ansible
# https://github.com/ansible-community/ansible-lint/issues/849
# https://github.com/ansible/ansible-lint/issues/849
return [item for play in pb_data if play for item in play.items()] # type: ignore


Expand Down

0 comments on commit ac58e9e

Please sign in to comment.