Giter Site home page Giter Site logo

Comments (9)

kevindierkx avatar kevindierkx commented on July 22, 2024

Is this really required when you use something like a cron that runs the build every minute?

from satisfy.

ramunasd avatar ramunasd commented on July 22, 2024

I have one script for auto rebuild when config is updated or some time passed after last update. I just need to convert it to console command.

from satisfy.

kevindierkx avatar kevindierkx commented on July 22, 2024

Still what is the added benefit of some extra logic instead of just using the cron?
The end result would be the same and doesn't require the application to keep track of the last update and making the whole update process less complex.
Besides I don't wan't to access the web interface before I run a composer update to make sure I got the latest changes for my packages.

from satisfy.

ramunasd avatar ramunasd commented on July 22, 2024

@kevindierkx everything is simple - if You don't see any benefit then just don't use it :)

from satisfy.

cumuru avatar cumuru commented on July 22, 2024

@ramunasd Can you provide any code on how you use the console command? How is it triggered?

from satisfy.

ramunasd avatar ramunasd commented on July 22, 2024

@cumuru Sure, what You need is just one command, inside of project dir run this:

./bin/console satisfy:rebuild

Good luck!

from satisfy.

cumuru avatar cumuru commented on July 22, 2024

@ramunasd Thanks for your answer. I expected there were a way to trigger a rebuild on configuration change. But the console command you mentioned needs to be fired by a cron again, am I getting it right?
What I‘m trying to achieve is to receive a webhook payload from my repository (gitbucket in my case) on push events and update satis (with --repository-url https://only.my/repo.git) once a new repo is added. Unfortunately there‘s no event for the latter, at least I didn‘t find any.

from satisfy.

ramunasd avatar ramunasd commented on July 22, 2024

@cumuru Can You create a new thread for whole webhook/event/trigger issue. We will add it to next milestone ;)

from satisfy.

cumuru avatar cumuru commented on July 22, 2024

Yep, will do so :-)

from satisfy.

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.