#18162 closed enhancement (fixed)
Disable various updates using --offline=CACHE_UPDATES
| Reported by: | simon04 | Owned by: | simon04 |
|---|---|---|---|
| Priority: | normal | Milestone: | 20.05 |
| Component: | Core | Version: | |
| Keywords: | sotm19 offline | Cc: | flohoff |
Description
On slow internet connections, one would like to not fetch any updates. This includes plugins, imagery backgrounds, custom styles (especially their icon sets), presets, etc.
Specifying --offline=updates should not ask for or perform any updates. CachedFile should give the cached version w/o determining whether it's still up-to-date. The goal is to avoid unnecessary network traffic when JOSM is started with this option.
This is similar to --offline=josm_website, but user initiated network access (such as help) should not be disabled.
Attachments (0)
Change History (7)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
| Milestone: | → 20.05 |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
| Summary: | Disable various updates using --offline=updates → Disable various updates using --offline=CACHE_UPDATES |
NetworkManager and OnlineResource are working together so nicely. Thus, I'll be (a bit mis)using --offline for this purpose.
$ java -jar josm-latest.jar --offline=CACHE_UPDATES 2020-05-16 21:54:42.905 WARNING: JOSM is running in offline mode. This resource will not be available: Cache updates 2020-05-16 21:54:44.754 WARNING: Cache update for https://josm.openstreetmap.de/maps not available (offline mode)
follow-up: 6 comment:4 by , 6 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
The man page needs to be adjusted, too.
comment:6 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |



I'm not sure if
--offlines=updatesis the right way to do it or if we should create a new parameter (--no-updates?). Theofflinevalue is more a functional download source rather than a technical mode.