PrivateBin icon indicating copy to clipboard operation
PrivateBin copied to clipboard

Update privatebin with composer

Open janstieler opened this issue 3 years ago • 3 comments

Hi, why is composer not updating privatebin itself? I have installed privatebin using composer but if i use composer update/upgrade depencies will update but not privatebin himself. Also how ca I update privatebin if I have installed it with composer and don't want to extract the zipfile from hand?

Cheers

janstieler avatar Jul 21 '21 13:07 janstieler

I don't think this is an installation mechanism that we support. As far as I know we use composer only to maintain dependencies of the project, not to ship privatebin itself. The recommended installation method is to download and extract the archive file (tar or zip) or to use the container image.

elrido avatar Jul 24 '21 06:07 elrido

HI, I thought I installed it through Composer but it's been a while so I could be wrong. Okay second question. Would it not be a good idea to serve Privatebin through Composer? It would make the update-process easier.

janstieler avatar Jul 24 '21 21:07 janstieler

At least we did once publish it at Packagist (Composer): https://github.com/PrivateBin/PrivateBin/issues/55#issuecomment-234704829

rugk avatar Jul 25 '21 10:07 rugk

I'm not sure if it got automated or not, but as of this writing an up to date version (1.4.0) seems published on there.

elrido avatar Oct 25 '22 20:10 elrido