Skip to content
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

replace build.jl by Artifacts.toml #3023

Merged
merged 3 commits into from
Oct 2, 2020
Merged

replace build.jl by Artifacts.toml #3023

merged 3 commits into from
Oct 2, 2020

Conversation

BeastyBlacksmith
Copy link
Member

I'm still a bit shaky if that really works out. So if someone could test this branch, who uses this feature, I would be happy.

Fix: #1783

@codecov
Copy link

codecov bot commented Oct 2, 2020

Codecov Report

Merging #3023 into master will decrease coverage by 0.00%.
The diff coverage is 25.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3023      +/-   ##
==========================================
- Coverage   62.27%   62.27%   -0.01%     
==========================================
  Files          25       25              
  Lines        6397     6399       +2     
==========================================
+ Hits         3984     3985       +1     
- Misses       2413     2414       +1     
Impacted Files Coverage Δ
src/Plots.jl 35.48% <ø> (ø)
src/init.jl 72.41% <25.00%> (-5.37%) ⬇️
src/layouts.jl 61.29% <0.00%> (+0.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8222b4...bcbc105. Read the comment docs.

@daschw
Copy link
Member

daschw commented Oct 2, 2020

What exactly should be tested? If plotly works when building with this branch?

Copy link
Member

@daschw daschw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me, also with ENV["PLOTS_HOST_DEPENDENCY_LOCAL"] = "true"

@BeastyBlacksmith
Copy link
Member Author

I don't really know when this environment variable is actually used... I guess it might be an IJulia thing. Building shouldn't be necessary anymore.

@daschw
Copy link
Member

daschw commented Oct 2, 2020

Yes, works for me also in IJulia with ENV["PLOTS_HOST_DEPENDENCY_LOCAL"] = true.

@BeastyBlacksmith
Copy link
Member Author

Great, thanks for checking!

@BeastyBlacksmith BeastyBlacksmith merged commit efb5816 into master Oct 2, 2020
@KristofferC
Copy link
Contributor

nice!

@fredrikekre
Copy link
Contributor

I am pretty sure this does not work; artifact downloads has to be .tar.gz?

use_local_dependencies[] = isfile(plotly_local_file_path) && use_local_plotlyjs[]
if use_local_plotlyjs[] && !isfile(plotly_local_file_path)
@warn("PLOTS_HOST_DEPENDENCY_LOCAL is set to true, but no local plotly file found. run Pkg.build(\"Plots\") and make sure PLOTS_HOST_DEPENDENCY_LOCAL is set to true")
if get(ENV, "PLOTS_HOST_DEPENDENCY_LOCAL", "false") == true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This path is never taken, since what you get back is a the string "true" if you have set it to that, so that is never == true

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed that in #3067

@BeastyBlacksmith
Copy link
Member Author

I am pretty sure this does not work; artifact downloads has to be .tar.gz?

From JuliaLang/Pkg.jl#1921 and the iris exampe I got the impression it does work this way, if I don't use the artifact string macro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is the build script still needed?
4 participants