Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jpopelka committed Aug 13, 2020
1 parent 812b157 commit 46c328a
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion COMPATIBILITY.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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)
2 changes: 1 addition & 1 deletion fedora/python-ogr.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion files/tasks/rpm-test-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions ogr/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
"""
Expand All @@ -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)
"""
Expand Down
2 changes: 1 addition & 1 deletion ogr/services/gitlab/flag.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
2 changes: 1 addition & 1 deletion ogr/services/pagure/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 46c328a

Please sign in to comment.