Code Monkey home page Code Monkey logo

Comments (11)

djoudi avatar djoudi commented on August 16, 2024 4

i try to upgrade it :)

from cloner.

weotch avatar weotch commented on August 16, 2024 1

Probably not in the short term but happy to take PRs or add a new maintainer if someone wants to contribute.

from cloner.

ihorvorotnov avatar ihorvorotnov commented on August 16, 2024 1

I just bumped version constraints in both cloner and upchuck packages, pointed composer to my forks and was able to upgrade to Laravel 6. However, some updates in tests were required as well.

I use cloner in Laravel Nova to handle resource cloning, tested here and there - seems to work perfectly fine with L6.

from cloner.

djoudi avatar djoudi commented on August 16, 2024 1

#27

from cloner.

weotch avatar weotch commented on August 16, 2024 1

I released this as 3.5.0, thanks @djoudi.

Also, if anyone wants to get involved as a maintainer, lemme know and I'll add you to the project.

from cloner.

denisdulici avatar denisdulici commented on August 16, 2024 1

@weotch it seems you forgot to merge the pr #27

from cloner.

ultrono avatar ultrono commented on August 16, 2024

I just bumped version constraints in both cloner and upchuck packages, pointed composer to my forks and was able to upgrade to Laravel 6. However, some updates in tests were required as well.

I use cloner in Laravel Nova to handle resource cloning, tested here and there - seems to work perfectly fine with L6.

Spot on, I'm looking at https://github.com/ihorvorotnov/cloner/commits/master.

it may be worth specifying versions restraints like https://github.com/owen-it/laravel-auditing/blob/master/composer.json#L42-L46 - this way you can allow version 5.8 and 6.0.

It a shame that forks are required for smaller packages like this, as Laravel 6 is a LTS release.

I guess for the time being forks are required :(

from cloner.

ihorvorotnov avatar ihorvorotnov commented on August 16, 2024

@ultrono Yeah, I used most recent versions just to test whether it'll work with L6 out of the box, without any actual code changes. Went through L6 upgrade guide and checked for usage of changed methods etc - didn't find anything within the package code so I'm assuming it's a matter of versions bump only.

Giving it another day or two for my editors to test the cloning functionality on a real project, if anything goes wrong - they'll let me know. If not - will update versions with alternatives and submit PRs to both packages.

Worth mentioning that tests are actually broken (apart from using long deprecated PHPUnit_Framework_TestCase), but there's a separate issue/PR trying to address this so I'll probably skip it in my PRs.

Also, one more thing - the package uses (outdated) satooshi/php-coveralls which is deprecated and should be replaced with php-coveralls/php-coveralls. However, that should be handled in a separate PR too I believe.

from cloner.

ultrono avatar ultrono commented on August 16, 2024

@ultrono Yeah, I used most recent versions just to test whether it'll work with L6 out of the box, without any actual code changes. Went through L6 upgrade guide and checked for usage of changed methods etc - didn't find anything within the package code so I'm assuming it's a matter of versions bump only.

Giving it another day or two for my editors to test the cloning functionality on a real project, if anything goes wrong - they'll let me know. If not - will update versions with alternatives and submit PRs to both packages.

Worth mentioning that tests are actually broken (apart from using long deprecated PHPUnit_Framework_TestCase), but there's a separate issue/PR trying to address this so I'll probably skip it in my PRs.

Also, one more thing - the package uses (outdated) satooshi/php-coveralls which is deprecated and should be replaced with php-coveralls/php-coveralls. However, that should be handled in a separate PR too I believe.

Great stuff. Have just pulled down your updates into a vanilla Laravel 6 project. Cloning simple models and models with multiple relations worked great 👍

from cloner.

ultrono avatar ultrono commented on August 16, 2024

Actually, not sure of it's just myself but the changes aren't present on packagist or the main repository i.e. https://github.com/BKWLD/cloner/blob/master/composer.json#L13 vs Laravel 6 support from #27 at

"illuminate/support": "^5.5|^6.0"

from cloner.

djoudi avatar djoudi commented on August 16, 2024

i don't see the change at 3.5.0 release

from cloner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.