Ogr

Latest version: v0.52.1

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 13

0.34.0

- We have introduced a new function into `ogr` that allows you to get commit
SHA of the HEAD of the branch. (668)
- A list of Gitlab projects provided by `GitlabService.list_projects()` now
contains objects with additional metadata. (667)

0.33.0

- OGR now fully supports getting PR comments by its ID.

0.32.0

- Removal of features which have been marked as deprecated since `0.14.0`.
- Removal of renamed properties
- `Comment.comment` -> `Comment.body`
- `BasePullRequest.project` -> `BasePullRequest.target_project`
- Removal of methods for accessing issues or pull requests from `GitProject` class.
- String can no longer be used as commit status, `CommitStatus` is now required.
- `PullRequest` constructor has been refactored. In order to use static and offline
representation of a pull request, use `PullRequestReadOnly` instead.
- `GithubCheckRun.app` property has been added for accessing `GithubApp`.

0.31.0

- Ogr now catches internal exceptions from Gitlab and Github and converts them
to ogr exceptions, GitlabAPIException and GithubAPIException, respectively. A
new exception, OgrNetworkError, has been introduced for signalling situations
where a request could not be performed due to a network outage. (642)
- The documentation was converted to Google-style docstrings. (646)
- Releases and development builds of ogr are now built in copr projects
packit/packit-dev and packit/packit-releases. (644)

0.30.0

- New method to get pull request and issue comments by their comment ID on
GitHub and GitLab.

0.29.0

- Please check
[COMPATIBILITY.md](https://github.com/packit/ogr/blob/main/COMPATIBILITY.md)
to see which methods are implemented for particular services.
- Ogr now supports reacting to a comment (issue, pull request) with a given
reaction. It's possible to obtain the reactions and delete them (only when
reaction is added by using ogr API). (636)

Page 6 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.