statsd + voluptuous packaged!

2013-03-21 Thread Antoine Musso


Hello,

I have been a long time Debian user and finally starts contributing back
to the project \O/

For the context, I am a contractor for the Wikimedia Foundation which
uses Ubuntu. To install python modules on the production infrastructure,
we are required to use Debian packages.

My needs were for the voluptuous and statsd python modules. The very
first step was to fill the ITPs:

statsd http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703613
voluptuous http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698354

The voluptuous one has been build and deployed on one of the Wikimedia
server already, the statsd is in the pipeline.  I have posted some
details on the voluptuous ITP:

-8<---8<---8<---8<-
We completed the packaging of python-voluptuous version 0.6.1 for Ubuntu
Precise.  The debian/* files are available in Wikimedia git repository:

https://gerrit.wikimedia.org/r/p/operations/debs/python-voluptuous.git

The APT repository is apt.wikimedia.org , the generated files can be
found at:

 http://apt.wikimedia.org/wikimedia/pool/main/p/python-voluptuous/
-8<---8<---8<---8<-

The package is meant for Ubuntu Precise right now. I would like to have
the package reviewed by some expert and ultimately get it uploaded to
the Debian.org archive.  I will be more than happy to maintain it.

My questions are thus:

- is there any mentoring program?
- are my packages awfully wrong for inclusion in Debian.org, if so how
can I enhance them :-]
- can a package support both Ubuntu and Debian?
- how do I upload it for inclusion in debian/experimental or testing?


I am 'hashar' on OFTC and Freenode IRC.
I write english and french.
Available during European business hours.

Thank you!

-- 
Antoine "hashar" Musso


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/514b0414.7090...@free.fr



Re: statsd + voluptuous packaged!

2013-03-21 Thread Antoine Musso
Le 21/03/13 13:59, Antoine Musso a écrit :
> We completed the packaging of python-voluptuous version 0.6.1 for Ubuntu
> Precise.  The debian/* files are available in Wikimedia git repository:
> 
> https://gerrit.wikimedia.org/r/p/operations/debs/python-voluptuous.git

The gitweb link is:

 
https://gerrit.wikimedia.org/r/gitweb?p=operations/debs/python-voluptuous.git;a=summary

-- 
Antoine "hashar" Musso


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/kif4nt$mco$1...@ger.gmane.org



Re: statsd + voluptuous packaged!

2013-03-21 Thread Dmitry Shachnev
On Thu, Mar 21, 2013 at 4:59 PM, Antoine Musso  wrote:
> http://apt.wikimedia.org/wikimedia/pool/main/p/python-voluptuous/

Something that I've noticed after a quick look at python-voluptuous:

- Build-dependency on python-dev is not needed as you don't have
extension modules (you may want to build-depend on python-all
instead);
- There is a doctest, please consider running it during build [1];
- List of "goals" appears two times in package description;
- Indentation in debian/copyright looks ugly (and please use spaces,
not tabs) [2].

[1]: something like this:

override_dh_auto_test:
set -ex; for python in $(shell pyversions -s); do \
$$python -m doctest tests.rst; \
done

[2]: oops, Jakub already noticed that in IRC :P

> My questions are thus:
>
> - is there any mentoring program?

http://mentors.debian.net/

> - are my packages awfully wrong for inclusion in Debian.org, if so how
> can I enhance them :-]

See above.

> - can a package support both Ubuntu and Debian?

Of course, your package will be automatically synced into Ubuntu when
the archive opens.

> - how do I upload it for inclusion in debian/experimental or testing?

You'll have to find a sponsor.

--
Dmitry Shachnev


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cakimphwuf5uhsmkeprw5snvb_ojs98dpmkbon8fsg7oyayp...@mail.gmail.com



Re: statsd + voluptuous packaged!

2013-03-21 Thread Thomas Goirand
On 03/21/2013 08:59 PM, Antoine Musso wrote:
> statsd http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703613
> voluptuous http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698354
>
> The voluptuous one has been build and deployed on one of the Wikimedia
> server already, the statsd is in the pipeline.  I have posted some
> details on the voluptuous ITP:
>
Hi,

I happen to also have worked on statsd:
http://anonscm.debian.org/gitweb/?p=openstack/statsdpy.git

My ITP was filled before yours: #699411
Next time, please check wnpp better please.

I would be happy to co-maintain the package with you.
What do you think?

My nick is "zigo" on OFTC and Freenode. Please ping me.
I'm French as well (though I live in China currently).

Cheers,

Thomas Goirand (zigo)


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/514b4f9d.1020...@debian.org



Re: statsd + voluptuous packaged!

2013-03-21 Thread Antoine Musso
Le 21/03/13 19:21, Thomas Goirand a écrit :
> I happen to also have worked on statsd:
> http://anonscm.debian.org/gitweb/?p=openstack/statsdpy.git

Bonjour =)

It seems they are different packages:
 - statsdpy is a statsd server
 - python-statsd a client for the nodejs statsd

I might be wrong, but the author are different and the code in each
repository looks entirely different to me.

> My ITP was filled before yours: #699411
> Next time, please check wnpp better please.

I guess that is what happens when newbie joins. They do mistake, so do
I.  I must confess I have only looked at packages.debian.org :/  Will
remember about wnpp, thanks for the tip!

> I would be happy to co-maintain the package with you.
> What do you think?
>
> My nick is "zigo" on OFTC and Freenode. Please ping me.
> I'm French as well (though I live in China currently).

Will try to remember to ping you :-]  I am now always connected in
irc://irc.oftc.net/#debian-python

Merci!

-- 
Antoine "hashar" Musso


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/kig11t$gh6$1...@ger.gmane.org



Re: statsd + voluptuous packaged!

2013-03-21 Thread Yaroslav Halchenko

On Thu, 21 Mar 2013, Antoine Musso wrote:
> I guess that is what happens when newbie joins. They do mistake, so do
> I.  I must confess I have only looked at packages.debian.org :/  Will
> remember about wnpp, thanks for the tip!

FWIW the fastest way imho is 

> sudo apt-get install devscripts
> wnpp-check statsd
node-statsd (RFP - #688662)
python-statsd (ITP - #703613)
python-statsdpy (ITP - #699411)

-- 
Yaroslav O. Halchenko
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834   Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130322015249.gm2...@onerussian.com



Re: statsd + voluptuous packaged!

2013-03-21 Thread Thomas Goirand
On 03/22/2013 06:19 AM, Antoine Musso wrote:
> Le 21/03/13 19:21, Thomas Goirand a écrit :
>> I happen to also have worked on statsd:
>> http://anonscm.debian.org/gitweb/?p=openstack/statsdpy.git
> Bonjour =)
>
> It seems they are different packages:
>  - statsdpy is a statsd server
>  - python-statsd a client for the nodejs statsd

Oh! That is quite annoying then, with such similar names.

>> My ITP was filled before yours: #699411
>> Next time, please check wnpp better please.
> I guess that is what happens when newbie joins. They do mistake, so do
> I.

No worries. FYI, the page to look at as well as packages.d.o
is this one:
http://www.debian.org/devel/wnpp/being_packaged

(if you want to remember: you can reach it if you type
"debian wnpp", then click on "packages being worked on"

Cheers,

Thomas


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/514beb7e.4070...@debian.org



Re: statsd + voluptuous packaged!

2013-03-21 Thread Thomas Goirand
On 03/22/2013 06:19 AM, Antoine Musso wrote:
> Le 21/03/13 19:21, Thomas Goirand a écrit :
>> I happen to also have worked on statsd:
>> http://anonscm.debian.org/gitweb/?p=openstack/statsdpy.git
> Bonjour =)
>
> It seems they are different packages:
>  - statsdpy is a statsd server
>  - python-statsd a client for the nodejs statsd
Just FYI:
https://pypi.python.org/pypi/statsdpy
and
https://pypi.python.org/pypi/python-statsd

Cheers,

Thomas


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/514bef07.7020...@debian.org