-
Notifications
You must be signed in to change notification settings - Fork 34
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
Remove .jl extension #100
Remove .jl extension #100
Conversation
would prefer to maintain 0.5 support here |
Seems like a trivial function to just include here instead of using a internal function in Base. |
Yea, that's a good idea. |
c641db2
to
a1f4a9d
Compare
@@ -174,10 +178,10 @@ end""" | |||
Pkg.add("Example") | |||
io = IOBuffer() | |||
f = PkgDev.freeable(io) | |||
@test !(any(f .== "Example") || contains(takebuf_string(io), "Example")) | |||
@test !(any(f .== "Example") || contains(String(take!(io)), "Example")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this'll need Compat min version to be raised to 0.9.5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
a1f4a9d
to
7cfe5ba
Compare
test/runtests.jl
Outdated
@testset "generating a package with .jl extension" begin | ||
PkgDev.generate("PackageWithExtension.jl", "MIT", config=Dict("user.name"=>"Julia Test", "user.email"=>"[email protected]")) | ||
@show keys(Pkg.installed()) | ||
@test in("PackageWithExtension", [keys(Pkg.installed())...]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't need to collect the key iterator into an array; @test "PackageWithExtension" in keys(Pkg.installed())
should be fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied from the test above, but I realize now that the other test collects to make sure thats the only installed package. Will update!
Travis nightlies:
AV timed out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. I'm inclined to say that the nightly failures are unrelated.
Could just restart, doesn't take long. |
I can't restart AppVeyor since that runs on Art's personal account, so I'll close and reopen to retrigger all CI. |
Looks like this is passing on nightly (at least as of this writing it's passed on Linux nightly), so unless there are any objections I'll merge once CI is green. |
appveyor isn't running on release, should be sure that's the case |
Should be sure what's the case? Also it seems 32-bit AppVeyor is likely to time out; it's doing the coverage freakout thing that it seems to do on occasion. |
that appveyor is running against release julia |
AV is only set up to run on nightly: https://github.com/JuliaLang/PkgDev.jl/blob/master/appveyor.yml So we should add 0.5 to the AV yaml then restart this? |
This? diff --git a/appveyor.yml b/appveyor.yml
index 324b423..d09642a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,10 +1,13 @@
environment:
matrix:
+ - JULIAVERSION: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
+ - JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
branches:
only:
+ - /release-.*/
- master
notifications: |
#102. No need to add the branch |
Ah, nice. |
Julia 0.5 has been added to the AppVeyor setup, so I'll retrigger all CI again. |
Let's re trigger now that AWS S3 are up. |
Nightly AppVeyor failure is #103. |
ref JuliaLang/julia#20630 (comment)
requires JuliaLang/julia#20681