f.haeder.net

Getting E_NOTICE on develop branch

I'm getting this error message when I click on the lock icon:

Notice: Undefined index: contact-id in /var/www/../addon/remote_permissions/remote_permissions.php on line 77
bug friendica php
Michael Vogel Friendica (AP)
This addon is unsupported and is about to be removed in future versions of Friendica.
Okay, thank you. :-) But is there any (mostly "protocol-technical") reason?
Michael Vogel Friendica (AP)
It cannot work that way.

What nobody tells you about documentation

Daneiele Procida has given a speech about why good #documentation matters in your software. Watch the video at #peertube :

PeerTube: What nobody tells you about documentation (wat)



I think this just not applies on #Python exclusively but on all programming languages: document as much as you can.
#documentation #peertube #Python cplusplus documentation floss java perl php pycon python ruby

Coding convention rewrites 2-5-2 of 2-14-2

PR request 3469 is out which contains changes towards a Friendica-wide coding-convention. As requested earlier, I have splitted my 119 (!) files large PR into several small to make it easier for the reviewers (not to review tons of changes but small chunks then).

So as you (dear users) can see, #Friendica is being rewritten in many directions. No new stuff but more clear code where I hope to have later an even more clear code (better understandable by humans, a computer can read any badly formatted code as long as it is valid).

@Friendica Developers

Edit: Here is the link to the PR: https://github.com/friendica/friendica/pull/3469
#Friendica @Friendica Developers code coding-convention friendica php
PR 3473 is up: https://github.com/friendica/friendica/pull/3473 split 6 of 14 of 2nd wave.
Added some changes to include/text.php, in the start of the PR I just rebased the branch towards upstream/develop.
3588 is out and waits for a CR (with fixes).
I ran php util/typo.php again and it failed ????
:D I hope we can also solve that issue with ./vendor/ directory then. Because looked globally (PHP community) most projects using composer install will ignore it because it is considered as "build" (locally recreated) directory.
What is the issue with vendor?
It should be ignored entirely and not committed as it will be rebuild by composer install. If that is to hard/impossible for some users, then they should download pre-built "binary" packages (including vendor).
This is the end goal, however it is a gradual process. For now I believe we don't have a good enough routine to offer a pre-built archive of the latest version of Friendica, also not all the people using the dev branch are aware about the extra steps required to build the dependencies. I'm voluntarily not in the loop anymore so I couldn't give you a timetable, but I believe it is on track to remove vendor from version control eventually.
Sorry, had not continued on it. Maybe when time allows it. And then I have to rebase a lot.
Later posts Earlier posts