From efd5bf27e9151ac03306facf08502b28afefea30 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 2 Feb 2018 07:50:22 +0100 Subject: [PATCH 1/3] name Friendiqa as client in devel docs as the one to help improving --- doc/Developers-Intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Developers-Intro.md b/doc/Developers-Intro.md index a5d17a221..3dd8ea36d 100644 --- a/doc/Developers-Intro.md +++ b/doc/Developers-Intro.md @@ -133,7 +133,7 @@ As Friendica is using a [Twitter/GNU Social compatible API](help/api) any of the Furthermore there are several client projects, especially for use with Friendica. If you are interested in improving those clients, please contact the developers of the clients directly. -* Android / CynogenMod: **Friendica for Android** [src](https://github.com/max-weller/friendica-for-android), [homepage](http://friendica.android.max-weller.de/) - abandoned +* Android / LinageOS: **Friendiqa** [src](https://github.com/LubuWest/Friendiqa) developed by [Marco R](https://freunde.ma-nic.de/profile/marco) * iOS: *currently no client* * SailfishOS: **Friendiy** [src](https://kirgroup.com/projects/fabrixxm/harbour-friendly) - developed by [Fabio](https://kirgroup.com/profile/fabrixxm/?tab=profile) * Windows: **Friendica Mobile** for Windows versions [before 8.1](http://windowsphone.com/s?appid=e3257730-c9cf-4935-9620-5261e3505c67) and [Windows 10](https://www.microsoft.com/store/apps/9nblggh0fhmn) - developed by [Gerhard Seeber](http://mozartweg.dyndns.org/friendica/profile/gerhard/?tab=profile) From 5c02e569f1c25bec3afe53fcef699dc46b64cee7 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 2 Feb 2018 07:53:27 +0100 Subject: [PATCH 2/3] there is a label, even linked now --- doc/Developers-Intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Developers-Intro.md b/doc/Developers-Intro.md index 3dd8ea36d..32dde8d6e 100644 --- a/doc/Developers-Intro.md +++ b/doc/Developers-Intro.md @@ -112,7 +112,7 @@ Have a look at our [issue tracker](https://github.com/friendica/friendica) on gi * Try to reproduce a bug that needs more inquiries and write down what you find out. * If a bug looks fixed, ask the bug reporters for feedback to find out if the bug can be closed. * Fix a bug if you can. Please make the pull request against the *develop* branch of the repository. -* There is a *Junior Job* label for issues we think might be a good point to start with. +* There is a *[Junior Job](https://github.com/friendica/friendica/issues?q=is%3Aopen+is%3Aissue+label%3A"Junior+Jobs")* label for issues we think might be a good point to start with. But you don't have to limit yourself to those issues. ### Web interface From efa6b2b9f0ebca0d116ff0ffaffa06aa553e686d Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 2 Feb 2018 08:08:09 +0100 Subject: [PATCH 3/3] add hook description to automatically update the dependencies via git-hooks to devel docs --- doc/Developers-Intro.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/Developers-Intro.md b/doc/Developers-Intro.md index 32dde8d6e..b1a4d3e4b 100644 --- a/doc/Developers-Intro.md +++ b/doc/Developers-Intro.md @@ -48,6 +48,23 @@ Friendica uses [Composer](https://getcomposer.org) to manage dependencies librar It's a command-line tool that downloads required libraries into the `vendor` folder and makes any namespaced class in `src` available through the whole application through `boot.php`. +If you want to have git automatically update the dependencies with composer, you can use the `post-merge` [git-hook](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) with a script similar to this one: + + #/usr/bin/env bash + # MIT © Sindre Sorhus - sindresorhus.com + # forked by Gianluca Guarini + # phponly by Ivo Bathke ;) + # modified for Friendica by Tobias Diekershoff + changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" + check_run() { + echo "$changed_files" | grep --quiet "$1" && eval "$2" + } + # `composer install` if the `composer.lock` file gets changed + # to update all the php dependencies + check_run composer.lock "util/composer.phar install --no-dev" + +just place it into `.git/hooks/post-merge` and make it executeable. + * [Class autoloading](help/autoloader) * [Using Composer](help/Composer) * [How To Move Classes to `src`](help/Developer-How-To-Move-Classes-to-src)