-
-
Notifications
You must be signed in to change notification settings - Fork 32
Add requests library to the Projects Tester #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for your pull request, @wilzbach! |
|
Performing "unittest" build using /var/lib/jenkins/dlang_projects@3/distribution/bin/dmd for x86_64. Is it problem with dlang-requests or with vibed-utils? I can't reproduce this problem on my ubuntu. |
|
This is a problem with dmd-nightly. You need vibe.d 0.8.3-alpha.1 for a fixed vibe.d. |
|
Tag v0.7.1 added. Is it what you expected? |
6a60290 to
22bac55
Compare
|
Yes. Thanks! Force-pushed to restart the CI. |
Oh sorry. I replied to eagerly. https://github.com/ikod/dlang-requests/blob/v0.7.1/dub.json DUB won't download alpha releases, but only the latest stable release. This means BTW in case you are interested why this is necessary (i.e. why vibe-d is broken with nightly) -> dlang/phobos#5921 |
|
I'd prefer .travis.yml, but sorry, I don't know how to point out vibe.d version there (and can't find docs or examples). Can you give me some instructions? |
|
One hack - if you don't want to use the Note that your users might run into the same problems with the next dmd release :O |
|
Ok, I made some changes in Here is result: https://travis-ci.org/ikod/dlang-requests/jobs/338944879 I'll remove all custom travis settings later, after next vibed and dmd release. Thanks, PS. I'd like not to add dub.selection.json to my package (I suspect this can hurt some users). |
22bac55 to
6239ace
Compare
Wow. Thanks! https://ci.dlang.io/blue/organizations/jenkins/dlang-org%2Fci/detail/PR-166/3/pipeline/204
How? Could you explain this?
Thanks.
Well, the only thing I am still wondering about is whether we can make the testsuite "soft-fail" on network errors. The Project Tester receives quite some traffic and from my experience, servers aren't always up. The environment variable
What are your thoughts on this? What do you think? |
Sorry, I forgot to create tag. Run it please one more time.
I can be totally wrong, but what happens if someone have application depending on vibe-d ver x.x.x and
Forgot to answer this question, sorry. So, in std http tests I use internal http server, for ftp tests I still use some external ftp servers and this sometimes lead to problems (not too frequent but anyway). For vibe test I use external servers both for http and for ftp. Right solution is, of course, to depend only on internal http and ftp servers, but this require some time, and eventually I will do this.
Yes, of course. I anyway test everything on travis site. Should I change something so that you can test only dub build? |
6239ace to
906bc08
Compare
Yes, that would be best. Well, we have two possibilities.
What do you prefer? BTW I restarted it again:
and that's why |
overwrite .travis.yml :) |
906bc08 to
9813db4
Compare
Done. Let's see ;-) |
9813db4 to
51345ab
Compare
|
Okay I'm going to merge this now as "requests" is imho a very important library in the D ecosystem and this is just using @ikod if you ever get around depending only on internal servers, please let us know and simply send a PR to this file here. Thanks! |
CC @ikod