Bug#673793: mpd-sima: installation creates $HOME and directories in $HOME

2012-05-22 Thread Geoffroy Youri Berret
Hi,

Le 21/05/2012 15:42, Andreas Beckmann a écrit :
 […] 
 0m34.9s ERROR: FAIL: Package purging left files on system:
   /local/  not owned
   /local/piuparts/ not owned
   /local/piuparts/piupartss/   not owned
   /local/piuparts/piupartss/.config/   not owned
   /local/piuparts/piupartss/.config/mpd_sima/  not owned
 
 HOME is set to /local/piuparts/piupartss, but the installation is done
 via 'sudo chroot ...' as root, so the $HOME does not exist.
 Anyway, pure package installation should not create anything in any
 $HOME.

This has been fixed, the package is waiting for a sponsored upload (already 
asked Kilian Krause for the upload).

The package is available on mentors and alioth.

[0] http://mentors.debian.net/package/mpd-sima
[1] git://git.debian.org/pkg-multimedia/mpd-sima.git

Cheers,
Geoff



signature.asc
Description: OpenPGP digital signature
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#637192: /var/lib/mpd-sima/sima.db should be group writeable/readable

2011-09-06 Thread Geoffroy Youri Berret
Hi,

Le 27/08/2011 13:05, ef...@azylum.org wrote:
 Le 09/08/2011 12:45, Nicolas Évrard a écrit :
 […]
 The file /var/lib/mpd-sima/sima.db should be group readable/writeable
 [...]
 I also think that in the case where simadb_cli do not find a local
 sima.db file it should use the system wide database file.
 
 It would be great, but I don't know how FHS [0] is honoured in other
 distributions and thus how this feature would affect them.

Actually, I think, upstream maintainer's hat on, that looking for the system
wide database within /var/lib/ is not that straight forward if it has to be
done upstream. It depends on how package maintainers did name the package and
thus the directory within /var/lib. The upstream software name is MPD_sima
which is renamed mpd-sima in debian.

Then I believe, as package maintainer now, it is probably better to duplicate
simadb_cli wrapper used in debian package.
We'll have one system wide wrapper looking for /var/lib/mpd-sima/sima.db and
the second looking in the regular user directory:
  ${XDG_DATA_HOME}/mpd_sima/sima.db

I guess I would set simadb_cli_sw to look for system wide database and leave
simadb_cli as is.

In the mean time you can use a shell alias:
alias simadb_cli=simadb_cli --dbfile=/var/lib/mpd-sima/sima.db

Thanks for your report Nicolas

Cheers,
Geoff



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#637192: /var/lib/mpd-sima/sima.db should be group writeable/readable

2011-08-27 Thread Geoffroy Youri Berret
Le 09/08/2011 12:45, Nicolas Évrard a écrit :
 […]
 The file /var/lib/mpd-sima/sima.db should be group readable/writeable
 so that user member of the mpd-sima group can add similarities without
 switching to root.

You're right, I look at this for the next package version.

 I also think that in the case where simadb_cli do not find a local
 sima.db file it should use the system wide database file.

It would be great, but I don't know how FHS [0] is honoured in other
distributions and thus how this feature would affect them.

It is a nice feature though, I will add it on upstream tracker.

[0] http://www.pathname.com/fhs/pub/fhs-2.3.html#THEVARHIERARCHY

Thanks for your report Nicolas :)

Geoff



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#636595: mpd-sima: fails to upgrade: wrong access rights for PID dir

2011-08-08 Thread Geoffroy Youri Berret
Hi Jonas,

I believe this bug to be fixed in 0.8.0-2, tagged on alioth git repo:
git//git.debian.org/git/pkg-multimedia/mpd-sima.git

I'll upload the new version to mentors.d.n.

Thanks for reporting,
Geoff

Le 04/08/2011 14:01, Jonas Smedegaard wrote :
 Package: mpd-sima
 Version: 0.8.0-1
 Severity: important
 
 Upgrading mpd-sima causes this error during install:
 
 Sætter mpd-sima (0.8.0-1) op...
 Installerer ny version af konfigurationsfil /etc/bash_completion.d/mpd-sima...
 Creating system user 'mpd-sima'.
 Starting MPD_sima autoqueue utility: mpd-sima Usage:  mpd_sima [--help] 
 [options]
 
 mpd_sima: error: no write access to /var/run/mpd-sima/pid
  failed!
 invoke-rc.d: initscript mpd-sima, action start failed.
 
 
 Changing /var/run/mpd-sima from root:root to mpd-sima:mpd-sima makes it
 possible to upgrade.



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: RFS: mpd-sima (updated package)

2011-08-03 Thread Geoffroy Youri Berret
Hi Kilian,

Le 03/08/2011 22:44, Kilian Krause a écrit :

 [...]
 I've uploaded a new version, tagged 0.8.0-1, to mentors.
 I haven't pushed to the git repo yet.

 http://mentors.debian.net/debian/pool/main/m/mpd-sima/mpd-sima_0.8.0-1.dsc
 
 Very good. Built, Signed, Uploaded. 
 
 Please don't forget to update your git (including retagging the 0.8.0-1 and
 deleting a eventually existing -2 tag).

