Both sides previous revision Previous revision Next revision | Previous revision |
en:entwickler:fehlerkorrekturen_in_mehreren_versionen [2016/12/03 14:48] – typos and urls ximex | en:entwickler:fehlerkorrekturen_in_mehreren_versionen [2024/12/01 07:13] (current) – [Where can I find the source code?] fasse |
---|
====== Fix bugs and add new features ====== | ====== Set up a developement environment ====== |
| |
===== Where can I find the source code? ===== | ===== Where can I find the source code? ===== |
GitHub also offers a client for [[https://mac.github.com/Mac|Mac]] and [[https://windows.github.com/|Windows]]. More Git programs can be found at [[https://git-scm.com/]]. | GitHub also offers a client for [[https://mac.github.com/Mac|Mac]] and [[https://windows.github.com/|Windows]]. More Git programs can be found at [[https://git-scm.com/]]. |
Before you start with the development of new functions, you should contact us or use [[https://help.github.com/articles/about-issues/|Issue-Tracker]] to describe the desired extension or collecting ideas for new features. | Before you start with the development of new functions, you should contact us or use [[https://help.github.com/articles/about-issues/|Issue-Tracker]] to describe the desired extension or collecting ideas for new features. |
| |
| After you have the source code on your system you must run [[https://getcomposer.org|Composer]] to install the depending libraries. Therefore you should install Composer and then run the command ''composer update'' at the Admidio folder. If you could not use composer you can [[https://sourceforge.net/projects/admidio/files/Vendor/admidio-vendor-5.0.zip/download|download the vendor folder]] and place it in the root folder of Admidio. |
| |
Have you got your idea formulated as [[https://help.github.com/articles/about-issues/|Issue]] and coordinated with us, then you will find the **Master** Branch the current code with all new features and changes that have been added since the last release. If you want Admidio evolve, we recommend that you take as a base this Branch. Ideally, you create then in your GitHub account a [[https://guides.github.com/activities/forking/#fork|Fork]] of this Branch and a feature Branch. There you can now develop your extension and [[https://guides.github.com/activities/forking/#making-changes|commit]] in the fork. Once your extension is complete, you can use a [[https://guides.github.com/activities/forking/#making-a-pull-request|Pull Request]] for our **Master** Branch. This Pull Request we will look at and discuss it then to assume ideally. | Have you got your idea formulated as [[https://help.github.com/articles/about-issues/|Issue]] and coordinated with us, then you will find the **Master** Branch the current code with all new features and changes that have been added since the last release. If you want Admidio evolve, we recommend that you take as a base this Branch. Ideally, you create then in your GitHub account a [[https://guides.github.com/activities/forking/#fork|Fork]] of this Branch and a feature Branch. There you can now develop your extension and [[https://guides.github.com/activities/forking/#making-changes|commit]] in the fork. Once your extension is complete, you can use a [[https://guides.github.com/activities/forking/#making-a-pull-request|Pull Request]] for our **Master** Branch. This Pull Request we will look at and discuss it then to assume ideally. |
| |
Shortly after we released a major new version, we will create a Branch specifically for this version. The current state of development is appropriately recorded to the published version practically. At this stage of development we can later import corrections regardless of what has been developed in parallel **Master**. The Branch is always appropriate for us to release. On behalf of the Branches you can see which version is which Branch. Example of Admidio 2.4 the Branch is named **v2.4** and reachable at the following URL: | Shortly after we released a new major version, we will create a Branch specifically for this version. The current state of development is appropriately recorded to the published version practically. At this stage of development we can later import corrections regardless of what has been developed in parallel **Master**. The Branch is always appropriate for us to release. On behalf of the Branches you can see which version is which Branch. Example of Admidio 5.0 the Branch is named **v5.0** and reachable at the following URL: |
https://github.com/Admidio/admidio/tree/v2.4 | https://github.com/Admidio/admidio/tree/v5.0 |
| |
| |
The following steps are necessary if you want to fix a bug: | The following steps are necessary if you want to fix a bug: |
- The first step is, as also with new features an [[https://github.com/Admidio/admidio/issues|Issue]] must be created, if it does not already exist. | - The first step is, as also with new features an [[https://github.com/Admidio/admidio/issues|Issue]] must be created, if it does not already exist. |
- If the error in the recently published version exists, it should also be corrected there. For this you switch to the appropriate Branch for example **v3.0**. | - If the error in the recently published version exists, it should also be corrected there. For this you switch to the appropriate Branch for example **v4.0**. |
- Fix the error and execute the relevant commits in this Branch. When you check in (commit) a descriptive sentence should preferably be given in English, which also concerned a reference to the issue, for example, // # 4711 fix SQL syntax When save new events // | - Fix the error and execute the relevant commits in this Branch. When you check in (commit) a descriptive sentence should preferably be given in English, which also concerned a reference to the issue, for example, // # 4711 fix SQL syntax When save new events // |
- Typically, the error also occurs in the **Master** Branch, so that commits with [[https://help.github.com/articles/merging-branches/|merge]] in the **Master** Branch shall be incurred. This step can also be carried out later. | - Typically, the error also occurs in the **Master** Branch, so that commits with [[https://help.github.com/articles/merging-branches/|merge]] in the **Master** Branch shall be incurred. This step can also be carried out later. |
| |
Do you still not have write permissions in Admidio project on GitHub, so you can [[https://help.github.com/articles/fork-a-repo/|fork]] the repository only once to do the correction there. Subsequently, the correction can then be taken on a [[https://help.github.com/articles/creating-a-pull-request/|Pull Request]] in the official code. | Do you still not have write permissions in Admidio project on GitHub, so you can [[https://help.github.com/articles/fork-a-repo/|fork]] the repository only once to do the correction there. Subsequently, the correction can then be taken on a [[https://help.github.com/articles/creating-a-pull-request/|Pull Request]] in the official code. |