Skip to content

Releases: packit/ogr

0.37.0

31 Mar 06:31
318175d
Compare
Choose a tag to compare
  • We have added a new optional parameter, namespace, to the fork_create method on Git projects, which allows you to
    fork a project into a specific namespace. (Forking to namespaces is not allowed on Pagure.) (#685)
  • We have implemented a get_contributors function that can be used to get the contributors of a GitHub
    (set of logins) and GitLab (set of authors) project. (#692)
  • We have introduced a new exception class GitForgeInternalError that indicates a failure that happened within the forge
    (indicated via 50x status code). \*APIException have been given a new superclass APIException that provides status
    code from forge (in case of error, invalid operation, etc.). (#690)
  • We have added a new property to git projects, has_issues, that indicates whether project has enabled issues or not.
    Following up on the property, create_issue now raises IssueTrackerDisabled when the project doesn't have issues
    enabled. (#684)

0.36.0

16 Mar 11:18
b052da6
Compare
Choose a tag to compare
  • Release class has been reworked and create_release has been made part of the API for GitProject. (#670)
  • Factory method for acquiring project or service class from URL has been improved by checking just the hostname for determining the service. (#682)

0.35.0

16 Feb 12:57
338302a
Compare
Choose a tag to compare
  • We have added target_branch_head_commit property to the PullRequest
    class in ogr that allows you to get commit hash of the HEAD of the
    target branch (i.e. base, where the changes are merged to).

0.34.0

05 Jan 09:14
785c5d5
Compare
Choose a tag to compare
  • 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

10 Dec 11:54
e54670c
Compare
Choose a tag to compare
  • OGR now fully supports getting PR comments by its ID.

0.32.0

23 Nov 17:33
a7c280b
Compare
Choose a tag to compare
  • 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

27 Oct 12:20
bcd46fc
Compare
Choose a tag to compare
  • 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

30 Sep 12:36
ea0b755
Compare
Choose a tag to compare
  • New method to get pull request and issue comments by their comment ID on
    GitHub and GitLab. (#640)

0.29.0

16 Sep 09:31
472af1c
Compare
Choose a tag to compare
  • Please check 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)

0.28.0

09 Aug 16:29
50b71e1
Compare
Choose a tag to compare
  • Getting conclusion from GitHub's Check Run no longer raises an exception when
    it's not defined, it returns None instead now. (#618)
  • When using parsing functions, pkgs.[stg.]fedoraproject.org are mapped to
    PagureService. (#620)
  • Fix inconsistency of merge_commit_sha for GitLab's PRs. (#626)