I pushed latest commit to git/alioth and deleted previous tags.

Thanks very much for the upload :)

Cheers,
Geoff

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: RFS: mpd-sima (updated package)

2011-08-01 Thread Geoffroy Youri Berret
I gentle ping on this package :)

I moved the packaged to Debian Multimedia Maintainers.
git://git.debian.org/pkg-multimedia/mpd-sima.git

I believe the package to be in pretty good shape now.

I would be glad if someone uploaded this package for me.

Cheers,
Geoff

Le 15/05/2011 16:55, Geoffroy Youri Berret a écrit :
 Dear mentors,
 
 I am looking for a sponsor for the new version 0.8.0-2
 of my package mpd-sima.
 
 It builds these binary packages:
 mpd-sima   - Automagically add titles to MPD playlist
 
 The package appears to be lintian clean.
 
 The upload would fix these bugs: 628911
 
 The package can be found on mentors.debian.net:
 - URL: http://mentors.debian.net/debian/pool/main/m/mpd-sima
 - Source repository: deb-src http://mentors.debian.net/debian unstable main 
 contrib non-free
 - dget 
 http://mentors.debian.net/debian/pool/main/m/mpd-sima/mpd-sima_0.8.0-2.dsc


___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: Request for review for mpd-sima

2011-07-13 Thread Geoffroy Youri Berret
Hi Jonas, the Team

Le 08/07/2011 17:12, Jonas Smedegaard a écrit :
 On 11-07-08 at 03:40pm, Geoffroy Youri Berret wrote:
 [...]
 It is a rather simple dh/python application packaging.
 
 Alternatively, if you don't mind using CDBS for the packaging, I'd be 
 more than happy to help with it - I can either do the conversion for you 
 or guide you and explain each step of the needed changes.
 
 Reason I didn't suggest this earlier on was to not be invasive.

Thanks very much for the offer Jonas, I would be glad to learn CDBS but I
currently don't have time to do so.

Thanks,
   Geoff



signature.asc
Description: OpenPGP digital signature
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: Request for review for mpd-sima

2011-07-13 Thread Geoffroy Youri Berret
Hi the Team,

Le 08/07/2011 15:40, Geoffroy Youri Berret a écrit :
 [...]
 It is a rather simple dh/python application packaging.
 The python part has been reviewed at mentors for the previous package version
 everything should be fine (no major changes since then).

Actually it is not since python-support is now deprecated, that's quite of a
major change :)

I'll make the changes needed to reflect that new policy.


[0] http://lists.debian.org/debian-python/2011/06/msg00136.html


Cheers,
   Geoff

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: Request for review for mpd-sima

2011-07-08 Thread Geoffroy Youri Berret
A little ping on this request,

Le 21/06/2011 20:28, Jonas Smedegaard a écrit :
 On 11-06-21 at 07:05pm, Geoffroy Youri Berret wrote:
 I've created the git repository for my package mpd-sima:
  http://git.debian.org/?p=pkg-multimedia/mpd-sima.git
 
 Above is a URL for visualization of the git.  Easier if you provide the 
 actual git source URL: git.debian.org:/git/pkg-multimedia/mpd-sima
 
 
 I would be grateful to have an extra review for the package,
 
 I'll leave the review to someone (i.e. anyone else than me, probably) 
 happy with the short-form dh packaging format.


It is a rather simple dh/python application packaging.
The python part has been reviewed at mentors for the previous package version
everything should be fine (no major changes since then).

The big change lies in the daemon capability, I used maintainer scripts to
declare a new user to run the daemon with.

Cheers,
Geoff

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


About upstream project MPD_sima (Was Joining pkg-multimedia / mpd-sima package)

2011-06-15 Thread Geoffroy Youri Berret
Hi Jonas, the Team,

I split the reply in two parts since the discussion concerning upstream projet
is off topic IMO.

Le 12/06/2011 17:18, Jonas Smedegaard a écrit :
 On 11-06-12 at 11:32am, Geoffroy Youri Berret wrote:
 […]
 I'm upstream author for MPD_sima,
 
 […]
 Hope you might be intrigued by my ideas:

Indeed, users feedback are essentials, I'm grateful for your opinion.

 Album mode
 --
 
 I often enjoy music as complete works, respecting the playing order 
 originally chosen by the musicians when they composed the album.  Would 
 be nice if MPD_sima optionally would add albums rather than single 
 songs.

I completely agree on that, albums are entities that happened to be split into
singles for broadcasting and commercial reasons.
An album queue mode is available in MPD_sima since v0.7.0.
You have to set queue_mode option to album in the configuration file (not
available on command line).

 Prioritize manual selections
 
 
 My music collection contains some non-mainstream stuff. Current logic of 
 MPD_sima cause it to slowly degenerate into pop music (stuff appearing 
 both in top-5 results from last.fm queries and in my collection).  Would 
 be nice if MPD_sima would remember last manually selected tune and 
 (optionally?) take that into account as guidance, to go in circles 
 around that instead of drifting off at random[…].

