From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 21 Mar 2023 03:14:44 +0000 (-0400) Subject: spelling: github X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c95360ff87cd2179c4f3512dd01b000096eae702;p=friendica.git spelling: github Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/doc/Chats.md b/doc/Chats.md index df3e7c784d..1fd76ec6f7 100644 --- a/doc/Chats.md +++ b/doc/Chats.md @@ -39,7 +39,7 @@ You can use several servers to create an account: ### 1. Basics -At first you have to get the current version. You can either pull it from [Github](https://github.com) like so: +At first you have to get the current version. You can either pull it from [GitHub](https://github.com) like so: $> cd /var/www/virtual/YOURSPACE/html/addon; git pull diff --git a/doc/GitHub.md b/doc/GitHub.md new file mode 100644 index 0000000000..5fbc3788ee --- /dev/null +++ b/doc/GitHub.md @@ -0,0 +1,76 @@ +Friendica on GitHub +=================== + +* [Home](help) + +Here is how you can work on the code with us. If you have any questions please write to the Friendica developers' forum. + +Introduction to the workflow with our GitHub repository +------------------------------------------------------- + +1. Install git on the system you will be developing on. +2. Create your own [GitHub](https://github.com) account. +3. Fork the Friendica repository from [https://github.com/friendica/friendica.git](https://github.com/friendica/friendica.git). +4. Clone your fork from your GitHub account to your machine. +Follow the instructions provided here: [http://help.github.com/fork-a-repo/](http://help.github.com/fork-a-repo/) to create and use your own tracking fork on GitHub +5. Run `bin/composer.phar install` in Friendica's folder. +6. Commit your changes to your fork. +Then go to your GitHub page and create a "Pull request" to notify us to merge your work. + +Our Git Branches +---------------- + +There are two relevant branches in the main repo on GitHub: + +1. stable: This branch contains stable releases only. +2. develop: This branch contains the latest code. +This is what you want to work with. + +Fast-forwarding +--------------- + +Fast forwarding is enabled by default in git. +When you merge with fast-forwarding it does not add a new commit to mark when you've performed the merge and how. +This means in your commit history you can't know exactly what happened in terms of merges. +**It's best to turn off fast-forwarding.** +This is done by running "git merge --no-ff". +[Here](https://stackoverflow.com/questions/5519007/how-do-i-make-git-merges-default-be-no-ff-no-commit) is an explanation on how to configure git to turn off fast-forwarding by default. +You can find some more background reading [here](http://nvie.com/posts/a-successful-git-branching-model/). + +Release branches +---------------- + +A release branch is created when the develop branch contains all features it should have. +A release branch is used for a few things. + +1. It allows last-minute bug fixing before the release goes to stable branch. +2. It allows meta-data changes (README, CHANGELOG, etc.) for version bumps and documentation changes. +3. It makes sure the develop branch can receive new features that are **not** part of this release. + +That last point is important because... +**The moment a release branch is created, develop is now intended for the version after this release**. +So please don't ever merge develop into a release! +An example: If a release branch "release-3.4" is created, "develop" becomes either 3.5 or 4.0. +If you were to merge develop into release-3.4 at this point, features and bug-fixes intended for 3.5 or 4.0 might leak into this release branch. +This might introduce new bugs, too. +Which defeats the purpose of the release branch. + +Some important reminders +------------------------ + +1. Please pull in any changes from the project repository and merge them with your work **before** issuing a pull request. +We reserve the right to reject any patch which results in a large number of merge conflicts. +This is especially true in the case of language translations - where we may not be able to understand the subtle differences between conflicting versions. + +2. **Test your changes**. +Don't assume that a simple fix won't break anything else. +If possible get an experienced Friendica developer to review the code. +Don't hesitate to ask us in case of doubt. + +3. Check your code for typos. +There is a console command called *typo* for this. + + $> php bin/console.php typo + +Check out how to work with [our Vagrant](help/Vagrant) to save a lot of setup time! + diff --git a/doc/Github.md b/doc/Github.md deleted file mode 100644 index 5fbc3788ee..0000000000 --- a/doc/Github.md +++ /dev/null @@ -1,76 +0,0 @@ -Friendica on GitHub -=================== - -* [Home](help) - -Here is how you can work on the code with us. If you have any questions please write to the Friendica developers' forum. - -Introduction to the workflow with our GitHub repository -------------------------------------------------------- - -1. Install git on the system you will be developing on. -2. Create your own [GitHub](https://github.com) account. -3. Fork the Friendica repository from [https://github.com/friendica/friendica.git](https://github.com/friendica/friendica.git). -4. Clone your fork from your GitHub account to your machine. -Follow the instructions provided here: [http://help.github.com/fork-a-repo/](http://help.github.com/fork-a-repo/) to create and use your own tracking fork on GitHub -5. Run `bin/composer.phar install` in Friendica's folder. -6. Commit your changes to your fork. -Then go to your GitHub page and create a "Pull request" to notify us to merge your work. - -Our Git Branches ----------------- - -There are two relevant branches in the main repo on GitHub: - -1. stable: This branch contains stable releases only. -2. develop: This branch contains the latest code. -This is what you want to work with. - -Fast-forwarding ---------------- - -Fast forwarding is enabled by default in git. -When you merge with fast-forwarding it does not add a new commit to mark when you've performed the merge and how. -This means in your commit history you can't know exactly what happened in terms of merges. -**It's best to turn off fast-forwarding.** -This is done by running "git merge --no-ff". -[Here](https://stackoverflow.com/questions/5519007/how-do-i-make-git-merges-default-be-no-ff-no-commit) is an explanation on how to configure git to turn off fast-forwarding by default. -You can find some more background reading [here](http://nvie.com/posts/a-successful-git-branching-model/). - -Release branches ----------------- - -A release branch is created when the develop branch contains all features it should have. -A release branch is used for a few things. - -1. It allows last-minute bug fixing before the release goes to stable branch. -2. It allows meta-data changes (README, CHANGELOG, etc.) for version bumps and documentation changes. -3. It makes sure the develop branch can receive new features that are **not** part of this release. - -That last point is important because... -**The moment a release branch is created, develop is now intended for the version after this release**. -So please don't ever merge develop into a release! -An example: If a release branch "release-3.4" is created, "develop" becomes either 3.5 or 4.0. -If you were to merge develop into release-3.4 at this point, features and bug-fixes intended for 3.5 or 4.0 might leak into this release branch. -This might introduce new bugs, too. -Which defeats the purpose of the release branch. - -Some important reminders ------------------------- - -1. Please pull in any changes from the project repository and merge them with your work **before** issuing a pull request. -We reserve the right to reject any patch which results in a large number of merge conflicts. -This is especially true in the case of language translations - where we may not be able to understand the subtle differences between conflicting versions. - -2. **Test your changes**. -Don't assume that a simple fix won't break anything else. -If possible get an experienced Friendica developer to review the code. -Don't hesitate to ask us in case of doubt. - -3. Check your code for typos. -There is a console command called *typo* for this. - - $> php bin/console.php typo - -Check out how to work with [our Vagrant](help/Vagrant) to save a lot of setup time! - diff --git a/doc/Home.md b/doc/Home.md index 74ae151fb0..137a4a82ee 100644 --- a/doc/Home.md +++ b/doc/Home.md @@ -42,7 +42,7 @@ Friendica Documentation and Resources * [Get started](help/Developers-Intro) * Set up development environment - * [Help on Github](help/Github) + * [Help on GitHub](help/GitHub) * [Help on Vagrant](help/Vagrant) * [Bugs and Issues](help/Bugs-and-Issues) * Code structure diff --git a/doc/Vagrant.md b/doc/Vagrant.md index ea098e3fb0..16088cd37e 100644 --- a/doc/Vagrant.md +++ b/doc/Vagrant.md @@ -31,7 +31,7 @@ The mysql database is called "friendica", the mysql user and password both are " Your local working directory is set up as a shared directory with the VM (/vagrant). 7. Check the changes in your browser in the VM. Find the Friendica log file `/vagrant/logfile.out` on the VM or in the `logfile.out` in you local Friendica directory. -8. Commit and push your changes directly back to Github. +8. Commit and push your changes directly back to GitHub. If you want to stop vagrant after finishing your work, run the following command diff --git a/mods/README.md b/mods/README.md index 43389eb2c2..716d427f9d 100644 --- a/mods/README.md +++ b/mods/README.md @@ -32,7 +32,7 @@ Please check software documentation to know how modify these examples to make th Sample systemd unit files to start worker.php periodically. Please place them in the correct location for your system, typically this is `/etc/systemd/system/friendicaworker.timer` and `/etc/systemd/system/friendicaworker.service`. -Please report problems and improvements to `!helpers@forum.friendi.ca` and `@utzer@social.yl.ms` or open an issue in [the Github Friendica page](https://github.com/friendica/friendica/issues). +Please report problems and improvements to `!helpers@forum.friendi.ca` and `@utzer@social.yl.ms` or open an issue in [the GitHub Friendica page](https://github.com/friendica/friendica/issues). This is for usage of systemd instead of cron to start the worker periodically, the solution is a work-in-progress and can surely be improved. ## `phpstorm-code-style.xml` diff --git a/view/theme/frio/php/PHPColors/README.md b/view/theme/frio/php/PHPColors/README.md index d14d8be588..795ceac64a 100644 --- a/view/theme/frio/php/PHPColors/README.md +++ b/view/theme/frio/php/PHPColors/README.md @@ -145,7 +145,7 @@ echo $myBlue->getCssGradient(10, TRUE); ``` -## Github Contributors +## GitHub Contributors - mexitek - danielpataki - alexmglover