symfony-cmf / create-bundle

UNMAINTAINED - Integrates create.js and createphp into Symfony2
http://cmf.symfony.com/
29 stars 31 forks source link

[BUGFIX] Adjust origin repository URL if diverging #167

Closed afoeder closed 6 years ago

afoeder commented 6 years ago

In case a repository is already checked out, an additional verification of the actual origin against the intended one is conducted before pulling or updating.

Besides, the command execution and inherent exception on invalid status is put in an external method.

afoeder commented 6 years ago

I know this is not maintained anymore but it would help our team and deployment tasks.

ElectricMaxxx commented 6 years ago

@afoeder shall i tag a minor version for you? (i would not fetch a not released and not maintained piece of code in production g)

ElectricMaxxx commented 6 years ago

The broken tests are old php versions like hhvm or 5.5. So i will merge.

afoeder commented 6 years ago

@ElectricMaxxx a tag would be perfect since stuff would work for itself then. Maybe you also would like to cherry-pick it to master (if the functionality is still there?) since it would also profit ofc. No tagging needed in that case.