Skip to content

Releases: packit/ogr

0.12.2

09 Jul 11:00
7537403
Compare
Choose a tag to compare

0.12.2

  • GitlabPullRequest creates PRs in compliance with documentation. (@mfocko)
  • GitlabProject.get_file_content() returns string instead of bytes. (@shreyaspapi)

0.12.1

27 May 13:46
fda65c6
Compare
Choose a tag to compare

0.12.1

New Features

  • PullRequest can now be created also between two different forks of
    a project. (@mfocko)
  • PullRequests have a patch property now when working with Pagure. (@jpopelka)
  • You can now add collaborators with specific privileges on GitHub and
    GitLab projects. (@shreyaspapi)

Minor

  • When telling if a user can merge PRs in a GitHub repo, ogr asks GitHub
    for the user's permission on the repo instead of checking if the user is
    in the list of collaborators. (@csomh)

Fixes

  • get_project() will now correctly use the service instance class for custom.
    service instances. (@lachmanfrantisek)

0.12.0

06 May 15:57
a21f36f
Compare
Choose a tag to compare

0.12.0

New Features

  • PullRequest now has source_project/target_project (read-only) properties. (@mfocko)
  • GitHub and GitLab now have head_commit on PullRequests implemented as well. (@mfocko)

Minor

  • Add git.centos.org to the instances that do not have private repositories. (@csomh)

Fixes

0.11.3

27 Apr 09:59
01c2105
Compare
Choose a tag to compare

0.11.3

New Features

  • You can now set a title and a description for PagureIssue.

Fixes

  • GitLab classes can now process more than 20 objects (ogr now plays well with the GitLab's pagination mechanism).
  • ogr no longer uses backticks in error messages related to Pagure (so they can be displayed nicely in markdown formatting).

Internals

  • Since rpmautospec is deployed in staging environment only, we have reverted the related changes.

0.11.2

16 Apr 09:54
6ac4ba2
Compare
Choose a tag to compare

0.11.2

New Features

  • A new method to set flags on Pagure PRs was added. (@csomh)
    • It is Pagure-specific.
    • Other git-forges do not have this as they display the flags of the head commit on PRs.
  • CommitFlag now has created/edited properties. (@TomasJani)

Minor

  • Pagure service is used for CentOS prod/stg instances by default. (@jsakalos)
  • We now forward the specific errors from the Pagure API. (@TomasTomecek)

Fixes

  • Pagination of PR comments on Pagure was fixed. (@AdarLavi)

Internals

0.11.1

01 Apr 13:14
f2dec9b
Compare
Choose a tag to compare

0.11.1

New Features

  • Added head_commit property to PagurePullrequest. (@jsakalos)

Fixes

  • Packit rev-dep tests were refactored. (@lbarcziova)
  • Descriptions in playbooks were fixed. (@lbarcziova)
  • GitHubProject raises exception in case of missing install id . (@ttomecek)

0.11.0

09 Mar 12:43
8409b45
Compare
Choose a tag to compare

0.11.0

New Features

  • Creating of Pagure issues now supports tags. (@cverna)
  • Project issues can now be filtered by labels. (@cverna)
  • GitProject has new is_private() method. (@dhodovsk)
  • Tokens & keys are now obfuscated in logs. (@lachmanfrantisek)
  • PR classes now have diff_url property. (@pawelkopka)

Fixes

  • Trailing slash from URLs is now removed before parsing. (@nickcannariato)
  • Getting of projects defined with SSH URLs is fixed. (@TomasTomecek)

0.10.0

28 Jan 14:04
3718bed
Compare
Choose a tag to compare

0.10.0

New Features

  • Listing of the issues now supports filtering by author/assignee.
  • It is now possible to list files in the remote repository.
  • Github project class have a get_tags method.
  • Issue and pull-request can be edited via properties.

Fixes

  • Fork of the repository contains correct name and namespace after the forking.
  • Pagure's project_create* was improved.

0.9.0

06 Dec 13:30
ef947cd
Compare
Choose a tag to compare

0.9.0

New Features

  • General restructure of the classes thanks to the
    Red Hat Open Source Contest
    project done by @mfocko.
    • Classes are better linked together.
    • Functionality is moved to the classes from the GitProject classes.
    • You can now use the properties (setters) to modify objects.
    • Old behaviour should work as before, but will raise deprecation warnings.

Fixes

  • Creating of the GitHub pull-requests from the forked repository was fixed. (@sakalosj)

0.8.0

01 Oct 19:58
64a9207
Compare
Choose a tag to compare

0.8.0

New Features

Fixes

  • GitHub pull-requests are no longer listed in issue methods. (@mfocko)

Minor

  • Implementations of the full_repo_name property were improved. (@mfocko)
  • New quickstart example added to the README. (@rpitonak)