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
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
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
Andy Miller
bf91d13222
version update
2016-02-11 15:37:14 -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
Takefumi Ota
39b1eed912
Add Ja language file.
2016-02-09 10:27:57 +09:00
Andy Miller
bfe3a7750e
version update
2016-02-05 15:59:40 -07:00
Andy Miller
1d23d29485
Various PSR fixes
2016-02-05 12:39:04 -07:00
Andy Miller
3bec73049b
Revert "use ConsoleCommand"
...
This reverts commit 990663cd60 .
2016-02-05 12:35:32 -07:00
Andy Miller
cd7366ca8d
removed unused stuff
2016-02-05 12:35:21 -07:00
Andy Miller
63812cc6b1
Use strict boolean compare
2016-02-05 12:26:29 -07:00
Andy Miller
de9b6df2c7
removed TODOs..
2016-02-05 12:17:08 -07:00
Andy Miller
990663cd60
use ConsoleCommand
2016-02-05 12:11:57 -07:00
Flavio Copes
7953271265
Linting fixes
2016-02-05 18:01:28 +01:00
Andy Miller
b6c289067f
Translations from crowdin
2016-02-04 16:22:32 -07:00
Andy Miller
82a5afa732
Fixed an issue in code and in the tests for untouched image file locations
2016-02-03 12:48:22 -07:00
Andy Miller
72836982e6
various fixes for broken tests
2016-02-02 22:45:42 -07:00
Andy Miller
d12c8b10a2
Merge branch 'feature/converturl-rewrite' into develop
2016-02-02 22:02:21 -07:00
Andy Miller
b208ced437
various fixes
2016-02-02 22:01:56 -07:00
Andy Miller
c4e72819a6
various improvements to image handling .. still some places to fix
2016-02-02 18:48:39 -07:00