Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-06 Thread Jeremy Stanley
On 2015-07-06 06:48:09 -0400 (-0400), Sean Dague wrote: [...] > Realize, this is a much larger effort to teach python installation tools > about more than LIB and BIN, which is all they understand today. There was a recentish thread on distutils-sig which felt like it was headed in the right direc

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-06 Thread Sean Dague
gt;> From: Perry, Sean >>>>> Sent: Wednesday, July 01, 2015 4:04 PM >>>>> To: OpenStack Development Mailing List (not for usage questions) >>>>> Subject: RE: [openstack-dev] [all][packaging] Adding files to /etc in a >>>>> package >>

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-02 Thread Thomas Goirand
t;>> To: OpenStack Development Mailing List (not for usage questions) >>>> Subject: RE: [openstack-dev] [all][packaging] Adding files to /etc in a >>>> package >>>> >>>> According to Debian standards (which Ubuntu follows mostly) if a package

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Robert Collins
istro look at the debhelper tools source (which >>> is perl). >>> >>> -Original Message- >>> From: Perry, Sean >>> Sent: Wednesday, July 01, 2015 4:04 PM >>> To: OpenStack Development Mailing List (not for usage questions) >>

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Tony Breeds
On Thu, Jul 02, 2015 at 03:26:41AM +0200, Thomas Goirand wrote: > Use the source, luke! Or write yourself a small shell script... I have, and I'm pretty sure that's where this conversation started. > If you attempt to address this, you're making my life miserable. Please > don't do it, thanks.

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Thomas Goirand
. >> >> -Original Message- >> From: Perry, Sean >> Sent: Wednesday, July 01, 2015 4:04 PM >> To: OpenStack Development Mailing List (not for usage questions) >> Subject: RE: [openstack-dev] [all][packaging] Adding files to /etc in a >> package >&

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Thomas Goirand
On 07/02/2015 12:26 AM, Tony Breeds wrote: > On Wed, Jul 01, 2015 at 01:33:03PM +0200, Thomas Goirand wrote: > >> The file has nothing to do in /usr/share/doc either. By per the debian >> policy manual: we shouldn't rely on /usr/share/doc, as it can be removed >> entirely by the users. /usr/share/

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Thomas Goirand
On 07/02/2015 01:03 AM, Perry, Sean wrote: > According to Debian standards (which Ubuntu follows mostly) if > a package ships bash completion information that file belongs in > /etc/bash_completion.d with a file named after the package. This is no longer the case. Now it's: /usr/share/bash-complet

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Perry, Sean
> -Original Message- > From: Tony Breeds [mailto:t...@bakeyournoodle.com] > Sent: Wednesday, July 01, 2015 5:08 PM > To: OpenStack Development Mailing List (not for usage questions) > Subject: Re: [openstack-dev] [all][packaging] Adding files to /etc in a > package &

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Tony Breeds
erry, Sean > Sent: Wednesday, July 01, 2015 4:04 PM > To: OpenStack Development Mailing List (not for usage questions) > Subject: RE: [openstack-dev] [all][packaging] Adding files to /etc in a > package > > According to Debian standards (which Ubuntu follows mostly) if a package > ship

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Perry, Sean
usage questions) Subject: RE: [openstack-dev] [all][packaging] Adding files to /etc in a package According to Debian standards (which Ubuntu follows mostly) if a package ships bash completion information that file belongs in /etc/bash_completion.d with a file named after the package. You can look

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Perry, Sean
Breeds [mailto:t...@bakeyournoodle.com] Sent: Wednesday, July 01, 2015 3:26 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [all][packaging] Adding files to /etc in a package On Wed, Jul 01, 2015 at 01:33:03PM +0200, Thomas Goirand wrote: >

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Tony Breeds
On Wed, Jul 01, 2015 at 01:33:03PM +0200, Thomas Goirand wrote: > The file has nothing to do in /usr/share/doc either. By per the debian > policy manual: we shouldn't rely on /usr/share/doc, as it can be removed > entirely by the users. /usr/share/python-novaclient could be a place, > but really,

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Tony Breeds
On Wed, Jul 01, 2015 at 03:28:06PM +, Ian Cordasco wrote: > So for people using the clients to talk to arbitrary clouds from their > personal computer (that can be running more than just linux) we need to > fix this. The problem is that if the person is installing a wheel or using > a new enou

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Tony Breeds
On Wed, Jul 01, 2015 at 02:13:50PM +, Jeremy Stanley wrote: > On 2015-07-01 12:08:46 +1000 (+1000), Tony Breeds wrote: > > Okay so I take you point no problem, but I'm not running distro > > packages and I still want completions. There must be a way to > > package the file to at least make it e

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Ian Cordasco
On 7/1/15, 09:13, "Jeremy Stanley" wrote: >On 2015-07-01 12:08:46 +1000 (+1000), Tony Breeds wrote: >> Okay so I take you point no problem, but I'm not running distro >> packages and I still want completions. There must be a way to >> package the file to at least make it easier to achieve both

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Jeremy Stanley
On 2015-07-01 12:08:46 +1000 (+1000), Tony Breeds wrote: > Okay so I take you point no problem, but I'm not running distro > packages and I still want completions. There must be a way to > package the file to at least make it easier to achieve both our > goals. [...] http://docs.openstack.org/deve

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-07-01 Thread Thomas Goirand
On 07/01/2015 04:08 AM, Tony Breeds wrote: > On Wed, Jul 01, 2015 at 03:55:53AM +0200, Thomas Goirand wrote: > >> Please don't do this. This is the kind of job to be done by package >> maintainers in distribution, because mostly, Python maintainers wouldn't >> know how to do things correctly. Here

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-06-30 Thread Tony Breeds
On Wed, Jul 01, 2015 at 03:55:53AM +0200, Thomas Goirand wrote: > Please don't do this. This is the kind of job to be done by package > maintainers in distribution, because mostly, Python maintainers wouldn't > know how to do things correctly. Here we've got a good example: the bash > completion s

Re: [openstack-dev] [all][packaging] Adding files to /etc in a package

2015-06-30 Thread Thomas Goirand
On 07/01/2015 03:26 AM, Tony Breeds wrote: > Hi All, > I'm pretty new to this but I'll ask anyway. python-novaclient contains a > bash completion script . When installed from pypi this script isn't packaged > (and therefore it isn't installed). > > I created https://review.openstack.org/#/c/

[openstack-dev] [all][packaging] Adding files to /etc in a package

2015-06-30 Thread Tony Breeds
Hi All, I'm pretty new to this but I'll ask anyway. python-novaclient contains a bash completion script . When installed from pypi this script isn't packaged (and therefore it isn't installed). I created https://review.openstack.org/#/c/196919/ to gather feedback on: a) this this a thing we