Overview for 'tomasvotruba'
Written by Tomáš Votruba
/ Original link
on Nov. 2, 2020
Splitting monorepo is a trivial operation of getting some code to some repository. Unless your take into rocket science like Symplify does. It is slow, complicated, and doesn't work on GitHub, where the open-source lives.
Written by Tomáš Votruba
/ Original link
on Oct. 31, 2020
With an array, it's mission impossible. What about intuitive methods on simple value object? You'd expect such package to exist in PHP world - but there is none. So we made an object wrapper that handles all your worries: /** @var \Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composer…
Written by Tomáš Votruba
/ Original link
on Oct. 26, 2020
Today I was making a new package that handles 1-click scoping for monorepo packages. I created this command: use Symfony\Component\Console\Command; final class GenerateWorkflowCommand extends Command { } The hard question: how would you name it? bin/console ? bin/console generate bin/console genera…
Written by Tomáš Votruba
/ Original link
on Oct. 19, 2020
Note: following feature will be available in Symplify 9, that will be released along with Symfony 5.2. Monorepo split testing is made easier by symplify/monorepo-builder package. This is how it "works" for Composer 1. Why "works"? There are 2 problems, that we fix during upgrade to Composer 2. Let'…
Written by Tomáš Votruba
/ Original link
on Oct. 12, 2020
...and let them opened for ages... no, just kidding. Don't forget to Merge But if you already accepted the pull-request, the issues are resolved, you still have to wait for CI to finish with green. If you're lucky, it's under 3 minutes, if you're open source 5-8 minutes and with private project 5-3…
Written by Tomáš Votruba
/ Original link
on Oct. 5, 2020
"3 developers try to find one static method they can safely change." Where is the end of it? Where to start? Yay, we found one static method that seems independent on others. Let's send pull-requests for review. Later that day, on code review... "Well, it depends on one more method. Let's refactor…