You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,29 +13,56 @@ and [Semantic Versioning](http://semver.org/) conventions.
13
13
### Security
14
14
-->
15
15
16
+
## [Unreleased][unreleased]
17
+
18
+
### Added
19
+
20
+
- Adds various @throws annotations
21
+
- Adds timestamps for files and folders
22
+
- Adds integration tests to validate output against comparable output from LocalAdapter
23
+
24
+
### Changed
25
+
26
+
- Changes the default for file visibility to visible
27
+
- Changes guessing MIME type for files to always use the file's content instead of extension to guarantee results are the same across different filesystem adapters
28
+
- Changes method name of ApiInterface::getRecursiveMetadata() to ApiInterface::getTreeMetadata()
29
+
30
+
### Fixed
31
+
32
+
- Fixes bug that caused invalid repository names to be accepted (issue #4)
33
+
- Fixes bug that caused incorrect Metadata for directories to be returned (issue #6)
34
+
- Fixes bug that didn't validate paths ended in a trailing slash (issue #8)
35
+
- Fixes bug in permission comparison
36
+
- Fixes various links in the README file
37
+
16
38
## [v0.2.0] - 2015-07-21 - Improvements and UnitTests
17
39
18
40
### Added
41
+
19
42
- Adds automated checks (a.k.a. unit-tests) for the Adapter, Client and Settings classes.
20
43
- Adds various utility files for Travis builds, Coveralls and Composer
21
44
22
45
### Changed
46
+
23
47
- Makes the PHPUnit configuration more strict
24
48
- Renames the Client class to "Api"
25
49
26
50
## [v0.1.0] - 2015-07-18 - Read functionality
27
51
28
52
### Added
53
+
29
54
- Read functionality and Github API authentication have been implemented.
30
55
31
56
## v0.0.0 - 2015-05-11 - Project Setup
32
57
33
58
### Added
59
+
34
60
- Set up project basics like .gitignore file, PHPUnit Configuration file,
35
61
Contributing guidelines, Composer file stating dependencies, MIT License, README
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,13 @@ Contributions are **welcome** and will be fully **credited**.
4
4
5
5
We accept contributions via Pull Requests on [Github](https://github.com/potherca/flysystem-github).
6
6
7
-
8
7
## Pull Requests
9
8
10
9
-**[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer).
11
10
12
11
-**Add tests!** - Your patch won't be accepted if it doesn't have tests.
13
12
14
-
-**Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date.
13
+
-**Document any change in behaviour** - Make sure the `README.md`, `CHANGELOG.md` and any other relevant documentation are kept up-to-date.
15
14
16
15
-**Consider our release cycle** - We try to follow [SemVer v2.0.0](http://semver.org/). Randomly breaking public APIs is not an option.
17
16
@@ -21,7 +20,6 @@ We accept contributions via Pull Requests on [Github](https://github.com/potherc
21
20
22
21
-**Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](http://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting.
@@ -89,10 +89,23 @@ $filesystem = new Filesystem($adapter);
89
89
90
90
## Testing
91
91
92
+
The unit-tests can be run with the following command:
93
+
92
94
```bash
93
95
$ composer test
94
96
```
95
97
98
+
To run integration tests, which use the Github API, a [Github API token](https://help.github.com/articles/creating-an-access-token-for-command-line-use/) might be needed (to stop the tests hitting the API Limit).
99
+
An API key can be added by setting in the environment as `GITHUB_API_KEY` or by vreating an `.env` file in the integration tests directory and setting it there.
100
+
See `tests/integration-tests/.env.example` for an example.
101
+
102
+
To run the integration test, run the following command (this will also run the unit-tests):
103
+
104
+
```bash
105
+
$ composer test-all
106
+
```
107
+
108
+
96
109
## Security
97
110
98
111
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
@@ -111,4 +124,18 @@ Please see [CHANGELOG](CHANGELOG.md) for details.
111
124
112
125
## License
113
126
114
-
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
127
+
The MIT License (MIT). Please see [License File] for more information.
0 commit comments