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

namespace does not display when running cci org info on a packaging org (does work when you add --json flag) #3512

Open
Julian88Tex opened this issue Feb 2, 2023 · 2 comments
Labels
enhancement Listed under "Changes" in the changelog wi-created This issue is represented by a Work Item

Comments

@Julian88Tex
Copy link
Contributor

Describe the bug

According to documentation, running cci org info on a packaging org should result in displaying the namespace in addition to other data. I am not seeing the namespace in output unless I add the --json feature flag.

Reproduction steps

  1. Connect a packaging org to cci using cci org connecting packaging
  2. Run cci flow info packaging

[some data obscured for privacy reasons]

Result Example:

  Org: as-packaging                                                        
 ───────────────────────────────────────────────────────────────────────── 
  api_version            ****                                        
  connected_app          built-in                                    
  instance_name          ****                                       
  instance_url           ****  
  is_sandbox             False                                       
  org_type               Developer Edition                           
  serialization_format   pickle  

Expected Result Example:

  Org: as-packaging                                                        
 ───────────────────────────────────────────────────────────────────────── 
  api_version            ****                                        
  connected_app          built-in                                    
  instance_name          ****                                       
  instance_url           ****  
  namespace              my_namespace
  is_sandbox             False                                       
  org_type               Developer Edition                           
  serialization_format   pickle  

Your CumulusCI and Python versions

CumulusCI version: 3.71.0 (/Users/julianjoseph/.local/bin/cci)
Python version: 3.10.0 (/Users/julianjoseph/.local/pipx/venvs/cumulusci/bin/python)

Operating System

MacOS 13.2

Windows environment

No response

CumulusCI installation method

pipx

Error Gist

No response

Additional information

I do see a namespace when I add --json:

    "namespace": "my_namepsace",

Perhaps it has something to do with how I connected my org. There is a chance I used cci org import.

@Julian88Tex Julian88Tex added the bug label Feb 2, 2023
@jstvz jstvz added enhancement Listed under "Changes" in the changelog wi-created This issue is represented by a Work Item and removed bug labels Feb 3, 2023
@jstvz
Copy link
Contributor

jstvz commented Feb 3, 2023

Thanks for the report, @Julian88Tex. This is, unfortunately, working as designed. I think it's a reasonable change so I put it on our backlog.

@Julian88Tex
Copy link
Contributor Author

@jstvz Thanks for the confirmation there. If that's the case might want to also add some clarification here: If your project has been configured for use with CumulusCI, cci org info lists the project’s namespace under package__namespace in the output. from: https://cumulusci.readthedocs.io/en/latest/managed-package.html#prerequisites

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Listed under "Changes" in the changelog wi-created This issue is represented by a Work Item
Projects
None yet
Development

No branches or pull requests

2 participants