What's new in Charmcraft (2022w15)

Today I just released version 1.6.0 to the candidate channel, please give it a try and report whatever issue you find, thanks!

The following are plans for the next couple of weeks:

  • Improve error messages for the JujuMetadata and other linters (related issue)

  • Investigate current situation with logs retrieval and errors propagation in nested situations (charmcraft run inside the container, and the charm builder subprocess itsef) (related issue)

  • Start working on a specification for machine readable output for all Charmcraft commands

  • Enhance the revisions and other commands’ outputs to show detailed timestamps (related issue)

  • Fix the user interaction in the --shell option for the pack command (related issue)

We decided to have tracks for the MAJOR.MINOR version numbers too. So I just released Charmcraft to the track 1.5, to where you can subscribe if you don’t want to get out from 1.5.x versions.

$ snapcraft status charmcraft
Track    Arch     Channel    Version           Revision
...
1.5      amd64    stable     1.5.0             834
                  candidate  ↑                 ↑
                  beta       ↑                 ↑
                  edge       ↑                 ↑
         arm64    stable     1.5.0             836
                  candidate  ↑                 ↑
                  beta       ↑                 ↑
                  edge       ↑                 ↑
         armhf    stable     1.5.0             837
                  candidate  ↑                 ↑
                  beta       ↑                 ↑
                  edge       ↑                 ↑
         ppc64el  stable     1.5.0             838
                  candidate  ↑                 ↑
                  beta       ↑                 ↑
                  edge       ↑                 ↑
         s390x    stable     1.5.0             835
                  candidate  ↑                 ↑
                  beta       ↑                 ↑
                  edge       ↑                 ↑

Accordingly, I released 1.6.0 to the 1.6/candidate, revisions that will be promoted to stable in a week or so.

$ snapcraft status charmcraft
Track    Arch     Channel    Version           Revision
...
1.6      amd64    stable     -                 -
                  candidate  1.6.0             904
                  beta       ↑                 ↑
                  edge       ↑                 ↑
         arm64    stable     -                 -
                  candidate  1.6.0             906
                  beta       ↑                 ↑
                  edge       ↑                 ↑
         armhf    stable     -                 -
                  candidate  1.6.0             907
                  beta       ↑                 ↑
                  edge       ↑                 ↑
         ppc64el  stable     -                 -
                  candidate  1.6.0             908
                  beta       ↑                 ↑
                  edge       ↑                 ↑
         s390x    stable     -                 -
                  candidate  1.6.0             905
                  beta       ↑                 ↑
                  edge       ↑                 ↑
1 Like

I know you’re busy @facundo, so if I should report an issue with charmhub or charmcraft somewhere else please just let me know… but I have noticed a discrepancy in my juju charms ability to run actions… depending on if I upload it directly to AWS… or if I attempt to load via the charmhub… the latter basically not working.

Juju Debug-log unexpectedly stops/exits when observing JAAS model? Actions not working in AWS, but work in LXD

im eager to try the latest charmcraft routine … to see if this fixes the issue. will report back when I can.

Update the Roadmap? https://juju.is/docs/sdk/roadmap

1 Like

Hello! For what I understand is correct to ask about this issue in the other post. As far as I understand Charmcraft is totally unrelated to this behaviour.

1 Like

Thanks Teodora for the reminder. We need to decided if it’s worth to have that roadmap now that the team is organized around short term sprints. I got this.

1 Like

I guess I will test again and if it still happens with latest Charmcraft I will look how to raise a report against Charmhub itself.