Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy to production #3719

Merged
merged 260 commits into from
Aug 17, 2023
Merged

deploy to production #3719

merged 260 commits into from
Aug 17, 2023

Conversation

carlobeltrame
Copy link
Member

No description provided.

DeNic0la and others added 30 commits June 11, 2023 19:05
…ing a separate network request for each day)
We want to use the swiss specific locale for the moment. If we someday want to allow other values, then I would suggest making this a setting in the profile.
Closes #3582
chore: add filter to query for all dayResponsibles of a period
Co-authored-by: Bacluc <lucius.bachmann@gmx.ch>
renovate bot and others added 21 commits August 14, 2023 08:02
After fixing the psalm errors and an update of phpstan,
we have now phpstan errors.

This fixes the following errors:
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------
  Line   State/ContentNode/ContentNodePersistProcessor.php
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------
  24     Access to an undefined property App\Entity\BaseEntity::$parent.
         💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
  25     Access to an undefined property App\Entity\BaseEntity::$parent.
         💡 Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
  28     Method App\State\ContentNode\ContentNodePersistProcessor::onBefore() should return T of App\Entity\ContentNode but returns App\Entity\BaseEntity.
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------
  Line   State/Util/AbstractPersistProcessor.php
 ------ -------------------------------------------------------------------------------------
  72     PHPDoc tag @return with type T is not subtype of native type App\Entity\BaseEntity.
         💡 Write @template T of App\Entity\BaseEntity to fix this.
 ------ -------------------------------------------------------------------------------------
Instead of deprecated Symfony\Component\Security\Core\Security.
We never want to delete the data in prod.
And if we want to, we can copy the code from the dev-data directory.
…of getNormalizerCollection

Psalm and phpstan don't aggree on the type, psalm is a little
stricter and considers the number of elements in the collection.
/**
* @phpstan-return  ArrayCollection<int, AbstractConstraintViolationListNormalizer>
*
* @psalm-return ArrayCollection<int<0, 1>, AbstractConstraintViolationListNormalizer>
*/
I would say it leads to less maintenance if we remove the type,
and both phpstan and psalm can infer the type.
* e2e: run lint and add check

Use shared .prettierrc from root.
docker compose run --rm --entrypoint="npm run lint" e2e
Remove eslintrc conflicting with the eslint config in package.json.
Add check in CI.

* e2e: add commands for dependency management to README.md

* e2e: separate xhost setup and start in README.md

That you can run the README shell snippet 'xhost local:root'
directly from the IDE.

* e2e: add eslint-plugin-cypress
TranslationConstraintViolationListNormalizer: remove type annotation …
Persist dashboard filters in query params
@carlobeltrame
Copy link
Member Author

/fast-forward

@BacLuc BacLuc merged commit 6709f54 into prod Aug 17, 2023
103 of 106 checks passed
@BacLuc BacLuc temporarily deployed to prod August 17, 2023 11:22 — with GitHub Actions Inactive
@carlobeltrame carlobeltrame temporarily deployed to prod August 17, 2023 11:22 Destroyed
@carlobeltrame carlobeltrame temporarily deployed to pr3987 October 21, 2023 08:21 Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants