Skip to content

[BUG] documentation not upto date with ion  #271

@psteinb

Description

@psteinb

Describe the bug

The Comonicon.jl docs say, that one could/should use ion to create a project repo. The following call doesn't work with ion 0.1.12:

ion new Demo --template=comonicon

the comonicon template simply doesn't exist.

Version of the package:

julia> Pkg.status()
Status `~/.julia/environments/v1.9/Project.toml`
⌃ [3391f64e] CDDLib v0.9.2
  [863f3e99] Comonicon v1.0.6 `https://github.com/comonicon/Comonicon.jl.git#main`
⌃ [a93c6f00] DataFrames v1.5.0
⌃ [31c24e10] Distributions v0.25.96
⌃ [60bf3e95] GLPK v1.1.2
⌃ [4076af6c] JuMP v1.12.0
⌃ [b4f0291d] LazySets v2.7.6
⌃ [b8f27783] MathOptInterface v1.17.1
  [978d7f02] MiniQhull v0.4.0
⌃ [67491407] Polyhedra v0.7.6
⌃ [438e738f] PyCall v1.95.1
⌃ [6038ab10] Rotations v1.5.1
⌃ [276daf66] SpecialFunctions v2.2.0
⌃ [90137ffa] StaticArrays v1.5.26
⌃ [2913bbd2] StatsBase v0.34.0
  [37e2e46d] LinearAlgebra
  [9a3f8284] Random
Info Packages marked with ⌃ have new versions available and may be upgradable.

To Reproduce
Steps to reproduce the behavior:

  1. Install ion from here https://github.com/Roger-luo/Ion/releases/tag/v0.1.21 (I used ion-v0.1.21-x86_64-unknown-linux-musl.tar.gz)
  2. Unpack ion
  3. Run the cmd ion new Demo --template=comonicon
  4. Get the error message:
thread 'main' panicked at 'Template file not found: /home/steinb95/.config/ion/resources/templates/comonicon/template.toml', src/ion/blueprints/template.rs:9:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Expected behavior
No error at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions