Thread overview
[Issue 18298] curl high level form wrapper
Feb 03, 2018
Seb
Feb 03, 2018
Seb
Feb 03, 2018
Andre
Feb 05, 2018
Andre
Dec 17, 2022
Iain Buclaw
February 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18298

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12@gmail.com

--- Comment #1 from Seb <greensunny12@gmail.com> ---
This is essentially a WONTFIX.
Use requests: https://github.com/ikod/dlang-requests

We should add a note to the docs though.

--
February 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18298

--- Comment #2 from Seb <greensunny12@gmail.com> ---
PR to the docs: https://github.com/dlang/phobos/pull/6116

--
February 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18298

--- Comment #3 from Andre <andre@s-e-a-p.de> ---
I have a quite uncommon issue with the package "request".

I work for a company which has rules how open source software can be used. Each software component needs to go through an open source process. Also each dependency needs to go through this process. And if the version of a dependency is changed I have to go through this process again.

request has in its standard configuration only 1 dependency. But "dub" build will cause the download also of the dependencies of the vibe.d configuration. In the end, this behavior of dub causes me to go through the process of all none needed dependencies:

Fetching libevent 2.0.2+2.0.16 (getting selected version)...
Fetching diet-ng 1.4.4 (getting selected version)...
Fetching requests 0.6.0 (getting selected version)...
Fetching botan-math 1.0.3 (getting selected version)...
Fetching openssl 1.1.6+1.0.1g (getting selected version)...
Fetching botan 1.12.9 (getting selected version)...
Fetching eventcore 0.8.27 (getting selected version)...
Fetching memutils 0.4.9 (getting selected version)...
Fetching vibe-d 0.8.2 (getting selected version)...
Fetching vibe-core 1.3.0 (getting selected version)...
Fetching libasync 0.8.3 (getting selected version)...
Fetching taggedalgebraic 0.10.9 (getting selected version)...
Performing "debug" build using dmd for x86.
requests 0.6.0: building configuration "std"... <--------- std build

If possible I would like to stay with std.net.curl;)
I would like to call the needed curl functions from my user code but that is
not possible because the access to curl handle is private.
https://forum.dlang.org/thread/udphhtugolfyqjnvkbys@forum.dlang.org

Could the access to this handle be provided from user code?

--
February 05, 2018
https://issues.dlang.org/show_bug.cgi?id=18298

igor.khasilev@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igor.khasilev@gmail.com

--- Comment #4 from igor.khasilev@gmail.com ---
Hello,

What you described is known and annoying problem with dub.

will the problem with requests fixed if I'll provide also Makefile in distribution, so that you can clone proper tag from github and run make?

--
February 05, 2018
https://issues.dlang.org/show_bug.cgi?id=18298

--- Comment #5 from Andre <andre@s-e-a-p.de> ---
(In reply to igor.khasilev from comment #4)
> Hello,
> 
> What you described is known and annoying problem with dub.
> 
> will the problem with requests fixed if I'll provide also Makefile in distribution, so that you can clone proper tag from github and run make?

Hello Igor,

that is really kind of you but unfortunately not possible in my scenario. In full detail:

- I have my dub project in an internal enterprise github repository
- On every push to master branch a CI process (XMake) is triggered
- A d plugin for XMake will build my project using dub build in a standardized
way
- Within this build process, no connection to the internet (code.dlang.org) is
allowed to guarantee always the same build result
- Therefore all dependency needed to be included within a local path of the dub
project

I will check what is the current state of the dub issue. I would prefer a clean straight forward solution.

Kind regards
André

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=18298

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
December 01
https://issues.dlang.org/show_bug.cgi?id=18298

--- Comment #6 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/phobos/issues/10297

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--