-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from ripaclub/develop
v0.7.1
- Loading branch information
Showing
66 changed files
with
1,103 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Contributing | ||
|
||
Contributions to ShinxSearch library are always welcomed and encouraged. | ||
|
||
You make our lives easier by sending us your contributions through github pull requests. | ||
|
||
* Coding standard for the project is [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) | ||
|
||
* Any contribution must provide tests for additional introduced conditions | ||
|
||
## Team members | ||
|
||
The core team members are: | ||
|
||
| Name | Nickname | | ||
|:---------------:|:------------------------------------:| | ||
| Leo Di Donato | [leodido](http://github.com/leodido) | | ||
| Leonardo Grasso | [leogr](http://github.com/leogr) | | ||
|
||
## Got a question or problem? | ||
|
||
If you have questions about how to use ShinxSearch library please write us at <ripaclub@gmail.com>. | ||
|
||
Other communication channels will be activated soon. In the mean time you can also contact us writing a [new issue](https://github.com/ripaclub/sphinxsearch/issues/new). | ||
|
||
Due to time constraints, we are not always able to respond as quickly as we would like. Please do not take delays personal and feel free to remind us. | ||
|
||
## New features | ||
|
||
You can request a new feature by submitting an issue to our github repository. If you would like to implement a new feature then consider what kind of change it is: | ||
|
||
* **Major changes** | ||
|
||
This kind of contribution should be discussed first with us in issues. This way we can better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project. | ||
|
||
* **Small changes** | ||
|
||
Can be crafted and submitted to the github repository as a pull request. | ||
|
||
## Bug triage | ||
|
||
Bug triaging is managed via github [issues](https://github.com/ripaclub/sphinxsearch/issues). | ||
|
||
You can help report bugs by filing them [here](https://github.com/ripaclub/sphinxsearch/issues). | ||
|
||
Before submitting new bugs please verify that similar ones do not exists yet. This will help us to reduce the duplicates and the references between issues. | ||
|
||
Is desiderable that you provide reproducible behaviours attaching (failing) tests. | ||
|
||
## Testing | ||
|
||
To facilitate the process of running integration tests locally we also provide SphinxSearch docker images [here](https://github.com/leodido/dockerfiles). | ||
|
||
If you already have [docker](https://github.com/docker/docker) installed and you have already pulled one of the aforementioned docker images, you can setup a SphinxSearch environment for tests executing: | ||
|
||
```bash | ||
$ cd sphinxsearch/ | ||
$ docker run -i -t -v $PWD/tests/sphinx:/usr/local/etc -p 9306:9306 -d leodido/sphinxsearch:latest ./searchd.sh | ||
``` | ||
|
||
The PHPUnit version to be used is the one installed as a dev-dependency via [composer](https://getcomposer.org/). | ||
|
||
```bash | ||
$ ./vendor/bin/phpunit | ||
``` | ||
|
||
## Contributing process | ||
|
||
What branch to issue the pull request against? | ||
|
||
For **new features**, or fixes that introduce **new elements to the public API** (such as new public methods or properties), issue the pull request against the `develop` branch. | ||
|
||
For **hotfixes** against the stable release, issue the pull request against the `master` branch. | ||
|
||
1. **Fork** the sphinxsearch [repository](https://github.com/ripaclub/sphinxsearch/fork) | ||
|
||
2. **Checkout** the forked repository | ||
|
||
3. Retrieve **dependencies** using [composer](https://getcomposer.org/) | ||
|
||
4. Create your **local branch**, **commit** your code and **push** your local branch to your github fork | ||
|
||
5. Send us a **pull request** as descripted for your changes to be included | ||
|
||
Please remember that **any contribution must provide tests** for additional introduced conditions. Accepted coverage for new contributions is 75%. Any contribution not satisfying this requirement won't be merged. | ||
|
||
Don't get discouraged! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Compatibility for ZF from 2.1.x to ZF 2.3.x | ||
============= | ||
|
||
Due to Zend\Db\Sql BCs introduced in ZF 2.4.x series, this folder contains legacy version of some classes in order to mantain compatibility with old Zend Framework versions. | ||
|
||
This folder should be not autoloaded because lastest version of this package will polyfill classes loading the correct ones. | ||
|
||
Polyfill may be removed in newer versions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.