diff --git a/.packit.yaml b/.packit.yaml index 27131e39..3ce1a2f5 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -4,7 +4,7 @@ synced_files: - fedora/changelog # https://packit.dev/docs/configuration/#top-level-keys downstream_package_name: python-ogr -upstream_project_url: https://github.com/packit-service/ogr +upstream_project_url: https://github.com/packit/ogr # we are setting this so we can use packit from ogr's dist-git # packit can't know what's the upstream name when running from distgit upstream_package_name: ogr diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec395b19..d17d26da 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,13 +33,13 @@ repos: hooks: - id: mypy args: [--no-strict-optional, --ignore-missing-imports] - - repo: https://github.com/packit-service/pre-commit-hooks + - repo: https://github.com/packit/pre-commit-hooks rev: master hooks: - id: check-rebase args: - git://github.com/packit-service/ogr.git - - repo: https://github.com/packit-service/requre + - repo: https://github.com/packit/requre rev: master hooks: - id: requre-purge diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 64f39a5e..ccd77d56 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -1,7 +1,7 @@ # Compatibility table for services Methods/properties not listed in here are implemented for all services. -In case you find any error, please [create a new issue](https://github.com/packit-service/ogr/issues/new). +In case you find any error, please [create a new issue](https://github.com/packit/ogr/issues/new). ## Comments diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ad5bdab4..c6b8590c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,10 +9,10 @@ By contributing to this project you agree to the Developer Certificate of Origin ## Reporting Bugs -Before creating bug reports, please check a [list of known issues](https://github.com/packit-service/ogr/issues) to see +Before creating bug reports, please check a [list of known issues](https://github.com/packit/ogr/issues) to see if the problem has already been reported (or fixed in a master branch). -If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/packit-service/ogr/issues/new). +If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/packit/ogr/issues/new). Be sure to include a **descriptive title and a clear description**. Ideally, please provide: - version of ogr you are using (`rpm -q python3-ogr` or `pip3 freeze | grep ogr`) diff --git a/README.md b/README.md index 8c64b368..70e41eea 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ $ dnf install python3-ogr ``` You can also use our [`packit-releases` Copr repository](https://copr.fedorainfracloud.org/coprs/packit/packit-releases/) -(contains also released versions of [OGR](https://github.com/packit-service/ogr)): +(contains also released versions of [OGR](https://github.com/packit/ogr)): ``` $ dnf copr enable packit/packit-releases @@ -86,7 +86,7 @@ $ pip3 install --user ogr You can also install OGR from `master` branch, if you are brave enough: You can use our [`packit-master` Copr repository](https://copr.fedorainfracloud.org/coprs/packit/packit-master/) -(contains `master` version of [ogr](https://github.com/packit-service/ogr)): +(contains `master` version of [ogr](https://github.com/packit/ogr)): ``` $ dnf copr enable packit/packit-master @@ -96,7 +96,7 @@ $ dnf install python3-ogr Or ``` -$ pip3 install --user git+https://github.com/packit-service/ogr.git +$ pip3 install --user git+https://github.com/packit/ogr.git ``` ## Requirements @@ -120,4 +120,4 @@ For more info about contributing to our project see [our contribution guide](/CO # Deprecation policy -For more info about deprecation policy see [Deprecation policy](https://github.com/packit-service/research/tree/master/deprecation) +For more info about deprecation policy see [Deprecation policy](https://github.com/packit/research/tree/master/deprecation) diff --git a/fedora/python-ogr.spec b/fedora/python-ogr.spec index 32ed8ab8..c6184eb2 100644 --- a/fedora/python-ogr.spec +++ b/fedora/python-ogr.spec @@ -6,7 +6,7 @@ Release: 1%{?dist} Summary: One API for multiple git forges License: MIT -URL: https://github.com/packit-service/ogr +URL: https://github.com/packit/ogr Source0: %{pypi_source} BuildArch: noarch diff --git a/files/tasks/rpm-test-deps.yaml b/files/tasks/rpm-test-deps.yaml index 3a1be073..f161ae65 100644 --- a/files/tasks/rpm-test-deps.yaml +++ b/files/tasks/rpm-test-deps.yaml @@ -16,6 +16,6 @@ - name: Install requre from git master pip: name: - - git+https://github.com/packit-service/requre.git + - git+https://github.com/packit/requre.git state: latest become: true diff --git a/ogr/factory.py b/ogr/factory.py index 54891e64..b0290032 100644 --- a/ogr/factory.py +++ b/ogr/factory.py @@ -74,7 +74,7 @@ def get_project( """ Return the project for the given url. - :param url: str (url of the project, e.g. "https://github.com/packit-service/ogr") + :param url: str (url of the project, e.g. "https://github.com/packit/ogr") :param service_mapping_update: custom mapping from service url (str) to service class :param custom_instances: list of instances that will be used when creating a project instance :param kwargs: arguments forwarded to __init__ of the matching service @@ -114,7 +114,7 @@ def get_service_class_or_none( """ Get the matching service class from the url. - :param url: str (url of the project, e.g. "https://github.com/packit-service/ogr") + :param url: str (url of the project, e.g. "https://github.com/packit/ogr") :param service_mapping_update: custom mapping from service url (str) to service class :return: Matched class (subclass of GitService) or None """ @@ -136,7 +136,7 @@ def get_service_class( """ Get the matching service class from the url. - :param url: str (url of the project, e.g. "https://github.com/packit-service/ogr") + :param url: str (url of the project, e.g. "https://github.com/packit/ogr") :param service_mapping_update: custom mapping from service url (str) to service class :return: Matched class (subclass of GitService) """ diff --git a/ogr/services/gitlab/flag.py b/ogr/services/gitlab/flag.py index 4863d321..d01fe49f 100644 --- a/ogr/services/gitlab/flag.py +++ b/ogr/services/gitlab/flag.py @@ -117,5 +117,5 @@ def created(self) -> datetime.datetime: @property def edited(self) -> datetime.datetime: # Gitlab edited not implemented - # https://github.com/packit-service/ogr/issues/344 + # https://github.com/packit/ogr/issues/344 raise NotImplementedError() diff --git a/ogr/services/pagure/project.py b/ogr/services/pagure/project.py index ee6bc1e0..9b75cf0d 100644 --- a/ogr/services/pagure/project.py +++ b/ogr/services/pagure/project.py @@ -329,7 +329,7 @@ def is_private(self) -> bool: return False raise NotImplementedError( f"is_private is not implemented for {self.service.instance_url}." - f"Please open issue in https://github.com/packit-service/ogr" + f"Please open issue in https://github.com/packit/ogr" ) def is_forked(self) -> bool: diff --git a/setup.cfg b/setup.cfg index 7fd4247c..38d183d3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ name = ogr description = One API for multiple git forges. long_description = file: README.md long_description_content_type = text/markdown -url = https://github.com/packit-service/ogr +url = https://github.com/packit/ogr author = Red Hat author_email = user-cont-team@redhat.com license = MIT diff --git a/tox.ini b/tox.ini index 4ca033ed..7a3aa15c 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ deps = flexmock pytest pytest-cov - git+https://github.com/packit-service/requre + git+https://github.com/packit/requre commands = pytest --color=yes --verbose --showlocals --cov=ogr --cov-report=term-missing passenv =