miketheman / heroku-buildpack-datadog

Heroku Buildpack to run Datadog DogStatsD in a Dyno
http://miketheman.github.io/heroku-buildpack-datadog
MIT License
55 stars 35 forks source link

Sometimes >1 .deb packages get installed #21

Open mnewell opened 8 years ago

mnewell commented 8 years ago

Hi,

Some of my builds will install a single Datadog .deb, but others appear to include two, according to the Heroku build logs; examples:

-----> Fetching deb packages
-----> Installing datadog-agent_1%3a5.10.0-1_amd64.deb
-----> Installing datadog-agent_1%3a5.9.1-1_amd64.deb
-----> Datadog Agent package installed

and

-----> Fetching deb packages
-----> Installing datadog-agent_1%3a5.9.1-1_amd64.deb
-----> Datadog Agent package installed

It looks like this might be expected, but I'm not sure it's necessarily desirable (as it can cause slug growth).

miketheman commented 8 years ago

Thanks! This is previously described in #4 and I haven't thought about a good way to both leverage the slug cache and prevent this behavior.

mnewell commented 8 years ago

Holy moly you respond quickly; thanks!