p5-manager icon indicating copy to clipboard operation
p5-manager copied to clipboard

Updating library versions isn't consistent

Open Versatilus opened this issue 7 years ago • 6 comments

When the program is run with the update command it will create a "libraries" folder with the most recent p5 files in the current folder, no matter where it is run it from. It seems to me that it was intended to be run from inside a project's folder or a collection.

I believe the program should be made more context aware when running updates so that it isn't writing blindly to the current folder and also have a flag to globally update the files new projects are drawn from.

Versatilus avatar Dec 13 '17 23:12 Versatilus

i can not update p5 manager version with p5 update|| p5 u..It says it updated but when i want to know the version it remains the old one...

mehedi432 avatar Jan 21 '18 07:01 mehedi432

@Versatilus @mehedi432 I agree that currently the way p5-manager update its libraries is not well-designed and it need some time/work to rethink/rebuild. For the moment if you face any problem, please just manually download and update the libraries. 👍

chiunhau avatar Jan 25 '18 06:01 chiunhau

@mehedi432 I think it is due to misunderstanding of the update command (that's my bad). What p5 update actually does is: 1. Download the latest p5 libraries release from official p5.js github. 2. Replace the old libraries in your existed collection.

And p5 version only tells the current version of p5-manager (that is, this package), not the p5.js libraries.

chiunhau avatar Jan 25 '18 06:01 chiunhau

okay

On Thu, Jan 25, 2018 at 12:55 PM, Chiun Hau You [email protected] wrote:

@mehedi432 https://github.com/mehedi432 I think it is due to misunderstanding of the update command (that's my bad). What p5 update actually does is: 1. Download the latest p5 libraries release from official p5.js github. 2. Replace the old libraries in your existed collection.

And p5 version only tells the current version of p5-manager (that is, this package), not the p5.js libraries.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chiunhau/p5-manager/issues/34#issuecomment-360378067, or mute the thread https://github.com/notifications/unsubscribe-auth/AUGv3dS-zxYQzQ5WRSOz772CjRx3Cb3Xks5tOCVigaJpZM4RBViS .

mehedi432 avatar Jan 25 '18 16:01 mehedi432

that means when I command "p5 u" than the library is updated but the p5 manager is in v4....

mehedi432 avatar Jan 26 '18 06:01 mehedi432

that means when I command "p5 u" than the library is updated but the p5 manager is in v4....

mehedi432 avatar Jan 26 '18 06:01 mehedi432