Bug 2104932 - Review Request: rest1 - A library for access to RESTful web services
Summary: Review Request: rest1 - A library for access to RESTful web services
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Catanzaro
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-07 13:47 UTC by Marc-Andre Lureau
Modified: 2022-07-25 07:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-25 07:11:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marc-Andre Lureau 2022-07-07 13:47:18 UTC
Spec URL: https://elmarco.fedorapeople.org/rest1.spec
SRPM URL: https://elmarco.fedorapeople.org/rest1-0.9.1-2.fc37.src.rpm
Description: A library for access to RESTful web services
Fedora Account System Username: elmarco

Comment 1 Marc-Andre Lureau 2022-07-07 13:53:01 UTC
This is rest with API version break, building against libsoup3.

Michael, please review.

Comment 2 Michael Catanzaro 2022-07-07 15:25:24 UTC
OK, I'm happy to review this but it's not quite ready for a full review. First issue I noticed when running fedora-review:

WARNING: Cannot download url: http://download.gnome.org/sources/rest1/0.9/rest-0.9.1.tar.xz

Can't use %{name} there because it expands to "rest1" but we need it to expand to "rest".

Next issue is the mockbuild fails due to missing build dependency. Need to add BuildRequires: pkgconfig(json-glib-1.0)

I'll also ask that you convert -devel dependencies into pkgconfig dependencies:

BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(libxml-2.0)

Finally, in the files list:

%{_libdir}/librest-1.0.so.0.0.0
%{_libdir}/librest-extras-1.0.so.0.0.0

I would write:

%{_libdir}/librest-1.0.so.0.*
%{_libdir}/librest-extras-1.0.so.0.*

to avoid needless churn when updating. It's important to keep the first component explicit to avoid unexpected soname bumps, but the rest can be globbed.

One more thing: I noticed the upstream package name is inconsistent. I was going to suggest calling this package "librest" instead of "rest1" to match the GitLab project, but the upstream tarball is really called "rest" so I suppose "rest1" is the better name for us to use after all. Nevertheless, I've inquired at https://gitlab.gnome.org/GNOME/librest/-/issues/14 to see what upstream thinks.

Comment 3 Kalev Lember 2022-07-24 19:50:49 UTC
Ah sorry, I missed this. I think we don't need this package any more because I already updated the rest package to 0.9.1 last week, and created a compat rest0.7 for the previous API.

Comment 4 Marc-Andre Lureau 2022-07-25 07:11:32 UTC
ok, thanks


Note You need to log in before you can comment on or make changes to this bug.