Permalink
Browse files

COM-20088: Support Gitlab API for package description (ezsystems#156)

* COM-20088: Support Gitlab API for package description

https://jira.ez.no/browse/COM-20088
  • Loading branch information...
ciastektk authored and damianz5 committed Feb 8, 2019
1 parent f3a895a commit c3810402cf25752d602daae5be828768a7749811
Showing with 495 additions and 10,479 deletions.
  1. +4 −4 app/config/services/service.yml
  2. +2 −1 composer.json
  3. +0 −10,350 composer.lock
  4. +14 −0 src/AppBundle/AppBundle.php
  5. +21 −21 src/AppBundle/Command/UpdatePackageListCommand.php
  6. +40 −0 src/AppBundle/DependencyInjection/Compiler/PackageRepositoryProviderCompilerPass.php
  7. +30 −0 src/AppBundle/DependencyInjection/Compiler/RegisterTagCompilerPass.php
  8. +14 −2 src/AppBundle/Service/GitHub/GitHubServiceProvider.php
  9. +127 −0 src/AppBundle/Service/GitLab/GitLabServiceProvider.php
  10. +34 −27 src/AppBundle/Service/Package/PackageService.php
  11. +64 −0 src/AppBundle/Service/PackageRepository/PackageRepositoryProviderStrategy.php
  12. +5 −1 ...epository/{PackageRepositoryServiceInterface.php → PackageRepositoryServiceProviderInterface.php}
  13. +2 −0 src/AppBundle/Tests/Validator/Constraints/AbstractConstraintValidator.php
  14. +2 −0 src/AppBundle/Tests/Validator/Constraints/PackageCategoryIdConstraintTest.php
  15. +2 −0 src/AppBundle/Tests/Validator/Constraints/PackageCategoryIdConstraintValidatorTest.php
  16. +2 −0 src/AppBundle/Tests/Validator/Constraints/PackageDbNotExistsConstraintTest.php
  17. +48 −20 src/AppBundle/Tests/Validator/Constraints/PackageDbNotExistsConstraintValidatorTest.php
  18. +4 −16 src/AppBundle/Tests/Validator/Constraints/PackagistUrlConstraintValidatorTest.php
  19. +8 −8 src/AppBundle/Tests/ValueObject/RepositoryMetadataTest.php
  20. +2 −0 src/AppBundle/Validator/Constraints/PackageCategoryIdConstraint.php
  21. +2 −0 src/AppBundle/Validator/Constraints/PackageCategoryIdConstraintValidator.php
  22. +2 −0 src/AppBundle/Validator/Constraints/PackageDbNotExistsConstraint.php
  23. +4 −10 src/AppBundle/Validator/Constraints/PackageDbNotExistsConstraintValidator.php
  24. +2 −0 src/AppBundle/Validator/Constraints/PackagistUrlConstraint.php
  25. +4 −10 src/AppBundle/Validator/Constraints/PackagistUrlConstraintValidator.php
  26. +56 −9 src/AppBundle/ValueObject/RepositoryMetadata.php
@@ -20,8 +20,8 @@ services:
arguments:
$authenticationToken: '%env(GITHUB_TOKEN)%'

GitHub\Client:
class: Github\Client
Github\Client: ~

EzSystems\EzPlatformAdminUi\UI\Dataset\ContentDraftsDataset:
class: EzSystems\EzPlatformAdminUi\UI\Dataset\ContentDraftsDataset
Gitlab\Client: ~

EzSystems\EzPlatformAdminUi\UI\Dataset\ContentDraftsDataset: ~
@@ -70,7 +70,8 @@
"netgen/tagsbundle": "^3.0",
"knplabs/github-api": "^2.10",
"symfony/dom-crawler": "3.4.20",
"php-http/guzzle6-adapter": "^1.1"
"php-http/guzzle6-adapter": "^1.1",
"m4tthumphrey/php-gitlab-api": "^9.11"
},
"require-dev": {
"behat/behat": "^3.5.0",
Oops, something went wrong.

0 comments on commit c381040

Please sign in to comment.