There is actually something approaching available in MPD_sima.
Users can add to the internal database similarities of their choices thanks to
a command line tool. These similarities are used in addition to last.fm
similarities, the level of similarities can be used to override last.fm
recommendations.
But well, for now the CLI is quite cryptic and needs some improvements to be
more user friendly.


 Musicbrainz support
 ---
 […]

 Offline support
 ---
 
 I am involved in the FreedomBox[2] project - about user-friendly, 
 decentralized services.  Would be cool if MPD_sima could be used in an 
 autonomous mode, independently from centralistic services like last.fm.
 […]
It is my concern as well to provide services independent from closed and
centralized services like last.fm. I'm expecting libre.fm to provide someday
features similar to last.fm.
In the meantime it looks like MusicBrainz is a rather mature alternative.
I'm already working on supporting MusicBrainz ID in MPD_sima, but I can
obviously take advantage of these other aspects of MusicBrainz database.
I'll try to take time to have a look at it, thanks for pointing it out.

 I imagine to use Musicbrainz tagging as mentioned above, or other tags 
 as well - e.g. the genre which (as I understand it) is commonly gathered 
 also with cddb.  Would then (especially with cddb) need a text-fuzzying 
 algorithm to treat e.g. electronic and Electronica as equal.
I've been thinking about using genre tag to find artists to queue, as you
mentioned, this is prone to spelling mistake and fuzziness since there are no
standards for genre. That part is not crucial as MPD_sima is already shipping a
fuzzy matching engine to get the right artist name, it could be use for other
strings. The reason why I did not use genre back then is that it is not
refining enough while looking for artists, at least it was not enough for my
taste :). But well, I guess it could suit others listeners habits.


 I have interest in semantic web and RDF.  Would it be interesting for 
 you to try make MPD_sima able to query a local database, if I put 
 together one such database service?
It is quite premature for me now, but I'll get back to you as soon as I have a
better idea of what is possible and what I want to push into MPD_sima.


Another approach I'de like to try, maybe implement in MPD_sima, is Music
Information Retrieval (aka MIR), using pure signal processing techniques to get
a track profil. These techniques are independent of external database, all
needed information is gathered from the sound track itself (the sound signal
not meta-data).
This is the way banshee plugin named Mirage is working.


Thanks for your ideas Jonas :)

Kind regards,
   Geoffroy

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: Joining pkg-multimedia / mpd-sima package

2011-06-15 Thread Geoffroy Youri Berret
Hi Jonas, the Team,

Le 12/06/2011 17:18, Jonas Smedegaard a écrit :
 On 11-06-12 at 11:32am, Geoffroy Youri Berret wrote:
  The package for the last upstream version already received a review 
  from debian-mentors@ and is uploaded to mentors as 0.8.0-2.
 Here we do teamwork, not sponsoring.  So no need for you to use that 
 service any longer.  Instead (when we've sorted out the practicalities 
 so you have write access) use our team Git area at Alioth directly, and 
 use this mailinglist for questions regarding the packaging and for 
 requests for release by one of us that has upload rights to Debian.
  How should I proceed now ?
 Did you read our wiki pages at http://wiki.debian.org/DebianMultimedia?  
 There's even a page specifically covering how you join our team ;-)

Indeed, I guess I missed some points.

Well
 * I have subscribed to pkg-multimedia-(maintainers|commits)
 * My alioth account is kaliko-guest
 * I'm quite familiar with the BTS
 * I agree to review others work

Concerning git packaging, I'm still not quite confident with git but I'm
working on it, I'm getting familiar with this tool and start enjoying this way
of thinking VCS or actually DVCS (I'm coming from subversion…). Then expect me
to ask for help once in a while :)

Should I send a request to join the Team through alioth web interface or is
this thread enough?

Kind regards,
   Geoffroy

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Joining pkg-multimedia / mpd-sima package

2011-06-12 Thread Geoffroy Youri Berret
Hi Multimedia Team :)

I recently got my package, mpd-sima, uploaded thanks to Michael Tautschnig who
sponsored it.

A new upstream version has been released and triggered #628911. Following
Jonas advice (cf. [0]), I'd like to join the team to maintain mpd-sima.

The package for the last upstream version already received a review from
debian-mentors@ and is uploaded to mentors as 0.8.0-2.

I did open an account on alioth (under kaliko-guest).
How should I proceed now ?

About me:
=
I'm upstream author for MPD_sima, I've been using debian since Sarge.
I've learnt debian packaging recently when I noticed MPD_sima was available in
Arch/Linux and not for my distro :)
My involvement in the Debian project is summarized on my wiki page at
debian.org [1], I'm mainly an advanced user writing code as a hobby.


About MPD_sima:
===
MPD_sima is an autoqueue client for MPD [2]. It is a non interactive client
running as a daemon, it queues tracks following last.fm recommendations.


[0] http://bugs.debian.org/628911
[1] http://wiki.debian.org/GeoffB
[2] upstream forge http://codingteam.net/project/sima


Kind regards
 Geoffroy Youri Berret

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers