Comments (6)
dub fetch [email protected]
dub run [email protected]
and add-local beforehand and using dub run [email protected]
should also work, did it not?
from dub.
dub fetch [email protected]
How to do this step without Internet access, if we have a copy of the package?
from dub.
no need to run it at all, just only do the add-local one and it should work.
from dub.
Sorry, I don't understand what you mean. It doesn't work.
$ mkdir some-temp-directory && cd some-temp-directory
$ wget https://code.dlang.org/packages/dpp/0.5.5.zip
...
$ unzip 0.5.5.zip
...
$ HOME=$PWD dub add-local dpp-0.5.5 0.5.5
Registered package: dpp (version: 0.5.5)
$ HOME=$PWD bwrap --dev-bind / / --unshare-net dub run [email protected]
Warning Package dpp not found for registry at https://code.dlang.org/ (fallbacks registry at https://codemirror.dlang.org/, registry at https://dub.bytecraft.nl/, registry at https://code-mirror.dlang.io/): Failed to download https://code.dlang.org/api/packages/infos?packages=%5B%22dpp%22%5D&include_dependencies=true&minimize=true
Error No package dpp was found matching the dependency 0.5.5
(HOME=$PWD
makes Dub use a fresh ~/.dub
, bwrap --dev-bind / / --unshare-net
effectively disables Internet access)
from dub.
@VPanteleev-S7 : Thanks for the test case. Fix is here: #2787
from dub.
Awesome, thank you!
from dub.
Related Issues (20)
- Dub might be preventing my package from being recognized HOT 4
- dub describe --data=import-paths includes non import related information
- dub describe --data=dflags outputs duplicate dflags HOT 2
- `dub init` colors are broken on cmd HOT 1
- Dub does not show verbose output for projects with preBuildCommand HOT 2
- `dub add` breaks `~>x.0` dependency specification
- Platform filters may have a surprising behavior when cross compiling using --arch
- Dub relinks project that have path-only dependencies
- object files listed in sourceFiles are ignored when building a static library
- Cannot cache build in the presence of `__FILE_FULL_PATH__` HOT 1
- project.dependencies is missing dependencies HOT 1
- Regression / AssertError in cacheArtifactPath
- {pre,post}{Build,Generate}Commands should have optional input and output parameters
- report better error message instead of : Could not resolve configuration for package demo
- Subcommand for installing binaries HOT 2
- looks like 1.37.0 release was not completed HOT 2
- Hard to understand error when compiler is not last element of specification
- Failed to download package gamut from https://code.dlang.org/packages/gamut/2.0.9.zip HOT 2
- Erased version specification for dependency, converted to "" instead of ">0.0.0" HOT 2
- Misleading error message when Curl not found.
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 dub.