Is offline
mode really offline?
#3205
Replies: 11 comments
-
The message is printed independently, offline only means that the |
Beta Was this translation helpful? Give feedback.
-
So, why does it contact update sites for |
Beta Was this translation helpful? Give feedback.
-
What do you mean by "forced"? All files (including |
Beta Was this translation helpful? Give feedback.
-
If you see above it says "update mode: forced". In general, I was asking if there's a way to have a full offline mode, where no remote site is contacted (like maven offline mode). |
Beta Was this translation helpful? Give feedback.
-
That's a different topic, and cause because you passing Regardless of that if you see "Downloading from p2" this does not imply the server is really contacted physically. |
Beta Was this translation helpful? Give feedback.
-
You're right about I still see downloading the
So, unless the INFO message is misleading it looks like the server is really contacted physically. Or can I assume it is not contacted? |
Beta Was this translation helpful? Give feedback.
-
How do you "see" downloads?
As said if you specify |
Beta Was this translation helpful? Give feedback.
-
By the way if you think message should be suppressed in offline we can certainly do that, just propose a PR for that. |
Beta Was this translation helpful? Give feedback.
-
See the end of the second line:
The
I was thinking of Maven behavior when offline: of course it fails as you said, but it does not even try to establish a network connection. The INFO message above seems to imply a network connection. |
Beta Was this translation helpful? Give feedback.
-
Best is to try locally with real offline and pass |
Beta Was this translation helpful? Give feedback.
-
@laeubi OK, I'll investigate further. However, in the meantime, I noted that in other projects (with Tycho 4.0.4) I don't see any logging about p2 bundles being downloaded (in the project where I noted the original issue instead I see the logging); is there any specific configuration to enable logging? I'm quite sure in the project where I see logging I haven't configured anything specific... |
Beta Was this translation helpful? Give feedback.
-
I've just migrated to Tycho 4.0.4 and in my GitHub Actions workflow, when I get a cache hit, I set the Maven option
--offline
. I the log I can seeSo it's being
offline
, but then I can seeSo it looks like it's not really offline?
Am I missing something? Or is it the expected behavior?
thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions