Comments (5)
@Apfelwurm I've meant something like https://www.man7.org/linux/man-pages/man1/timeout.1.html
You could do timeout 10s fdroidcl update
from fdroidcl.
The default timeouts apply; see https://golang.org/pkg/net/http/#RoundTripper. For example, dialing stops after 30s, and the TLS handshake has 10s. There's no timeout on downloading the request body; otherwise, downloading a very large APK over a slow connection could error.
I agree that not reporting progress isn't ideal, but this is not an interactive tool. I think the underlying issue here is that f-droid.org can be very slow at times.
from fdroidcl.
Okay then. I'll set global timeout in my script, given that I know how long update usually takes.
I agree that main use for fdroidcl is in non-interactive scenarios. But if you'll implement progress display like wget does it'll be nice.
70%[=======================> ] 615.76K 886KB/s
from fdroidcl.
@sarg how did you set the global timeout? I've searched many times now and didn't find anything that would not involve code changes
from fdroidcl.
well, some things can be so simple :'D Thank you very much!
from fdroidcl.
Related Issues (20)
- Version code & name often incorrect - matching spurious other numbers HOT 3
- Enhance install -u with ability to exclude an app and jump if error HOT 4
- syntax error: unexpected o755, expecting comma or ) HOT 1
- Mismatch between download and installed apk ABI? HOT 2
- Looking for new contributors or maintainers HOT 7
- Feature Request: Clean apks on hard drive HOT 1
- Add option to add more/custom/privaye repositories to app directly from cli HOT 2
- Debian 10: "devices: could not get devices: failed to get device ABIs" HOT 8
- F-Droid Client Problem - IVPN App Installation Version Conflict HOT 1
- [Support] How do I install a package that needs root? HOT 2
- Debian Bookworm does not install apps HOT 3
- support older SDK install HOT 8
- allow to reinstall app signed with different key HOT 3
- fals positive? (Win10/defender Trojan:Script/Wacatac.H!ml) HOT 1
- Option to install list of apps, comma-separated HOT 1
- Support for the "New repository format for faster and smaller updates"
- Respect ANDROID_SERIAL env var
- fdroid readmeta 2023-09-09 16:26:48,342 CRITICAL: '4' is not a valid Archive Policy in com.app.missednotificationsreminder. Regex pattern: ^[0-9]+ versions$ HOT 3
- Update apps - Ignore a list of app id and proceed with installation of other apps when there is an error HOT 3
- [Feature Idea] Blacklist Apps HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fdroidcl.