Re: [openstack-dev] [neutron] How to make deb and rpm packages for a networking-* project?

2015-12-23 Thread P. Ramanjaneya Reddy
Hi fawad,

I'm trying to understand how deb and rpm generate works for plumgrind.

rpm generation fine, but for deb has some problem. Can help how to solve
it, so that it would be helpful for my project as well

https://review.openstack.org/#/c/248239

networking_plumgrid-2015.2.1/packaging/rpm-packaging/networking-plumgrid.spec
networking_plumgrid-2015.2.1/packaging/rpm-packaging/rpm-packaging.sh
networking_plumgrid-2015.2.1/.testr.conf
*dch: fatal error at line 605:*
*File debian/changelog already exists!*
root1@root1-ThinkPad-T440p
:~/openstack-/openstack/networking-plumgrid/packaging/debian-packaging$



Writing networking_plumgrid-2015.2.1/setup.cfg
Creating tar archive
removing 'networking_plumgrid-2015.2.1' (and everything under it)
Wrote: /home/root1/rpmbuild/SRPMS/networking_plumgrid-2015.2.1-1.0.src.rpm
root1@root1-ThinkPad-T440p
:~/openstack-/openstack/networking-plumgrid/packaging/rpm-packaging$

Thanks & Regards,
Ramanji.

On Tue, Dec 22, 2015 at 11:52 AM, Fawad Khaliq  wrote:

> There is one example [1] in review and may be incomplete but might help.
> It only adds the scripts to build. Publishing part is different.
>
> [1] https://review.openstack.org/#/c/248239/
>
> Fawad Khaliq
>
>
> On Tue, Dec 22, 2015 at 11:15 AM, P. Ramanjaneya Reddy <
> ramanji...@gmail.com> wrote:
>
>>
>> Hi All,
>>
>> Can someone help on..
>> How to make rpm and deb packages for a networking-* project?
>>
>> Thanks & Regards,
>> Ramanji.
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] How to make deb and rpm packages for a networking-* project?

2015-12-22 Thread P. Ramanjaneya Reddy
Changes are not merged to upstream still, we need to generate the rpm or
deb with local changes.
Please describe the steps/method how to generate..

On Tue, Dec 22, 2015 at 3:37 PM, Jaume Devesa  wrote:

> Hi,
>
> To create a deb, you can look at the debian repositories as example:
> http://anonscm.debian.org/cgit/openstack?q=networking
>
> For rpm, there is the Red Hat maintained `openstack-packages` organization
> in GitHub:
> https://github.com/openstack-packages/?utf8=%E2%9C%93=networking
>
> Take a look as well at the delorean documentation if you want your package
> to be
> part of the RDO repos:
>
> https://www.rdoproject.org/packaging/rdo-packaging.html
>
> Best regards,
>
> On 22 December 2015 at 07:22, Fawad Khaliq  wrote:
>
>> There is one example [1] in review and may be incomplete but might help.
>> It only adds the scripts to build. Publishing part is different.
>>
>> [1] https://review.openstack.org/#/c/248239/
>>
>> Fawad Khaliq
>>
>>
>> On Tue, Dec 22, 2015 at 11:15 AM, P. Ramanjaneya Reddy <
>> ramanji...@gmail.com> wrote:
>>
>>>
>>> Hi All,
>>>
>>> Can someone help on..
>>> How to make rpm and deb packages for a networking-* project?
>>>
>>> Thanks & Regards,
>>> Ramanji.
>>>
>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
> --
> Jaume Devesa
> Software Engineer at Midokura
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] How to make deb and rpm packages for a networking-* project?

2015-12-22 Thread Jaume Devesa
Hi,

To create a deb, you can look at the debian repositories as example:
http://anonscm.debian.org/cgit/openstack?q=networking

For rpm, there is the Red Hat maintained `openstack-packages` organization
in GitHub:
https://github.com/openstack-packages/?utf8=%E2%9C%93=networking

Take a look as well at the delorean documentation if you want your package
to be
part of the RDO repos:

https://www.rdoproject.org/packaging/rdo-packaging.html

Best regards,

On 22 December 2015 at 07:22, Fawad Khaliq  wrote:

> There is one example [1] in review and may be incomplete but might help.
> It only adds the scripts to build. Publishing part is different.
>
> [1] https://review.openstack.org/#/c/248239/
>
> Fawad Khaliq
>
>
> On Tue, Dec 22, 2015 at 11:15 AM, P. Ramanjaneya Reddy <
> ramanji...@gmail.com> wrote:
>
>>
>> Hi All,
>>
>> Can someone help on..
>> How to make rpm and deb packages for a networking-* project?
>>
>> Thanks & Regards,
>> Ramanji.
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Jaume Devesa
Software Engineer at Midokura
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] How to make deb and rpm packages for a networking-* project?

2015-12-22 Thread Matthias Runge
On 22/12/15 16:05, P. Ramanjaneya Reddy wrote:
> Changes are not merged to upstream still, we need to generate the rpm or
> deb with local changes.
> Please describe the steps/method how to generate..
> 
> On Tue, Dec 22, 2015 at 3:37 PM, Jaume Devesa  > wrote:

One can apply patches during package build process.

In the wider scope of RDO it is described  how to do use git for patch
handling and how to automatically generate and add patches to packages.

It all falls down to a git clone, cherry-pick patches and re-generate
packages. If you never heard before about building packages, I suggest
to look at that before.

Matthias


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [neutron] How to make deb and rpm packages for a networking-* project?

2015-12-21 Thread P. Ramanjaneya Reddy
Hi All,

Can someone help on..
How to make rpm and deb packages for a networking-* project?

Thanks & Regards,
Ramanji.
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] How to make deb and rpm packages for a networking-* project?

2015-12-21 Thread Fawad Khaliq
There is one example [1] in review and may be incomplete but might help. It
only adds the scripts to build. Publishing part is different.

[1] https://review.openstack.org/#/c/248239/

Fawad Khaliq


On Tue, Dec 22, 2015 at 11:15 AM, P. Ramanjaneya Reddy  wrote:

>
> Hi All,
>
> Can someone help on..
> How to make rpm and deb packages for a networking-* project?
>
> Thanks & Regards,
> Ramanji.
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [neutron] How to make deb and rpm packages for a networking-* project?

2015-08-24 Thread Neil Jerram
Can anyone recommend how best to make deb and rpm packages for a
networking-* project?

(Specifically, I mean for networking-calico, but I imagine, if there's a
best current practice, that it would apply to all such projects.)

I'm aware that there were recently some discussions on increased
unification of OpenStack packaging, but I'm not sure where those ended up.

I've also observed a few things from some quick searching:

- Some pages talk about automatically creating an RPM or Debian package
from a Python package's setup.py.  It appears that the Debian variant
might be more experimental / less officially approved of than the RPM
variant.

- There are official Debian packages (by zigo) for networking-arista and
a few others, but not for all networking-* projects.  These fall through
to Ubuntu/Launchpad as well.

- There are Ubuntu-originated packages for (at least) networking-odl.

So, all advice or pointers appreciated!

Thanks,
Neil


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] How to make deb and rpm packages for a networking-* project?

2015-08-24 Thread Ihar Hrachyshka
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/24/2015 05:13 PM, Neil Jerram wrote:
 Can anyone recommend how best to make deb and rpm packages for a 
 networking-* project?

For RPMs, I encourage you to join RDO community and start from sending
a package for Delorean. The docs for the start are at:

https://openstack.redhat.com/packaging/rdo-packaging.html

I will be happy to review the package.

 
 (Specifically, I mean for networking-calico, but I imagine, if
 there's a best current practice, that it would apply to all such
 projects.)
 
 I'm aware that there were recently some discussions on increased 
 unification of OpenStack packaging, but I'm not sure where those
 ended up.

I think it's still in progress and under discussion, so your best bet
for now is to work with existing packaging communities. For RPMs it's
RDO and maybe some SuSE effort (not sure).

 
 I've also observed a few things from some quick searching:
 
 - Some pages talk about automatically creating an RPM or Debian
 package from a Python package's setup.py.  It appears that the
 Debian variant might be more experimental / less officially
 approved of than the RPM variant.
 

I believe the problem with autogenerated packages is that in most
cases than not they break lots of target platform rules and requirements
.

 - There are official Debian packages (by zigo) for
 networking-arista and a few others, but not for all networking-*
 projects.  These fall through to Ubuntu/Launchpad as well.

I don't believe there should be an expectation that any single
distribution will package all networking-* packages themselves. That
said, I believe zigo can be interested in getting contributions from you
.

 
 - There are Ubuntu-originated packages for (at least)
 networking-odl.
 
 So, all advice or pointers appreciated!
 
 Thanks, Neil
 
 
 __


 
OpenStack Development Mailing List (not for usage questions)
 Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe 
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJV2zmVAAoJEC5aWaUY1u57VeAIALR2zYvDMqHdE3lb8ioX1sAn
C66ok/lPCb7d849Smd9E6RHsAAbOeIC6zhrl5eM8Ie6ruAtEH67D9AoGNhVFvP3P
wV3Pr1pYZ0H6ODe2Ua9isTnjq39eQG5Hg5af8s+RheGAFpd8xVeIREx/fdK2TEf6
t3iMc4a9T/c/5I6MVXEQ2usXhQiAaqYZhvv7OECvi0PTnI3ShbKU8lkzB3YTcfQo
8wJRcUKjLMAws/JurAFT7ZMWbh073b5APRsHMYMJ+XA3Ys89mVLchP6dZZKFumjz
Zrw8N3/rwuBCsOMwSZdTM4JlA9FohgUtlH4r+vrXSVe0FugN5d1yUb34QdrUdHE=
=lQ2x
-END PGP SIGNATURE-

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] How to make deb and rpm packages for a networking-* project?

2015-08-24 Thread Thomas Bechtold
On Mon, 2015-08-24 at 15:13 +, Neil Jerram wrote:
 Can anyone recommend how best to make deb and rpm packages for a
 networking-* project?

You can use the OpenBuildService (https://build.opensuse.org/) to build
packages for different distributions (SUSE, RedHat, CentOS, Debian,
Ubuntu, ...). 

 (Specifically, I mean for networking-calico, but I imagine, if
 there's a
 best current practice, that it would apply to all such projects.)
 
 I'm aware that there were recently some discussions on increased
 unification of OpenStack packaging, but I'm not sure where those
 ended up.

For RPM packaging, it's still under discussion. Mostly SUSE and RedHat
folks are working on that currently. See 
https://etherpad.openstack.org/p/openstack-rpm-packaging 

 I've also observed a few things from some quick searching:
 
 - Some pages talk about automatically creating an RPM or Debian
 package
 from a Python package's setup.py.  It appears that the Debian variant
 might be more experimental / less officially approved of than the RPM
 variant.

For RPMs there is py2pack. See 
https://en.opensuse.org/openSUSE:Packaging_Python .

 - There are official Debian packages (by zigo) for networking-arista
 and
 a few others, but not for all networking-* projects.  These fall
 through
 to Ubuntu/Launchpad as well.
 
 - There are Ubuntu-originated packages for (at least) networking-odl.
 
 So, all advice or pointers appreciated!


Best,

Tom

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev