-
Notifications
You must be signed in to change notification settings - Fork 6
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
- First version of asigra hotfix / update script #8
base: master
Are you sure you want to change the base?
Conversation
miwi-fbsd
commented
Jun 13, 2019
- Script check the index file for new updates
- If update available download and auto install
- Cron is not enabled yet till we have test feedback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems we are tackling this the wrong way.
Updating packages behind the users back is confusing to say the least.
We should be adding these as ports in iocage ports repo and make the plugin version come from one of these ports/packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, this is what postupgrade.sh is for. Let's use the correct mechanisms.
@william-gr Agree that probably ports for the ds-system / ds-operator files makes sense. However what about DS-Client? Those are 3.6GB! in size and not sure we want to require that to be installed at plugin install time? |
@kmoore134 yes, I meant it only for those. The DS-Client can/should be done in background |
-O $UPDATE/$i \ | ||
--fail-early \ | ||
--connect-timeout 5 \ | ||
--max-time 300 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
300 seconds is enough to download 3.6GiB?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, thats always dependents on network and location (home or dc), do you think 1200 sec (20 min) would be a good time ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try 2 hours. 10mbit/s connections are still popular around the world.