Skip to content

Commit ac4dc95

Browse files
ohadedryayeshurun
andauthored
Fabric CLI Project code (#6)
Co-authored-by: Alon Yeshurun <alonyeshurun@microsoft.com>
1 parent a4f2686 commit ac4dc95

815 files changed

Lines changed: 497296 additions & 17 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.coveragerc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[run]
2+
branch = True
3+
omit = tests/*
4+
source = src/fabric_cli
5+
6+
# Uncomment when you want to enforce a minimum coverage percentage
7+
; [report]
8+
; fail_under = 80
9+
10+
[html]
11+
directory = coverage_html

.devcontainer/devcontainer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3+
{
4+
"name": "Python 3",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/python:1-3.10-bullseye",
7+
"features": {
8+
"ghcr.io/devcontainers/features/azure-cli:1": {}
9+
},
10+
// Features to add to the dev container. More info: https://containers.dev/features.
11+
// "features": {},
12+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
13+
// "forwardPorts": [],
14+
// Use 'postCreateCommand' to run commands after the container is created.
15+
"postCreateCommand": "bash scripts/install_dev_container_dependencies.sh"
16+
// Configure tool-specific properties.
17+
// "customizations": {},
18+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
19+
// "remoteUser": "root"
20+
}

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Force the following filetypes to have unix eols, so Windows does not break them
2+
* text=auto eol=lf
3+
4+
# Declare files that will always have CRLF line endings on checkout.
5+
*.{cmd,[cC][mM][dD]} text eol=crlf
6+
*.{bat,[bB][aA][tT]} text eol=crlf
7+
8+
*.abf binary
9+
*.png binary

.github/CODEOWNERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
##########################################
2+
# CODE OWNERS
3+
##########################################
4+
5+
# default ownership: default owners for everything in the repo (Unless a later match takes precedence)
6+
* @microsoft/fabric-cli-dev

.github/ISSUE_TEMPLATE/1-bug.yml

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
name: "🐛 Bug report"
2+
description: Create a report to help us improve fabric-cli
3+
title: "[BUG] "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a bug! Please fill out the information below to help us diagnose and fix the issue.
10+
11+
- type: textarea
12+
id: bug-description
13+
attributes:
14+
label: Bug Description
15+
description: A clear and concise description of what the bug is.
16+
placeholder: Describe the bug you encountered...
17+
validations:
18+
required: true
19+
20+
- type: input
21+
id: fabric-cli-version
22+
attributes:
23+
label: fabric-cli version
24+
description: Run `fab --version` to get your version
25+
placeholder: e.g., 1.0.0
26+
validations:
27+
required: true
28+
29+
- type: input
30+
id: python-version
31+
attributes:
32+
label: Python version
33+
description: Run `python --version` to get your version
34+
placeholder: e.g., Python 3.11.5
35+
validations:
36+
required: true
37+
38+
- type: dropdown
39+
id: operating-system
40+
attributes:
41+
label: Operating System
42+
description: What operating system are you using?
43+
options:
44+
- Windows
45+
- macOS
46+
- Linux
47+
default: 0
48+
validations:
49+
required: true
50+
51+
- type: dropdown
52+
id: cli-mode
53+
attributes:
54+
label: CLI Mode
55+
description: Which mode were you using when the bug occurred?
56+
options:
57+
- Interactive mode
58+
- Command line mode
59+
validations:
60+
required: true
61+
62+
- type: dropdown
63+
id: auth-method
64+
attributes:
65+
label: Authentication Method
66+
description: How are you authenticating with fabric-cli?
67+
options:
68+
- Interactive browser login
69+
- Service principal (secret)
70+
- Service principal (certificate)
71+
- Service principal (federated credential)
72+
- Managed identity
73+
- Access token defined as environment variable
74+
validations:
75+
required: true
76+
77+
- type: textarea
78+
id: reproduction-steps
79+
attributes:
80+
label: Steps to Reproduce
81+
description: Please provide step-by-step instructions to reproduce the bug
82+
placeholder: |
83+
1. Go to '...'
84+
2. Run command '...'
85+
3. See error
86+
validations:
87+
required: true
88+
89+
- type: textarea
90+
id: expected-behavior
91+
attributes:
92+
label: Expected Behavior
93+
description: A clear and concise description of what you expected to happen
94+
placeholder: Describe what should have happened...
95+
validations:
96+
required: true
97+
98+
- type: textarea
99+
id: actual-behavior
100+
attributes:
101+
label: Actual Behavior
102+
description: |
103+
A clear and concise description of what actually happened.
104+
Please include the full command output including any error messages.
105+
placeholder: |
106+
Describe what actually happened...
107+
108+
Command output:
109+
```
110+
Paste command output here
111+
```
112+
validations:
113+
required: true
114+
115+
- type: textarea
116+
id: additional-context
117+
attributes:
118+
label: Additional Context
119+
description: |
120+
Add any other context about the problem here, such as:
121+
- Specific workspace/item types involved
122+
- Network configuration (if relevant)
123+
- Screenshots (if applicable)
124+
- Related issues or documentation
125+
- Request ID
126+
placeholder: Additional details...
127+
128+
- type: textarea
129+
id: possible-solution
130+
attributes:
131+
label: Possible Solution
132+
description: If you have ideas on how to fix the issue, please share them here
133+
placeholder: Your suggestions for fixing the issue...
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
name: "🚀 Feature request"
2+
description: Suggest an idea or enhancement for fabric-cli
3+
title: "[FEATURE] "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a new feature! Please provide as much detail as possible to help us understand and evaluate your request.
10+
11+
- type: textarea
12+
id: use-case-problem
13+
attributes:
14+
label: Use Case / Problem
15+
description: |
16+
Describe the problem or use case that this feature would solve. Include:
17+
- What you're trying to accomplish
18+
- Current limitations or pain points
19+
- How this fits into your workflow
20+
placeholder: |
21+
What problem are you trying to solve?
22+
What are the current limitations?
23+
How does this fit into your workflow?
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
id: proposed-solution
29+
attributes:
30+
label: Proposed Solution
31+
description: |
32+
Describe the solution you'd like to see implemented:
33+
- Specific commands or functionality
34+
- Expected behavior and output
35+
- Integration with existing fabric-cli features
36+
placeholder: Describe your proposed solution...
37+
validations:
38+
required: true
39+
40+
- type: textarea
41+
id: alternatives-considered
42+
attributes:
43+
label: Alternatives Considered
44+
description: |
45+
Describe any alternative solutions or features you've considered:
46+
- Workarounds you're currently using
47+
- Other tools or approaches that could solve this
48+
- Why those alternatives are insufficient
49+
placeholder: |
50+
What workarounds are you currently using?
51+
What other approaches have you considered?
52+
Why are those alternatives insufficient?
53+
54+
- type: checkboxes
55+
id: impact-assessment
56+
attributes:
57+
label: Impact Assessment
58+
description: Help us understand the impact of this feature
59+
options:
60+
- label: This would help me personally
61+
- label: This would help my team/organization
62+
- label: This would help the broader fabric-cli community
63+
- label: This aligns with Microsoft Fabric roadmap items
64+
65+
- type: checkboxes
66+
id: implementation-attestation
67+
attributes:
68+
label: Implementation Attestation
69+
description: Please confirm your understanding of implementation considerations (required)
70+
options:
71+
- label: I understand this feature should maintain backward compatibility with existing commands
72+
required: true
73+
- label: I confirm this feature request does not introduce performance regressions for existing workflows
74+
required: true
75+
- label: I acknowledge that new features must follow fabric-cli's established patterns and conventions
76+
required: true
77+
78+
- type: textarea
79+
id: implementation-notes
80+
attributes:
81+
label: Implementation Notes
82+
description: |
83+
If you have technical suggestions for implementation:
84+
- Relevant Fabric REST APIs
85+
- Command structure or argument patterns
86+
- Output format considerations
87+
- Compatibility concerns
88+
placeholder: Technical implementation suggestions...
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
name: "❓ General question"
2+
description: Ask a question about using fabric-cli
3+
title: "[QUESTION] "
4+
labels: ["question"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for your question! Please provide as much detail as possible to help us assist you effectively.
10+
11+
- type: textarea
12+
id: question
13+
attributes:
14+
label: Question
15+
description: A clear and concise description of what you'd like to know or need help with
16+
placeholder: What would you like to know about fabric-cli?
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: context
22+
attributes:
23+
label: Context
24+
description: |
25+
Provide context about what you're trying to accomplish:
26+
- Your use case or scenario
27+
- What you've already tried
28+
- Specific commands or workflows involved
29+
placeholder: |
30+
What are you trying to accomplish?
31+
What have you already tried?
32+
What specific commands or workflows are involved?
33+
validations:
34+
required: true
35+
36+
- type: input
37+
id: fabric-cli-version
38+
attributes:
39+
label: fabric-cli version (if relevant)
40+
description: Run `fab --version` to get your version
41+
placeholder: e.g., 1.0.0
42+
43+
- type: dropdown
44+
id: operating-system
45+
attributes:
46+
label: Operating System (if relevant)
47+
description: What operating system are you using?
48+
options:
49+
- Not applicable
50+
- Windows
51+
- macOS
52+
- Linux
53+
default: 0
54+
55+
- type: dropdown
56+
id: cli-mode
57+
attributes:
58+
label: CLI Mode (if relevant)
59+
description: Which mode are you using?
60+
options:
61+
- Not applicable
62+
- Interactive mode
63+
- Command line mode
64+
default: 0
65+
66+
- type: checkboxes
67+
id: documentation-check
68+
attributes:
69+
label: Have you checked the documentation?
70+
description: Please confirm you've reviewed the available resources
71+
options:
72+
- label: I have searched existing GitHub issues
73+
required: true
74+
- label: I have reviewed the fabric-cli documentation
75+
required: true
76+
77+
- type: textarea
78+
id: additional-information
79+
attributes:
80+
label: Additional Information
81+
description: |
82+
Any additional details that might help us answer your question:
83+
- Code snippets or command examples
84+
- Screenshots (if applicable)
85+
- Error messages (if any)
86+
placeholder: Additional details...
87+
88+
- type: markdown
89+
attributes:
90+
value: |
91+
## Alternative Support Channels
92+
93+
For different types of questions, you might also consider:
94+
95+
- **General Fabric questions**: [Developer Community Forum](https://community.fabric.microsoft.com/t5/Developer/bd-p/Developer)
96+
- **Feature suggestions**: [Fabric Ideas Portal](https://ideas.fabric.microsoft.com/)
97+
- **Enterprise support**: [Fabric Support Team](https://support.fabric.microsoft.com/)
98+
- **Community discussions**: [r/MicrosoftFabric on Reddit](https://www.reddit.com/r/MicrosoftFabric/)

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

0 commit comments

Comments
 (0)