Skip to content

Split default template into multiple templates, simplify interface #41

Split default template into multiple templates, simplify interface

Split default template into multiple templates, simplify interface #41

Triggered via pull request November 25, 2024 22:39
Status Failure
Total duration 2m 8s
Artifacts

CI.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 2 warnings
Julia lts - ubuntu-latest - x64
Process completed with exit code 1.
Julia 1 - ubuntu-latest - x64
Process completed with exit code 1.
Julia lts - macOS-latest - x64
Process completed with exit code 1.
Julia lts - windows-latest - x64
Process completed with exit code 1.
Julia 1 - macOS-latest - x64
Process completed with exit code 1.
Documentation: src/ITensorPkgSkeleton.jl#L177
doctest failure in ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:177-197 ```jldoctest julia> using ITensorPkgSkeleton: ITensorPkgSkeleton; julia> ITensorPkgSkeleton.generate("NewPkg"); julia> ITensorPkgSkeleton.generate("NewPkg"; path=mkdtempdir()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=ITensorPkgSkeleton.default_templates()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ignore_templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ghuser="MyOrg"); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=["ITensors", "ITensorMPS"]); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=[(user="ITensor", repo="ITensors")]); ``` Subexpression: ITensorPkgSkeleton.generate("NewPkg"); Evaluated output: getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] generate(pkgname::String) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:212 [9] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] generate(pkgname::String) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:212 [9] top-level scope @ none:1
Documentation: src/ITensorPkgSkeleton.jl#L177
doctest failure in ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:177-197 ```jldoctest julia> using ITensorPkgSkeleton: ITensorPkgSkeleton; julia> ITensorPkgSkeleton.generate("NewPkg"); julia> ITensorPkgSkeleton.generate("NewPkg"; path=mkdtempdir()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=ITensorPkgSkeleton.default_templates()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ignore_templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ghuser="MyOrg"); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=["ITensors", "ITensorMPS"]); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=[(user="ITensor", repo="ITensors")]); ``` Subexpression: ITensorPkgSkeleton.generate("NewPkg"; path=mkdtempdir()); Evaluated output: ERROR: UndefVarError: `mkdtempdir` not defined in `Main` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. ERROR: UndefVarError: `mkdtempdir` not defined in `Main` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ none:1
Documentation: src/ITensorPkgSkeleton.jl#L177
doctest failure in ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:177-197 ```jldoctest julia> using ITensorPkgSkeleton: ITensorPkgSkeleton; julia> ITensorPkgSkeleton.generate("NewPkg"); julia> ITensorPkgSkeleton.generate("NewPkg"; path=mkdtempdir()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=ITensorPkgSkeleton.default_templates()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ignore_templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ghuser="MyOrg"); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=["ITensors", "ITensorMPS"]); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=[(user="ITensor", repo="ITensors")]); ``` Subexpression: ITensorPkgSkeleton.generate("NewPkg"; templates=ITensorPkgSkeleton.default_templates()); Evaluated output: getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1
Documentation: src/ITensorPkgSkeleton.jl#L177
doctest failure in ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:177-197 ```jldoctest julia> using ITensorPkgSkeleton: ITensorPkgSkeleton; julia> ITensorPkgSkeleton.generate("NewPkg"); julia> ITensorPkgSkeleton.generate("NewPkg"; path=mkdtempdir()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=ITensorPkgSkeleton.default_templates()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ignore_templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ghuser="MyOrg"); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=["ITensors", "ITensorMPS"]); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=[(user="ITensor", repo="ITensors")]); ``` Subexpression: ITensorPkgSkeleton.generate("NewPkg"; templates=["github"]); Evaluated output: getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1
Documentation: src/ITensorPkgSkeleton.jl#L177
doctest failure in ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:177-197 ```jldoctest julia> using ITensorPkgSkeleton: ITensorPkgSkeleton; julia> ITensorPkgSkeleton.generate("NewPkg"); julia> ITensorPkgSkeleton.generate("NewPkg"; path=mkdtempdir()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=ITensorPkgSkeleton.default_templates()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ignore_templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ghuser="MyOrg"); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=["ITensors", "ITensorMPS"]); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=[(user="ITensor", repo="ITensors")]); ``` Subexpression: ITensorPkgSkeleton.generate("NewPkg"; templates=["src", "github"]); Evaluated output: getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1
Documentation: src/ITensorPkgSkeleton.jl#L177
doctest failure in ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:177-197 ```jldoctest julia> using ITensorPkgSkeleton: ITensorPkgSkeleton; julia> ITensorPkgSkeleton.generate("NewPkg"); julia> ITensorPkgSkeleton.generate("NewPkg"; path=mkdtempdir()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=ITensorPkgSkeleton.default_templates()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ignore_templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ghuser="MyOrg"); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=["ITensors", "ITensorMPS"]); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=[(user="ITensor", repo="ITensors")]); ``` Subexpression: ITensorPkgSkeleton.generate("NewPkg"; ignore_templates=["src", "github"]); Evaluated output: getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:447 [inlined] [8] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{String}, user_replacements::@kwargs{}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [9] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:447 [inlined] [8] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{String}, user_replacements::@kwargs{}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [9] top-level scope @ none:1
Documentation: src/ITensorPkgSkeleton.jl#L177
doctest failure in ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:177-197 ```jldoctest julia> using ITensorPkgSkeleton: ITensorPkgSkeleton; julia> ITensorPkgSkeleton.generate("NewPkg"); julia> ITensorPkgSkeleton.generate("NewPkg"; path=mkdtempdir()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=ITensorPkgSkeleton.default_templates()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ignore_templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ghuser="MyOrg"); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=["ITensors", "ITensorMPS"]); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=[(user="ITensor", repo="ITensors")]); ``` Subexpression: ITensorPkgSkeleton.generate("NewPkg"; ghuser="MyOrg"); Evaluated output: getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{ghuser::String}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, String}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{ghuser::String}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1
Documentation: src/ITensorPkgSkeleton.jl#L177
doctest failure in ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:177-197 ```jldoctest julia> using ITensorPkgSkeleton: ITensorPkgSkeleton; julia> ITensorPkgSkeleton.generate("NewPkg"); julia> ITensorPkgSkeleton.generate("NewPkg"; path=mkdtempdir()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=ITensorPkgSkeleton.default_templates()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ignore_templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ghuser="MyOrg"); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=["ITensors", "ITensorMPS"]); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=[(user="ITensor", repo="ITensors")]); ``` Subexpression: ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=["ITensors", "ITensorMPS"]); Evaluated output: getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, AbstractString}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{downstreampkgs::Vector{String}}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, AbstractString}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{downstreampkgs::Vector{String}}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1
Documentation: src/ITensorPkgSkeleton.jl#L177
doctest failure in ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:177-197 ```jldoctest julia> using ITensorPkgSkeleton: ITensorPkgSkeleton; julia> ITensorPkgSkeleton.generate("NewPkg"); julia> ITensorPkgSkeleton.generate("NewPkg"; path=mkdtempdir()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=ITensorPkgSkeleton.default_templates()); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ignore_templates=["src", "github"]); julia> ITensorPkgSkeleton.generate("NewPkg"; ghuser="MyOrg"); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=["ITensors", "ITensorMPS"]); julia> ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=[(user="ITensor", repo="ITensors")]); ``` Subexpression: ITensorPkgSkeleton.generate("NewPkg"; downstreampkgs=[(user="ITensor", repo="ITensors")]); Evaluated output: getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, AbstractString}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{downstreampkgs::Vector{@NamedTuple{user::String, repo::String}}}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1 Expected output: diff = Warning: Diff output requires color. getting template replacement values ERROR: Could not find option “user.email” in your global git configuration. It is necessary to set this for your e-mail (as the package author). You can set this in the command line with git config --global user.email "…" Stacktrace: [1] (::PkgSkeleton.var"#_getgitopt#9"{LibGit2.GitConfig})(opt::String, used_for::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:215 [2] #7 @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:235 [inlined] [3] _ensure @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:225 [inlined] [4] fill_replacements!(user_replacements::Dict{String, String}; target_dir::String) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:234 [5] fill_replacements! @ ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:208 [inlined] [6] generate(target_dir::String; templates::Vector{String}, user_replacements::Dict{String, AbstractString}, overwrite_uncommitted::Bool) @ PkgSkeleton ~/.julia/packages/PkgSkeleton/XZkLn/src/PkgSkeleton.jl:452 [7] generate(pkgname::String; path::String, templates::Vector{String}, ignore_templates::Vector{Any}, user_replacements::@kwargs{downstreampkgs::Vector{@NamedTuple{user::String, repo::String}}}) @ ITensorPkgSkeleton ~/work/ITensorPkgSkeleton.jl/ITensorPkgSkeleton.jl/src/ITensorPkgSkeleton.jl:233 [8] top-level scope @ none:1
Documentation
Process completed with exit code 1.
Julia 1 - windows-latest - x64
Process completed with exit code 1.
Julia lts - macOS-latest - x64
[setup-julia] x64 arch has been requested on a macOS runner that has an arm64 (Apple Silicon) architecture. You may have meant to use the "aarch64" arch instead (or left it unspecified for the correct default).
Julia 1 - macOS-latest - x64
[setup-julia] x64 arch has been requested on a macOS runner that has an arm64 (Apple Silicon) architecture. You may have meant to use the "aarch64" arch instead (or left it unspecified for the correct default).