Comments (16)
Something's not right... v1.2.0
and v1.2.1
are tagged on master
, while v1.2.2
is tagged on 1.x
(and points to the same commit as v1.1.0
), while in the release notes it says that it contains #48, which however was merged into master
and not into 1.x
.
So when users run composer update
, they lose the changes from master that were already in v1.2.0
and v1.2.1
.
What should have been done instead is to merge 1.x
into master and release this as v1.2.2
, I suppose.
from console-parallelization.
I agree
Actually https://github.com/webmozarts/console-parallelization/blob/master/composer.json#L18 is causing the composer conflict now.
from console-parallelization.
@theofidry any updates on that, actually it would be quite urgent 😐 Thanks in advance!
from console-parallelization.
Agreed the console path detection could be better, I don't like the current one either
from console-parallelization.
@theofidry What if we move that line
https://github.com/webmozarts/console-parallelization/blob/1.x/src/Parallelization.php#L379
into a separate method? I can provide a PR if you agree...
from console-parallelization.
that would make sense 👍
from console-parallelization.
that would make sense 👍
Done.
from console-parallelization.
Closed via #43
from console-parallelization.
Hi @theofidry,
Is there a reason this was dropped in 1.2.x?
from console-parallelization.
Hi @theofidry,
Is there a reason this was dropped in 1.2.x?
I think in 1.2.1. you tagged based on the master, but it should be tagged based on version 1.x?
The method is important as it is overriden in Pimcore.
from console-parallelization.
Sorry for the late response, indeed I tagged the wrong branch corrected with 1.2.2
from console-parallelization.
@theofidry are you going to fix the v1.2.2
release, or should we add a conflict to our composer.json
?
"conflict": {
"webmozarts/console-parallelization": "1.2.2",
from console-parallelization.
I'll try to have a look next week I'm a bit under water atm
from console-parallelization.
Ok looks like things got quite messed up: quite a bit of work was introduced on master and master was accidentally released as 1.x. I'll merge back master to 1.x and do a new release. Technically this is introducing BC breaks but given the relatively low usage and because that problematic release has been out for so long I think it's an acceptable solution
from console-parallelization.
@theofidry Thanks a lot for looking into this, just tested and I can confirm all works now. 👍
from console-parallelization.
As of 2.x, by default the current script path will be taken instead of $cwd/bin/console
which be more robust and also work outside of a Symfony context.
from console-parallelization.
Related Issues (20)
- Roadmap? HOT 1
- Better solution for the "item" - argument? HOT 2
- Pipe breaks when quotes are used in input options
- Plans for v2 HOT 1
- Auto-detect the number of processes
- Always use a sub-process; add no-parallel option HOT 1
- Add options to change the segment size or batch size on the fly
- Add stop-on-failure option
- Configuration calculation may result in an exception if there is no items
- [2.x] Some resources are missing HOT 4
- Limit the exit code to 255
- Incorrect error message HOT 1
- Make it easier to override getParallelExecutableFactory()
- Add a utility decorator logger
- Add a logger to log the item handling to an arbitrary logger HOT 1
- Error when $_SERVER['PWD'] is not set HOT 7
- Documentation for ::getParallelExecutableFactory HOT 3
- Error when the server script name is an absolute path HOT 4
- Consider run before/last segment API
- Make the item argument name configurable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from console-parallelization.