Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto generate the package definition after any update #45

Closed
ludofleury opened this issue Jan 29, 2016 · 9 comments
Closed

Auto generate the package definition after any update #45

ludofleury opened this issue Jan 29, 2016 · 9 comments
Assignees

Comments

@ludofleury
Copy link
Collaborator

No description provided.

@kevindierkx
Copy link
Contributor

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

@ramunasd
Copy link
Collaborator

ramunasd commented Feb 9, 2016

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.

@ramunasd ramunasd self-assigned this Feb 9, 2016
@kevindierkx
Copy link
Contributor

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.

@ramunasd
Copy link
Collaborator

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

@cumuru
Copy link

cumuru commented Jun 22, 2018

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

@ramunasd
Copy link
Collaborator

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

./bin/console satisfy:rebuild

Good luck!

@cumuru
Copy link

cumuru commented Jun 27, 2018

@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.

@ramunasd
Copy link
Collaborator

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

@cumuru
Copy link

cumuru commented Jun 28, 2018

Yep, will do so :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants