oasisprotocol / oasisprotocol/oasis-core
Support Offline Development
Open
Nobody has claimed this yet.
c:build
p:2
s:good first issue
- Dominant language
- Go
- Stars
- 369
- Forks
- 151
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
currently, when resuming a development session, each time docker is restarted (e.g. a computer restart) requires re-download of packages and an active network connection.
root@7ce835be1769:/code# cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
warning: spurious network error (2 tries remaining): curl error: Couldn't resolve host 'github.com'
; class=Net (12)
warning: spurious network error (1 tries remaining): curl error: Couldn't resolve host 'github.com'
; class=Net (12)
error: failed to fetch `https://github.com/rust-lang/crates.io-index`
root@7ce835be1769:/code# cargo build --frozen
error: attempting to make an HTTP request, but --frozen was specified
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the Docker development setup and reproducing the issue with cargo build after restarting Docker without network access. Compare it with cargo build --frozen; done means a resumed development session builds without an active connection or re-downloading packages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, rust
- Domain
- build-system, developer-experience, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100