diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-10-08 12:28:50 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-10-08 12:29:58 +0300 |
commit | 83639be47160fdd8cd49288e2b6dbdc349e611e1 (patch) | |
tree | 42447d7e6526c9b82d7188106c92dd7a2d862ede | |
parent | 4d16f16a1ab88814d6fa8194ddef72e10242562f (diff) |
Instructions for updating libraries manually
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
-rw-r--r-- | README.md | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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` |