Flavio Copes
5c33bd37eb
Drop debugging placeholder
2016-02-22 17:12:41 +01:00
Flavio Copes
8b2d727970
Don't reinstall packages if already installed as dependencies
2016-02-22 16:16:00 +01:00
Flavio Copes
01570baa6b
Ask once if should symlinks if symlinks are setup
2016-02-22 16:15:35 +01:00
Flavio Copes
604b6f07f6
Format vars
2016-02-22 16:14:24 +01:00
Flavio Copes
6a78fa633a
Rename method
2016-02-22 16:14:12 +01:00
Flavio Copes
0a5d9935b5
Drop processGit
2016-02-22 16:14:02 +01:00
Flavio Copes
30640ae821
Test dependencies of dependencies
2016-02-19 19:59:59 +01:00
Flavio Copes
5c887495bf
Fix tests with GpmStub
2016-02-19 19:59:54 +01:00
Flavio Copes
78864ecc03
GpmStub in test
2016-02-19 19:59:36 +01:00
Flavio Copes
2ab22e46df
Cleanup
2016-02-19 19:59:18 +01:00
Flavio Copes
49f9cff9cd
Fix getting the return value
2016-02-19 19:59:13 +01:00
Flavio Copes
05ec395f4d
Allow a GPM stub, used for tests
2016-02-19 19:59:04 +01:00
Flavio Copes
9302610e8f
Handle recursive dependencies
2016-02-19 13:50:08 +01:00
Flavio Copes
d67da7bed6
Check version only if needed
2016-02-19 11:21:29 +01:00
Flavio Copes
4c7fd6866c
Use the new methods in serve() to actually process the dependencies.
2016-02-18 17:39:50 +01:00
Flavio Copes
9cca14338b
Use proper structure
2016-02-18 17:38:51 +01:00
Flavio Copes
a5821948e1
Add more logic to processDependencies()
...
- if I already have the latest release of a package, remove the
dependency
- throw an exception if a required version cannot be found in the GPM
yet
2016-02-18 17:38:28 +01:00
Flavio Copes
9a87ab1a4d
Improve installDependencies()
...
Better output, fix flow
2016-02-18 17:36:57 +01:00
Flavio Copes
c3afb68e9a
Add getLatestVersionOfPackage() to GPM
2016-02-18 17:35:32 +01:00
Flavio Copes
43d63f6976
Add installDependencies()
...
Prompts to install the dependencies of the passed type
2016-02-18 14:08:36 +01:00
Flavio Copes
4a16fe68c3
Add an processDependencies() method to InstallCommand
...
Fetch the dependencies, check the installed packages and return an
array with the list of packages with associated an information on what
to do: install, update or ignore
2016-02-18 14:03:50 +01:00
Flavio Copes
eb120a2cda
Drop duplicate docblock
2016-02-18 14:02:48 +01:00
Flavio Copes
0143ac22e3
Improve calculateVersionNumberFromDependencyVersion using extracted method
2016-02-17 14:33:52 +01:00
Flavio Copes
17c47889a6
Improve calculateMergedDependenciesOfPackages
...
Raise exceptions if two merged versions in "next significant release"
format are incompatible
Wrote appropriate tests.
2016-02-17 14:33:27 +01:00
Flavio Copes
5cdc10075a
Add versionFormatIsNextSignificantRelease and versionFormatIsEqualOrHigher methods
...
And corresponding tests
2016-02-17 14:22:59 +01:00
Flavio Copes
b331758d9c
Add checkNextSignificantReleasesAreCompatible method
...
Added own tests too.
Returns true if two releases are compatible by the 'next significant
release' meaning.
~1.2 is equivalent to >=1.2 <2.0.0
~1.2.3 is equivalent to >=1.2.3 <1.3.0
In short, allows the last digit specified to go up
2016-02-17 14:19:14 +01:00
Flavio Copes
503ff8d70f
First step towards versions in dependencies
...
Add InstallCommand::calculateMergedDependenciesOfPackages and
InstallCommand::calculateVersionNumberFromDependencyVersion and
corresponding unit tests
2016-02-16 15:24:33 +01:00
Flavio Copes
b59cdbfdcf
Lint
2016-02-15 16:53:26 +01:00
Flavio Copes
2944289544
Merge branch 'develop' into feature/dependencies
2016-02-15 16:52:57 +01:00
Flavio Copes
a683f661ed
Add truncate and truncateHtml tests for input type
2016-02-15 14:39:28 +01:00
Flavio Copes
1c382a1bc6
Fix assertEquals parameters order
2016-02-15 14:39:03 +01:00
Flavio Copes
a1d0494ea2
✅ Test adding media queries
2016-02-14 08:58:31 +01:00
Andy Miller
16889cac31
Merge pull request #671 from rkusa/patch-1
...
fix lighttpd config
2016-02-12 18:05:26 -07:00
Andy Miller
afc0559d68
log error on invalid slug - only when setting the value from frontmatter
2016-02-12 17:51:20 -07:00
Andy Miller
59b75a339c
sort strings naturally and case insensitively #643
2016-02-12 17:36:08 -07:00
Andy Miller
7a1d9e454b
Add support for custom page-level dateformat field (core only)
2016-02-12 15:33:23 -07:00
Markus Ast
788c54ea9c
fix lighttpd config
2016-02-12 14:49:06 +01:00
Andy Miller
3a46dc3dcd
fixed some extraneous spaces
2016-02-11 18:05:05 -07:00
Andy Miller
0b361c3790
Merge branch 'release/1.0.10' into develop
2016-02-11 15:37:25 -07:00
Andy Miller
bf91d13222
version update
2016-02-11 15:37:14 -07:00
Andy Miller
0bd60d24b7
updated libraries
2016-02-11 15:28:57 -07:00
Andy Miller
864f14344e
Add method to get contentMeta and initialize content if needed
2016-02-11 12:59:46 -07:00
Matias Griese
81e25e314b
Hide streams blueprint from admin
2016-02-11 20:55:48 +02:00
Flavio Copes
028554dbf8
Fix languages in Grav
2016-02-11 16:27:34 +01:00
Flavio Copes
bda8de3076
Typo
2016-02-11 16:27:34 +01:00
Andy Miller
36be17617d
use old cache_id mechanism for safety
2016-02-10 22:48:04 -07:00
Andy Miller
bb23f6157f
Support content level meta data .. so you can store things in cache alongside content
2016-02-10 22:44:54 -07:00
Flavio Copes
39ac423bce
Merge pull request #665 from gracix/Add-Language-Ja
...
Add Ja language file.
2016-02-09 08:23:50 +01:00
Takefumi Ota
39b1eed912
Add Ja language file.
2016-02-09 10:27:57 +09:00
Andy Miller
360286f3d4
moved build status
2016-02-06 17:53:43 -07:00