Discussion:
CLI project / FHS / Debian / Library
Declercq@nuxwin.com
2012-07-27 22:20:13 UTC
Permalink
Hello ;

I've created a CLI (PHP) project and I've some CLI commands /usr/bin/xxx
that reuses the same PHP library. My question is simple :

Where I should put my library ? under /usr/share/php/libproject-php
directory or under /usr/share/project ?

I've read your policy draft about PHP but you don't talk anymore about
CLI cases so I prefer ask before doing anything wrong.

Sorry for my English, I'm french.
--
____________________
Laurent Declercq
iHMS project manager
--
To UNSUBSCRIBE, email to debian-webapps-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@nuxwin.com
Tanguy Ortolo
2012-08-01 11:26:59 UTC
Permalink
Post by ***@nuxwin.com
I've created a CLI (PHP) project and I've some CLI commands /usr/bin/xxx
Where I should put my library ? under /usr/share/php/libproject-php
directory or under /usr/share/project ?
/usr/share/php/libproject-php I would say.
Post by ***@nuxwin.com
I've read your policy draft about PHP but you don't talk anymore about
CLI cases so I prefer ask before doing anything wrong.
The fact that your software is for the command line changes nothing to
the status of these libraries I would say.

Librement,
--
,--.
: /` ) Tanguy Ortolo <xmpp:***@ortolo.eu>
| `-' Debian Developer <irc://irc.oftc.net/Tanguy>
\_
--
To UNSUBSCRIBE, email to debian-webapps-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/jvb3q3$4v0$***@dough.gmane.org
Declercq@nuxwin.com
2012-08-01 16:22:50 UTC
Permalink
Post by Tanguy Ortolo
Post by ***@nuxwin.com
I've created a CLI (PHP) project and I've some CLI commands /usr/bin/xxx
Where I should put my library ? under /usr/share/php/libproject-php
directory or under /usr/share/project ?
/usr/share/php/libproject-php I would say.
Post by ***@nuxwin.com
I've read your policy draft about PHP but you don't talk anymore about
CLI cases so I prefer ask before doing anything wrong.
The fact that your software is for the command line changes nothing to
the status of these libraries I would say.
Librement,
Thanks for you answer. That was also my first thinking.

I would be sure so I prefer show you the project in question.
https://github.com/i-HMS/sysconf. It's same as Debconf but in PHP
(firstly written for my personal project). It still in prototype state
so do not fire me about it :D
--
____________________
Laurent Declercq
iHMS project manager
--
To UNSUBSCRIBE, email to debian-webapps-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@nuxwin.com
Loading...