On 2018-01-19 01:21:24, Guillem Jover wrote:
> On Wed, 2018-01-10 at 20:09:01 -0500, Antoine Beaupre wrote:
>> On Mon, May 08, 2017 at 03:33:27PM +0200, Stephane Bortzmeyer wrote:
>> > Dmitry said "I'm not sure if I can make it happen as Grafana became
>> > very difficult to package". Well, upstream provides Debian packages so
>> > they probably can be used to unstuck this very old issue.
>> > 
>> > http://docs.grafana.org/installation/debian/#apt-repository
>> 
>> I confirm this package works well. I have installed in Debian Stretch
>> to graph a Prometheus instance and it worked flawlessly.
>
> It might work flawlessly, but the upstream "packaing" has much to be
> desired though:
>
>   - Appears to have been "packaged" with fpm…
>   - The automatically generated metadata is rather poor, probably
>     just incorrect. <https://github.com/jordansissel/fpm/issues/409>
>   - Installs the systemd service file under /usr/lib instead of /lib,
>     which would break deb-systemd-helper (#887456), which it does not
>     use anyway.
>   - Does not enable the systemd service nor the init script.
>   - Marks said systemd service file under /usr/lib as a conffile.
>   - Changes pathname owners and permissions w/o checking first with
>     dpkg-statoverrides.
>   - Uses grafana as a user, which can easily clash with user names.
>     That should be _grafana.
>   - Installs configuration files manually, that it then does not
>     cleanup on purge.
>   - Ships unstripped executables.
>   - Embeds a metric ton of javascript modules.
>   - Possibly more…
>
>> I strongly recommend we merge with that work.
>
> …so it's definitely not ready for any merge, which I don't think it's
> even worth it anyway, given the way this was generated.

Ouch... sorry, I didn't look at the actual thing - i just assumed (wow.)
that they did the right thing. How naive of me...

Anyways... As usual, I guess the next step is to break this down into
distinct tasks, e.g. listing the npm dependencies that need to be
shipped and so on.

Sorry for the naiveté.

A.

-- 
The illusion of freedom will continue as long as it's profitable to
continue the illusion. At the point where the illusion becomes too
expensive to maintain, they will just take down the scenery, they will
pull back the curtains, they will move the tables and chairs out of
the way and you will see the brick wall at the back of the theater.
                         - Frank Zappa

Reply via email to