From 83639be47160fdd8cd49288e2b6dbdc349e611e1 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 8 Oct 2021 11:28:50 +0200 Subject: [PATCH] Instructions for updating libraries manually Signed-off-by: Vincent Petry --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 50e64e201..72897b336 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,16 @@ -3rdparty -======== +# 3rdparty Some 3rd party libraries that are necessary to run Nextcloud. [![Dependency Status](https://www.versioneye.com/user/projects/576c043fcd6d510048bab256/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/576c043fcd6d510048bab256) + +## Updating libraries manually + +1. Make sure to use the latest version of composer.phar +2. Edit composer.json and adjust the version of the library to the one to update to +3. Run `composer update thevendor/thelib` (replace accordingly) +4. Delete all installed dependencies with `rm -rf ./*/` +5. Run `composer install --no-dev` +6. Run `dump-autoload` +7. Commit all changes onto a new branch +8. You might need the following command for pushing if used as submodule: `git push git@github.com:nextcloud/3rdparty.git branchname`