[Rdo-list] RDO Liberty and Fedora - details for openstack-* maintainers

Ihar Hrachyshka ihrachys at redhat.com
Wed Sep 16 15:53:19 UTC 2015


> On 16 Sep 2015, at 01:37, Alan Pevec <apevec at gmail.com> wrote:
> 
> Subject: RDO Liberty and Fedora  - details for openstack-* maintainers
> 
> 
> As a followup, here are few notes for the package maintainers, until
> rdo-packaging documentation is updated with this workflow.
> 
> distgit will be rdo-liberty branch on gerrithub/openstack-packages,
> create it from Fedora master and squash merge rpm-master:
> 
> git remote add -f gerrit
> ssh://review.gerrithub.io:29418/openstack-packages/$PROJECT # skip if
> already present
> git-review -s
> git remote add -f fedora
> git://pkgs.fedoraproject.org/openstack-$PROJECT.git # skip if already
> present
> git branch rdo-liberty fedora/master
> git checkout rdo-liberty
> git merge --squash gerrit/rpm-master
> git reset HEAD .gitignore sources .gitreview
> git checkout .gitignore sources
> 
> Resolve conflicts in .spec file
> Set correct Liberty Version: for your project
> Release: field should be pre-release 0.N until GA
> e.g. openstack-keystone.spec
> 
> %global release_name liberty
> %global pypi_name keystone
> %global milestone .0b3
> 
> %{!?upstream_version: %global upstream_version %{version}%{?milestone}}
> 
> Name:           openstack-keystone
> Epoch:          1
> Version:        8.0.0
> Release:        0.3%{?milestone}%{?dist}
> 
> Get the source tarball for the current milestone e.g. milestone 3:
> Source0:
> http://launchpad.net/%{pypi_name}/%{release_name}/%{release_name}-3/+download/%{pypi_name}-%{upstream_version}.tar.gz
> If Source0: is like above, rdopkg new-version --bump-only
> $UPSTREAM_VERSION should work.
> 
> Preserve Kilo patches if any: ideally, RDO packages are pure upstream
> and don't need any patches in RPM
> -patches branches are as before in github/redhat-openstack/$PROJECT
> but since there isn't Fedora:OpenStack 1:1 anymore, branch name for
> RDO Liberty RPM patches will be liberty-patches.
> 
> You might want to archive old changelog entries in ChangeLog.old like
> done for Kilo GA
> http://pkgs.fedoraproject.org/cgit/openstack-nova.git/commit/ChangeLog.old?id=8945622d349ef552dbc182f60485f6807d7c8708
> When done:
> git commit -m "Update to Liberty"
> git push -u gerrit rdo-liberty:rdo-liberty
> 
> For packages already in Fedora, build Liberty versions in Rawhide and
> ping apevec or number80 on Freenode #rdo for CloudSIG EL7 build.
> 
> If you get stuck, please ping us on IRC and/or reply to this thread!

I am stuck on building Fedora Rawhide package. When I do fedpkg build, I get:

-bash-4.2$ fedpkg build
Could not execute build: Unknown build target: rdo-liberty-candidate

I presume it expects I do it from Fedora distgit.

Also, not clear what I should build in case of openstack-neutron-*aas repos that are not in Fedora, yet and probably won’t be there at all now that we move distgit out of Fedora infra.

Ihar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150916/46e3f83f/attachment.sig>


More information about the dev mailing list