Skip to content

Commit b970433

Browse files
Add blog post regarding Forgejo in ogr (#1099)
Add blog post regarding Forgejo in ogr Related: packit/ogr#976 Change the time and date of post to be approximately the time and date of publishing. Create a Fedora discussion in relation to this topic Fixes #1098 Reviewed-by: Laura Barcziová Reviewed-by: Alžběta Kučerová Reviewed-by: Maja Massarini
2 parents 4a81100 + 4047453 commit b970433

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

posts/forgejo-in-ogr/index.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Forgejo is now supported in ogr
3+
date: 2026-02-10T14:00:00+01:00
4+
authors: akucerov
5+
tags:
6+
- Forgejo
7+
- ogr
8+
---
9+
10+
# Forgejo is now supported in ogr
11+
12+
We are happy to announce that the ogr library now supports yet another open-source git forge — [Forgejo](https://forgejo.org/). This brings the total number of supported forges to four. Thank you to all external contributors and especially [mynk8](https://github.com/mynk8) who helped to turn this part of the project into reality!
13+
14+
<!-- truncate -->
15+
16+
# What is ogr?
17+
18+
[Ogr](https://github.com/packit/ogr) stands for **One Git library to Rule**. It is a library offering a unified API for multiple git forges, meaning that it makes it possible to communicate with all supported git forges using the same set of methods. Historically, the list of supported forges consisted of **GitHub**, **GitLab** and **Pagure**. This list has now been expanded to include **Forgejo** as well.
19+
20+
Here is a short example showcasing how to create a new issue in a repository using ogr:
21+
22+
```
23+
from ogr import ForgejoService
24+
25+
service = ForgejoService(instance_url="https://codeberg.org", token="...")
26+
project = service.get_project(namespace="owner", repo="repo")
27+
28+
project.create_issue(title="Issue title", body="Issue description")
29+
```
30+
31+
For more information see our [documentation](https://packit.github.io/ogr/) and [Jupyter notebook examples](https://github.com/packit/ogr/tree/main/examples).
32+
33+
# What this means for Packit
34+
35+
With the added support of Forgejo in ogr, it is now possible for us to work on support of Forgejo as dist-git in Packit. If interested, you can track our progress on the upcoming addition in [this epic](https://github.com/packit/packit-service/issues/2861).

0 commit comments

Comments
 (0)