Coder Social home page Coder Social logo

Comments (11)

JustBlackBird avatar JustBlackBird commented on August 19, 2024 1

I see several options:

  • use git submodules
  • move regexp file to a separated package and add it to composer dependencies.

from uap-php.

lucky7id avatar lucky7id commented on August 19, 2024

πŸ‘ We have a custom bin location, and had to fork and modify the repo to make the download script to work.

from uap-php.

JustBlackBird avatar JustBlackBird commented on August 19, 2024

@lucky7id I had a problem with CLI script too but it fixed now (see #7).

from uap-php.

lstrojny avatar lstrojny commented on August 19, 2024

The option I would see is to add a sync job to the command line tool that syncs both test resources and regex.json and also creates the php file and commit all three of them. The benefit is that the package works out of the box, a fact I very much like. What I dislike is the fact that we have to actively release a new version once uap-core is updated. Opinions?

from uap-php.

lucky7id avatar lucky7id commented on August 19, 2024

The composer scheme seems workable. Right now it's a very noticeable pain point among our team, having to update that every time.

from uap-php.

lstrojny avatar lstrojny commented on August 19, 2024

The composer package variant would be even more hassle I suppose. I am thinking about having a cronjob that updates the regex.php nightly, runs the unit tests and automatically commits if the tests passed successfully. If not, manual intervention is needed.

from uap-php.

JustBlackBird avatar JustBlackBird commented on August 19, 2024

@lstrojny don't you think that changes of PHP implementation and regexp should be separated?

from uap-php.

lstrojny avatar lstrojny commented on August 19, 2024

@JustBlackBird it would be nicer indeed but we would still need to find a way to auto-update that package whenever uap-core changes + run the tests of uap-php. Given that I’m not sure it’s worth the trouble.

from uap-php.

JustBlackBird avatar JustBlackBird commented on August 19, 2024

@lstrojny may be you are right. I'm only afraid of rapid increasing of the package's patch version.

from uap-php.

lstrojny avatar lstrojny commented on August 19, 2024

@JustBlackBird let’s see how it goes. Closing the issue for now.

from uap-php.

JustBlackBird avatar JustBlackBird commented on August 19, 2024

@lstrojny Thank you!

from uap-php.

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.