Comments (3)
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2804.
This message was autogenerated
from charmcraft.
Thanks for the request!
How would the information presented by an anonymous read with charmcraft status
differ from what's provided currently by juju info
? Currently, charmcraft status
can provide information that only publishers or collaborators can access (e.g. it lists all active branches for a charm, which are not made available to the general public). The most straightforward way to do this would be to use the consumer API, but I don't think this would provide any information that's not already available through juju info
.
from charmcraft.
Hi @lengau, thank you for the fast reply!
Yes, I agree juju info helps a bit here. However:
- Usability:
juju info grafana-agent
paged per architecture. It is huge page output with the necessary information at the bottom:
> juju info grafana-agent
...
channels: |
latest/stable: 68 2024-03-12 (68) 18MB arm64 [email protected]
latest/candidate: 95 2024-04-10 (95) 14MB amd64 [email protected]
latest/beta: 95 2024-04-10 (95) 14MB amd64 [email protected]
latest/edge: 96 2024-04-10 (96) 19MB amd64 [email protected]
User needs to know about --arch arm64
option and use it manually:
juju info grafana-agent --arch arm64
...
channels: |
latest/stable: 68 2024-03-12 (68) 18MB [email protected]
latest/candidate: 68 2024-03-11 (68) 18MB [email protected]
latest/beta: 68 2024-03-11 (68) 18MB [email protected]
latest/edge: 94 2024-04-10 (94) 18MB [email protected]
Juju info
doesn't show/expand all details aboutbases/series
, compare track1
for pgbouncer:
> juju info pgbouncer
...
channels: |
latest/stable: 5 2022-01-17 (5) 5MB amd64, arm64, ppc64el, riscv64, s390x [email protected], [email protected], [email protected]
latest/candidate: ↑
latest/beta: ↑
latest/edge: ↑
1/stable: 89 2024-02-21 (89) 8MB amd64 [email protected]
1/candidate: 101 2024-02-28 (101) 19MB amd64 [email protected]
1/beta: 105 2024-02-28 (105) 19MB amd64 [email protected]
1/edge: 145 2024-04-10 (145) 16MB arm64 [email protected]
> charmcraft status pgbouncer
Track Base Channel Version Revision
latest ubuntu 16.04 (all) stable 5 5
candidate ↑ ↑
beta ↑ ↑
edge ↑ ↑
ubuntu 18.04 (all) stable 5 5
candidate ↑ ↑
beta ↑ ↑
edge ↑ ↑
ubuntu 20.04 (all) stable 5 5
candidate ↑ ↑
beta ↑ ↑
edge ↑ ↑
1 ubuntu 20.04 (amd64) stable 89 89
candidate 89 89
beta 100 100
edge 144 144
ubuntu 20.04 (arm64) stable - -
candidate - -
beta - -
edge 145 145
ubuntu 22.04 (amd64) stable 88 88
candidate 101 101
beta 105 105
edge 142 142
ubuntu 22.04 (arm64) stable - -
candidate - -
beta - -
edge 143 143
juju info ... --arch all
is just useless:
09:58:03 ✔ taurus:~$ diff -u <(juju info grafana-agent) <(juju info grafana-agent --arch all)
09:58:05 ✔ taurus:~$
Users have to execute juju info --arch
for each arch one by one (amd64|arm64|ppc64el|riscv64|s390x) to see the same data as charmcraft status
.
- (separate topic)
juju info
is showing 'release date' (nice!) butcharmcraft status
doesn't (sad :-( but separate UI topic...). And even more,charmcraft status
shows date as a expiration date for charmhub branches (which confuses even experienced developers due to fundamental difference insnap info
+juju info
tocharmcraft status
):
This example shows the problem of jumping between tools with different UX.
Thank you for possible improvements here!
P.S. re: ... it lists all active branches for a charm, which are not made available to the general public...
Let charmcraft status
show the public information only to non-authorized users? Effectively hide all charmhub branches
from the output.
from charmcraft.
Related Issues (20)
- `fetch-libs` command requires being logged into charmhub HOT 2
- Charmcraft login fails HOT 2
- `fetch-libs` crashes with an internal error HOT 2
- Allow Charmcraft to upload a rock directly from the file or directly between registries HOT 2
- Multi-arch OCI image incorrectly uploaded to Charmhub registry HOT 4
- Enable CI/CD for TIOBE TiCS HOT 1
- Set up reference documentation with Sphinx HOT 1
- Add option to `upload-resource` to upload an OCI image directly from a file. HOT 2
- Charmcraft 3 breaks charms with multiple run-on architectures HOT 3
- build-for architecture 'all' for arch-independent charms not supported HOT 2
- Remote build: allow the user to specify a charmcraft channel and default to the charmcraft snap channel HOT 2
- charmcraft 3 doesn't support using the expanded value format for the 'base' property HOT 1
- Add Noble support to charmcraft 2.x
- Store resources spread test is broken
- Autodocs: Updates for pydantic models
- FTBFS with reactive plugin, getting charmcraft internal error HOT 2
- Getting an internal error for fetch-libs HOT 6
- Charmcraft 3.x not including symlinked directories in resulting charm HOT 2
- fetch-lib error is useless/misleading
- Build failing due to rpds-py dependency HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charmcraft.