Releases: packit/ogr
Releases · packit/ogr
0.12.0
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
- Creating PRs to fork now work on GitHub. (@saisankargochhayat)
0.11.3
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
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
- Tests were removed from the zuul gating pipeline. (@lbarcziova)
- We now use rpmautospec for generating changelogs in Fedora. (@TomasTomecek)
0.11.1
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
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
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
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
0.8.0
New Features
- GitLab implementation is now feature-complete. (@lbarcziova)
- Added a
get_web_url
method to project classes. (@mfocko) - Added methods for creating projects to service classes. (@lachmanfrantisek, @mfocko)
Fixes
- GitHub pull-requests are no longer listed in issue methods. (@mfocko)
Minor
0.7.0
0.7.0
New Features
- Introduced a first version of GitLab support. (Implementation is not completed yet.) (@lbarcziova)
- Added a method for loading services from dictionary. (@lachmanfrantisek)
- Release objects have a method for editing. (@lbarcziova)
- Added a function for getting all commits from specific PR. (@phracek)
Fixes
- Fix creating pull-request from fork to upstream on new versions of Pagure. (@lachmanfrantisek)
- Use web url in Pagure issue. (@dustymabe)
Minor
- Add cryptography to dependencies to be able to authenticate as a github app. (@lachmanfrantisek)
- Add
github_app_private_key_path
parameter to GithubService. (@lachmanfrantisek) - Make the pagure service mapping more general. (@lachmanfrantisek)
- The tests in CI (zuul) runs both on pip and rpm versions of dependencies. (@lachmanfrantisek)
- We no longer use Centos CI Jenkins. (@jpopelka)
- Run Pagure tests on one repository: https://pagure.io/api/0/ogr-tests. (@lbarcziova)
0.6.0
0.6.0
New Features
- Possibility to authenticate via github-app. (@lachmanfrantisek)
- New method
get_latest_release()
for projects. (@marusinm) - New method for creating releases in GitHub. (@lbarcziova)
- Add method for getting releases for Pagure. (@lbarcziova)
- Add labels for GitHub pull-requests. (@marusinm)
- New methods for getting pull-request/issue permissions (
who_can_marge_pr
,who_can_close_issue
,can_close_issue
andcan_merge_pr
). (@marusinm) - New methods to get project's owners and permissions of various users. (@marusinm)
- Link GitTag to Release object. (@lbarcziova)
- Add method for creating projects/services from url. (@lachmanfrantisek)
- Creating/closing/commenting Pagure Issues. (@marusinm)
Fixes
- Correct status handling for Github pull-requests. (@marusinm)
- Fix error 404 on
get_file_content
. (@lbarcziova)
Minor
- Simplify usage of persistent storage and mocking. (@lachmanfrantisek)
- CommitStatus renamed to CommitFlag. (@lbarcziova)
- Add zuul as a CI system. (@TomasTomecek)
- Removed unused functions. (@lbarcziova)
- Unify external command invocation by subprocess.run. (@lbarcziova)
- Add
__str__
and__eq__
for classes. (@shreyanshrs44, @lachmanfrantisek)