-
Notifications
You must be signed in to change notification settings - Fork 52
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
Provide a way to recreate containers #27
Comments
We have a solution for re-creation of the containers in the PR above but it's not clear if re-creations also mean re-sync or not. |
how to avoid refresh on restartgitcollectorgitcollector support
ghsync
result
agree? @se7entyse7en @carlosms |
Another option is to call it "update". So it can be used for update from a manual change in docker-compose.yml or after a user downloads new binary (we will need to add logic to check that docker-compose.yml matches binary version) |
Your proposal makes sense. Especially to make the ghsync and gitcollector behavior as close as possible. What you describe does not only affect this new
The result is that the dashboards will show inconsistent data from gitbase and metadata. |
yes. Init and up/restart/update should work absolutely the same. Let's agree on the name then and I'll refactor the PR with these changes. |
I'd prefer Should we treat the gitcollector - ghsync difference on restart something independent to this command, and open an issue somewhere to discuss it further? |
do you propose implementing |
I vote for |
Anyway, the PR is updated according to the discussion. |
What I meant is that #83 initially was proposed as a way to do 2 things: recreate the containers + refresh the data in the future. In here we agreed to make ghsync & gitcollector work in a similar way: if the container is restarted and in a previous run it finished the download, this time it should not look for updates or new repositories. So if we rework #83 it will still have partial gicollector refresh, it will try to download new repositories. By
What I mean is that probably it makes sense to go ahead with it and not block |
Ah. I see. Thank you for the explanation. With d3ff64a the only update that would happen is downloading new repositories which doesn't happen often. I don't think we should block because of it. |
From #20 (review)
@smacker said:
Our wrapper for
docker-compose up
isinstall/init
. But it requires an argument with the working directory.So right now we don't have a command for "run
docker-compose up
without changing the current workdir".This should be discussed in the next team meeting.
Maybe we just need to add a
sourced up
command in addition to the currentsourced install/init
.The text was updated successfully, but these errors were encountered: