Re: Bodhi 2 coming to a Rawhide near you

2016-09-19 Thread Randy Barlow
Thanks to a lot of help from fale and puiterwijk, I've now built bodhi-
2.2.0-1.fc26 in Rawhide and it should be pushed out soon. This update
is not backwards compatible, so it will only go out to Fedora Rawhide
and EPEL 7 (with special permission). If you would like to use the
bodhi 2 client on Fedora 23-25, you can grab it from my copr[1]. Please
feel free to report any issues you find[2]!


[0] http://koji.fedoraproject.org/koji/taskinfo?taskID=15708207
[1] https://copr.fedorainfracloud.org/coprs/bowlofeggs/bodhi/
[2] https://github.com/fedora-infra/bodhi/issues/new

signature.asc
Description: This is a digitally signed message part
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Bodhi 2 coming to a Rawhide near you

2016-09-01 Thread Randy Barlow
I've filed an issue to track this problem:

https://bugzilla.redhat.com/show_bug.cgi?id=1372461

Thanks again!

signature.asc
Description: This is a digitally signed message part
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org


Re: Bodhi 2 coming to a Rawhide near you

2016-09-01 Thread Randy Barlow
On Thu, 2016-09-01 at 20:45 +0200, Fabio Alessandro Locati wrote:
> The F24 copr seems to be broken. I've enabled it, updated all
> packages
> and running 'bodhi', it seems to be broken:
> 

> pkg_resources.DistributionNotFound: The 'bodhi==2.1.8' distribution
> was
> not found and is required by the application

How embarrassing for me! In fact, this is also broken in the Rawhide
build I just wrote about. It turns out that the bodhi-client package
only works if the bodhi-server package is installed, and during my
testing I always had both installed. Ooops.

I think I will add a bodhi-common package that will own the
distribution bits, which should allow bodhi-client to be installed
independently of the server.

Thanks for such amazing response time, and for letting me know. It
should be pretty quick to fix. Fale, you are why FOSS is great!

signature.asc
Description: This is a digitally signed message part
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org


Re: Bodhi 2 coming to a Rawhide near you

2016-09-01 Thread Fabio Alessandro Locati
On Thu, Sep 01, 2016 at 02:34:00PM -0400, Randy Barlow wrote:
> I forgot to mention, I'm also maintaining a Copr for Bodhi 2 for Fedora
> 23 and 24:
> 
> https://copr.fedorainfracloud.org/coprs/bowlofeggs/bodhi/
> 
> Copr doesn't seem to have Fedora 25 buildroots yet, but I'll try to
> remember to add Fedora 25 as well once it does.

The F24 copr seems to be broken. I've enabled it, updated all packages
and running 'bodhi', it seems to be broken:

[fale@redhat ~]$ bodhi 
Traceback (most recent call last):
  File "/usr/bin/bodhi", line 5, in 
from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 3141, in 
@_call_aside
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 3127, in _call_aside
f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 3154, in _initialize_master_working_set
working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 640, in _build_master
ws.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 941, in require
needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 828, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'bodhi==2.1.8' distribution was
not found and is required by the application


-- 
Fabio Alessandro Locati
Red Hat - Senior Consultant

PGP Fingerprint: E815 3C49 2A8D FD8B 1CBD  BC85 FDB3 DF20 B2DC 9C1B


signature.asc
Description: PGP signature
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org


Re: Bodhi 2 coming to a Rawhide near you

2016-09-01 Thread Randy Barlow
I forgot to mention, I'm also maintaining a Copr for Bodhi 2 for Fedora
23 and 24:

https://copr.fedorainfracloud.org/coprs/bowlofeggs/bodhi/

Copr doesn't seem to have Fedora 25 buildroots yet, but I'll try to
remember to add Fedora 25 as well once it does.

signature.asc
Description: This is a digitally signed message part
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org


Bodhi 2 coming to a Rawhide near you

2016-09-01 Thread Randy Barlow
Hello again Fedora friends!

I just built bodhi-2.1.8-1.fc26 for Rawhide, and wanted to give you a
heads up as it is a backwards incompatible change. Rawhide previously
had bodhi-0.9.12.2-5.fc25.noarch so this is a pretty major update.

The bodhi client is probably what most of you are used to interacting
with (possibly only through fedpkg, which wraps it). The new CLI is a
rewrite from the old one, and has different commands and options. I
took a stab at writing the new man page from scratch and I think I got
most things covered. The CLI also has built-in help text that should be
pretty usable. If you find any issues with the man page or client,
please feel free to file an issue[0] or a pull request. You can read
the docs on GitHub as well[1].

This update has been a long time coming, and in fact the production
Bodhi server has been running version two for some time. We had a lot
of patches on bodhi-client-0.9 to make it work with Bodhi Server 2, so
this update will let everyone be on the new CLI that is natively
compatible with the production server now.

At this time, I've opted out of updating bodhi in Fedora 23, 24, and
even 25 since it is not backwards compatible. If you are using one of
those, it should continue to function the way you are used to it. I
also plan to update Bodhi in EPEL 7, and will write more about this on
the relevant EPEL mailing lists.

If you typically only use fedpkg to submit Bodhi updates rather than
the bodhi CLI directly, you will need to make sure you have fedpkg-
1.25-1.fc26 or newer. That version of fedpkg is compatible with both
Bodhi 0.9 and 2[2].

Thanks for reading, and happy updating!


[0] https://github.com/fedora-infra/bodhi/issues/new
[1] https://github.com/fedora-infra/bodhi/blob/develop/docs/man_bodhi.r
st
[2] https://pagure.io/fedpkg/pull-request/40

signature.asc
Description: This is a digitally signed message part
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org