On Wed, Jan 22, 2020 at 12:04:15PM +0100, Adam Williamson wrote:
On Wed, 2020-01-22 at 05:00 -0500, Neal Gompa wrote:
>
> > > On top of that Gitlab is a huge Ruby on Rails application and (at least
> > > I have the feeling that) the Fedora community doesn't have so many
Ruby
> > > developers in comparison to Python developers, so implementing something
> > > comparable could be challenging let alone from the manpower point of
> > > view.
> >
> > That's the whole point of APIs, and I'm sure they provide bindings for
> > those APIs to assist in the process.
> >
>
> Sorry, no they don't. There are some community projects that provide
> some overlays to some of the APIs, but they are in various states of
> disrepair. Some are doing somewhat okay, but it's difficult since
> their churn rate also includes API breakages.
https://github.com/python-gitlab/python-gitlab looks like a pretty
actively maintained thing which claims to be compatible with current
Gitlab API.
I've used this library in a moderately complicated project
(automatically bridging email list development to GitLab and vice versa)
and it's worked fine. As far as I can tell it covers the whole API.
Nothing has broken for me, documentation is reasonable, etc. The GitLab
API itself is much better than Pagure.
As far as I can tell GitLab actually versions its API and Pagure has
broken its API without a version bump repeatedly (e.g. some unpaginated
APIs suddenly became paginated).
- Jeremy